Function at 0x1401fbf20
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13d, edx
mov edi, r8d
xor edx, edx
mov esi, r9d
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
cmp dword [rax + 0x74], 0
je 0x1401fbf68
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp case.default.0x1401fbf9b
test edi, edi
je 0x1401fc70b
lea eax, [r13 - 9]
cmp eax, 0x38
ja case.default.0x1401fbf9b
lea rdx, [0x140000000]
mov qword [rsp + 0x60], r15
movzx eax, byte [rdx + rax + 0x1fc754]
mov ecx, dword [rdx + rax*4 + 0x1fc72c]
add rcx, rdx
jmp rcx
mov ecx, dword [rbx + 0x48]
cmp ecx, 0xffffffff
je case.0x1401fbf9b.10
mov edx, dword [rbx + 0xc0]
mov eax, edx
mov edi, dword [rbx + 0x4c]
sub eax, edi
dec eax
add eax, ecx
cmp eax, dword [rbx + 0xb8]
jb 0x1401fbff3
test ecx, ecx
je 0x1401fbff3
lea eax, [rdx - 1]
cmp edi, eax
je 0x1401fbff3
cmp edi, ecx
jb 0x1401fc28e
mov edx, edi
mov rcx, rbx
call fcn.1401fab30
test eax, eax
je 0x1401fc28e
dec edi
cmp edi, dword [rbx + 0x48]
jae 0x1401fbfd5
jmp 0x1401fc28e
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp case.0x1401fbf9b.10
cmp dword [rbx + 0x48], 0xffffffff
je case.0x1401fbf9b.10
movsxd rax, dword [rbx + 0x4c]
test eax, eax
js 0x1401fc28e
cmp eax, dword [rbx + 0xc0]
jge 0x1401fc28e
mov rcx, rax
lea r8, [rbp - 0x38]
mov rax, qword [rbx + 0xd8]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.1401f9bf0
mov edx, dword [rbp - 0x38]
mov rcx, rbx
mov r8d, dword [rbp - 0x34]
add edx, 0xa
dec r8d
call fcn.1401fa930
test eax, eax
jle 0x1401fc28e
inc dword [rbx + 0x4c]
mov r8d, 1
mov rcx, qword [rbx]
jmp 0x1401fc286
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.0x1401fbf9b.10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1401fc0b3
mov r15, 0xffffffffffffffff
xor r8d, r8d
mov dword [rbx + 0x48], r15d
xor edx, edx
mov rcx, r14
mov dword [rbx + 0x4c], r15d
mov edi, r15d
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x1401fbf9b.10
mov r15d, dword [rbx + 0xc0]
xor edi, edi
dec r15d
mov dword [rbx + 0x48], edi
xor r8d, r8d
mov dword [rbx + 0x4c], r15d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x1401fbf9b.10
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x10
test ax, ax
jns 0x1401fc14e
xor edi, edi
mov dword [rbx + 0x68], edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rbx + 0x48]
test ax, ax
jns 0x1401fc134
cmp ecx, 0xffffffff
je 0x1401fc124
lea eax, [rcx - 1]
mov dword [rbx + 0x48], eax
test eax, eax
jns 0x1401fc1bf
mov eax, dword [rbx + 0xc0]
dec eax
mov dword [rbx + 0x48], eax
jmp 0x1401fc1bf
mov eax, dword [rbx + 0xc0]
dec eax
mov dword [rbx + 0x48], eax
jmp 0x1401fc1bf
cmp ecx, 0xffffffff
je 0x1401fc147
lea eax, [rcx + 1]
mov dword [rbx + 0x48], eax
cmp eax, dword [rbx + 0xc0]
jl 0x1401fc1bf
mov eax, edi
mov dword [rbx + 0x48], edi
jmp 0x1401fc1bf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, r14
test ax, ax
jns 0x1401fc17b
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov rcx, rax
lea edx, [r9 + 0x28]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x1401fbf9b.10
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x1401fbf9b.10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.0x1401fbf9b.10
cmp dword [rbx + 0x48], 0xffffffff
je case.0x1401fbf9b.10
mov eax, dword [rbx + 0xc0]
dec eax
xor r8d, r8d
mov dword [rbx + 0x4c], eax
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x1401fbf9b.10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.0x1401fbf9b.10
cmp dword [rbx + 0x48], 0xffffffff
je case.0x1401fbf9b.10
xor edi, edi
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x48], edi
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x1401fbf9b.10
mov r15, 0xffffffffffffffff
cmp r13d, 0x26
mov esi, 1
cmove esi, r15d
lea ecx, [r15 + 0x12]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1401fc2c1
cmp dword [rbx + 0x48], r15d
je case.0x1401fbf9b.10
xor edi, edi
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x38], edi
cmp r13d, 0x26
jne 0x1401fc252
neg esi
mov dword [rbp - 0x34], esi
jmp 0x1401fc258
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x34], edi
mov r8, qword [rbp - 0x30]
lea rax, [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
mov r9, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x28], rdi
call fcn.1401fdf70
test eax, eax
je case.0x1401fbf9b.10
xor r8d, r8d
mov rcx, r14
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je case.0x1401fbf9b.10
movzx r9d, word [rbx + 0x4c]
xor r8d, r8d
movzx eax, word [rbx + 0x48]
mov edx, 0x612
shl r9, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x1401fbf9b.10
cmp dword [rbx + 0x2c], 0xffffffff
je case.0x1401fbf9b.10
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [rbp - 0x34]
add edx, esi
mov dword [rbp - 0x34], edx
cmp edx, dword [rbp - 0x14]
jge case.0x1401fbf9b.10
cmp edx, dword [rbp - 0x1c]
jl case.0x1401fbf9b.10
mov ecx, dword [rbp - 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
jmp case.0x1401fbf9b.10
mov esi, 1
mov qword [rsp + 0xb0], r12
cmp r13d, 0x25
mov r12d, esi
mov r15, 0xffffffffffffffff
cmove r12d, r15d
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1401fc3e6
cmp dword [rbx + 0x48], r15d
je 0x1401fc421
xor edi, edi
mov qword [rbp - 0x38], rdi
cmp r13d, 0x25
jne 0x1401fc35d
neg r12d
mov dword [rbp - 0x30], edi
mov dword [rbp - 0x38], r12d
jmp 0x1401fc361
mov dword [rbp - 0x30], r12d
mov r8, qword [rbp - 0x38]
lea rax, [rbp - 0x20]
mov dword [rbp - 0x2c], edi
mov r9, rdi
mov rdx, qword [rbp - 0x30]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x28], rdi
call fcn.1401fdf70
test eax, eax
je 0x1401fc3c0
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1401fc3c0
movzx r9d, word [rbx + 0x4c]
xor r8d, r8d
movzx eax, word [rbx + 0x48]
mov edx, 0x612
shl r9, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
mov r12, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbx + 0x2c], 0xffffffff
je 0x1401fc421
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp - 0x38]
add ecx, r12d
mov dword [rbp - 0x38], ecx
cmp ecx, dword [rbp - 0x18]
jge 0x1401fc3c0
cmp ecx, dword [rbp - 0x20]
jl 0x1401fc3c0
mov edx, dword [rbp - 0x34]
call qword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x1401fc3c0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1401fc3c0
mov eax, dword [rbx + 0x48]
cmp r13d, 0x25
je 0x1401fc4cf
cmp eax, r15d
je 0x1401fc4b6
cmp dword [rbx + 0x68], 0
je 0x1401fc489
mov edx, dword [rbx + 0x4c]
cmp edx, eax
je 0x1401fc489
lea ecx, [rax + 1]
mov dword [rbx + 0x48], ecx
cmp edx, ecx
jge 0x1401fc52b
mov eax, dword [rbx + 0xc0]
dec eax
mov dword [rbx + 0x48], edx
cmp ecx, eax
cmovg ecx, eax
xor edi, edi
mov dword [rbx + 0x4c], ecx
xor r8d, r8d
mov rcx, r14
mov dword [rbx + 0x68], edi
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1401fc3c0
mov ecx, dword [rbx + 0x4c]
mov eax, dword [rbx + 0xc0]
inc ecx
dec eax
cmp ecx, eax
cmovge ecx, eax
xor edi, edi
mov dword [rbx + 0x4c], ecx
xor r8d, r8d
mov rcx, r14
mov dword [rbx + 0x68], edi
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1401fc3c0
xor edi, edi
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x48], rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1401fc3c0
cmp eax, r15d
je 0x1401fc51d
mov ecx, dword [rbx + 0x4c]
cmp eax, ecx
jne 0x1401fc4e0
mov dword [rbx + 0x68], esi
jmp 0x1401fc4e6
cmp dword [rbx + 0x68], 0
je 0x1401fc505
sub eax, esi
mov dword [rbx + 0x48], eax
jns 0x1401fc52b
xor edi, edi
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x48], edi
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1401fc3c0
dec ecx
mov dword [rbx + 0x4c], ecx
cmp ecx, eax
jge 0x1401fc52b
xor edi, edi
mov dword [rbx + 0x68], esi
test ecx, ecx
cmovs ecx, edi
mov dword [rbx + 0x4c], ecx
jmp 0x1401fc528
mov eax, dword [rbx + 0xc0]
dec eax
mov dword [rbx + 0x4c], eax
mov dword [rbx + 0x48], eax
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1401fc3c0
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r14
je 0x1401fc579
movzx edi, word [rbp + 0x58]
mov rcx, r14
movzx eax, si
shl rdi, 0x10
or rdi, rax
call qword [sym.imp.USER32.dll_GetParent]
mov r9, rdi
mov r8, r13
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x1401fbf9b.10
xor edi, edi
cmp dword [rbx + 0x60], edi
je 0x1401fc5f9
cmp dword [rbx + 0x58], edi
jl 0x1401fc5f9
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [rbx + 0x54]
mov rsi, rax
mov dword [rbp - 0x1c], ecx
mov ecx, dword [rbx + 0x50]
mov dword [rbp - 0x20], ecx
mov ecx, dword [rbx + 0x58]
test ecx, ecx
jns 0x1401fc5a9
mov dword [rbp - 0x18], edi
jmp 0x1401fc5bf
mov eax, dword [rbx + 0xa0]
sub eax, dword [rbx + 0x98]
dec eax
cmp ecx, eax
cmovg ecx, eax
mov dword [rbp - 0x18], ecx
mov ecx, dword [rbx + 0x5c]
test ecx, ecx
jns 0x1401fc5cb
mov dword [rbp - 0x14], edi
jmp 0x1401fc5e1
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x9c]
dec eax
cmp ecx, eax
cmovg ecx, eax
mov dword [rbp - 0x14], ecx
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1401f98d0
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [rbx + 0x24], edi
je 0x1401fc60d
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov r15, 0xffffffffffffffff
mov esi, dword [rbx + 0x2c]
mov dword [rbx + 0x58], r15d
mov qword [rbx + 0x60], rdi
mov dword [rbx + 0x24], edi
mov dword [rbx + 0x2c], 0xffffffff
cmp qword [rbx + 0x30], rdi
je case.0x1401fbf9b.10
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
mov r11, rax
cmp esi, dword [rbx + 0x48]
jl 0x1401fc68c
cmp esi, dword [rbx + 0x4c]
jg 0x1401fc68c
mov r9d, edi
cmp dword [rbx + 0x38], edi
jle 0x1401fc69e
mov r10, rdi
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx + 0x48]
lea r10, [r10 + 8]
mov r8, qword [rbx + 0x30]
add eax, r9d
mov rcx, qword [rbx + 0xd8]
inc r9d
movsxd rdx, eax
mov rax, qword [r10 + r8 - 8]
mov qword [rcx + rdx*8], rax
cmp r9d, dword [rbx + 0x38]
jl 0x1401fc660
jmp 0x1401fc69e
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbx + 0xd8]
mov rax, qword [rax]
mov qword [rcx + rsi*8], rax
mov rdx, r11
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r8d, r8d
mov qword [rbx + 0x30], rdi
xor edx, edx
mov dword [rbx + 0x38], edi
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je case.0x1401fbf9b.10
mov r9, r15
xor r8d, r8d
mov edx, 0x612
call qword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x1401fbf9b.10
cmp r13d, 0x1b
jne case.default.0x1401fbf9b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1401fb580
jmp case.default.0x1401fbf9b