Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .386
- .model flat, stdcall
- option casemap :none
- include gdi32.inc
- include windows.inc
- include kernel32.inc
- include user32.inc
- include Comctl32.inc
- include shell32.inc
- includelib gdi32.lib
- includelib kernel32.lib
- includelib user32.lib
- includelib Comctl32.lib
- includelib shell32.lib
- TestProc PROTO :DWORD,:DWORD
- OPTIONSTRUCT struct
- pattern db 100
- pattern_mask db 100
- module db 100
- bytecode db 300
- cave_bytecode db 300
- flag byte 0
- buffer db 30
- aF dd 0
- aT dd 0
- OPTIONSTRUCT ends
- .data
- hInstance dd ?
- myoption OPTIONSTRUCT <'0FFh,08Ch,088h,000h,000h,000h,000h,0A1h,000h,000h,000h,000h,083h,078h,070h,001h,075h,00Bh',\
- 'xxx0000x0000xxxxxx',\
- 'gamex86.dll',\
- '0FFh,08Ch,088h,0F4h,001h,000h,000h',\
- '090h,090h,090h,090h,090h,090h,0C3h'>
- .code
- start:
- invoke GetModuleHandle,0
- mov hInstance,eax
- invoke TestProc,addr myoption.pattern,addr myoption.mask
- invoke ExitProcess,0
- TestProc proc ff:DWORD,mm:DWORD
- ret
- TestProc endp
- end start
Add Comment
Please, Sign In to add comment