Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 0.77 KB | None | 0 0
  1. [ENABLE]
  2. //code from here to '[DISABLE]' will be used to enable the cheat
  3. alloc(newmem,2048)
  4. label(returnhere)
  5. label(originalcode)
  6. label(exit)
  7.  
  8. newmem: //this is allocated memory, you have read,write,execute access
  9. //place your code here
  10. cmp ebx,(int)53
  11. jne originalcode
  12. mov ecx,[ijl.NewPanelPointer] { [1034DBF0] }
  13. mov eax,[ecx]
  14. mov edx,[eax+08]
  15. call edx
  16. jmp 0049CF30
  17. originalcode:
  18. mov eax,[edi]
  19. test eax,eax
  20. je game.exe+9CF30
  21.  
  22. exit:
  23. jmp returnhere
  24.  
  25. "game.exe"+9CF10:
  26. jmp newmem
  27. nop
  28. returnhere:
  29.  
  30. 0049CF09:
  31. mov ebx,00000035
  32.  
  33.  
  34. [DISABLE]
  35. //code from here till the end of the code will be used to disable the cheat
  36. dealloc(newmem)
  37. 0049CF09:
  38. mov ebx,00000034
  39. "game.exe"+9CF10:
  40. mov eax,[edi]
  41. test eax,eax
  42. je game.exe+9CF30
  43. //Alt: db 8B 07 85 C0 74 1A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement