-
Using assembly in AutoIT
Code:
[ENABLE]
registersymbol(useAddress)
alloc(newmem,2048) //2kb should be enough
alloc(useAddress,4)
label(returnhere)
label(originalcode)
label(exit)
0064CF0B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [useAddress],edi
originalcode:
mov eax,[edi+000005A4]
exit:
jmp returnhere
[DISABLE]
unregistersymbol(useAddress)
dealloc(newmem)
dealloc(useAddress)
0064CF0B:
mov eax,[edi+000005A4]
How do read "mov eax,[edi+000005A4]" it in AutoIt?
-