Advertisement
antoshka1312

хил % артефакрты

Oct 17th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. alloc(newmem,2048)
  2. label(returnhere)
  3. label(originalcode)
  4. label(exit)
  5.  
  6. newmem: //this is allocated memory, you have read,write,execute access
  7. //place your code here
  8. pushad
  9. mov ecx,[esi+11*4+1C0]
  10. cmp ecx,0
  11. jne go
  12. mov ecx,[esi+12*4+1C0]
  13. cmp ecx,0
  14. je exas
  15. go:
  16. mov ecx,[ecx+30]
  17. cmp word ptr[ecx+24],0197
  18. jne exas
  19. popad
  20. push eax
  21. push ebx
  22. push edx
  23. push ecx
  24. mov ecx, eax
  25. mov eax, [eax] // тут тип на скок захилил
  26. mov ebx, 3 //тут число типа сколько надо %
  27. mul ebx // умножение
  28. mov bl, 64 //типа 100
  29. div ebx /// деление
  30. add [ecx],eax
  31. pop ecx
  32. pop edx
  33. pop ebx
  34. pop eax
  35. jmp originalcode
  36. exas:
  37. popad
  38. originalcode:
  39. push ecx
  40. mov ecx,[edi+00001234]
  41.  
  42. exit:
  43. jmp returnhere
  44.  
  45. "ps_game.exe"+5C6C0:
  46. jmp newmem
  47. nop
  48. nop
  49. returnhere:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement