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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
fldz
push ebx
push esi
fst dword [esp + 0x20]
mov esi, ecx
fst dword [esp + 0x24]
mov eax, dword [esi + 0x1a0]
fst dword [esp + 0x28]
xor ebx, ebx
fstp dword [esp + 0x2c]
test eax, eax
push edi
mov dword [esp + 0x10], ebx
jle 0x58fdca
fld dword [ebp + 0xc]
fsub dword [ebp + 8]
fstp qword [esp + 0x90]
fldz
fild dword [esp + 0x10]
add eax, 0xffffffff
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x19c]
fsub st(1)
fst qword [esp + 0x88]
fild dword [esp + 0x10]
fsubrp st(2)
fdivrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x6dda38]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.00615400
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esi + 0x188]
fld dword [esi + 0x188]
fld1
fsubrp st(1)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [edi + 0x144]
lea edi, [ebx + ebx*2]
fmul dword [esi + 0x184]
shl edi, 4
cmp byte [esi + 0x180], 0
fmulp st(1)
fstp dword [esp + 0x10]
je 0x58fad6
mov eax, dword [esi + 0x198]
fld dword [eax + 0x90]
mov eax, dword [esi + 0x19c]
fdiv dword [eax + 0x140]
mov ecx, dword [esi + 0x130]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fldz
fsub st(1), st(0)
fld dword [esp + 0x14]
fmulp st(2)
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd dword [esi + 0x190]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [edi + ecx + 0x28]
mov edx, dword [esi + 0x130]
fld dword [edi + edx + 0x28]
lea eax, [edi + edx]
fstp dword [eax + 0x10]
jmp 0x58fb28
fld dword [esi + 0x15c]
mov eax, dword [esi + 0x130]
fstp dword [esp + 0xc]
fld dword [esi + 0x164]
fld dword [esp + 0xc]
fld st(0)
fsubp st(2)
fld dword [esp + 0x14]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd dword [esi + 0x190]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [edi + eax + 0x28]
mov ecx, dword [esi + 0x130]
fld dword [edi + ecx + 0x28]
lea eax, [edi + ecx]
fstp dword [eax + 0x10]
fldz
mov edx, dword [esi + 0x1a0]
sub edx, 1
mov dword [esp + 0xc], edx
fisubr dword [esp + 0xc]
fdivr qword [esp + 0x88]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul qword [esp + 0x90]
fadd dword [ebp + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x58fb6c
fst dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x58fb84
fstp dword [esp + 0x14]
jmp 0x58fb86
fstp st(0)
fldz
fcom dword [esi + 0x194]
fnstsw ax
test ah, 5
jp 0x58fbe9
fld dword [esp + 0x14]
mov eax, dword [esi + 0x19c]
sub esp, 0x14
fstp dword [esp + 0x10]
fld dword [eax + 0x144]
fmul dword [esi + 0x194]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 8]
fld1
fstp dword [esp + 4]
fstp dword [esp]
call fcn.00410600
fmul dword [esp + 0x24]
add esp, 0x14
fstp dword [esp + 0x10]
jmp 0x58fbed
fstp st(1)
fstp st(0)
fld dword [esp + 0x14]
push 1
push 1
lea ecx, [esp + 0x38]
push ecx
push ecx
mov ecx, dword [esi + 0x198]
fstp dword [esp]
lea edx, [esp + 0xac]
push edx
call fcn.004ee7e0
fld dword [eax]
test ebx, ebx
fsub dword [esp + 0x24]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
fsub dword [esp + 0x28]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
fld dword [eax + 8]
mov eax, dword [esp + 0x4c]
fsub dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
jne 0x58fc7f
fldz
mov dword [esp + 0x24], eax
fst dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x58]
fst dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fstp dword [esp + 0x60]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fld dword [esp + 0x30]
fadd qword [0x6ddac8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.006152d0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x14]
call fcn.00615400
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov eax, dword [esi + 0x130]
fstp dword [esp + 0x80]
add eax, edi
fld dword [esi + 0x18c]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x7c]
fld st(0)
fld dword [esp + 0xc]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x80]
fld st(0)
fmul st(2)
fstp dword [esp + 0x38]
fldz
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x3c]
fld dword [esp + 0x18]
fld st(0)
fadd dword [esp + 0x34]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x1c]
mov dword [eax], ecx
fld st(0)
fadd dword [esp + 0x38]
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x20]
mov dword [eax + 4], edx
fadd dword [esp + 0x3c]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
fld dword [esi + 0x18c]
fld1
fsubrp st(1)
fmulp st(6)
fxch st(5)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x70]
fld st(3)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x74]
fxch st(2)
fmul st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x70]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x74]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x20]
fsub dword [esp + 0x78]
mov edx, dword [esi + 0x130]
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
lea eax, [edi + edx + 0x18]
mov edx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x1a0]
add ebx, 1
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x58f9f6
fstp st(0)
lea ecx, [esi + 0xa0]
call fcn.00443380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10