Function at 0x140015390
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 [0x140080a50]
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 0x1400156d3
cmp dword [0x14007f120], ebx
je 0x1400153f0
test byte [0x14007da24], 0x20
jne 0x1400153f0
lea rcx, str.CaptureStartSound
call qword [sym.imp.CrlCtl.dll_int___cdecl_CMNUIPlaySound_wchar_t_const____ptr64_]
test r15d, r15d
jne 0x1400155f5
test r14d, r14d
je 0x1400154c3
cmp dword [0x14007eed4], ebx
je 0x1400154b6
mov eax, dword [0x14007dc4c]
cmp eax, 1
jbe 0x140015425
add eax, 0xfffffffa
cmp eax, 1
ja 0x1400154b6
mov rbx, qword [0x14007d7f8]
test rbx, rbx
jne 0x14001544a
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 0x1400154b6
mov rcx, qword [0x14007d800]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400154b6
cmp dword [0x14007eed4], esi
je 0x1400154b6
mov eax, dword [0x14007dc4c]
cmp eax, 1
jbe 0x140015483
add eax, 0xfffffffa
cmp eax, 1
ja 0x1400154b6
mov rcx, qword [0x14007d800]
call qword [sym.imp.CAPHK.dll_CAPXORWindow]
mov rcx, qword [0x14007d800]
mov r9d, 0x581
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov qword [0x14007d800], rsi
mov qword [0x14007d7f8], rsi
mov rdx, rbx
call fcn.140035bd0
jmp 0x140015619
mov eax, dword [0x14007dc4c]
cmp eax, 1
jne 0x1400154d2
mov edi, eax
jmp 0x1400154fb
cmp eax, 7
jne 0x1400154fb
cmp dword [0x14007f104], ebx
mov ecx, 8
cmovne edi, ecx
cmp dword [0x14007f108], ebx
je 0x1400154f0
or edi, 0x40
cmp dword [0x14007f100], ebx
je 0x1400154fb
or edi, 0x10
cmp dword [0x14007eed4], ebx
je 0x1400155bb
cmp eax, 1
jbe 0x140015518
add eax, 0xfffffffa
cmp eax, 1
ja 0x1400155bb
mov rbx, qword [0x14007d7f8]
test rbx, rbx
jne 0x14001553d
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 0x1400155a9
mov rcx, qword [0x14007d800]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400155a9
cmp dword [0x14007eed4], esi
je 0x1400155a9
mov eax, dword [0x14007dc4c]
cmp eax, 1
jbe 0x140015576
add eax, 0xfffffffa
cmp eax, 1
ja 0x1400155a9
mov rcx, qword [0x14007d800]
call qword [sym.imp.CAPHK.dll_CAPXORWindow]
mov rcx, qword [0x14007d800]
mov r9d, 0x581
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov qword [0x14007d800], rsi
mov qword [0x14007d7f8], rsi
test rbx, rbx
je 0x1400155bb
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400155c4
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rbx, rbx
jne 0x1400155de
nop dword [rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400155d0
cmp dword [0x14007eed8], esi
je 0x1400155e9
or edi, 4
mov dword [rsp + 0x20], esi
mov r8d, edi
mov rdx, rbx
jmp 0x14001560e
cmp dword [0x14007eed8], 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.140034f00
mov qword [0x14007f760], rax
test rax, rax
je 0x1400156f3
mov rdx, rbx
call fcn.1400361b0
mov rbx, qword [0x14007f128]
mov rbp, rax
test rbx, rbx
je 0x140015674
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_struct___RPALETTE____ptr64___cdecl_RIPGetPalette_struct__RIMAGE____ptr64_]
test rax, rax
je 0x14001566b
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 qword [0x14007f128], rsi
mov rax, rsi
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x140015696
mov rdx, qword [0x14007f760]
mov r8, rbp
call fcn.140037d90
mov qword [0x14007f128], rax
test rax, rax
je 0x1400156d3
mov rcx, qword [rsp + 0x70]
call fcn.140015910
test eax, eax
je 0x1400156d3
cmp dword [0x14007f120], esi
je 0x1400156ce
test byte [0x14007da24], 0x20
jne 0x1400156ce
lea rcx, str.CaptureStartEnd
call qword [sym.imp.CrlCtl.dll_int___cdecl_CMNUIPlaySound_wchar_t_const____ptr64_]
mov esi, 1
mov rcx, qword [0x14007f760]
test rcx, rcx
je 0x1400156e5
call qword [sym.imp.GDI32.dll_DeleteObject]
test rbp, rbp
je 0x1400156f3
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14007d800]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001571c
mov rcx, qword [0x14007d800]
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