Function at 0x140017dfc
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6c0]
sub rsp, 0x7c0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
mov r15, r9
mov eax, r8d
mov dword [rsp + 0x58], eax
mov rbx, rcx
mov r12, qword [rbp + 0x720]
mov qword [rsp + 0x50], r12
xor ecx, ecx
cmp byte [rbx + 0x4988], cl
jne 0x1400189dd
mov edi, ecx
movzx esi, cl
lea edx, [rcx + 1]
lea r13d, [rcx + 2]
cmp eax, 7
jne 0x140017e92
mov r14b, dl
mov r8d, r15d
lea rdx, str.WM_SETFOCUS_From0x_08X_
lea rcx, [rbp - 0x50]
call fcn.1400011e8
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.14001658c
lea rsi, str.WM_SETFOCUS
jmp 0x140018154
cmp eax, 6
jne 0x1400181c1
movzx eax, r15w
sub ax, dx
cmp ax, dx
setbe r14b
xor esi, esi
test r15w, r15w
jne 0x140018012
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test r12, r12
cmovne rdi, r12
mov rcx, rdi
call fcn.14011452c
test al, al
je 0x140017fee
lea r14d, [rsi + 1]
call fcn.1401103f0
test al, al
jne 0x1400180ef
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x60]
call fcn.140114b80
nop
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.14010fe14
test al, al
je 0x140017f98
mov r12d, r14d
mov rcx, qword [rsp + 0x68]
call fcn.14011f348
test al, al
je 0x140017f68
mov rcx, qword [rsp + 0x68]
call fcn.140118b24
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140017f68
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14000f290
nop
lea rcx, [rsp + 0x60]
call fcn.140114c28
add esi, r12d
lea rcx, [rsp + 0x60]
call fcn.140114b80
nop
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov ecx, esi
call fcn.14010fe14
test al, al
jne 0x140017f1b
mov r12, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140114c28
xor esi, esi
mov edx, 1
mov rax, qword [0x14021c740]
cmp byte [rax + 0x10fed], sil
je 0x14001810b
cmp byte [rbx + 0x42e], sil
je 0x14001810b
cmp r15w, dx
jne 0x1400180f7
mov rax, r15
shr rax, 0x10
test ax, ax
je 0x1400180f7
mov esi, 1
jmp 0x140018116
test rdi, rdi
je 0x140018012
call fcn.1401142dc
test al, al
je 0x140018012
mov rcx, rdi
call fcn.140126864
test al, al
je 0x140018012
mov edx, 1
mov r14b, dl
jmp 0x140017fa9
test r14b, r14b
jne 0x140017fa4
lea rcx, [rbx + 0x978]
call fcn.14003e93c
test al, al
je 0x14001810b
cmp qword [rbx + 0x48f8], rsi
je 0x14001810b
mov ecx, 1
call fcn.1401239d4
test al, al
jne 0x140018056
mov ecx, r13d
call fcn.1401239d4
test al, al
je 0x14001810b
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rsi, rax
test rax, rax
je 0x14001810b
mov r8d, 0x7f
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1400180c0
lea rdx, str.WorkerW
lea rcx, [rbp + 0xb0]
call fcn.14014693c
test eax, eax
je 0x1400180cb
lea rdx, str.Progman
lea rcx, [rbp + 0xb0]
call fcn.14014693c
test eax, eax
je 0x1400180cb
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
jmp 0x14001806c
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx + 0x4900]
cmp dword [rsp + 0x48], eax
jne 0x14001810b
xor eax, eax
mov dword [rbx + 0x4904], eax
jmp 0x14001810b
mov edx, r14d
jmp 0x140017fa9
cmp dword [rbx + 0x354], esi
jg 0x14001810b
lea rcx, [rbx + 0x260]
call fcn.14003492c
mov esi, 1
cmp r15w, si
jne 0x14001812b
mov r8d, r12d
lea rdx, str.WM_ACTIVATE_From0x_08X_
lea rcx, [rbp - 0x50]
call fcn.1400011e8
jmp 0x140018142
movzx r9d, r14b
mov r8d, r12d
lea rdx, str.WM_ACTIVATE.WA_INACTIVE_To0x_08X__OurFocus_i
lea rcx, [rbp - 0x50]
call fcn.1400011e8
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.14001658c
lea rsi, str.WM_ACTIVATE
xor r12d, r12d
mov rdx, rsi
mov rcx, rbx
call fcn.14000fcc8
mov rsi, r12
lea rcx, [rbp - 0x80]
call fcn.140114b80
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14010f2cc
test eax, eax
js 0x14001819a
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x14001819a
mov rcx, rsi
call fcn.14011bab8
mov rcx, rax
call fcn.1400b1b20
mov r12, rax
test rdi, rdi
je 0x1400184b7
cmp rdi, qword [0x14021c5e0]
je 0x1400184b7
cmp rdi, r12
je 0x1400184b7
mov rcx, rdi
jmp 0x14001846d
cmp eax, 0x1c
jne 0x1400182be
test r15, r15
setne r14b
test r15, r15
jne 0x1400181f8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
movzx r9d, r14b
mov r8d, r12d
lea rdx, str.WM_ACTIVATEAPP.Deactivate_ToTID_i__OurFocus_i
lea rcx, [rbp - 0x50]
call fcn.1400011e8
jmp 0x14001820b
mov r8d, r12d
lea rdx, str.WM_ACTIVATEAPP.Activate_FromTID_i_
lea rcx, [rbp - 0x50]
call fcn.1400011e8
xor r12d, r12d
lea edx, [r12 + 1]
lea rcx, [rbp - 0x50]
call fcn.14001658c
test r15, r15
jne 0x140018238
mov rcx, rdi
call fcn.14011452c
test al, al
je 0x1400182b2
lea r14d, [r12 + 1]
jmp 0x1400182b2
mov rax, qword [0x14021c740]
cmp byte [rax + 0x10fed], r12b
je 0x1400182b2
cmp dword [rbx + 0x354], r12d
jle 0x1400182b2
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400182a1
lea rcx, [rsp + 0x60]
call fcn.140114b80
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14010f2cc
test eax, eax
js 0x140018292
mov rcx, qword [rsp + 0x68]
call fcn.140118b24
test rax, rax
mov eax, 1
cmovne esi, eax
lea rcx, [rsp + 0x60]
call fcn.140114c28
test sil, sil
jne 0x1400182b2
lea rcx, [rbx + 0x260]
mov edx, 3
call fcn.14003492c
lea rsi, str.WM_ACTIVATEAPP
jmp 0x140018157
cmp eax, 8
jne 0x140018334
lea rsi, str.WM_KILLFOCUS
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
xor r12d, r12d
test r15, r15
cmovne rdi, r15
cmp byte [rbx + 0x7d2c], r12b
je 0x1400182f3
call qword [sym.imp.USER32.dll_DestroyCaret]
mov byte [rbx + 0x7d2c], r12b
mov rcx, rdi
call fcn.14011452c
movzx r14d, r12b
test al, al
mov eax, 1
cmovne r14d, eax
movzx r9d, r14b
mov r8d, r15d
lea rdx, str.WM_KILLFOCUS_To0x_08X__OurFocus_i
lea rcx, [rbp - 0x50]
call fcn.1400011e8
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.14001658c
jmp 0x140018157
mov r15, qword [rbp + 0x728]
lea rax, [0x14016df88]
mov rsi, r15
xor r12d, r12d
test r15, r15
cmove rsi, rax
lea rdi, [rbx + 0x978]
mov rcx, rdi
call fcn.14003e93c
test al, al
je 0x14001836d
mov rdx, rsi
mov rcx, rbx
call fcn.14000fcc8
mov rcx, rdi
call fcn.14003e93c
test al, al
jne 0x1400189dd
cmp qword [rbx + 0x3fc0], r12
jne 0x1400189dd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov rcx, rax
call fcn.14011452c
movzx r14d, al
cmp byte [rbx + 0x3f48], r14b
je 0x1400183b3
mov dl, r14b
mov rcx, rbx
call fcn.14001e38c
test r14b, r14b
jne 0x1400183d9
lea rax, str.TIMER_QUAKE_AUTOHIDE_ID
cmp r15, rax
jne 0x1400183d9
cmp dword [rbx + 0x498c], r12d
je 0x1400183d9
mov dword [rbx + 0x498c], r12d
jmp 0x140018157
cmp r14b, byte [rbx + 0x4989]
jne 0x140018157
mov edx, r13d
mov rcx, qword [0x14021c740]
call fcn.140087888
test eax, eax
je 0x1400189dd
call qword [sym.imp.USER32.dll_GetFocus]
movzx r9d, byte [rbx + 0x4989]
mov r8d, r14d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov eax, dword [0x14021c5e0]
mov dword [rsp + 0x20], eax
lea rdx, str.Focus_event_skipped__lbSetFocus_u__mb_LastConEmuFocusState_u__ghWndx_08X__hForex_08X__hFocusx_08X
lea rcx, [rbp + 0xb0]
call fcn.1400011e8
mov edx, r13d
lea rcx, [rbp + 0xb0]
call fcn.14001658c
jmp 0x1400189dd
mov rdx, rdi
mov rcx, rbx
call fcn.140014d04
test al, al
jne 0x1400184b7
cmp r15, r12
je 0x1400184b7
mov rcx, qword [0x14021c5e0]
cmp r15, rcx
je 0x14001847d
mov rdi, r15
mov rcx, r15
call qword [sym.imp.USER32.dll_GetParent]
mov r15, rax
test rax, rax
jne 0x140018447
jmp 0x1400184b7
call qword [sym.imp.USER32.dll_SetFocus]
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, rax
mov rax, qword [0x14021c5e0]
cmp rdi, rax
jne 0x1400184b3
mov edx, 1
lea rcx, str.Focus_was_returned_to_ConEmu
call fcn.14001658c
mov rax, qword [0x14021c5e0]
cmp rdi, rax
sete r14b
xor r12d, r12d
test r14b, r14b
je 0x1400185ad
test rdi, rdi
jne 0x1400184f7
test rsi, rsi
je 0x1400184f7
mov rcx, qword [rbx + 0x3fb8]
test rcx, rcx
je 0x1400184f7
lea edx, [rdi + 1]
call fcn.1400f51dc
test al, al
je 0x1400184f7
lea edx, [rdi + 1]
mov rcx, qword [rbx + 0x3fb8]
call fcn.1400f4274
mov rdi, rax
mov eax, 1
mov r8b, al
mov dl, r14b
mov rcx, rbx
call fcn.140024a58
mov byte [rbx + 0x4989], r14b
lea rax, str.mb_LastConEmuFocusState_set_to_TRUE
lea rcx, str.mb_LastConEmuFocusState_set_to_FALSE
test r14b, r14b
cmovne rcx, rax
mov edx, 1
call fcn.14001658c
mov dl, r14b
mov rcx, rbx
call fcn.14001e38c
test r14b, r14b
jne 0x140018695
test rsi, rsi
je 0x140018562
mov rcx, rsi
call fcn.14011bab8
mov r8, rax
lea rcx, [rbx + 0x218]
xor edx, edx
call fcn.14002ee24
mov rcx, qword [rbx + 0x3fb8]
call fcn.1400f6704
mov rcx, rbx
call fcn.140014138
mov rcx, rax
xor edx, edx
call fcn.14005b6d4
test rsi, rsi
je 0x1400186d1
mov rcx, rsi
call fcn.140118b24
test rax, rax
je 0x1400186aa
lea rcx, [rbx + 0x188]
xor edx, edx
call fcn.140059bcc
jmp 0x1400186aa
test rdi, rdi
jne 0x140018623
lea ecx, [rdi + 1]
call fcn.1401239d4
test al, al
jne 0x1400185ce
mov ecx, r13d
call fcn.1401239d4
test al, al
je 0x1400184f7
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov r15, rax
mov dword [rsp + 0x48], r12d
test rax, rax
je 0x1400184f7
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400184f7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x48], eax
je 0x1400184f7
mov rdi, r15
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x40], eax
je 0x140018660
test rsi, rsi
je 0x1400184f7
mov rcx, rsi
call fcn.14011bab8
mov rcx, rax
call fcn.1400ac0b0
cmp rdi, rax
jne 0x14001866d
mov eax, 1
mov r14b, al
jmp 0x1400184fc
mov rcx, rsi
call fcn.14011bab8
mov rcx, rax
xor edx, edx
call fcn.1400af6f0
movzx r14d, r14b
cmp dword [rsp + 0x40], eax
mov eax, 1
cmove r14d, eax
jmp 0x1400184fc
mov rcx, rbx
call fcn.140014138
mov rcx, rax
call fcn.14005b180
test rsi, rsi
je 0x1400186d1
mov rcx, rsi
call fcn.14011bab8
test rax, rax
je 0x1400186d1
mov rcx, rsi
call fcn.14011bab8
mov rcx, rax
mov r8b, byte [rbp + 0x730]
mov dl, r14b
call fcn.1400b4370
mov rcx, qword [0x14021c740]
call fcn.140087944
test al, al
je 0x140018872
test r14b, r14b
jne 0x140018872
xor r9d, r9d
lea eax, [r9 + 1]
mov r8b, al
mov dl, al
mov rcx, rbx
call fcn.140027a18
test al, al
jne 0x140018872
lea r13, [rbx + 0x260]
xor edx, edx
mov rcx, r13
call fcn.14003de70
test al, al
jne 0x140018872
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140018872
mov word [rbp + 0xb0], r12w
mov r15b, r12b
xor eax, eax
cmp dword [rsp + 0x58], eax
jne 0x14001882c
mov edi, 1
mov edx, edi
mov rcx, qword [0x14021c740]
call fcn.140087888
test eax, eax
je 0x1400187a4
movzx ecx, r12b
movzx r9d, r15b
mov eax, dword [rbx + 0x498c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, [rbp + 0xb0]
lea rdx, str.MinimizeOnFocusLose:_Class_s__IsTaskbar_u__IsTrayNotifyWnd_u__Timer_u
lea rcx, [rbp + 0x2b0]
call fcn.14000d034
mov edx, edi
lea rcx, [rbp + 0x2b0]
call fcn.14001658c
xor r12d, r12d
test r15b, r15b
jne 0x140018843
cmp dword [rbx + 0x354], r12d
jg 0x140018877
lea edx, [r12 + 7]
mov rcx, r13
call fcn.14003492c
jmp 0x140018877
mov r8d, 0xff
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.Shell_TrayWnd
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140018836
lea rdx, str.TrayNotifyWnd
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
movzx r12d, r12b
test eax, eax
mov eax, 1
cmove r12d, eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rdi, rdi
jne 0x1400187cf
jmp 0x14001874f
mov edi, 1
mov r15b, dil
jmp 0x140018754
cmp dword [rbx + 0x498c], r12d
jne 0x140018877
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x498c], eax
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0x64]
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x140018877
mov edi, 1
mov rax, qword [0x14021c740]
cmp byte [rax + 0x1107f], r12b
je 0x140018905
test rsi, rsi
je 0x1400188ed
test r14b, r14b
jne 0x1400188a8
xor r9d, r9d
mov r8b, dil
xor edx, edx
mov rcx, rbx
call fcn.140027a18
test al, al
mov cl, r12b
je 0x1400188ab
mov cl, dil
mov dil, byte [rsi + 0x16a0]
mov rax, qword [0x14021c740]
cmp byte [rax + 0x1107f], r12b
je 0x1400188d6
test cl, cl
jne 0x1400188d6
call fcn.140114614
test al, al
jne 0x1400188d6
mov eax, 1
jmp 0x1400188d9
mov al, r12b
cmp dil, al
je 0x1400188ed
mov byte [rsi + 0x16a0], al
lea rcx, [rsi + 0x18]
call fcn.14010a48c
xor r8d, r8d
lea r15d, [r8 + 1]
mov dl, r15b
mov rcx, qword [rbx + 0x3fc8]
call fcn.1400f2d48
jmp 0x14001890b
mov r15d, 1
lea rdi, [rbx + 0x4098]
xor r9d, r9d
mov r8, rdi
xor edx, edx
lea ecx, [rdx + 0x6c]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14001892c
cmp dword [rdi], r12d
jne 0x140018932
mov dword [rdi], 3
lea rdi, [rbx + 0x409c]
xor r9d, r9d
mov r8, rdi
xor edx, edx
lea ecx, [rdx + 0x68]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140018953
cmp dword [rdi], r12d
jne 0x140018959
mov dword [rdi], 3
test r14b, r14b
je 0x1400189ab
test rsi, rsi
je 0x1400189ab
mov rcx, qword [0x14021c740]
call fcn.140087a50
test al, al
je 0x1400189ab
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x14021c5e0]
jne 0x1400189ab
cmp dword [rbx + 0x7cd8], r12d
jne 0x1400189ab
mov dword [rbx + 0x7cd8], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx + 0x7cd4]
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [0x14021c740]
cmp byte [rax + 0x11458], r12b
jne 0x1400189d4
test rsi, rsi
je 0x1400189d4
mov rcx, rsi
call fcn.14011bab8
mov rcx, rax
mov dl, r14b
call fcn.1400b42e4
nop
lea rcx, [rbp - 0x80]
call fcn.140114c28
xor eax, eax
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x808]
add rsp, 0x7c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret