Function at 0x140053e40
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 [0x14012d228]
xor rax, rsp
mov qword [rbp - 1], rax
mov r14, rdx
mov rsi, rcx
cmp r9d, 4
jne 0x140053f1c
xor ecx, ecx
call fcn.140002190
mov rcx, r14
mov rax, qword [rax + 0xf8]
call qword [case.0x140029715.0]
xor edi, edi
mov ebx, edi
test eax, eax
cmove rbx, r14
mov qword [rbp - 0x61], rbx
mov qword [rsp + 0x40], rdi
xor ecx, ecx
call fcn.140002190
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov rax, qword [rax + 0x1d8]
call qword [case.0x140029715.0]
lea edx, [rdi + 2]
mov rcx, qword [rsp + 0x40]
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
xor ecx, ecx
call fcn.140002190
mov rcx, rbx
mov rax, qword [rax + 0x1c8]
call qword [case.0x140029715.0]
mov byte [rsi + 0x18], 1
jmp 0x140054286
cmp r9d, 2
jne 0x14005402f
cmp dword [rbp + 0x77], 1
jne 0x1400542a3
cmp byte [rcx + 0x18], 0
je 0x1400542a3
xor edi, edi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
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 - 0x7d]
sub edx, eax
mov r12d, dword [rsp + 0x50]
sub r12d, ecx
add r12d, r8d
mov r15d, dword [rbp - 0x6d]
add r15d, edx
xor ecx, ecx
call fcn.140002190
mov rcx, r14
mov rax, qword [rax + 0xf8]
call qword [case.0x140029715.0]
mov esi, edi
test eax, eax
cmove rsi, r14
mov qword [rbp - 0x69], rsi
mov dl, 1
lea rcx, [rbp - 0x69]
call fcn.1400565b0
mov rcx, rax
lea edx, [rdi + 2]
call qword [sym.imp.USER32.dll_GetAncestor]
mov rbx, rax
test rsi, rsi
je 0x140053fd0
xor ecx, ecx
call fcn.140002190
mov rcx, rsi
mov rax, qword [rax + 0x100]
call qword [case.0x140029715.0]
nop
test rbx, rbx
je 0x140054008
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jne 0x140053fef
cmp dword [rsp + 0x48], 1
je 0x140054008
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x13
mov ecx, 0x15
jae 0x14005400d
mov ecx, 0x1d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, r15d
mov r8d, r12d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400542a3
cmp r9d, 3
jne 0x1400542a3
mov byte [rcx + 0x18], 0
xor ecx, ecx
call fcn.140002190
mov rcx, r14
mov rax, qword [rax + 0xf8]
call qword [case.0x140029715.0]
xor edi, edi
mov ebx, edi
test eax, eax
cmove rbx, r14
mov qword [rbp - 0x79], rbx
xor ecx, ecx
call fcn.140002190
mov rcx, rbx
mov rax, qword [rax + 0x1d0]
call qword [case.0x140029715.0]
mov qword [rbp - 0x71], rdi
xor ecx, ecx
call fcn.140002190
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x71]
mov rcx, rbx
mov rax, qword [rax + 0x1d8]
call qword [case.0x140029715.0]
lea edx, [rdi + 2]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.USER32.dll_GetAncestor]
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [rdi + 2]
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
je 0x140054286
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 0x140054286
lea rdx, [rbp - 0x15]
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_CopyRect]
xor edx, edx
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r15b
mov eax, dword [rbp - 0x51]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x55]
mov dword [rsp + 0x44], eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne sil
mov eax, dword [rbp - 0x59]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x4d]
mov dword [rsp + 0x44], eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r12b
xor edx, edx
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
setne r14b
xor r9b, r9b
mov ecx, dword [rbp - 0x4d]
sub ecx, dword [rbp - 0x55]
sub ecx, dword [rbp - 0x4d]
mov r8d, dword [rbp - 0x3d]
add r8d, 0xffffffa0
add r8d, ecx
jns 0x1400541b4
test r14b, r14b
jne 0x1400541b4
test r12b, r12b
jne 0x1400541b4
lfence
xor edx, edx
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x79]
mov r8d, dword [rbp - 0x55]
sub r8d, dword [rbp - 0x45]
add r8d, 0x15
jns 0x1400541e5
test r15b, r15b
jne 0x1400541e5
test sil, sil
jne 0x1400541e5
lfence
neg r8d
xor edx, edx
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x79]
mov r8, qword [rbp - 0x51]
mov edx, r8d
mov rax, qword [rbp - 0x59]
sub edx, eax
sub edx, r8d
mov ecx, dword [rbp - 0x41]
add ecx, 0xffffffa0
add edx, ecx
jns 0x140054228
test sil, sil
jne 0x140054228
test r14b, r14b
jne 0x140054228
lfence
xor r8d, r8d
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9b, 1
mov rbx, qword [rbp - 0x79]
mov r8, qword [rbp - 0x51]
mov rax, qword [rbp - 0x59]
sub r8d, eax
sub r8d, dword [rbp - 0x49]
lea edx, [rax - 0x60]
add edx, r8d
jns 0x14005425d
test r15b, r15b
jne 0x14005425d
test r12b, r12b
jne 0x14005425d
lfence
neg edx
xor r8d, r8d
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbp - 0x59]
jmp 0x140054262
test r9b, r9b
je 0x140054286
mov ecx, 0x15
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, dword [rbp - 0x55]
mov r8d, eax
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
test rbx, rbx
je 0x1400542a3
xor ecx, ecx
call fcn.140002190
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [case.0x140029715.0]
nop
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14005aef0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret