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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416701
add esp, 0xffffff80
movzx eax, byte [0xc872f4]
test al, al
jne 0x4166ec
mov eax, dword [0xc9a9a8]
mov ecx, dword [0xc9bf50]
sub eax, ecx
mov ecx, dword [0xc9a9ac]
mov edx, dword [0xc9bf54]
mov dword [esp], eax
sbb ecx, edx
mov dword [esp + 4], ecx
call fcn.004544d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
mov eax, dword [0xc9bf54]
mov ecx, dword [0xc9bf50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004544d0
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [esp + 8]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x41629c
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov eax, dword [0xc9bf44]
mov ecx, dword [0xc9bf40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004544d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
mov eax, dword [0xc9bf54]
mov ecx, dword [0xc9bf50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004544d0
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
call fcn.0045a9c0
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 0x416673
movsd xmm0, qword [0x7f9e10]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [0x7f9e50]
subsd xmm1, xmm2
movsd qword [esp + 0x50], xmm1
movsd xmm3, qword [0xc9bf30]
movsd xmm4, qword [esp + 0x48]
subsd xmm4, xmm3
movsd qword [esp + 0x78], xmm4
movsd xmm6, qword [0x7f9e20]
movsd xmm7, xmm0
divsd xmm0, xmm6
subsd xmm1, xmm3
movsd qword [esp + 0x70], xmm1
mulsd xmm1, xmm0
subsd xmm4, xmm1
movsd xmm1, qword [0x7f9e28]
mulsd xmm1, xmm4
addsd xmm1, xmm3
mov ecx, dword [0xc98b94]
test ecx, ecx
jg 0x4163af
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 [0xc9bf54]
mov dword [esp + 0x24], eax
mov ecx, dword [0xc9bf50]
mov dword [esp + 0x20], ecx
mov edx, dword [0xc9bf3c]
mov dword [esp + 0x3c], edx
mov ebx, dword [0xc9bf38]
mov dword [esp + 0x38], ebx
mov ebp, dword [0xc9bf44]
mov dword [esp + 0x34], ebp
mov esi, dword [0xc9bf40]
mov dword [esp + 0x30], esi
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004544d0
movsd xmm0, qword [0x7f9e50]
movsd xmm1, qword [esp + 0x48]
addsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00454340
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 4]
mov dword [esp + 0x1c], ebx
mov edx, dword [edx]
mov dword [esp + 0x18], edx
call fcn.00432680
lea eax, [0x77e608]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432f20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00432c30
lea eax, [0x77a8dd]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
movsd xmm0, qword [esp + 0x68]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77a8b5]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00432c30
lea eax, [0x77a8d3]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77a8ba]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00432c30
lea eax, [0x77a8d8]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77a8bf]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00432d60
lea eax, [0x77a8fb]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77a900]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
movsd xmm0, qword [0x7f9e20]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77a8c9]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432f20
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00432d60
lea eax, [0x77b2a3]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00432f20
movsd xmm0, qword [esp + 0x78]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77bc13]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432f20
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call fcn.00432940
lea eax, [0x77b7a4]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00432f20
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.00432940
call fcn.004328a0
call fcn.004326f0
movsd xmm1, qword [esp + 0x40]
jmp 0x4163a2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004543e0
mov eax, dword [0xc987a4]
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.004543e0
movsd xmm0, qword [esp + 0x70]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x7f9e10]
addsd xmm0, xmm1
mov eax, dword [esp + 0x84]
jmp 0x416336
movsd xmm0, qword [0xc9bf30]
movsd qword [esp + 0x88], xmm0
sub esp, 0xffffff80
ret
call fcn.00458170
jmp fcn.00416210