Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- //code from here to '[DISABLE]' will be used to enable the cheat
- aobscanmodule(tp,Simpsons.exe,89 51 30 8B 50 04) // should be unique
- alloc(newmem,$1000)
- label(code)
- label(return)
- newmem:
- //cmp dword ptr [ecx+110],00000000
- cmp dword ptr [ecx+138],00000001
- jne code// Прыгаем если равно.
- mov dword ptr [ecx+30],(float)219
- jmp return
- code:
- mov [ecx+30],edx
- mov edx,[eax+04]
- jmp return
- tp:
- jmp newmem
- nop
- return:
- registersymbol(tp)
- [DISABLE]
- //code from here till the end of the code will be used to disable the cheat
- tp:
- db 89 51 30 8B 50 04
- unregistersymbol(tp)
- dealloc(newmem)
- {
- // ORIGINAL CODE - INJECTION POINT: "Simpsons.exe"+15FD86
- "Simpsons.exe"+15FD78: 90 - nop
- "Simpsons.exe"+15FD79: 90 - nop
- "Simpsons.exe"+15FD7A: 90 - nop
- "Simpsons.exe"+15FD7B: 90 - nop
- "Simpsons.exe"+15FD7C: 90 - nop
- "Simpsons.exe"+15FD7D: 90 - nop
- "Simpsons.exe"+15FD7E: 90 - nop
- "Simpsons.exe"+15FD7F: 90 - nop
- "Simpsons.exe"+15FD80: 8B 44 24 04 - mov eax,[esp+04]
- "Simpsons.exe"+15FD84: 8B 10 - mov edx,[eax]
- // ---------- INJECTING HERE ----------
- "Simpsons.exe"+15FD86: 89 51 30 - mov [ecx+30],edx
- "Simpsons.exe"+15FD89: 8B 50 04 - mov edx,[eax+04]
- // ---------- DONE INJECTING ----------
- "Simpsons.exe"+15FD8C: 89 51 34 - mov [ecx+34],edx
- "Simpsons.exe"+15FD8F: 8B 40 08 - mov eax,[eax+08]
- "Simpsons.exe"+15FD92: 89 41 38 - mov [ecx+38],eax
- "Simpsons.exe"+15FD95: C2 04 00 - ret 0004
- "Simpsons.exe"+15FD98: 90 - nop
- "Simpsons.exe"+15FD99: 90 - nop
- "Simpsons.exe"+15FD9A: 90 - nop
- "Simpsons.exe"+15FD9B: 90 - nop
- "Simpsons.exe"+15FD9C: 90 - nop
- "Simpsons.exe"+15FD9D: 90 - nop
- }
Add Comment
Please, Sign In to add comment