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

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x52a4e9
mov eax, dword [esp + 0x28]
fild dword [esp + 0x28]
test eax, eax
jge 0x52a1f2
fadd dword [0x7bb540]
fdiv qword [0x7bd240]
mov eax, dword [esi + 0x34]
fstp dword [esp + 0x20]
fld dword [esi + 0x18]
fstp dword [esp + 4]
fld dword [esi + 0x1c]
fstp dword [esp + 8]
fld dword [esi + 0x20]
fstp dword [esp + 0xc]
fld dword [eax + 0x54]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld st(0)
fmul dword [esi + 0xc]
fstp dword [esp + 0x10]
fld dword [esi + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 4]
fsub dword [esp + 0x10]
fstp dword [esp + 4]
fld dword [esp + 8]
fsub dword [esp + 0x14]
fstp dword [esp + 8]
fld dword [esp + 0xc]
fsub dword [esp + 0x18]
fstp dword [esp + 0xc]
fld dword [eax + 0x58]
fstp dword [esp + 0x28]
fld dword [0xab7464]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [0xab7468]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [0xab746c]
fstp dword [esp + 0x18]
fld dword [esp + 4]
fsub dword [esp + 0x10]
fstp dword [esp + 4]
fld dword [esp + 8]
fsub dword [esp + 0x14]
fstp dword [esp + 8]
fld dword [esp + 0xc]
fsub dword [esp + 0x18]
fstp dword [esp + 0xc]
fld dword [eax + 0x5c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld qword [0x795890]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul qword [0x88a848]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fadd dword [esp + 4]
fstp dword [esp + 4]
fld dword [esp + 0x14]
fadd dword [esp + 8]
fstp dword [esp + 8]
fld dword [esp + 0x18]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 4]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 8]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0xc]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fadd dword [esp + 0x10]
fstp dword [esi + 0xc]
fld dword [esp + 0x14]
fadd dword [esi + 0x10]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
fadd dword [esp + 0x18]
fstp dword [esi + 0x14]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
fld dword [esi + 0xc]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x14]
fstp dword [esp + 0x18]
fld dword [esi]
fadd dword [esp + 0x10]
fstp dword [esi]
fld dword [esi + 4]
fadd dword [esp + 0x14]
fstp dword [esi + 4]
fld dword [esp + 0x18]
fadd dword [esi + 8]
fstp dword [esi + 8]
fild dword [esi + 0x3c]
jge 0x52a38b
fadd dword [0x7bb540]
mov edx, dword [esi + 0x30]
fild dword [esi + 0x30]
test edx, edx
jge 0x52a39b
fadd dword [0x7bb540]
fdivp st(1)
fstp dword [esp + 0x20]
fld1
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x52a4e7
mov ecx, dword [esi + 0x34]
push edi
mov edi, 1
lea edx, [ecx + 0xdc]
fld dword [edx]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x52a412
add edi, 1
add edx, 4
cmp edi, 4
jb 0x52a3c5
mov eax, dword [ecx + 0xb8]
fstp st(0)
mov dword [esi + 0x48], eax
mov edx, dword [ecx + 0xbc]
mov dword [esi + 0x4c], edx
mov eax, dword [ecx + 0xc0]
mov dword [esi + 0x50], eax
mov edx, dword [ecx + 0xc4]
mov dword [esi + 0x54], edx
fld dword [ecx + 0xd4]
pop edi
fstp dword [esi + 0x58]
pop esi
add esp, 0x18
ret 0xc
fsub dword [ecx + edi*4 + 0xd4]
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x2f0]
cmp byte [eax + 0x70], 0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [ecx + edi*4 + 0xd8]
fsub dword [ecx + edi*4 + 0xd4]
fstp dword [esp + 0x28]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
je 0x52a46a
mov ecx, edi
shl ecx, 4
lea eax, [ecx + ebx]
push ecx
lea edx, [eax + 0x328]
fstp dword [esp]
push edx
add eax, 0x318
jmp 0x52a47f
mov eax, edi
shl eax, 4
add eax, ecx
push ecx
lea ecx, [eax + 0x88]
fstp dword [esp]
push ecx
add eax, 0x78
push eax
lea ecx, [esi + 0x48]
call fcn.00424330
mov edx, dword [ebx + 0x2f0]
cmp byte [edx + 0x6f], 0
je 0x52a4bc
fld dword [ebx + edi*4 + 0x314]
fld dword [esp + 0x28]
fld st(0)
fld1
fsubrp st(1)
fmulp st(2)
fmul dword [ebx + edi*4 + 0x318]
pop ebx
pop edi
faddp st(1)
fstp dword [esi + 0x58]
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esi + 0x34]
fld dword [eax + edi*4 + 0xc4]
pop ebx
fld dword [esp + 0x24]
fld st(0)
fld1
fsubrp st(1)
fmulp st(2)
fmul dword [eax + edi*4 + 0xc8]
pop edi
faddp st(1)
fstp dword [esi + 0x58]
pop esi
add esp, 0x18
ret 0xc
fstp st(0)
pop esi
add esp, 0x18
ret 0xc