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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4171d7
sub esp, 0xbc
mov ebx, dword [esp + 0xc0]
movsd xmm0, qword [ebx + 0x60]
movsd qword [esp + 0x1c], xmm0
cvtsi2sd xmm0, dword [0x6dbce4]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
divsd xmm0, qword [0x61bd60]
movsd qword [esp + 0x34], xmm0
mov eax, dword [0x6df4d4]
mov dword [esp + 0x74], eax
mov eax, dword [0x6df4d8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], 0
jl 0x4171a9
fild qword [esp + 0x6c]
fstp qword [esp + 0x7c]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [0x6df4e4]
mov dword [esp + 0x74], eax
mov eax, dword [0x6df4e8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jl 0x41717b
fild qword [esp + 0x5c]
fstp qword [esp + 0x64]
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
divsd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
movsd xmm0, qword [esp + 0x7c]
subsd xmm0, qword [0x61bd40]
movsd qword [esp + 0x8c], xmm0
call fcn.004291f0
movsd xmm6, qword [esp + 0x1c]
movsd xmm5, qword [esp + 0x8c]
movsd xmm4, qword [esp + 0x34]
mov edi, dword [esp + 0xc0]
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
sub ebp, dword [esp + 0x54]
sbb edx, dword [esp + 0x58]
mov ecx, edx
movsd xmm3, qword [0x61bd28]
cmp edx, 0
jl 0x416c64
jg 0x416bbb
cmp ebp, 0
jbe 0x416c64
movsd qword [esp + 0x7c], xmm3
mov eax, dword [edi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x58], eax
fild qword [esp + 0x54]
fstp qword [esp + 0x64]
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
mov eax, dword [0x6dbcf4]
cdq
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, ebp
mov edx, ecx
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ebp, ecx
or ebp, ebx
jne 0x417166
mul esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fstp qword [esp + 0x4c]
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x64]
divsd xmm1, xmm0
movsd qword [esp + 0x64], xmm1
movsd xmm3, qword [esp + 0x64]
addsd xmm3, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm3
movsd xmm1, qword [esp + 0x7c]
divsd xmm1, qword [0x61bd28]
movsd qword [esp + 0x7c], xmm1
movsd xmm1, qword [edi + 0x60]
movapd xmm2, xmm5
subsd xmm2, xmm1
movsd qword [esp + 0x64], xmm2
movsd xmm1, qword [esp + 0x64]
movsd xmm0, qword [esp + 0x7c]
mulsd xmm0, xmm1
movsd xmm1, qword [edi + 0x60]
movapd xmm2, xmm4
subsd xmm2, xmm1
movapd xmm1, xmm2
subsd xmm1, xmm0
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x64], xmm1
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [0x61bd30]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
addsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [edi + 0x60], xmm0
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm0, xmm1
ja 0x41714d
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x64], xmm4
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [0x61bd38]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm1, xmm0
ja 0x417123
mov ebx, dword [0x6dbf50]
cmp ebx, 0
jle 0x4170ee
mov edx, dword [0x6df4e4]
mov ecx, dword [0x6df4e8]
mov eax, dword [0x6ddf68]
mov dword [esp + 0xb4], eax
mov eax, dword [0x6ddf6c]
mov dword [esp + 0xb8], eax
mov eax, dword [0x6df4d4]
mov dword [esp + 0xac], eax
mov eax, dword [0x6df4d8]
mov dword [esp + 0xb0], eax
movapd xmm1, xmm4
mov dword [esp + 0x9c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x78], 0
jl 0x4170f5
fild qword [esp + 0x74]
fstp qword [esp + 0x7c]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x64], xmm1
movsd xmm0, qword [esp + 0x64]
addsd xmm0, qword [0x61bd40]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
mulsd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
fld qword [esp + 0x7c]
fnstcw word [esp + 0xa]
mov word [esp + 8], 0xf7f
fldcw word [esp + 8]
fistp qword [esp + 0x84]
fldcw word [esp + 0xa]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa8], eax
movsd xmm2, qword [0x61bd28]
mov eax, dword [edi]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x98], eax
movsd qword [esp + 0x4c], xmm4
movsd xmm0, qword [esp + 0x4c]
subsd xmm0, xmm6
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x2c], xmm5
movsd qword [esp + 0x64], xmm5
movsd xmm0, qword [esp + 0x64]
subsd xmm0, xmm6
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x14], xmm3
movapd xmm0, xmm3
divsd xmm0, xmm2
movsd qword [esp + 0xc], xmm2
movsd qword [esp + 0x3c], xmm0
call fcn.0042bfb0
mov ebx, 0x5fa43f
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042c9c0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.0042c630
mov ebx, 0x5f7625
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f75f8
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.0042c630
mov ebx, 0x5f761b
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f75fd
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0042c630
mov ebx, 0x5f7620
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f7602
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0042c7d0
mov ebx, 0x5f7643
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x14]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f7648
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f760c
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042c9c0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0042c7d0
mov ebx, 0x5f7e07
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f8588
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f825d
mov dword [esp], ebx
mov dword [esp + 4], 9
call fcn.0042c9c0
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.0042c2b0
mov ebx, 0x5f7066
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042c9c0
call fcn.0042c030
add esp, 0xbc
ret
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
fild qword [esp + 0x74]
fld st(0)
faddp st(1)
fstp qword [esp + 0x7c]
jmp 0x416dcd
movsd qword [esp + 0x7c], xmm4
movsd xmm0, qword [esp + 0x7c]
mulsd xmm0, qword [0x61bd38]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x416d51
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x416d51
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x416c26
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
fild qword [esp + 0x5c]
fld st(0)
faddp st(1)
fstp qword [esp + 0x64]
jmp 0x416b0a
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
fild qword [esp + 0x6c]
fld st(0)
faddp st(1)
fstp qword [esp + 0x7c]
jmp 0x416ac7
call fcn.00452240
jmp fcn.00416a30