Function at 0x1400388e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe0
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, rdx
mov rsi, rcx
cmp r9d, 4
jne 0x1400389a9
call fcn.140003290
mov r8, qword [rax + 0xf8]
mov rcx, r15
call r8
xor edi, edi
mov ebx, edi
test eax, eax
cmove rbx, r15
mov qword [rbp - 1], rbx
mov qword [rbp - 0x69], rdi
call fcn.140003290
mov r9, qword [rax + 0x1d8]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call r9
lea edx, [rdi + 2]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.USER32.dll_GetAncestor]
mov rdi, rax
lea rcx, [rsi + 8]
call qword [sym.imp.USER32.dll_GetCursorPos]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rbp - 0x39]
mov qword [rsi + 0x10], rax
call fcn.140003290
mov rdx, qword [rax + 0x1c8]
mov rcx, rbx
call rdx
mov byte [rsi + 0x18], 1
jmp 0x140038d16
cmp r9d, 2
jne 0x140038ac2
cmp dword [rbp + 0x77], 1
jne 0x140038d2d
cmp byte [rcx + 0x18], 0
je 0x140038d2d
xor edi, edi
mov qword [rbp - 0x61], rdi
lea rcx, [rbp - 0x61]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8, qword [rsi + 0x10]
mov qword [rbp - 0x71], r8
mov rcx, qword [rsi + 8]
mov rax, rcx
shr rax, 0x20
mov edx, dword [rbp - 0x5d]
sub edx, eax
mov r13d, dword [rbp - 0x61]
sub r13d, ecx
add r13d, r8d
mov r12d, dword [rbp - 0x6d]
add r12d, edx
call fcn.140003290
mov rdx, qword [rax + 0xf8]
mov rcx, r15
call rdx
mov r14d, edi
test eax, eax
cmove r14, r15
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x79], rdi
call fcn.140003290
mov r9, qword [rax + 0x1d8]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x79]
mov rcx, r14
call r9
lea edx, [rdi + 2]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.USER32.dll_GetAncestor]
mov rbx, rax
test r14, r14
je 0x140038a64
call fcn.140003290
mov rdx, qword [rax + 0x100]
mov rcx, r14
call rdx
nop
test rbx, rbx
je 0x140038a9b
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140038a82
lea rcx, [rbp - 0x51]
call rax
test eax, eax
jne 0x140038a82
cmp dword [rbp - 0x51], 1
je 0x140038a9b
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x13
mov ecx, 0x15
jae 0x140038aa0
mov ecx, 0x1d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, r12d
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140038d2d
cmp r9d, 3
jne 0x140038d2d
mov byte [rcx + 0x18], 0
call fcn.140003290
mov rdx, qword [rax + 0xf8]
mov rcx, r15
call rdx
xor edi, edi
mov ebx, edi
test eax, eax
cmove rbx, r15
mov qword [rbp - 0x59], rbx
call fcn.140003290
mov rdx, qword [rax + 0x1d0]
mov rcx, rbx
call rdx
mov qword [rbp - 0x71], rdi
call fcn.140003290
mov r9, qword [rax + 0x1d8]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x71]
mov rcx, rbx
call r9
lea edx, [rdi + 2]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.USER32.dll_GetAncestor]
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [rdi + 2]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
je 0x140038d16
mov dword [rbp - 0x29], 0x28
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
mov dword [rbp - 5], ecx
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x140038d16
lea rdx, [rbp - 0x15]
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_CopyRect]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r15b
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x79], eax
mov eax, dword [rsp + 0x4c]
mov dword [rbp - 0x75], eax
xor edx, edx
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne sil
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x79], eax
mov eax, dword [rbp - 0x7d]
mov dword [rbp - 0x75], eax
xor edx, edx
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r12b
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r14b
xor r9b, r9b
mov ecx, dword [rbp - 0x7d]
sub ecx, dword [rsp + 0x4c]
sub ecx, dword [rbp - 0x7d]
mov r8d, dword [rbp - 0x3d]
add r8d, 0xffffffa0
add r8d, ecx
jns 0x140038c3a
test r14b, r14b
jne 0x140038c3a
test r12b, r12b
jne 0x140038c3a
lfence
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x59]
mov r8d, dword [rsp + 0x4c]
sub r8d, dword [rbp - 0x45]
add r8d, 0x15
jns 0x140038c6d
test r15b, r15b
jne 0x140038c6d
test sil, sil
jne 0x140038c6d
lfence
neg r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x59]
mov r8, qword [rsp + 0x50]
mov edx, r8d
mov rax, qword [rsp + 0x48]
sub edx, eax
sub edx, r8d
mov ecx, dword [rbp - 0x41]
add ecx, 0xffffffa0
add edx, ecx
jns 0x140038cb5
test sil, sil
jne 0x140038cb5
test r14b, r14b
jne 0x140038cb5
lfence
xor r8d, r8d
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x59]
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
sub r8d, eax
sub r8d, dword [rbp - 0x49]
lea edx, [rax - 0x60]
add edx, r8d
jns 0x140038cec
test r15b, r15b
jne 0x140038cec
test r12b, r12b
jne 0x140038cec
lfence
neg edx
xor r8d, r8d
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rbx, qword [rbp - 0x59]
mov rax, qword [rsp + 0x48]
jmp 0x140038cf1
test r9b, r9b
je 0x140038d16
mov ecx, 0x15
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x4c]
mov r8d, eax
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
test rbx, rbx
je 0x140038d2d
call fcn.140003290
mov rcx, rbx
mov rdx, qword [rax + 0x100]
call rdx
nop
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140045c20
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret