Advertisement
antoshka1312

Untitled

Nov 14th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. mov ecx,[5973CFBC]
  11. originalcode:
  12. //mov ecx,[esp+1C]
  13. push edx
  14.  
  15. exit:
  16. jmp returnhere
  17.  
  18. "game.exe"+A3EF3:
  19. jmp newmem
  20. returnhere:
  21.  
  22.  
  23.  
  24.  
  25. [DISABLE]
  26. //code from here till the end of the code will be used to disable the cheat
  27. dealloc(newmem)
  28. "game.exe"+A3EF3:
  29. mov ecx,[esp+1C]
  30. push edx
  31. //Alt: db 8B 4C 24 1C 52
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement