Function at 0x140006040
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf8
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12, r9
mov r14d, r8d
mov qword [rsp + 0x60], rdx
mov rdi, rcx
mov r15, qword [rbp + 0x7f]
cmp r8d, 0x4e
ja 0x140006287
je 0x1400061ab
cmp r8d, 0xf
je 0x140006164
cmp r8d, 0x14
je 0x14000613c
cmp r8d, 0x2b
jne 0x14000651d
cmp r9, 0x40b
jne 0x14000651d
movups xmm0, xmmword [r15 + 0x28]
movq rax, xmm0
mov qword [rbp - 0x69], rax
mov r13, rax
shr r13, 0x20
psrldq xmm0, 8
movq rbx, xmm0
mov ecx, ebx
sub ecx, eax
mov dword [rbp - 0x71], ecx
shr rbx, 0x20
sub ebx, r13d
mov rcx, qword [rdi + 0x18]
call fcn.14002d270
cmp qword [rax + 8], 0
je 0x140006136
cmp dword [rax + 0x14], 1
jl 0x140006136
mov r9, qword [rdi + 0x68]
mov dword [rsp + 0x40], 3
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov eax, dword [rbp - 0x71]
mov dword [rsp + 0x20], eax
mov r8d, r13d
mov edx, dword [rbp - 0x69]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x14000651d
mov r9, qword [rdi + 0x60]
jmp 0x140006103
xor eax, eax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x61]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov dword [0x1401a1120], eax
mov eax, 1
jmp 0x140006531
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x51]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_BeginPaint]
lea rdx, [rbp - 0x51]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x14000651d
cmp dword [r15 + 0x10], 0xfffffd3a
jne 0x14000651d
xor esi, esi
mov qword [rbp - 0x69], rsi
xor eax, eax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x69]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rbp - 0x61]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov dword [0x1401a1120], eax
cmp qword [r15 + 8], 0x436
jne 0x14000651d
movaps xmm0, xmmword [rbp - 0x61]
movdqa xmmword [rsp + 0x50], xmm0
mov rbx, qword [rdi + 8]
mov qword [rbp - 0x71], rsi
lea rcx, [rbp - 0x71]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea r9, [rsp + 0x50]
mov edx, 0x433
lea r8d, [rdx - 5]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rbp - 0x71]
cmp ecx, edx
jg 0x14000651d
mov rax, qword [rsp + 0x58]
cmp eax, edx
jl 0x14000651d
shr rcx, 0x20
mov edx, dword [rbp - 0x6d]
cmp ecx, edx
jg 0x14000651d
shr rax, 0x20
cmp eax, edx
jl 0x14000651d
mov r8, r15
mov rdx, r12
mov rcx, rdi
call fcn.140006b50
jmp 0x14000651d
mov eax, r14d
sub eax, 0x111
je 0x1400062b3
sub eax, 0xef
je 0x14000651d
cmp eax, 2
jne 0x14000651d
mov rcx, qword [rcx + 0x20]
call fcn.14004caa0
jmp 0x14000651d
movzx ecx, r12w
sub ecx, 0x40b
je 0x140006468
cmp ecx, 0x37
jne 0x14000651d
mov rax, r12
shr rax, 0x10
cmp ax, 1
jne 0x1400062e5
cmp dword [rdi + 0x80], 0
jmp 0x14000643f
cmp ax, 5
jne 0x140006377
cmp dword [rdi + 0x80], 0
jne 0x14000645a
mov rcx, rdi
call fcn.140006e40
mov rsi, qword [rdi + 0x88]
test rsi, rsi
jne 0x140006349
lea ecx, [rsi + 0x18]
call fcn.14005d524
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140006340
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov edx, 0x80
mov rcx, rax
call fcn.140031390
mov rsi, rax
jmp 0x140006342
xor esi, esi
mov qword [rdi + 0x88], rsi
mov rcx, rsi
call fcn.140032950
mov rcx, qword [rdi + 0x18]
call fcn.14002d270
mov rdx, rax
mov rcx, qword [rdi + 0x88]
call fcn.140031590
mov rcx, qword [rdi + 0x20]
call fcn.14004c2c0
jmp 0x14000651d
cmp ax, 9
jne 0x1400063c8
mov rcx, rdi
call fcn.140006e40
mov rsi, qword [rdi + 0x88]
test rsi, rsi
jne 0x140006349
lea ecx, [rsi + 0x18]
call fcn.14005d524
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400063c1
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov edx, 0x80
mov rcx, rax
call fcn.140031390
mov rsi, rax
jmp 0x1400063c3
xor esi, esi
jmp 0x140006342
cmp ax, 7
jne 0x14000641f
mov dword [rdi + 0x80], 1
mov rsi, qword [rdi + 0x88]
test rsi, rsi
jne 0x140006349
lea ecx, [rsi + 0x18]
call fcn.14005d524
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140006418
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov edx, 0x80
mov rcx, rax
call fcn.140031390
mov rsi, rax
jmp 0x14000641a
xor esi, esi
jmp 0x140006342
cmp ax, 8
jne 0x14000643b
xor esi, esi
mov dword [rdi + 0x80], esi
mov rcx, qword [rdi + 0x20]
call fcn.14004c2c0
jmp 0x14000651d
cmp ax, 0xa
jne 0x14000645a
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x14000645a
mov rdx, qword [rdx + 8]
mov rcx, qword [rdi + 0x18]
call fcn.14002d350
mov rcx, qword [rdi + 0x20]
call fcn.14004c2c0
jmp 0x14000651d
mov rcx, qword [rdi + 0x18]
call fcn.14002d270
cmp qword [rax + 8], 0
je 0x140006514
cmp dword [rax + 0x14], 1
jl 0x140006514
mov rcx, qword [rdi + 0x18]
call fcn.14002d270
mov rbx, rax
mov rcx, rax
call fcn.140032950
mov rsi, qword [0x1401a1610]
test rsi, rsi
je 0x1400064ef
mov rcx, qword [rdi + 0x18]
call fcn.14002d300
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.140039870
mov rcx, qword [rdi + 0x18]
call fcn.14002d070
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x1401a1120], eax
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x1401a1120], eax
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x140006500
call fcn.140032950
mov rcx, qword [rdi + 0x20]
call fcn.14004c2c0
mov rcx, qword [rdi + 0x20]
call fcn.14004caa0
jmp 0x14000651d
mov rcx, qword [rdi + 0x18]
call fcn.14002d070
mov r9, r15
mov r8, r12
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14005d680
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret