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

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
mov esi, eax
push ebx
sub esp, 0x2c
test edx, edx
je 0x52e7d1
mov dword [esp], 0x220
mov ebp, edx
call dword [edx]
mov ebx, eax
test eax, eax
je 0x52e7a7
mov eax, dword [ebp]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 4]
mov dword [ebx + 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x14], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x178], 0x10
mov dword [esp], 0x100
call eax
mov dword [ebx + 0x184], eax
test eax, eax
je 0x52e7a1
mov dword [esp], 0x400
call dword [ebx + 0xc]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x52e991
mov ebp, dword [esp + 0x40]
add eax, 0x400
lea edx, [ebx + 0xc]
mov dword [ebx + 0x30], eax
test ebp, ebp
je 0x52e809
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x160], eax
xor ecx, ecx
mov dword [ebx + 0x1b0], edx
mov eax, ebx
mov dword [ebx + 0x1c8], edx
mov edx, esi
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x1d0], 0
mov dword [ebx + 0x1cc], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0xf4], 0
mov byte [ebx + 0x1d4], 0x21
mov dword [ebx + 0x188], 0
mov dword [ebx + 0x18c], 0
mov byte [ebx + 0x190], 0
mov dword [ebx + 0xe4], 0
mov word [ebx + 0xe8], cx
mov dword [ebx + 0x19c], 0
mov dword [ebx + 0x1a0], 0
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1b4], 0
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1bc], 0
call fcn.0052da61
test esi, esi
je 0x52e773
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x52e9b1
test edi, edi
je 0x52e7b9
mov byte [ebx + 0xe8], 1
call fcn.0053e171
mov dword [ebx + 0xe0], eax
movzx eax, byte [edi]
mov byte [ebx + 0x1d4], al
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [ebx + 0x14]
add esp, 0x2c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0053e091
mov dword [ebx + 0xe0], eax
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x220
call fcn.0086ea09
mov ebx, eax
test eax, eax
je 0x52e7a7
mov dword [eax + 0xc], 0x85a488
mov dword [eax + 0x10], 0x85a420
mov dword [eax + 0x14], 0x85a508
mov eax, 0x85a488
jmp 0x52e60b
mov dword [esp + 0x1c], edx
mov dword [esp], 0xbc
call dword [ebx + 0xc]
test eax, eax
je 0x52e979
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], edx
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 0x10], edx
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x24], edx
mov byte [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], edx
mov byte [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x4c], edx
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], 0
mov dword [eax + 0x9c], 0
mov byte [eax + 0xa0], 0
mov dword [eax + 0xb8], 0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xa8], 0
mov dword [eax + 0x80], 1
mov dword [eax + 0x84], 0
mov byte [eax + 0x88], 0
mov dword [ebx + 0x160], eax
jmp 0x52e670
mov dword [ebx + 0x160], 0
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call dword [ebx + 0x14]
lea esi, [esi]
nop
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
call dword [ebx + 0x14]
mov dword [esp], ebx
call dword [ebx + 0x14]
xor ebx, ebx
jmp 0x52e792
mov dword [esp], ebx
xor ebx, ebx
call fcn.0052e381
jmp 0x52e792