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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x52cbcf
mov edi, dword [ebp + 8]
test edi, edi
je 0x52cbcf
lea ecx, [esp + 0x10]
call fcn.0064dc20
lea ecx, [esp + 0x2c]
call fcn.0064dc20
lea ecx, [esp + 0x80]
call fcn.0064dc20
mov ecx, esi
call fcn.00500c50
mov ebx, eax
test ebx, ebx
je 0x52cbcf
mov ecx, edi
call fcn.004da3c0
cmp eax, 2
mov dword [esp + 0x28], eax
jl 0x52cbcf
mov ecx, ebx
call fcn.004f2990
cmp eax, 2
mov dword [esp + 0x44], eax
jl 0x52cbcf
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
mov dword [esp + 0xc], esi
jle 0x52cbc2
jmp 0x52c937
mov esi, dword [esp + 0xc]
lea eax, [esi - 1]
lea ecx, [esp + 0x98]
push eax
push ecx
mov ecx, edi
call fcn.005309b0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0xc8]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.005309b0
fld qword [eax]
mov esi, 1
fst qword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
cmp eax, esi
fstp qword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
jle 0x52cbad
lea ecx, [esi - 1]
lea edx, [esp + 0xb0]
push ecx
push edx
mov ecx, ebx
call fcn.004f2a30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0xe0]
mov dword [esp + 0x20], ecx
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
call fcn.004f2a30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x68]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
push 1
lea ecx, [esp + 0x74]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
call fcn.004648a0
add esp, 0x4c
cmp eax, 1
jne 0x52cba0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
push 0
push 0
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
call fcn.0064dd00
sub esp, 0x18
lea edx, [esp + 0x98]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, dword [ebp + 0x10]
call fcn.00472bf0
mov edi, dword [edi]
sub esp, 0x18
lea eax, [esp + 0x98]
mov ecx, esp
push eax
call fcn.0064dc70
mov ecx, dword [ebp + 8]
call dword [edi + 0xa0]
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
fstp qword [esp + 0x5c]
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00473440
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
fld qword [esp + 0x58]
mov ecx, dword [eax + 4]
sub esp, 0x18
lea eax, [esp + 0x98]
fstp qword [ecx + edi*8]
mov edi, dword [edx]
mov ecx, esp
push eax
call fcn.0064dc70
mov ecx, dword [ebp + 0xc]
call dword [edi + 0xa0]
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
fstp qword [esp + 0x5c]
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00473440
mov eax, dword [ebp + 0x18]
fld qword [esp + 0x58]
mov ecx, dword [eax + 4]
fstp qword [ecx + edi*8]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x52c9ea
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x52c933
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret