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

Disassembly:
sub esp, 0x6c
fldz
xor eax, eax
push ebx
push ebp
push esi
push edi
fst dword [esp + 0x10]
fld dword [esp + 0x88]
lea edi, [esp + 0x2c]
fld1
mov esi, ecx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
fadd st(1), st(0)
mov dword [esp + 0x18], esi
push 0xa
pop ecx
mov ebx, edx
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
fxch st(1)
mov dword [esp + 0x1c], ebx
call fcn.10085860
xor ebp, ebp
mov dword [esp + 0x14], eax
inc ebp
sub ebp, eax
cmp ebp, eax
jg 0x10057887
fld dword [esp + 0x84]
call fcn.10085860
fld dword [esp + 0x80]
mov edi, eax
mov dword [esp + 0x20], edi
call fcn.10085860
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], ebx
test ebx, ebx
js 0x10057872
test edi, edi
js 0x10057872
fstp st(1)
mov ecx, esi
fstp st(0)
call fcn.10055ade
dec eax
cmp ebx, eax
ja 0x10057866
mov ecx, esi
call fcn.10055ada
dec eax
cmp edi, eax
ja 0x10057866
push edi
push ebx
mov ecx, esi
call fcn.10055a94
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.10055ad2
fild dword [esp + 0x84]
push ecx
push ecx
add edi, eax
fsubr dword [esp + 0x88]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x5c]
add esp, 8
mov ecx, esi
fstp qword [esp + 0x24]
push eax
call fcn.10055ad6
mov edx, eax
mov ecx, edi
call fcn.1005a584
fld1
fld dword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x10057796
fld qword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x10057792
fstp st(0)
fld st(0)
fdivrp st(1)
jmp 0x100577af
fsubr dword [0x1009b388]
fld qword [esp + 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x100578c6
cmp dword [esp + 0x74], 1
fld st(1)
fsubrp st(1)
jne 0x100577f4
fld st(0)
fld qword [esp + 0x54]
fmul st(1)
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x5c]
fmul st(1)
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fld qword [esp + 0x64]
fmul st(1)
fadd qword [esp + 0x3c]
fstp qword [esp + 0x3c]
fmul qword [esp + 0x6c]
fadd qword [esp + 0x44]
fstp qword [esp + 0x44]
jmp 0x10057858
fild qword [esp + 0x54]
fmul st(1)
fild qword [esp + 0x2c]
faddp st(1)
call fcn.100859a0
fild qword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fmul st(1)
fild qword [esp + 0x34]
faddp st(1)
call fcn.100859a0
fild qword [esp + 0x64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fmul st(1)
fild qword [esp + 0x3c]
faddp st(1)
call fcn.100859a0
fild qword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fmul st(1)
fild qword [esp + 0x44]
faddp st(1)
call fcn.100859a0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fadd dword [esp + 0x10]
mov edi, dword [esp + 0x20]
fst dword [esp + 0x10]
jmp 0x1005786c
fld1
fld dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fxch st(1)
inc ebp
inc ebx
mov dword [esp + 0x84], ebx
cmp ebp, eax
jle 0x100576ed
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
mov al, byte [esp + 0x78]
fdivrp st(1)
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x50], al
cmp ecx, 1
jne 0x100578e2
fld qword [esp + 0x2c]
fmul st(1)
fstp qword [esp + 0x2c]
fld qword [esp + 0x34]
fmul st(1)
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fmul st(1)
fstp qword [esp + 0x3c]
fmul qword [esp + 0x44]
fstp qword [esp + 0x44]
jmp 0x1005792e
push dword [esp + 0x1c]
fstp st(0)
mov ecx, esi
fstp st(0)
call fcn.10055ad6
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.1005a244
jmp 0x10057943
fild qword [esp + 0x2c]
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fmulp st(1)
call fcn.100859a0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
push ebx
mov ecx, esi
call fcn.10055ad6
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.1005a244
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc