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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416da1
add esp, 0xffffff80
movzx eax, byte [0xb53134]
test al, al
jne 0x416d8c
mov eax, dword [0xb54a68]
mov ecx, dword [0xb56010]
sub eax, ecx
mov ecx, dword [0xb54a6c]
mov edx, dword [0xb56014]
mov dword [esp], eax
sbb ecx, edx
mov dword [esp + 4], ecx
call fcn.004585c0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
mov eax, dword [0xb56010]
mov ecx, dword [0xb56014]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004585c0
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [esp + 8]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x41693c
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov eax, dword [0xb56000]
mov ecx, dword [0xb56004]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004585c0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
mov eax, dword [0xb56010]
mov ecx, dword [0xb56014]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004585c0
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
call fcn.00463140
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp]
sub edx, ecx
mov ecx, dword [eax + 0x34]
mov ebx, dword [esp + 4]
sbb ebx, ecx
test ebx, ebx
setg cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or ecx, ebp
test cl, cl
jne 0x416d13
movsd xmm0, qword [0x8ef390]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [0x8ef4e8]
subsd xmm1, xmm2
movsd qword [esp + 0x50], xmm1
movsd xmm3, qword [0xb55ff0]
movsd xmm4, qword [esp + 0x48]
subsd xmm4, xmm3
movsd qword [esp + 0x78], xmm4
movsd xmm6, qword [0x8ef3b8]
movsd xmm7, xmm0
divsd xmm0, xmm6
subsd xmm1, xmm3
movsd qword [esp + 0x70], xmm1
mulsd xmm1, xmm0
subsd xmm4, xmm1
movsd xmm1, qword [0x8ef410]
mulsd xmm1, xmm4
addsd xmm1, xmm3
mov ecx, dword [0xb52954]
test ecx, ecx
jg 0x416a4f
movsd qword [esp + 0x88], xmm1
sub esp, 0xffffff80
ret
movsd qword [esp + 0x68], xmm3
movsd qword [esp + 0x60], xmm7
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x40], xmm1
mov eax, dword [0xb56010]
mov dword [esp + 0x20], eax
mov ecx, dword [0xb56014]
mov dword [esp + 0x24], ecx
mov edx, dword [0xb55ff8]
mov dword [esp + 0x38], edx
mov ebx, dword [0xb55ffc]
mov dword [esp + 0x3c], ebx
mov ebp, dword [0xb56000]
mov dword [esp + 0x30], ebp
mov esi, dword [0xb56004]
mov dword [esp + 0x34], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004585c0
movsd xmm0, qword [0x8ef4e8]
movsd xmm1, qword [esp + 0x48]
addsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00458430
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], edx
call fcn.00434e00
lea eax, [0x86414e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004356a0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004353a0
lea eax, [0x85a625]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
movsd xmm0, qword [esp + 0x68]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85a5fd]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004353a0
lea eax, [0x85a61b]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85a602]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004353a0
lea eax, [0x85a620]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85a607]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004354d0
lea eax, [0x85a64d]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85a652]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
movsd xmm0, qword [0x8ef3b8]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85a611]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004356a0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004354d0
lea eax, [0x85d807]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004356a0
movsd xmm0, qword [esp + 0x78]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85f0c3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004356a0
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call fcn.004350c0
lea eax, [0x85e550]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004356a0
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.004350c0
call fcn.00435020
call fcn.00434e70
movsd xmm1, qword [esp + 0x40]
jmp 0x416a42
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004584d0
mov eax, dword [0xb52498]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov ebx, eax
mul ecx
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x70], xmm0
mov dword [esp], eax
mov eax, ecx
sar ecx, 0x1f
imul ecx, ebx
mov ebx, dword [esp + 0x14]
imul eax, ebx
add eax, edx
add eax, ecx
mov dword [esp + 4], eax
call fcn.004584d0
movsd xmm0, qword [esp + 0x70]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x8ef390]
addsd xmm0, xmm1
mov eax, dword [esp + 0x84]
jmp 0x4169d6
movsd xmm0, qword [0xb55ff0]
movsd qword [esp + 0x88], xmm0
sub esp, 0xffffff80
ret
call fcn.00460bb0
jmp fcn.004168b0