alexdubovyck

https://www.youtube.com/watch?v=p7eGZwJWgdE&feature=youtu.be

Dec 30th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. [ENABLE]
  2. //code from here to '[DISABLE]' will be used to enable the cheat
  3.  
  4.  
  5.  
  6. aobscanmodule(tp,Simpsons.exe,89 51 30 8B 50 04) // should be unique
  7. alloc(newmem,$1000)
  8.  
  9. label(code)
  10. label(return)
  11.  
  12.  
  13.  
  14. newmem:
  15. //cmp dword ptr [ecx+110],00000000
  16. cmp dword ptr [ecx+138],00000001
  17. jne code// Прыгаем если равно.
  18. mov dword ptr [ecx+30],(float)219
  19. jmp return
  20.  
  21. code:
  22. mov [ecx+30],edx
  23. mov edx,[eax+04]
  24. jmp return
  25.  
  26. tp:
  27. jmp newmem
  28. nop
  29. return:
  30. registersymbol(tp)
  31.  
  32. [DISABLE]
  33. //code from here till the end of the code will be used to disable the cheat
  34. tp:
  35. db 89 51 30 8B 50 04
  36.  
  37. unregistersymbol(tp)
  38. dealloc(newmem)
  39.  
  40. {
  41. // ORIGINAL CODE - INJECTION POINT: "Simpsons.exe"+15FD86
  42.  
  43. "Simpsons.exe"+15FD78: 90 - nop
  44. "Simpsons.exe"+15FD79: 90 - nop
  45. "Simpsons.exe"+15FD7A: 90 - nop
  46. "Simpsons.exe"+15FD7B: 90 - nop
  47. "Simpsons.exe"+15FD7C: 90 - nop
  48. "Simpsons.exe"+15FD7D: 90 - nop
  49. "Simpsons.exe"+15FD7E: 90 - nop
  50. "Simpsons.exe"+15FD7F: 90 - nop
  51. "Simpsons.exe"+15FD80: 8B 44 24 04 - mov eax,[esp+04]
  52. "Simpsons.exe"+15FD84: 8B 10 - mov edx,[eax]
  53. // ---------- INJECTING HERE ----------
  54. "Simpsons.exe"+15FD86: 89 51 30 - mov [ecx+30],edx
  55. "Simpsons.exe"+15FD89: 8B 50 04 - mov edx,[eax+04]
  56. // ---------- DONE INJECTING ----------
  57. "Simpsons.exe"+15FD8C: 89 51 34 - mov [ecx+34],edx
  58. "Simpsons.exe"+15FD8F: 8B 40 08 - mov eax,[eax+08]
  59. "Simpsons.exe"+15FD92: 89 41 38 - mov [ecx+38],eax
  60. "Simpsons.exe"+15FD95: C2 04 00 - ret 0004
  61. "Simpsons.exe"+15FD98: 90 - nop
  62. "Simpsons.exe"+15FD99: 90 - nop
  63. "Simpsons.exe"+15FD9A: 90 - nop
  64. "Simpsons.exe"+15FD9B: 90 - nop
  65. "Simpsons.exe"+15FD9C: 90 - nop
  66. "Simpsons.exe"+15FD9D: 90 - nop
  67. }
Add Comment
Please, Sign In to add comment