Jump to content
Sign in to follow this  
bhduong

Problem with ASM

Recommended Posts

bhduong

This is my code in C++. How it is in AutoIT? Please tell me

static DWORD WINAPI Run(LPCVOID lpParam)

{

DWORD *Param = (DWORD*) lpParam;

DWORD x = *Param;

DWORD y = *(Param+1);

DWORD z = *(Param+2);

DWORD fly = 0;

__try

{

_asm

{ pushad;

mov edx, W2I_BASE_ADD;

mov esi, dword ptr[edx+20h];

mov ecx, dword ptr[esi+0BB8h];

mov eax,dword ptr [esi+0x5dc+4];

cmp eax,2;

jnz next;

mov fly,1;

next:

push 1;

mov edx,45DA60h;

call edx;

mov edi, eax;

push Param;

push fly;

mov ecx,edi;

mov edx, 461500h;

call edx;

push 0;

push 1;

push edi;

push 1;

mov ecx, dword ptr[esi+0BB8h];

mov edx, 45DE60h;

call edx;

popad;

}

}

__except(1)

{

}

return 0;

}

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.