Function at 0x415990
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 0x415f0f
sub esp, 0x98
movzx eax, byte [0x8aead4]
test al, al
jne 0x415ef7
mov eax, dword [0x8c3028]
mov ecx, dword [0x8c45d0]
sub eax, ecx
mov ecx, dword [0x8c302c]
mov edx, dword [0x8c45d4]
mov dword [esp], eax
sbb ecx, edx
mov dword [esp + 4], ecx
call fcn.0044b6f0
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x90]
mov eax, dword [0x8c45d4]
mov ecx, dword [0x8c45d0]
mov dword [esp], ecx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044b6f0
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 0x415ee6
fldz
fld st(0)
fstp qword [esp + 0x58]
fstp st(0)
mov eax, dword [0x8c45c4]
mov ecx, dword [0x8c45c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b6f0
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x90]
mov eax, dword [0x8c45d4]
mov ecx, dword [0x8c45d0]
mov dword [esp], ecx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044b6f0
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x88]
fstp st(0)
call fcn.00451c50
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 0x415e50
fld qword [0x7003a0]
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 [0x8c45b0]
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 [0x7003a8]
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 [0x7003b0]
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 [0x8c1294]
test eax, eax
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jg 0x415ba1
fld qword [esp + 0x50]
fld st(0)
fstp qword [esp + 0xa0]
fstp st(0)
add esp, 0x98
ret
mov eax, dword [0x8c45d4]
mov dword [esp + 0x24], eax
mov ecx, dword [0x8c45d0]
mov dword [esp + 0x20], ecx
mov edx, dword [0x8c45bc]
mov dword [esp + 0x3c], edx
mov ebx, dword [0x8c45b8]
mov dword [esp + 0x38], ebx
mov ebp, dword [0x8c45c4]
mov dword [esp + 0x34], ebp
mov esi, dword [0x8c45c0]
mov dword [esp + 0x30], esi
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b6f0
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.0044b560
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.0042bd10
lea eax, [0x6a5069]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042c6e0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a1ce7]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
fld qword [esp + 0x90]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a1cbf]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a1cdd]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
fld qword [esp + 0x60]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a1cc4]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a1ce2]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
fld qword [esp + 0x58]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a1cc9]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042c520
lea eax, [0x6a1d05]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
fld qword [esp + 0x48]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a1d0a]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
fld qword [0x7003a8]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a1cd3]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0042c6e0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0042c520
lea eax, [0x6a2564]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0042c6e0
fld qword [esp + 0x88]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a2d0f]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042c6e0
fld qword [esp + 0x78]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a29db]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0042c6e0
fld qword [esp + 0x80]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
call fcn.0042bf30
call fcn.0042bd80
jmp 0x415b8b
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.0044b600
mov eax, dword [0x8c0f50]
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.0044b600
fld qword [esp + 8]
fld qword [esp + 0x88]
fld st(1)
fdivp st(1)
fld qword [0x7003a0]
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 0x415b03
fld qword [esp + 0x68]
fld st(0)
fstp qword [esp + 0x58]
fstp st(0)
jmp 0x415a4a
fld qword [0x8c45b0]
fld st(0)
fstp qword [esp + 0xa0]
fstp st(0)
add esp, 0x98
ret
call fcn.0044f4e0
jmp fcn.00415990