Function at 0x409d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
cmp eax, edi
jne 0x409d82
push edi
jmp 0x40a2b2
cmp dword [eax + 0x18], edi
jne 0x409d8d
push eax
jmp 0x40a2b2
mov eax, dword [eax + 0x18]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
cmp eax, 5
je 0x409e28
cmp eax, 0x18
je 0x409de1
cmp eax, 0x113
jne 0x40a2ae
mov ecx, dword [ecx + 4]
push 0x4319c0
mov esi, ecx
call fcn.0040c180
add esp, 4
push edi
push edi
mov esi, eax
mov ecx, dword [esi + 0x40]
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x40]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40a2aa
cmp dword [ebp + 0xc], 1
jne 0x40a2ae
mov ecx, dword [ecx + 4]
push 0x4319c0
mov esi, ecx
call fcn.0040c180
mov esi, eax
add esp, 4
cmp esi, edi
je 0x40a2aa
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 0x40]
push edi
push 0x3a98
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40a2aa
mov ecx, dword [ecx + 4]
push 0x4319c0
mov esi, ecx
call fcn.0040c180
mov esi, eax
add esp, 4
cmp esi, edi
je 0x40a2aa
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov eax, dword [esi + 0x154]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x158]
movzx edx, bx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x15c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x160]
sub dword [esp + 0x4c], eax
push edi
mov dword [esp + 0x54], edx
sub dword [esp + 0x54], ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0xd8]
shr ebx, 0x10
push ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.00410520
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov edx, dword [esi + 0x2a4]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x2a8]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x2ac]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x2b0]
sub dword [esp + 0x2c], edx
sub eax, ecx
add eax, ebx
mov edx, eax
sub edx, dword [esp + 0x28]
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x34], ecx
add dword [esp + 0x34], edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x228]
push ecx
mov dword [esp + 0x30], edi
call fcn.00410520
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov ecx, dword [esi + 0x3f4]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x3f8]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x3fc]
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x400]
mov dword [esp + 0x40], eax
mov eax, ecx
sub eax, edx
add eax, dword [esp + 0x74]
push edi
mov edx, eax
sub edx, ecx
add dword [esp + 0x40], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
sub dword [esp + 0x44], eax
push ecx
lea edx, [esi + 0x378]
push edx
mov dword [esp + 0x44], edi
call fcn.00410520
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x544]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x548]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x54c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x550]
sub eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, edx
sub ecx, dword [esp + 0x1c]
add eax, ebx
add ecx, dword [esp + 0x74]
push edi
mov ebx, ecx
sub ebx, edx
add dword [esp + 0x20], ebx
mov edx, eax
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
add dword [esp + 0x24], edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esi + 0x4c8]
push ecx
call fcn.00410520
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x7c], eax
mov edx, dword [esi + 0x200]
mov dword [esp + 0x80], edx
mov ecx, dword [esi + 0x204]
mov dword [esp + 0x84], ecx
mov edx, dword [esi + 0x208]
sub ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], edx
push edi
lea edx, [esp + 0x80]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esi + 0x180]
push eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], ecx
call fcn.00410520
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov ecx, dword [esi + 0x34c]
mov dword [esp + 0x54], ecx
mov eax, dword [esi + 0x350]
mov dword [esp + 0x58], eax
mov edx, dword [esi + 0x354]
mov dword [esp + 0x5c], edx
mov ecx, dword [esi + 0x358]
mov edx, dword [esp + 0x4c]
sub ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edx
push ecx
lea edx, [esi + 0x2d0]
push edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
call fcn.00410520
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov ecx, dword [esi + 0x49c]
mov dword [esp + 0x8c], ecx
mov eax, dword [esi + 0x4a0]
mov dword [esp + 0x90], eax
mov edx, dword [esi + 0x4a4]
mov dword [esp + 0x94], edx
mov eax, dword [esi + 0x4a8]
mov dword [esp + 0x98], eax
mov eax, ecx
sub eax, edx
add eax, dword [esp + 0x74]
push edi
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esp + 0x44]
add edx, ebx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esi + 0x420]
push ecx
mov dword [esp + 0xa4], edx
call fcn.00410520
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], edi
mov edx, dword [esi + 0x5ec]
mov dword [esp + 0xa0], edx
mov ecx, dword [esi + 0x5f0]
mov dword [esp + 0xa4], ecx
mov eax, dword [esi + 0x5f4]
mov dword [esp + 0xa8], eax
mov edx, dword [esi + 0x5f8]
mov eax, ecx
sub eax, edx
add eax, dword [esp + 0x78]
mov dword [esp + 0xa0], ebx
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0xac], edx
push edi
lea edx, [esp + 0xa4]
mov dword [esp + 0xa8], eax
push edx
lea eax, [esi + 0x570]
push eax
mov dword [esp + 0xb4], ecx
call fcn.00410520
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov ecx, dword [esi + 0x694]
mov dword [esp + 0x64], ecx
mov ebx, dword [esi + 0x698]
mov dword [esp + 0x68], ebx
mov edx, dword [esi + 0x69c]
mov dword [esp + 0x6c], edx
mov ecx, dword [esi + 0x6a0]
mov eax, ebx
sub eax, ecx
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x60]
mov edx, eax
and edx, 0x80000001
jns 0x40a24a
dec edx
or edx, 0xfffffffe
inc edx
cdq
jne 0x40a253
sub eax, edx
sar eax, 1
jmp 0x40a258
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x6c]
push edi
sub eax, dword [esp + 0x58]
add esi, 0x618
add eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
sub eax, dword [esp + 0x68]
add dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
mov edx, eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
sub edx, ebx
push eax
add ecx, edx
push esi
mov dword [esp + 0x7c], ecx
call fcn.00410520
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004109a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc