Function at 0x1400c58c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
sub rdx, 1
je 0x1400c5a65
sub rdx, 1
je 0x1400c5a49
cmp rdx, 2
jne 0x1400c5b9c
mov qword [rsp + 0x48], rbp
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsi + 0x428]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsi + 0x330]
mov rdi, qword [rax + 0x100]
test rdi, rdi
je 0x1400c59a6
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi + 8]
test rbx, rbx
je 0x1400c5932
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x1400c5932
cmp dword [rax + 0x84], 1
jne 0x1400c5932
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rax + 0x118]
call qword [case.0x140038716.0]
test eax, eax
je 0x1400c5932
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400981d0
test rax, rax
jne 0x1400c59a1
cmp dword [rbx + 0x1bc], 1
je 0x1400c59a9
mov rax, qword [rbx + 0x178]
cmp dword [rax - 0x10], ebp
jne 0x1400c59a9
jmp 0x1400c5932
mov rbx, rax
jmp 0x1400c59a9
mov rbx, rbp
mov dword [rsp + 0x20], ebp
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rbx
call fcn.14022915c
mov rbx, rax
test rax, rax
je 0x1400c5b9c
cmp dword [rax + 0x284], ebp
je 0x1400c5b9c
cmp qword [rax + 0x1d0], rsi
jne 0x1400c5b9c
mov eax, dword [rax + 0x188]
test eax, eax
je 0x1400c5b9c
cmp eax, dword [rsi + 0x318]
je 0x1400c5b9c
mov rcx, qword [rsi + 0x310]
test rcx, rcx
je 0x1400c5b9c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0x320], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x140306158]
mov rcx, qword [rsi + 0x430]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400c5b9c
call fcn.1400c5860
mov edx, 2
mov rcx, qword [rsi + 0x430]
call qword [sym.imp.USER32.dll_KillTimer]
jmp 0x1400c5b9c
mov edx, 1
mov rcx, qword [rcx + 0x430]
call qword [sym.imp.USER32.dll_KillTimer]
mov qword [rsp + 0x48], rbp
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsi + 0x620]
mov rcx, rax
shr rcx, 0x20
cmp dword [rsp + 0x48], eax
jne 0x1400c5b9c
cmp dword [rsp + 0x4c], ecx
jne 0x1400c5b9c
mov rax, qword [rsi + 0x628]
lea rbx, [rsi + 0x4c8]
cmp qword [rsi + 0x4e0], rax
jne 0x1400c5af7
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx]
call fcn.1400c0ae0
nop
mov ebp, 1
mov dword [rsp + 0x30], ebp
mov rcx, qword [rsi + 0x628]
add rcx, 0x178
mov rdx, rax
call fcn.140028f00
test al, al
je 0x1400c5af7
movzx edi, bpl
jmp 0x1400c5afa
xor dil, dil
test bpl, 1
je 0x1400c5b2f
and ebp, 0xfffffffe
mov dword [rsp + 0x30], ebp
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c5b2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test dil, dil
jne 0x1400c5b9c
mov rcx, qword [rsi + 0x628]
mov qword [rsi + 0x4e0], rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx + 0x178]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsi + 0x628]
mov rcx, qword [rbx]
call fcn.1400b97e0
cmp dword [rsi + 0x61c], 0
je 0x1400c5b9c
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0xbb8
mov rcx, qword [rsi + 0x430]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret