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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x52c896
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x52c896
lea ecx, [esp + 0xb8]
call fcn.0064dc20
mov ecx, esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.004da3c0
cmp eax, 2
mov dword [esp + 0xc], eax
jl 0x52c896
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x7c]
mov edx, dword [edi]
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call dword [edx + 0x84]
mov edx, dword [edi]
lea eax, [esp + 0xd0]
push eax
mov ecx, edi
call dword [edx + 0xdc]
push eax
lea ecx, [esp + 0x58]
call fcn.006578b0
fld qword [esp + 0x54]
fmul qword [0x69dbe0]
fld qword [esp + 0x10]
mov eax, dword [esp + 0xc]
xor ebx, ebx
fsub st(1)
test eax, eax
fstp qword [esp + 0xb0]
fld qword [esp + 0x5c]
fmul qword [0x69dbe0]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fsub qword [esp + 0x30]
fstp qword [esp + 0xa0]
fadd qword [esp + 0x70]
fstp qword [esp + 0x90]
fld qword [esp + 0x78]
fadd qword [esp + 0x30]
fstp qword [esp + 0x98]
jl 0x52c889
jmp 0x52c4de
mov eax, dword [esp + 0xc]
test ebx, ebx
jne 0x52c569
mov edx, dword [esi]
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
call dword [edx + 0xf0]
push eax
lea ecx, [esp + 0x58]
call fcn.006578b0
lea ecx, [esp + 0x130]
push ebx
push ecx
mov ecx, esi
call fcn.005309b0
fld qword [eax]
fst qword [esp + 0x10]
fld qword [esp + 0x54]
fmul qword [0x69dbe0]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
fsubr st(1)
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
fstp qword [esp + 0x28]
fld qword [esp + 0x18]
fld qword [esp + 0x5c]
fmul qword [0x69dbe0]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
fsubp st(1)
fstp qword [esp + 0x38]
fstp qword [esp + 0x48]
jmp 0x52c6c4
cmp ebx, eax
jne 0x52c614
mov eax, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call dword [eax + 0xf4]
push eax
lea ecx, [esp + 0x58]
call fcn.006578b0
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x100]
dec edx
mov ecx, esi
push edx
push eax
call fcn.005309b0
fld qword [esp + 0x54]
fmul qword [0x69dbe0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fadd qword [esp + 0x10]
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]
fstp qword [esp + 0x48]
fld qword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
fmul qword [0x69dbe0]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
fadd qword [esp + 0x18]
fstp qword [esp + 0x40]
jmp 0x52c6cc
test ebx, ebx
jle 0x52c6cc
cmp ebx, eax
jge 0x52c6cc
lea ecx, [ebx - 1]
lea edx, [esp + 0x118]
push ecx
push edx
mov ecx, esi
call fcn.005309b0
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 + 0x148]
mov dword [esp + 0x20], ecx
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.005309b0
fld qword [eax]
fst qword [esp + 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
fstp qword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x88]
push 1
lea ecx, [esp + 0xac]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xd8]
push eax
mov eax, dword [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0xf0]
push edx
mov edx, dword [esp + 0xf0]
push eax
push ecx
push edx
call fcn.004648a0
add esp, 0x4c
cmp eax, 1
jne 0x52c87c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xac]
push 0
push 0
push eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
push eax
lea ecx, [esp + 0xd0]
call fcn.0064dd00
sub esp, 0x18
lea edx, [esp + 0xd0]
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 + 0xd0]
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 + 0x34]
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00473440
mov eax, dword [ebp + 0x14]
fld qword [esp + 0x30]
mov ecx, dword [eax + 4]
test ebx, ebx
fstp qword [ecx + edi*8]
jne 0x52c808
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00473440
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ecx + edi*8], ebx
mov dword [ecx + edi*8 + 4], 0xc0000000
jmp 0x52c879
cmp ebx, dword [esp + 0xc]
jne 0x52c836
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00473440
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ecx + edi*8], 0
mov dword [ecx + edi*8 + 4], 0xbff00000
jmp 0x52c879
mov edi, dword [esi]
sub esp, 0x18
lea edx, [esp + 0xd0]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0xa0]
mov edi, dword [ebp + 0x18]
push 0xffffffffffffffff
fstp qword [esp + 0x34]
mov eax, dword [edi + 8]
mov ecx, edi
mov dword [esp + 0x70], eax
inc eax
push eax
call fcn.00473440
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x6c]
fld qword [esp + 0x30]
fstp qword [eax + ecx*8]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0xc]
inc ebx
cmp ebx, eax
jle 0x52c4da
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