Function at 0x140001500
Capabilities:
Check for foreground window switch
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], rax
movss xmm6, dword [0x14003ea10]
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x48]
cmp r8, rcx
je 0x14000155c
mov qword [rbp - 0x40], r8
mov edi, 0x3e8
mov edx, 0x28
call fcn.140001280
mov ebx, eax
mov edx, 0xa
call fcn.140001280
add ebx, eax
mov dword [rbp - 0x30], ebx
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x140001596
mov dword [rdx], ebx
mov rcx, qword [rbp - 0x40]
add rcx, 4
mov qword [rbp - 0x40], rcx
jmp 0x1400015a7
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140001970
mov rcx, qword [rbp - 0x40]
sub rdi, 1
jne 0x140001561
mov r9, rcx
mov r8, qword [rbp - 0x48]
sub r9, r8
sar r9, 2
cmp r9, 1
jbe 0x140001553
xorps xmm3, xmm3
cmp r8, rcx
je 0x1400015e5
mov rax, r8
nop dword [rax]
movd xmm0, dword [rax]
cvtdq2pd xmm0, xmm0
addsd xmm3, xmm0
add rax, 4
cmp rax, rcx
jne 0x1400015d0
xorps xmm2, xmm2
cmp r8, rcx
je 0x14000164d
mov rdx, r8
sub r9, 1
xorps xmm4, xmm4
js 0x140001600
cvtsi2sd xmm4, r9
jmp 0x140001620
mov rax, r9
shr rax, 1
and r9d, 1
or rax, r9
cvtsi2sd xmm4, rax
addsd xmm4, xmm4
nop word [rax + rax]
movd xmm0, dword [rdx]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
subsd xmm1, xmm3
cvtpd2ps xmm0, xmm2
movaps xmm2, xmm1
mulsd xmm2, xmm1
divsd xmm2, xmm4
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
add rdx, 4
cmp rdx, rcx
jne 0x140001620
cvtpd2ps xmm0, xmm2
comiss xmm6, xmm0
ja 0x140001553
movabs r13, 0x7fffffffff67697e
movabs r12, 0x7fffffffffffffff
movabs r14, 0x4e94914effff
movabs r15, 0x431bde82d7b634db
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [0x140045744]
test al, al
je 0x1400017bf
movzx eax, byte [0x140046b79]
test al, al
je 0x1400017bf
mov rax, qword [rbp - 0x48]
movsxd rbx, dword [rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x60]
call fcn.1400018a0
movzx r9d, word [rbp - 0x2c]
shl r9d, 0x10
movzx ecx, word [rbp - 0x30]
or r9, rcx
mov edx, 0x201
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rbp - 0x48]
lea rbx, [rsi + 4]
mov rdi, qword [rbp - 0x40]
cmp rsi, rbx
je 0x140001734
cmp rbx, rdi
je 0x140001734
mov rdx, rbx
mov rcx, rsi
call fcn.140035f20
mov rdx, rdi
mov rcx, rbx
call fcn.140035f20
mov rdx, rdi
mov rcx, rsi
call fcn.140035f20
mov rsi, qword [rbp - 0x48]
movsxd rbx, dword [rsi]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x60]
call fcn.1400018a0
movzx r9d, word [rbp - 0x24]
shl r9d, 0x10
movzx ecx, word [rbp - 0x28]
or r9, rcx
mov edx, 0x202
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rbp - 0x48]
lea rbx, [rsi + 4]
mov rdi, qword [rbp - 0x40]
cmp rsi, rbx
je 0x140001690
cmp rbx, rdi
je 0x140001690
mov rdx, rbx
mov rcx, rsi
call fcn.140035f20
mov rdx, rdi
mov rcx, rbx
call fcn.140035f20
mov rdx, rdi
mov rcx, rsi
call fcn.140035f20
jmp 0x140001690
lea rcx, [rbp - 0x58]
call fcn.140001000
mov rax, qword [rbp - 0x58]
cmp rax, r13
lea rbx, [rax + 0x989680]
jle 0x1400017e0
mov rbx, r12
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140001000
mov rax, qword [rbp - 0x50]
cmp rbx, rax
je 0x140001690
jl 0x140001690
mov rcx, rbx
sub rcx, rax
cmp rcx, r14
jg 0x140001833
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x14000182a
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x1400017e0
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x1400017e0