Function at 0x14004fc10
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x78
mov rax, qword [0x14010d010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [r11 + 8], rbx
cmp byte [0x14010d170], r14b
mov rsi, rdx
mov rbx, qword [0x14010d928]
je 0x14004fe50
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x18], rdi
nop
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x14004fc5d
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x14004fe3c
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x14010d1d0], r14b
je 0x14004fc9c
cmp dword [rsp + 0x40], r14d
jne 0x14004fcaf
mov edx, 0x11
jmp 0x14004fca5
cmp dword [rsp + 0x40], 0x11
jne 0x14004fcaf
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x14010d171], r14b
je 0x14004fcdf
cmp eax, 0x80088
je 0x14004fcfb
mov r8d, 0x80088
jmp 0x14004fcec
cmp eax, 0x800a8
je 0x14004fcfb
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x14010d1dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004fd5a
cmp byte [0x14010d970], r14b
jne 0x14004fd5a
cmp byte [0x14010d171], r14b
sete al
mov byte [0x14010d171], al
test al, al
je 0x14004fd43
mov rcx, qword [rbx + 0x50]
cmp rbp, rcx
je 0x14004fd51
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14010d970], 1
jmp 0x14004fd74
cmp rbp, rdi
je 0x14004fd51
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14010d970], 1
jmp 0x14004fd74
mov ecx, dword [0x14010d1dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004fd74
mov byte [0x14010d970], r14b
xorps xmm0, xmm0
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x50]
mov rcx, rdi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x14010d180]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], ecx
jne 0x14004fde9
mov ecx, dword [0x14010d18c]
cmp dword [rsp + 0x5c], ecx
jne 0x14004fde9
mov ecx, dword [0x14010d184]
cmp dword [rsp + 0x54], ecx
jne 0x14004fde9
cmp edx, dword [0x14010d188]
jne 0x14004fde9
cmp eax, dword [0x14010d190]
jne 0x14004fde9
cmp r9d, dword [0x14010d194]
je 0x14004fe22
movups xmm0, xmmword [rsp + 0x50]
mov rcx, rdx
mov dword [rsp + 0x30], 8
shr rcx, 0x20
mov r8d, eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
xor edx, edx
movaps xmmword [0x14010d180], xmm0
mov qword [0x14010d190], rax
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14010d170], r14b
jne 0x14004fc50
jmp 0x14004fe43
mov byte [0x14010d170], r14b
mov rbp, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x18]
mov rbx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x14004fe8e
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004fe89
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004feb2
mov rcx, r8
call fcn.1400ba9ec
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ba990
add rsp, 0x78
pop r14
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3