Function at 0x140008f70
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [0x140060a30]
xor esi, esi
mov r12d, r9d
mov r14d, r8d
mov r15d, edx
mov ebp, esi
mov ebx, esi
mov edi, esi
test r13, r13
je 0x1400092aa
cmp dword [0x14005f100], ebx
je 0x140008fd0
test byte [0x14005da04], 0x20
jne 0x140008fd0
lea rcx, str.CaptureStartSound
call qword [sym.imp.CrlUtl.dll_int___cdecl_CMNUIPlaySound_wchar_t_const____ptr64_]
test r15d, r15d
jne 0x1400091d5
test r14d, r14d
je 0x1400090a3
cmp dword [0x14005eeb4], ebx
je 0x140009096
mov eax, dword [0x14005dc2c]
cmp eax, 1
jbe 0x140009005
add eax, 0xfffffffa
cmp eax, 1
ja 0x140009096
mov rbx, qword [0x14005d7d8]
test rbx, rbx
jne 0x14000902a
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rbx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009096
mov rcx, qword [0x14005d7e0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009096
cmp dword [0x14005eeb4], esi
je 0x140009096
mov eax, dword [0x14005dc2c]
cmp eax, 1
jbe 0x140009063
add eax, 0xfffffffa
cmp eax, 1
ja 0x140009096
mov rcx, qword [0x14005d7e0]
call qword [sym.imp.Caphk.dll_void___cdecl_CAPXORWindow_struct_HWND______ptr64_]
mov rcx, qword [0x14005d7e0]
mov r9d, 0x581
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov qword [0x14005d7e0], rsi
mov qword [0x14005d7d8], rsi
mov rdx, rbx
call fcn.1400175f0
jmp 0x1400091f9
mov eax, dword [0x14005dc2c]
cmp eax, 1
jne 0x1400090b2
mov edi, eax
jmp 0x1400090db
cmp eax, 7
jne 0x1400090db
cmp dword [0x14005f0e4], ebx
mov ecx, 8
cmovne edi, ecx
cmp dword [0x14005f0e8], ebx
je 0x1400090d0
or edi, 0x40
cmp dword [0x14005f0e0], ebx
je 0x1400090db
or edi, 0x10
cmp dword [0x14005eeb4], ebx
je 0x14000919b
cmp eax, 1
jbe 0x1400090f8
add eax, 0xfffffffa
cmp eax, 1
ja 0x14000919b
mov rbx, qword [0x14005d7d8]
test rbx, rbx
jne 0x14000911d
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rbx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009189
mov rcx, qword [0x14005d7e0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009189
cmp dword [0x14005eeb4], esi
je 0x140009189
mov eax, dword [0x14005dc2c]
cmp eax, 1
jbe 0x140009156
add eax, 0xfffffffa
cmp eax, 1
ja 0x140009189
mov rcx, qword [0x14005d7e0]
call qword [sym.imp.Caphk.dll_void___cdecl_CAPXORWindow_struct_HWND______ptr64_]
mov rcx, qword [0x14005d7e0]
mov r9d, 0x581
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov qword [0x14005d7e0], rsi
mov qword [0x14005d7d8], rsi
test rbx, rbx
je 0x14000919b
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400091a4
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rbx, rbx
jne 0x1400091be
nop dword [rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400091b0
cmp dword [0x14005eeb8], esi
je 0x1400091c9
or edi, 4
mov dword [rsp + 0x20], esi
mov r8d, edi
mov rdx, rbx
jmp 0x1400091ee
cmp dword [0x14005eeb8], ebx
mov r8d, esi
mov eax, 4
mov dword [rsp + 0x20], r12d
cmovne r8d, eax
xor edx, edx
xor r9d, r9d
mov rcx, r13
call fcn.1400168e0
mov qword [0x14005f740], rax
test rax, rax
je 0x1400092ca
mov rdx, rbx
call fcn.140017c10
mov rbx, qword [0x14005f108]
mov rbp, rax
test rbx, rbx
je 0x140009254
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_struct___RPALETTE____ptr64___cdecl_RIPGetPalette_struct__RIMAGE____ptr64_]
test rax, rax
je 0x14000924b
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_struct___RPALETTE____ptr64___cdecl_RIPGetPalette_struct__RIMAGE____ptr64_]
mov rcx, rax
call qword [sym.imp.CdrRip.dll_int___cdecl_RIPDestroyPalette_struct___RPALETTE____ptr64_]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_void___cdecl_RIPSetPalette_struct__RIMAGE____ptr64__struct___RPALETTE____ptr64_]
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_int___cdecl_RIPDestroyImage_struct__RIMAGE____ptr64_]
mov rdx, qword [0x14005f740]
mov r8, rbp
mov rcx, r13
mov qword [0x14005f108], rsi
call fcn.140015e90
mov qword [0x14005f108], rax
test rax, rax
je 0x1400092aa
mov rcx, qword [rsp + 0x70]
call fcn.140009590
test eax, eax
je 0x1400092aa
cmp dword [0x14005f100], esi
je 0x1400092a5
test byte [0x14005da04], 0x20
jne 0x1400092a5
lea rcx, str.CaptureStartEnd
call qword [sym.imp.CrlUtl.dll_int___cdecl_CMNUIPlaySound_wchar_t_const____ptr64_]
mov esi, 1
mov rcx, qword [0x14005f740]
test rcx, rcx
je 0x1400092bc
call qword [sym.imp.GDI32.dll_DeleteObject]
test rbp, rbp
je 0x1400092ca
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14005d7e0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400092f3
mov rcx, qword [0x14005d7e0]
mov r9d, 0x581
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
lea r11, [rsp + 0x40]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret