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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x41672f
sub esp, 0x98
movzx eax, byte [0xc59434]
test al, al
jne 0x416717
mov eax, dword [0xc6ddc8]
mov ecx, dword [0xc6f370]
sub eax, ecx
mov ecx, dword [0xc6ddcc]
mov edx, dword [0xc6f374]
mov dword [esp], eax
sbb ecx, edx
mov dword [esp + 4], ecx
call fcn.0044c880
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x90]
mov eax, dword [0xc6f374]
mov ecx, dword [0xc6f370]
mov dword [esp], ecx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044c880
fld qword [esp + 8]
fld qword [esp + 0x90]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [esp + 0x68]
fldz
fstp st(2)
fld st(1)
fucomp st(1)
mov dword [esp + 0x70], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x70]
fstp st(0)
fstp st(0)
jbe 0x416706
fldz
fld st(0)
fstp qword [esp + 0x58]
fstp st(0)
mov eax, dword [0xc6f364]
mov ecx, dword [0xc6f360]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044c880
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x90]
mov eax, dword [0xc6f374]
mov ecx, dword [0xc6f370]
mov dword [esp], ecx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044c880
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x88]
fstp st(0)
call fcn.00452f20
mov eax, dword [esp]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x30]
sub eax, edx
mov edx, dword [esp + 4]
mov ebx, dword [ecx + 0x34]
sbb edx, ebx
test edx, edx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test eax, eax
xchg esi, ebx
seta bl
xchg esi, ebx
fld qword [esp + 0x90]
fld qword [esp + 0x88]
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x90]
and ebp, esi
or ebx, ebp
test bl, bl
fstp st(0)
fstp st(0)
jne 0x416670
fld qword [0x966bc8]
fld st(0)
fstp qword [esp + 0x48]
fstp st(0)
fld qword [esp + 0x90]
fld1
fld st(0)
fsubp st(2)
fld st(1)
fstp qword [esp + 0x60]
fld qword [0xc6f350]
fld st(0)
fstp qword [esp + 0x90]
fld qword [esp + 0x58]
fld st(1)
fsubp st(1)
fld st(0)
fstp qword [esp + 0x88]
fld qword [esp + 0x48]
fld qword [0x966bd8]
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x80]
fld st(3)
fsubp st(6)
fld st(5)
fstp qword [esp + 0x78]
fld st(1)
fmulp st(6)
fld st(5)
fsubp st(3)
fld qword [0x966be0]
fstp st(6)
fld st(2)
fmulp st(6)
fld st(3)
faddp st(6)
fld st(5)
fstp qword [esp + 0x50]
mov eax, dword [0xc6c034]
test eax, eax
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jg 0x4163c1
fld qword [esp + 0x50]
fld st(0)
fstp qword [esp + 0xa0]
fstp st(0)
add esp, 0x98
ret
mov eax, dword [0xc6f374]
mov dword [esp + 0x24], eax
mov ecx, dword [0xc6f370]
mov dword [esp + 0x20], ecx
mov edx, dword [0xc6f35c]
mov dword [esp + 0x3c], edx
mov ebx, dword [0xc6f358]
mov dword [esp + 0x38], ebx
mov ebp, dword [0xc6f364]
mov dword [esp + 0x34], ebp
mov esi, dword [0xc6f360]
mov dword [esp + 0x30], esi
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044c880
fld qword [esp + 8]
fld1
fld qword [esp + 0x58]
fld st(0)
faddp st(2)
fld st(2)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.0044c6f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 4]
mov dword [esp + 0x1c], ebx
mov edx, dword [edx]
mov dword [esp + 0x18], edx
call fcn.0042c8a0
lea eax, [0x8c4f4d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042d270
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c01b7]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
fld qword [esp + 0x90]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c018f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c01ad]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
fld qword [esp + 0x60]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c0194]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c01b2]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
fld qword [esp + 0x58]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c0199]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042d0b0
lea eax, [0x8c01da]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
fld qword [esp + 0x48]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c01df]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
fld qword [0x966bd8]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c01a3]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042d270
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0042d0b0
lea eax, [0x8c0c80]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0042d270
fld qword [esp + 0x88]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c1872]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042d270
fld qword [esp + 0x78]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c12d1]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0042d270
fld qword [esp + 0x80]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
call fcn.0042cac0
call fcn.0042c910
jmp 0x4163ab
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0044c790
mov eax, dword [0xc6bb30]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov ebx, eax
mul ecx
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x88]
mov dword [esp], eax
mov eax, ecx
sar ecx, 0x1f
imul ecx, ebx
mov ebx, dword [esp + 0x14]
imul ebx, eax
lea eax, [edx + ebx]
add eax, ecx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044c790
fld qword [esp + 8]
fld qword [esp + 0x88]
fld st(1)
fdivp st(1)
fld qword [0x966bc8]
fstp st(2)
fld st(0)
faddp st(2)
fld st(1)
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x9c]
fld qword [esp + 0x40]
fstp st(2)
fld st(1)
fstp qword [esp + 0x48]
fstp st(0)
fstp st(0)
jmp 0x416323
fld qword [esp + 0x68]
fld st(0)
fstp qword [esp + 0x58]
fstp st(0)
jmp 0x41626a
fld qword [0xc6f350]
fld st(0)
fstp qword [esp + 0xa0]
fstp st(0)
add esp, 0x98
ret
call fcn.004507b0
jmp fcn.004161b0