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

Disassembly:
push esi
push ebx
sub esp, 0x64
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
fldz
fst dword [esp + 0x50]
mov dword [esp + 0x54], 0
fstp dword [esp + 0x58]
mov dword [esp + 0x5c], 0
mov dword [esp], esi
call fcn.0042d81f
sub esp, 4
mov dword [esp + 0x40], eax
mov dword [esp], esi
call fcn.0042d83d
sub esp, 4
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x78], ebx
jge 0x40116f
cmp edx, eax
jg 0x40118b
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x78], ebx
jle 0x401181
cmp edx, eax
jl 0x40118b
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], ebx
mov ebx, eax
fild dword [esp + 0x78]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdivr st(1)
fxch st(1)
fstp qword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x58]
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdivr st(1)
fxch st(1)
fstp qword [esp + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fdivp st(1)
fmul dword [section..rdata]
fstp qword [esp]
call fcn.00425220
sub esp, 0xc
fldz
fxch st(1)
fcomi st(1)
fstp st(1)
fld qword [esp + 0x10]
fld qword [esp + 0x18]
jb 0x401340
fxch st(2)
fadd dword [0x46c004]
fnstcw word [esp + 0x2a]
movzx eax, word [esp + 0x2a]
or ah, 0xc
mov word [esp + 0x28], ax
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 8], 0
fdivp st(1)
fmul dword [section..rdata]
fstp qword [esp]
call fcn.00425220
sub esp, 0xc
fldz
fxch st(1)
fcomi st(1)
fstp st(1)
jb 0x401350
fadd dword [0x46c004]
fnstcw word [esp + 0x2a]
movzx eax, word [esp + 0x2a]
or ah, 0xc
mov word [esp + 0x28], ax
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
cmp edx, eax
je 0x401360
mov eax, dword [esp + 0x40]
fld dword [esp + 0x50]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
fild dword [esp + 0x78]
fcompi st(1)
fstp st(0)
jae 0x401370
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x58]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
fcompi st(1)
fstp st(0)
jb 0x4013e8
mov eax, dword [esp + 0x40]
fld dword [esp + 0x58]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
fld st(0)
fldz
fxch st(2)
fcompi st(2)
fstp st(1)
jb 0x401430
fadd dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x58]
jmp 0x4013b4
fxch st(2)
fsub dword [0x46c004]
jmp 0x401228
fsub dword [0x46c004]
jmp 0x40127c
mov eax, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
jmp 0x4013e8
mov eax, dword [esp + 0x40]
fld dword [esp + 0x50]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
fld st(0)
fldz
fxch st(2)
fcompi st(2)
fstp st(1)
jb 0x401415
fadd dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x50]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
fld st(0)
fldz
fxch st(2)
fcompi st(2)
fstp st(1)
jb 0x401450
fadd dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0042d85b
sub esp, 0x10
xor eax, eax
add esp, 0x64
pop ebx
pop esi
ret 0xc
fsub dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
jmp 0x4013a8
fsub dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
jmp 0x40132d
fsub dword [0x46c004]
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x2a]
mov eax, dword [esp + 0x24]
jmp 0x4013e4