Function at 0x140016900
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 [0x1401f5698]
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 + 0x4830], cl
jne 0x1400174da
mov edi, ecx
movzx esi, cl
lea edx, [rcx + 1]
lea r13d, [rcx + 2]
cmp eax, 7
jne 0x140016996
mov r14b, dl
mov r8d, r15d
lea rdx, str.WM_SETFOCUS_From0x_08X_
lea rcx, [rbp - 0x50]
call fcn.1400011f8
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.140015084
lea rsi, str.WM_SETFOCUS
jmp 0x140016c58
cmp eax, 6
jne 0x140016cc5
movzx eax, r15w
sub ax, dx
cmp ax, dx
setbe r14b
xor esi, esi
test r15w, r15w
jne 0x140016b16
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test r12, r12
cmovne rdi, r12
mov rcx, rdi
call fcn.14010808c
test al, al
je 0x140016af2
lea r14d, [rsi + 1]
call fcn.140104000
test al, al
jne 0x140016bf3
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x60]
call fcn.1401086e4
nop
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.140103a00
test al, al
je 0x140016a9c
mov r12d, r14d
mov rcx, qword [rsp + 0x68]
call fcn.1401130fc
test al, al
je 0x140016a6c
mov rcx, qword [rsp + 0x68]
call fcn.14010c714
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 0x140016a6c
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14000e7c0
nop
lea rcx, [rsp + 0x60]
call fcn.14010878c
add rsi, r12
lea rcx, [rsp + 0x60]
call fcn.1401086e4
nop
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov ecx, esi
call fcn.140103a00
test al, al
jne 0x140016a1f
mov r12, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14010878c
xor esi, esi
mov edx, 1
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x10fe5], sil
je 0x140016c0f
cmp byte [rbx + 0x41e], sil
je 0x140016c0f
cmp r15w, dx
jne 0x140016bfb
mov rax, r15
shr rax, 0x10
test ax, ax
je 0x140016bfb
mov esi, 1
jmp 0x140016c1a
test rdi, rdi
je 0x140016b16
call fcn.140107e3c
test al, al
je 0x140016b16
mov rcx, rdi
call fcn.140119c90
test al, al
je 0x140016b16
mov edx, 1
mov r14b, dl
jmp 0x140016aad
test r14b, r14b
jne 0x140016aa8
lea rcx, [rbx + 0x968]
call fcn.14003c3a0
test al, al
je 0x140016c0f
cmp qword [rbx + 0x47a0], rsi
je 0x140016c0f
mov ecx, 1
call fcn.140116c84
test al, al
jne 0x140016b5a
mov ecx, r13d
call fcn.140116c84
test al, al
je 0x140016c0f
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 0x140016c0f
mov r8d, 0x7f
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x140016bc4
lea rdx, str.WorkerW
lea rcx, [rbp + 0xb0]
call fcn.140138a34
test eax, eax
je 0x140016bcf
lea rdx, str.Progman
lea rcx, [rbp + 0xb0]
call fcn.140138a34
test eax, eax
je 0x140016bcf
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
jmp 0x140016b70
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx + 0x47a8]
cmp dword [rsp + 0x48], eax
jne 0x140016c0f
xor eax, eax
mov dword [rbx + 0x47ac], eax
jmp 0x140016c0f
mov rdx, r14
jmp 0x140016aad
cmp dword [rbx + 0x354], esi
jg 0x140016c0f
lea rcx, [rbx + 0x260]
call fcn.140032a1c
mov esi, 1
cmp r15w, si
jne 0x140016c2f
mov r8d, r12d
lea rdx, str.WM_ACTIVATE_From0x_08X_
lea rcx, [rbp - 0x50]
call fcn.1400011f8
jmp 0x140016c46
movzx r9d, r14b
mov r8d, r12d
lea rdx, str.WM_ACTIVATE.WA_INACTIVE_To0x_08X__OurFocus_i
lea rcx, [rbp - 0x50]
call fcn.1400011f8
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.140015084
lea rsi, str.WM_ACTIVATE
xor r12d, r12d
mov rdx, rsi
mov rcx, rbx
call fcn.14000f1cc
mov rsi, r12
lea rcx, [rbp - 0x80]
call fcn.1401086e4
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140102fa8
test eax, eax
js 0x140016c9e
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x140016c9e
mov rcx, rsi
call fcn.14010f780
mov rcx, rax
call fcn.1400a80c4
mov r12, rax
test rdi, rdi
je 0x140016fbb
cmp rdi, qword [0x14022a9e8]
je 0x140016fbb
cmp rdi, r12
je 0x140016fbb
mov rcx, rdi
jmp 0x140016f71
cmp eax, 0x1c
jne 0x140016dc2
test r15, r15
setne r14b
test r15, r15
jne 0x140016cfc
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.1400011f8
jmp 0x140016d0f
mov r8d, r12d
lea rdx, str.WM_ACTIVATEAPP.Activate_FromTID_i_
lea rcx, [rbp - 0x50]
call fcn.1400011f8
xor r12d, r12d
lea edx, [r12 + 1]
lea rcx, [rbp - 0x50]
call fcn.140015084
test r15, r15
jne 0x140016d3c
mov rcx, rdi
call fcn.14010808c
test al, al
je 0x140016db6
lea r14d, [r12 + 1]
jmp 0x140016db6
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x10fe5], r12b
je 0x140016db6
cmp dword [rbx + 0x354], r12d
jle 0x140016db6
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140016da5
lea rcx, [rsp + 0x60]
call fcn.1401086e4
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140102fa8
test eax, eax
js 0x140016d96
mov rcx, qword [rsp + 0x68]
call fcn.14010c714
test rax, rax
mov eax, 1
cmovne esi, eax
lea rcx, [rsp + 0x60]
call fcn.14010878c
test sil, sil
jne 0x140016db6
lea rcx, [rbx + 0x260]
mov edx, 3
call fcn.140032a1c
lea rsi, str.WM_ACTIVATEAPP
jmp 0x140016c5b
cmp eax, 8
jne 0x140016e38
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 + 0x7be4], r12b
je 0x140016df7
call qword [sym.imp.USER32.dll_DestroyCaret]
mov byte [rbx + 0x7be4], r12b
mov rcx, rdi
call fcn.14010808c
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.1400011f8
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140015084
jmp 0x140016c5b
mov r15, qword [rbp + 0x728]
lea rax, [0x14017c018]
mov rsi, r15
xor r12d, r12d
test r15, r15
cmove rsi, rax
lea rdi, [rbx + 0x968]
mov rcx, rdi
call fcn.14003c3a0
test al, al
je 0x140016e71
mov rdx, rsi
mov rcx, rbx
call fcn.14000f1cc
mov rcx, rdi
call fcn.14003c3a0
test al, al
jne 0x1400174da
cmp qword [rbx + 0x3e58], r12
jne 0x1400174da
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov rcx, rax
call fcn.14010808c
movzx r14d, al
cmp byte [rbx + 0x3e40], r14b
je 0x140016eb7
mov dl, r14b
mov rcx, rbx
call fcn.14001ccc0
test r14b, r14b
jne 0x140016edd
lea rax, str.TIMER_QUAKE_AUTOHIDE_ID
cmp r15, rax
jne 0x140016edd
cmp dword [rbx + 0x4834], r12d
je 0x140016edd
mov dword [rbx + 0x4834], r12d
jmp 0x140016c5b
cmp r14b, byte [rbx + 0x4831]
jne 0x140016c5b
mov edx, r13d
mov rcx, qword [0x14022ab50]
call fcn.14007f158
test eax, eax
je 0x1400174da
call qword [sym.imp.USER32.dll_GetFocus]
movzx r9d, byte [rbx + 0x4831]
mov r8d, r14d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov eax, dword [0x14022a9e8]
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.1400011f8
mov edx, r13d
lea rcx, [rbp + 0xb0]
call fcn.140015084
jmp 0x1400174da
mov rdx, rdi
mov rcx, rbx
call fcn.140013be0
test al, al
jne 0x140016fbb
cmp r15, r12
je 0x140016fbb
mov rcx, qword [0x14022a9e8]
cmp r15, rcx
je 0x140016f81
mov rdi, r15
mov rcx, r15
call qword [sym.imp.USER32.dll_GetParent]
mov r15, rax
test rax, rax
jne 0x140016f4b
jmp 0x140016fbb
call qword [sym.imp.USER32.dll_SetFocus]
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, rax
mov rax, qword [0x14022a9e8]
cmp rdi, rax
jne 0x140016fb7
mov edx, 1
lea rcx, str.Focus_was_returned_to_ConEmu
call fcn.140015084
mov rax, qword [0x14022a9e8]
cmp rdi, rax
sete r14b
xor r12d, r12d
test r14b, r14b
je 0x1400170a9
test rdi, rdi
jne 0x140016ffb
test rsi, rsi
je 0x140016ffb
mov rcx, qword [rbx + 0x3e50]
test rcx, rcx
je 0x140016ffb
lea edx, [rdi + 1]
call fcn.1400ea4d4
test al, al
je 0x140016ffb
lea edx, [rdi + 1]
mov rcx, qword [rbx + 0x3e50]
call fcn.1400e9554
mov rdi, rax
mov eax, 1
mov r8b, al
mov dl, r14b
mov rcx, rbx
call fcn.1400237c4
mov byte [rbx + 0x4831], 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.140015084
mov dl, r14b
mov rcx, rbx
call fcn.14001ccc0
test r14b, r14b
jne 0x140017191
test rsi, rsi
je 0x140017066
mov rcx, rsi
call fcn.14010f780
mov r8, rax
lea rcx, [rbx + 0x218]
xor edx, edx
call fcn.14002d3bc
mov rcx, qword [rbx + 0x3e50]
call fcn.1400eba18
xor edx, edx
mov rcx, rbx
call fcn.140023054
test rsi, rsi
je 0x1400171ce
mov rcx, rsi
call fcn.14010c714
test rax, rax
je 0x1400171a7
lea rcx, [rbx + 0x188]
xor edx, edx
call fcn.1400563c0
jmp 0x1400171a7
test rdi, rdi
jne 0x14001711f
lea ecx, [rdi + 1]
call fcn.140116c84
test al, al
jne 0x1400170ca
mov ecx, r13d
call fcn.140116c84
test al, al
je 0x140016ffb
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 0x140016ffb
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140016ffb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x48], eax
je 0x140016ffb
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 0x14001715c
test rsi, rsi
je 0x140016ffb
mov rcx, rsi
call fcn.14010f780
mov rcx, rax
call fcn.1400a2658
cmp rdi, rax
jne 0x140017169
mov eax, 1
mov r14b, al
jmp 0x140017000
mov rcx, rsi
call fcn.14010f780
mov rcx, rax
xor edx, edx
call fcn.1400a5d04
movzx r14d, r14b
cmp dword [rsp + 0x40], eax
mov eax, 1
cmove r14d, eax
jmp 0x140017000
cmp byte [rbx + 0x7aa8], r12b
jne 0x1400171a2
mov rcx, rbx
call fcn.14001ee24
test rsi, rsi
je 0x1400171ce
mov rcx, rsi
call fcn.14010f780
test rax, rax
je 0x1400171ce
mov rcx, rsi
call fcn.14010f780
mov rcx, rax
mov r8b, byte [rbp + 0x730]
mov dl, r14b
call fcn.1400aaf40
mov rcx, qword [0x14022ab50]
call fcn.14007f210
test al, al
je 0x14001736f
test r14b, r14b
jne 0x14001736f
xor r9d, r9d
lea eax, [r9 + 1]
mov r8b, al
mov dl, al
mov rcx, rbx
call fcn.1400264d4
test al, al
jne 0x14001736f
lea r13, [rbx + 0x260]
xor edx, edx
mov rcx, r13
call fcn.14003b904
test al, al
jne 0x14001736f
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14001736f
mov word [rbp + 0xb0], r12w
mov r15b, r12b
xor eax, eax
cmp dword [rsp + 0x58], eax
jne 0x140017329
mov edi, 1
mov edx, edi
mov rcx, qword [0x14022ab50]
call fcn.14007f158
test eax, eax
je 0x1400172a1
movzx ecx, r12b
movzx r9d, r15b
mov eax, dword [rbx + 0x4834]
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.14000c7e0
mov edx, edi
lea rcx, [rbp + 0x2b0]
call fcn.140015084
xor r12d, r12d
test r15b, r15b
jne 0x140017340
cmp dword [rbx + 0x354], r12d
jg 0x140017374
lea edx, [r12 + 7]
mov rcx, r13
call fcn.140032a1c
jmp 0x140017374
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 0x140017333
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 0x1400172cc
jmp 0x14001724c
mov edi, 1
mov r15b, dil
jmp 0x140017251
cmp dword [rbx + 0x4834], r12d
jne 0x140017374
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x4834], eax
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0x64]
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x140017374
mov edi, 1
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11077], r12b
je 0x140017402
test rsi, rsi
je 0x1400173ea
test r14b, r14b
jne 0x1400173a5
xor r9d, r9d
mov r8b, dil
xor edx, edx
mov rcx, rbx
call fcn.1400264d4
test al, al
mov cl, r12b
je 0x1400173a8
mov cl, dil
mov dil, byte [rsi + 0x16a0]
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11077], r12b
je 0x1400173d3
test cl, cl
jne 0x1400173d3
call fcn.140108174
test al, al
jne 0x1400173d3
mov eax, 1
jmp 0x1400173d6
mov al, r12b
cmp dil, al
je 0x1400173ea
mov byte [rsi + 0x16a0], al
lea rcx, [rsi + 0x18]
call fcn.1400fe2d4
xor r8d, r8d
lea r15d, [r8 + 1]
mov dl, r15b
mov rcx, qword [rbx + 0x3e60]
call fcn.1400e7ec0
jmp 0x140017408
mov r15d, 1
lea rdi, [rbx + 0x3f40]
xor r9d, r9d
mov r8, rdi
xor edx, edx
lea ecx, [rdx + 0x6c]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140017429
cmp dword [rdi], r12d
jne 0x14001742f
mov dword [rdi], 3
lea rdi, [rbx + 0x3f44]
xor r9d, r9d
mov r8, rdi
xor edx, edx
lea ecx, [rdx + 0x68]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140017450
cmp dword [rdi], r12d
jne 0x140017456
mov dword [rdi], 3
test r14b, r14b
je 0x1400174a8
test rsi, rsi
je 0x1400174a8
mov rcx, qword [0x14022ab50]
call fcn.14007f31c
test al, al
je 0x1400174a8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x14022a9e8]
jne 0x1400174a8
cmp dword [rbx + 0x7b90], r12d
jne 0x1400174a8
mov dword [rbx + 0x7b90], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx + 0x7b8c]
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11450], r12b
jne 0x1400174d1
test rsi, rsi
je 0x1400174d1
mov rcx, rsi
call fcn.14010f780
mov rcx, rax
mov dl, r14b
call fcn.1400aaeb4
nop
lea rcx, [rbp - 0x80]
call fcn.14010878c
xor eax, eax
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x808]
add rsp, 0x7c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret