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

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], edx
push 0xa
pop ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
push 0xa
fst dword [esp + 0x14]
fld dword [esp + 0x78]
lea edi, [esp + 0x4c]
pop ecx
rep stosd dword es:[edi], eax
call fcn.10085860
mov ebp, eax
mov esi, ebp
neg esi
cmp esi, ebp
jge 0x10058d40
fld dword [esp + 0x78]
call fcn.10085860
fld dword [esp + 0x7c]
mov dword [esp + 0x18], eax
call fcn.10085860
sub ebp, esi
lea ebx, [esi + eax]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
test esi, esi
js 0x10058d2e
test ebx, ebx
js 0x10058d2e
mov edi, dword [esp + 0x14]
fstp st(0)
mov ecx, edi
call fcn.10055ade
dec eax
cmp esi, eax
ja 0x10058d2a
mov ecx, edi
call fcn.10055ada
dec eax
cmp ebx, eax
ja 0x10058d2a
push ebx
push esi
mov ecx, edi
call fcn.10055a94
mov ecx, edi
mov esi, eax
call fcn.10055ad2
fild dword [esp + 0x78]
push ecx
push ecx
lea edi, [esi + eax]
fsubr dword [esp + 0x84]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fstp dword [esp]
call fcn.100588d1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
fstp dword [esp + 0x7c]
call fcn.10055ad6
mov edx, eax
mov ecx, edi
call fcn.1005a584
cmp dword [esp + 0x68], 1
jne 0x10058cb2
fld dword [esp + 0x78]
fld st(0)
fld qword [esp + 0x48]
fmul st(1)
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x50]
fmul st(1)
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
fmul qword [esp + 0x60]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
jmp 0x10058d1c
fild qword [esp + 0x48]
fld dword [esp + 0x78]
fmul st(1), st(0)
fild qword [esp + 0x20]
faddp st(2)
fxch st(1)
call fcn.100859a0
fild qword [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fmul st(1)
fild qword [esp + 0x28]
faddp st(1)
call fcn.100859a0
fild qword [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fmul st(1)
fild qword [esp + 0x30]
faddp st(1)
call fcn.100859a0
fild qword [esp + 0x60]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fmul st(1)
fild qword [esp + 0x38]
faddp st(1)
call fcn.100859a0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
fadd dword [esp + 0x10]
mov esi, dword [esp + 0x18]
fst dword [esp + 0x10]
jmp 0x10058d2e
fld dword [esp + 0x10]
inc ebx
mov dword [esp + 0x78], ebx
sub ebp, 1
jne 0x10058be2
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
fld1
mov al, byte [esp + 0x6c]
fdivrp st(1)
mov dword [esp + 0x40], ecx
mov byte [esp + 0x44], al
cmp ecx, 1
jne 0x10058d81
fld qword [esp + 0x20]
fmul st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fmul st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fmul st(1)
fstp qword [esp + 0x30]
fmul qword [esp + 0x38]
fstp qword [esp + 0x38]
jmp 0x10058dcd
fild qword [esp + 0x20]
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fmulp st(1)
call fcn.100859a0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.10055ad6
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.1005a244
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x60
ret 0xc