new version released!
30kb: http://www.igrodel.ru/tdg3d/peasm-0.3beta.zip (sources, examples, compiler)
added feauteres:
Code:
...
record msg
dword hwnd 0x00000000
dword code 0x00000000
dword wparam 0x00000000
dword lparam 0x00000000
dword time 0x00000000
dword mousex 0x00000000
dword mousey 0x00000000
end
...
push @msg.hwnd
call DispatchMessageA
...
and some more!
New opcodes and better parser:
Code:
smartparser('push ^', 'text|push~ val|1'); // PUSH ^var
smartparser('push @', 'text|push~0x ptr|1'); // PUSH @var
smartparser('push 0x??', 'text|6A raw|1'); // PUSH Imm8 "6A 00"
smartparser('push 0x????????', 'text|68 raw|1'); // PUSH IMM32 "68 00 00 00 00"
smartparser('push ???', 'text|50 +reg|1'); // push r32 "50+reg"
smartparser('call 0x????????', 'text|FF15 raw|1'); // CALL r/m32 "ff 15 00 00 00 00"
smartparser('call ?', 'text|FF15 dll|1'); // CALL r/m32 "ff 15 00 00 00 00"
smartparser('jmp 0x????????', 'text|E9 raw|1'); // JMP
smartparser('jmp ?', 'text|E9 label|1'); // JMP
smartparser('mov ^ eax', 'text|mov~0: ptr|1 text|~eax'); // MOV ^var,eax
smartparser('mov 0:???????? eax', 'text|A3 raw|1'); // MOV ptr,eax
smartparser('mov eax ^', 'text|mov~eax~0: ptr|2'); // MOV eax, ^var
smartparser('mov eax 0:????????', 'text|A1 raw|2'); // MOV eax, ptr
Add your opcodes!
Bookmarks