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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
vmovss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0xb8
mov rax, qword [0x140165340]
xor rax, rsp
mov qword [rsp + 0xa0], rax
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [0x140153ee0]
jbe 0x1400c59c2
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jne 0x1400c59cf
mov rax, qword [rsp + 0xd0]
jmp 0x1400c6242
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [0x14015458c]
jb 0x1400c59ef
mov rax, qword [rsp + 0xd8]
jmp 0x1400c6242
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x1400c6144
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5a1c
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400c5a36
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
call fcn.140099ef0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm0, xmm1
jae 0x1400c5ab8
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5a5e
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5a78
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jae 0x1400c5a9b
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x1401549b0]
vmovss dword [rsp + 0x38], xmm0
jmp 0x1400c5aaa
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x38], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x38]
vmovsd qword [rsp + 0x50], xmm0
jmp 0x1400c5aec
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5acc
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400c5ae6
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
vmovsd qword [rsp + 0x50], xmm0
vmovsd xmm0, qword [rsp + 0x50]
vmovsd qword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5b0f
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400c5b29
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
call fcn.140099ef0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm0, xmm1
jae 0x1400c5bab
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5b51
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5b6b
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jae 0x1400c5b8e
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x1401549b0]
vmovss dword [rsp + 0x3c], xmm0
jmp 0x1400c5b9d
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x3c], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x3c]
vmovsd qword [rsp + 0x58], xmm0
jmp 0x1400c5bdf
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5bbf
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400c5bd9
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
vmovsd qword [rsp + 0x58], xmm0
vmovsd xmm0, qword [rsp + 0x58]
vmovsd qword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rax
jae 0x1400c5c07
mov byte [rsp + 0x20], 1
jmp 0x1400c5c0c
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400c5c33
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call fcn.1400c7dc0
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5c47
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5c61
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vucomiss xmm0, dword [0x140153ee0]
jne 0x1400c5cc1
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5c7f
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5c99
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jae 0x1400c5cc1
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x1401549b0]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [rsp + 0x90], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400c5ce3
vmovss xmm0, dword [0x14015458c]
vsubss xmm0, xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0x40], xmm0
jmp 0x1400c5cf2
vmovss xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0xd0]
imul rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5d1b
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5d35
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jae 0x1400c5fa9
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.1400c2930
test rax, rax
jl 0x1400c5d64
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5d7e
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm0, xmm0, xmmword [0x1401549b0]
vmovss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5da0
vcvtsi2ss xmm1, xmm1, rax
jmp 0x1400c5dba
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm2, xmm2, rcx
vaddss xmm2, xmm2, xmm2
vmovups xmm1, xmm2
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5dce
vcvtsi2ss xmm2, xmm2, rax
jmp 0x1400c5de8
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm3, xmm3, rcx
vaddss xmm3, xmm3, xmm3
vmovups xmm2, xmm3
vsubss xmm1, xmm1, xmm2
vmovups xmm0, xmm1
call fcn.1400402d0
vmovss xmm1, dword [rsp + 0x48]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x30], xmm0
vmovss xmm0, dword [rsp + 0x30]
vsubss xmm0, xmm0, dword [rsp + 0xf0]
vmovss dword [rsp + 0x44], xmm0
vmovss xmm0, dword [rsp + 0x30]
vaddss xmm0, xmm0, dword [rsp + 0xf0]
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x44]
jb 0x1400c5e59
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x34]
ja 0x1400c5e59
mov qword [rsp + 0x28], 0
jmp 0x1400c5fa4
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x30]
jae 0x1400c5f0f
vcvtss2sd xmm0, xmm0, dword [rsp + 0xe8]
vmovsd qword [rsp + 0x68], xmm0
vmovss xmm1, dword [rsp + 0x24]
vdivss xmm1, xmm1, dword [rsp + 0x44]
vmovss xmm2, dword [0x14015458c]
vsubss xmm1, xmm2, xmm1
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x1401549a0]
vcvtss2sd xmm3, xmm3, dword [rsp + 0xe8]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.140099e80
vmovsd xmm1, qword [rsp + 0x68]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x1401549a0]
xor eax, eax
vcomisd xmm0, qword [0x140154808]
jb 0x1400c5efa
vsubsd xmm0, xmm0, qword [0x140154808]
vcomisd xmm0, qword [0x140154808]
jae 0x1400c5efa
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400c5fa4
vcvtss2sd xmm0, xmm0, dword [rsp + 0xe8]
vmovsd qword [rsp + 0x70], xmm0
vmovss xmm1, dword [rsp + 0x24]
vsubss xmm1, xmm1, dword [rsp + 0x34]
vmovss xmm2, dword [0x14015458c]
vsubss xmm2, xmm2, dword [rsp + 0x34]
vdivss xmm1, xmm1, xmm2
vcvtss2sd xmm1, xmm1, xmm1
vcvtss2sd xmm2, xmm2, dword [rsp + 0xe8]
vmovsd xmm3, qword [rsp + 0x90]
vdivsd xmm2, xmm3, xmm2
vmovupd xmm0, xmm2
call fcn.140099e80
vmovsd xmm1, qword [rsp + 0x70]
vmulsd xmm0, xmm1, xmm0
xor eax, eax
vcomisd xmm0, qword [0x140154808]
jb 0x1400c5f94
vsubsd xmm0, xmm0, qword [0x140154808]
vcomisd xmm0, qword [0x140154808]
jae 0x1400c5f94
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400c613f
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400c5fbd
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c5fd7
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jb 0x1400c601d
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400c5ff5
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400c600f
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vcomiss xmm0, dword [0x140153ee0]
jae 0x1400c60c4
vmovsd xmm0, qword [rsp + 0x90]
vxorpd xmm0, xmm0, xmmword [0x1401549a0]
vmovsd qword [rsp + 0x78], xmm0
vmovss xmm1, dword [0x14015458c]
vsubss xmm1, xmm1, dword [rsp + 0x24]
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x1401549a0]
vmovsd xmm3, qword [rsp + 0x90]
vxorpd xmm3, xmm3, xmmword [0x1401549a0]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.140099e80
vmovsd xmm1, qword [rsp + 0x78]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x1401549a0]
xor eax, eax
vcomisd xmm0, qword [0x140154808]
jb 0x1400c60b2
vsubsd xmm0, xmm0, qword [0x140154808]
vcomisd xmm0, qword [0x140154808]
jae 0x1400c60b2
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400c613f
vcvtss2sd xmm0, xmm0, dword [rsp + 0x24]
vmovsd xmm1, qword [rsp + 0x90]
vdivsd xmm1, xmm1, qword [rsp + 0x98]
vmovsd qword [rsp + 0x80], xmm1
vmovupd xmm1, xmm0
vmovsd xmm0, qword [rsp + 0x80]
call fcn.140099e80
vmovsd xmm1, qword [rsp + 0x98]
vmulsd xmm0, xmm1, xmm0
xor eax, eax
vcomisd xmm0, qword [0x140154808]
jb 0x1400c612f
vsubsd xmm0, xmm0, qword [0x140154808]
vcomisd xmm0, qword [0x140154808]
jae 0x1400c612f
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400c623d
cmp dword [rsp + 0xc0], 8
je 0x1400c615f
cmp dword [rsp + 0xc0], 9
je 0x1400c615f
mov byte [rsp + 0x22], 0
jmp 0x1400c6164
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400c619e
vmovss xmm2, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.1400c7ef0
mov qword [rsp + 0x28], rax
jmp 0x1400c623d
vcvtss2sd xmm0, xmm0, dword [rsp + 0xc8]
vcomisd xmm0, qword [0x1401545f8]
jae 0x1400c623d
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vmulss xmm0, xmm0, dword [rsp + 0xc8]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jbe 0x1400c6208
vmovsd xmm0, qword [0x1401548a8]
vmovsd qword [rsp + 0x60], xmm0
jmp 0x1400c6216
vmovsd xmm0, qword [0x1401545c8]
vmovsd qword [rsp + 0x60], xmm0
vmovsd xmm0, qword [rsp + 0x88]
vaddsd xmm0, xmm0, qword [rsp + 0x60]
vcvttsd2si rax, xmm0
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14011d870
add rsp, 0xb8
ret