Function at 0x140046150
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r12, r9
mov r15d, r8d
mov r14, rdx
mov rdi, rcx
mov ecx, dword [0x1402c12d8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
xor esi, esi
mov eax, dword [rdx + rcx]
cmp dword [0x1402beb08], eax
jg 0x1400465b5
cmp r15d, 0x202
ja 0x14004648d
je 0x140046459
mov eax, r15d
sub eax, 5
je 0x140046438
sub eax, 7
je 0x140046354
sub eax, 0x1f4
je 0x1400462aa
cmp eax, 1
jne 0x1400464ab
mov dword [rdi + 0x78], eax
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
shr rax, 0x10
movzx r9d, ax
movzx r8d, cx
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
cmp eax, 2
jne 0x14004658a
mov dword [rdi + 0x7c], 1
mov dword [rdi + 0x80], 1
mov rax, qword [rdi + 0x38]
mov qword [0x1402bea80], rax
xor r9d, r9d
mov r8, qword [rdi + 8]
lea rdx, [0x140045a70]
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1402bea88], rax
test rax, rax
jne 0x140046291
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetLastError___returned__lu
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, InitCommonControls
lea r8, str.SetWindowsHookEx_MOUSE__failed_on_runProcCaption
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x14004658a
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [rdi + 0x78], 1
jne 0x14004636d
cmp dword [rdi + 0x7c], 0
jne 0x14004631c
cmp r12, 1
jne 0x140046314
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
cmp eax, r12d
jne 0x140046314
mov dword [rdi + 0x98], esi
mov r9, rdi
xor r8d, r8d
mov edx, 0x5006
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x78], esi
jmp 0x140046592
mov ebx, dword [rdi + 0x80]
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
cmp eax, 2
sete sil
mov dword [rdi + 0x80], esi
cmp esi, ebx
je 0x140046592
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetFocus]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x140046592
mov eax, dword [rdi + 0xc4]
test eax, eax
jne 0x1400463e3
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
shr rax, 0x10
movzx r9d, ax
movzx r8d, cx
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
mov dword [rdi + 0xc8], eax
cmp dword [rdi + 0xc0], 1
je 0x1400463b0
cmp eax, 2
jne 0x140046592
mov dword [rsp + 0x40], 0x18
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x50], 0x3e8
lea rcx, [rsp + 0x40]
call qword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov dword [rdi + 0xc4], eax
jmp 0x140046592
cmp eax, 1
jne 0x140046592
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
shr rax, 0x10
movzx r9d, ax
movzx r8d, cx
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
cmp dword [rdi + 0xc8], eax
je 0x140046592
mov rcx, qword [0x1402beaa8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x1402beaa8], rsi
mov dword [rdi + 0xc4], esi
jmp 0x140046592
lea rdx, [rdi + 0x84]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rdi + 0x84]
mov rcx, r14
call fcn.140027e20
jmp 0x1400464ab
mov dword [rdi + 0x78], esi
cmp dword [rdi + 0x7c], 1
jne 0x14004658a
mov rcx, qword [0x1402bea88]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [rdi + 0x80], 1
jne 0x140046484
mov rcx, rdi
call fcn.140044cd0
mov qword [rdi + 0x7c], rsi
jmp 0x14004658a
mov eax, r15d
sub eax, 0x203
je 0x14004654f
sub eax, 0x9e
je 0x1400464d2
cmp eax, 2
je 0x140046419
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8d, r15d
mov rdx, r14
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x140046597
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8, r14
mov rdx, qword [rdi + 8]
lea rcx, [0x1402bea90]
call fcn.14013cd60
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
cmp dword [rdi + 0xc8], 1
jne 0x140046525
lea r8, [rdi + 0x58]
cmp qword [r8 + 0x18], 8
jb 0x14004652c
mov r8, qword [r8]
jmp 0x14004652c
lea r8, [0x1401f6168]
mov eax, dword [rsp + 0x34]
add eax, 0x14
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [0x1402bea90]
call fcn.14013cc20
jmp 0x140046592
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
shr rax, 0x10
movzx r9d, ax
movzx r8d, cx
mov rdx, r14
mov rcx, rdi
call fcn.140045af0
cmp eax, 1
jne 0x14004658a
mov r9, rdi
xor r8d, r8d
mov edx, 0x5005
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.140045740
mov eax, 1
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1402beb08]
call fcn.1401818fc
cmp dword [0x1402beb08], 0xffffffff
jne 0x1400461b3
mov qword [0x1402bea98], rsi
xorps xmm0, xmm0
movdqa xmmword [0x1402beaa0], xmm0
lea rax, vtable.ToolTip.0
mov qword [0x1402bea90], rax
mov qword [0x1402beab0], rsi
mov dword [0x1402beab8], esi
lea rcx, [0x1401e17c0]
call fcn.1401816cc
nop
lea rcx, [0x1402beb08]
call fcn.14018189c
jmp 0x1400461b3