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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x98]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00473130
lea ecx, [esp + 0xc8]
call fcn.00473130
lea ecx, [esp + 0x3c]
call fcn.0064dc20
lea ecx, [esp + 0xb0]
call fcn.0064dc20
lea ecx, [esp + 0x68]
call fcn.0064dc20
mov edi, dword [ebp + 0x24]
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x4197d784
mov dword [edi], ebx
mov ecx, dword [esi + 0x8c]
cmp ecx, ebx
mov dword [esp + 0x54], ecx
jle 0x52a2cf
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 0x88]
add eax, edx
lea ecx, [ebp + 0xc]
push eax
push ecx
call fcn.0064df70
fcom qword [esp + 0x60]
add esp, 8
fnstsw ax
test ah, 1
je 0x52a2b7
fcom qword [0x691f50]
fnstsw ax
test ah, 0x41
jne 0x52a2fd
fstp qword [esp + 0x58]
mov dword [edi], ebx
jmp 0x52a2b9
fstp st(0)
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x54]
inc ebx
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x64], ecx
jl 0x52a27e
mov ecx, eax
mov eax, dword [edi]
test eax, eax
jne 0x52a313
mov edx, dword [esi + 0x88]
lea ecx, [esp + 0x3c]
push edx
call fcn.004bd820
mov eax, dword [esi + 0x88]
lea ecx, [esp + 0xb0]
add eax, 0x18
push eax
call fcn.004bd820
jmp 0x52a351
mov dword [edi], ebx
mov eax, dword [esi + 0x88]
lea edx, [ebx + ebx*2]
fstp st(0)
lea ecx, [eax + edx*8]
push ecx
jmp 0x52a723
lea edx, [ecx - 1]
cmp eax, edx
jne 0x52a381
mov edx, dword [esi + 0x88]
lea ecx, [ecx + ecx*2]
lea eax, [edx + ecx*8 - 0x18]
lea ecx, [esp + 0x3c]
push eax
call fcn.004bd820
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x88]
lea ecx, [eax + eax*2 - 6]
lea eax, [edx + ecx*8]
lea ecx, [esp + 0xb0]
push eax
call fcn.004bd820
dec dword [edi]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0064def0
fcomp qword [0x691f30]
add esp, 8
fnstsw ax
test ah, 1
je 0x52a5e9
lea ecx, [esp + 0x3c]
push ecx
jmp 0x52a723
test eax, eax
jle 0x52a351
cmp eax, edx
jge 0x52a351
mov edx, dword [esi + 0x88]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8]
lea ecx, [esp + 0x3c]
push eax
call fcn.004bd820
fld qword [ebp + 0xc]
fsub qword [esp + 0x3c]
fld qword [ebp + 0x14]
fsub qword [esp + 0x44]
fstp qword [esp + 0x2c]
fld qword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
fsub qword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0xc]
push edx
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
fstp qword [esp + 0x10]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x20], eax
call fcn.00657020
mov eax, dword [edi]
mov ecx, dword [esi + 0x88]
lea eax, [eax + eax*2]
fld qword [ecx + eax*8 - 0x18]
lea eax, [ecx + eax*8 - 0x18]
fsub qword [esp + 0x3c]
fld qword [eax + 8]
fsub qword [esp + 0x44]
fstp qword [esp + 0x14]
fld qword [eax + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
fsub qword [esp + 0x4c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], edx
push eax
fstp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x40], edx
call fcn.006576a0
add esp, 8
lea ecx, [esp + 0x98]
push eax
call fcn.006578b0
lea edx, [esp + 0x98]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.00657490
mov eax, dword [edi]
mov edx, dword [esi + 0x88]
fstp qword [esp + 0x60]
inc eax
lea ecx, [eax + eax*2]
fld qword [edx + ecx*8]
lea eax, [edx + ecx*8]
fsub qword [esp + 0x44]
fld qword [eax + 8]
fsub qword [esp + 0x4c]
fstp qword [esp + 0x1c]
fld qword [eax + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
fsub qword [esp + 0x54]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], eax
push ecx
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
fstp qword [esp + 0x30]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], eax
call fcn.006576a0
add esp, 0x10
lea ecx, [esp + 0xc8]
push eax
call fcn.006578b0
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.00657490
fld qword [esp + 0x60]
fcomp st(1)
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x52a580
fstp st(0)
fld qword [esp + 0xa0]
fmul qword [esp + 0x58]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x1c]
fadd qword [esp + 0x54]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xb0]
fmul qword [esp + 0x70]
fadd qword [esp + 0x54]
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
dec ecx
mov dword [edi], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
push ecx
jmp 0x52a723
fld qword [esp + 0xd0]
fmul st(1)
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x1c]
fadd qword [esp + 0x54]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xe0]
fmul st(1)
fadd qword [esp + 0x54]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
push ecx
jmp 0x52a723
fld qword [ebp + 0xc]
fsub qword [esp + 0x3c]
fld qword [ebp + 0x14]
fsub qword [esp + 0x44]
fstp qword [esp + 0x14]
fld qword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
fsub qword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x24]
push eax
fstp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x3c], edx
call fcn.00657020
fld qword [esp + 0xb0]
fsub qword [esp + 0x3c]
fld qword [esp + 0xb8]
fsub qword [esp + 0x44]
fstp qword [esp + 0x14]
fld qword [esp + 0xc0]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
fsub qword [esp + 0x4c]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], ecx
push edx
fstp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x40], ecx
call fcn.006576a0
add esp, 8
lea ecx, [esp + 0x98]
push eax
call fcn.006578b0
lea ecx, [esp + 0x98]
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.00657490
fld qword [esp + 0xa8]
add esp, 8
lea ecx, [esp + 0xc]
fmul st(1)
push 0
push 0
sub esp, 8
fadd qword [esp + 0x54]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xb0]
fmul st(1)
fadd qword [esp + 0x54]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x68]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0064dc70
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20