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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0xec]
mov ebx, dword [esp + 0xe8]
mov esi, dword [0x604634]
mov edx, dword [0x604638]
mov ecx, dword [0x604634]
mov eax, dword [0x604638]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x83], 0
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
cmp eax, 0x7fffffff
ja 0x52d45f
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x60463c]
mov eax, dword [0x604640]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, 1
xor ecx, ecx
cmp dword [edx + 4], 0
cmove eax, ecx
cmp eax, 1
je 0x52d4dc
jmp 0x52d54b
mov eax, dword [esp + 0x20]
mov edx, dword [0x604634]
mov ecx, dword [0x604638]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x52d643
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x30]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x74]
cmp eax, ecx
sete al
mov byte [esp + 0x1f], al
and al, 1
mov byte [esp + 0xb7], al
jmp 0x52d571
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00531110
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x52d5c0
mov al, byte [esp + 0x1f]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0052a2b0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.005310b0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0x60]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x52d619
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 0
jmp 0x52d641
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x52d643
mov eax, dword [esp + 0x24]
add esp, 0xd4
pop esi
pop edi
pop ebx
ret