Function at 0x4147e0
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 0x414f87
sub esp, 0xbc
mov ebx, dword [esp + 0xc0]
movsd xmm0, qword [ebx + 0x60]
movsd qword [esp + 0x1c], xmm0
cvtsi2sd xmm0, dword [0x6cfcc4]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
divsd xmm0, qword [0x611e40]
movsd qword [esp + 0x34], xmm0
mov eax, dword [0x6d34b4]
mov dword [esp + 0x74], eax
mov eax, dword [0x6d34b8]
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 0x414f59
fild qword [esp + 0x6c]
fstp qword [esp + 0x7c]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [0x6d34c4]
mov dword [esp + 0x74], eax
mov eax, dword [0x6d34c8]
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 0x414f2b
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 [0x611e20]
movsd qword [esp + 0x8c], xmm0
call fcn.00426fa0
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 [0x611e08]
cmp edx, 0
jl 0x414a14
jg 0x41496b
cmp ebp, 0
jbe 0x414a14
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 [0x6cfcd4]
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 0x414f16
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 [0x611e08]
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 [0x611e10]
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 0x414efd
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x64], xmm4
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [0x611e18]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm1, xmm0
ja 0x414ed3
mov ebx, dword [0x6cff30]
cmp ebx, 0
jle 0x414e9e
mov edx, dword [0x6d34c4]
mov ecx, dword [0x6d34c8]
mov eax, dword [0x6d1f48]
mov dword [esp + 0xb4], eax
mov eax, dword [0x6d1f4c]
mov dword [esp + 0xb8], eax
mov eax, dword [0x6d34b4]
mov dword [esp + 0xac], eax
mov eax, dword [0x6d34b8]
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 0x414ea5
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 [0x611e20]
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 [0x611e08]
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.00429d60
mov ebx, 0x5f1580
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042a770
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.0042a3e0
mov ebx, 0x5ee7e2
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee7b5
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.0042a3e0
mov ebx, 0x5ee7d8
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee7ba
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0042a3e0
mov ebx, 0x5ee7dd
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee7bf
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0042a580
mov ebx, 0x5ee800
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
movsd xmm0, qword [esp + 0x14]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee805
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee7c9
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.0042a770
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0042a580
mov ebx, 0x5eefa7
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042a770
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ef6f3
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042a770
movsd xmm0, qword [esp + 0x64]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ef3f5
mov dword [esp], ebx
mov dword [esp + 4], 9
call fcn.0042a770
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.0042a060
mov ebx, 0x5ee226
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a770
call fcn.00429de0
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 0x414b7d
movsd qword [esp + 0x7c], xmm4
movsd xmm0, qword [esp + 0x7c]
mulsd xmm0, qword [0x611e18]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x414b01
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x414b01
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x4149d6
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 0x4148ba
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 0x414877
call fcn.0044fe90
jmp fcn.004147e0