Answer the question
In order to leave comments, you need to log in
How to pass arguments to asm code and run it in another process?
There is a code in which you need to pass parameters, as well as get an array of bytes and its length for WriteProcessMemory:
__declspec(naked) void code1337()
{
__asm
{
push ad
mov eax (param1)
mov ecx dword ptr (param2)
mov edi (param3)
ret
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question