Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; project name: Memory Hacker
- ; author: OldCheatEngineUser
- ; special thanks: Dark Byte
- ; about: basic memory reading and writing with pointer loading
- ; visit: forum.cheatengine.org ; binaries subforum
- include 'include\win32a.inc'
- format pe gui
- entry point
- section '.text' code readable executable
- point:
- push 0x03E8
- call [Sleep]
- push 0
- call [AllocConsole]
- test eax,eax
- jz exit
- push cname
- call [SetConsoleTitleA]
- test eax,eax
- jz exit
- push 0xFFFFFFF5
- call [GetStdHandle]
- mov [ohandle],eax
- push 0
- push 0
- push 0x2F
- push cvalue
- push [ohandle]
- call [WriteConsoleA]
- escapeloop:
- push 0x1B
- call [GetAsyncKeyState]
- test eax,eax
- jnz exit
- push 13920
- push 0
- push 0x001FFFFF
- call [OpenProcess]
- test eax,eax
- jz exit
- sleeploop:
- push 0x64
- call [Sleep]
- jmp escapeloop
- exit:
- push 0
- call [ExitProcess]
- section '.data' data readable writeable
- cvalue db "ESC to quit, BACKSPACE to increase the value.",0
- loadp db 0
- pointed dd 0
- section '.bss' data readable writeable
- whandle rd 1
- ohandle rd 1
- phandle rd 1
- section '.rdata' data readable
- cname db "Memory Hacker",0
- gname db "Tutorial",0
- section '.idata' import data readable writeable
- library kernel32,'KERNEL32.DLL',\
- user32,'USER32.DLL'
- include 'include\api\kernel32.inc'
- include 'include\api\user32.inc'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement