Function at 0x140016a3c
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r12d, 0xa2
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
movzx ebx, ax
lea r13d, [r12 + 1]
mov ecx, r13d
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov edi, ebx
lea ecx, [r12 + 2]
mov r14d, 2
mov esi, 0x8000
or edi, r14d
xor r15d, r15d
and ax, si
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov ebx, edi
lea ecx, [r12 + 3]
or ebx, 4
and ax, si
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov edi, ebx
lea ecx, [r12 - 2]
or edi, 8
and ax, si
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov ebx, edi
lea ecx, [r12 - 1]
or ebx, 0x10
and ax, si
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov edi, ebx
mov dword [rsp + 0x20], r15d
or edi, 0x20
lea rcx, [rsp + 0x28]
and ax, si
mov r8d, 0x278
cmove edi, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea r10d, [r14 - 1]
mov r8d, r15d
mov r11d, 0x1000
test r10b, dil
je 0x140016b6c
mov dword [rsp + 0x20], r10d
mov r8d, r10d
mov word [rsp + 0x28], r12w
mov dword [rsp + 0x2c], r14d
mov qword [rsp + 0x38], r11
mov edx, 3
test r14b, dil
je 0x140016b94
mov eax, r8d
add r8d, r10d
lea rcx, [rax + rax*4]
mov dword [rsp + rcx*8 + 0x20], r10d
mov word [rsp + rcx*8 + 0x28], r13w
mov dword [rsp + rcx*8 + 0x2c], edx
mov qword [rsp + rcx*8 + 0x38], r11
test dil, 4
je 0x140016bbd
mov eax, r8d
add r8d, r10d
lea rcx, [rax + rax*4]
mov eax, 0xa4
mov word [rsp + rcx*8 + 0x28], ax
mov dword [rsp + rcx*8 + 0x20], r10d
mov dword [rsp + rcx*8 + 0x2c], r14d
mov qword [rsp + rcx*8 + 0x38], r11
test dil, 8
je 0x140016be5
mov eax, r8d
add r8d, r10d
lea rcx, [rax + rax*4]
mov eax, 0xa5
mov word [rsp + rcx*8 + 0x28], ax
mov dword [rsp + rcx*8 + 0x20], r10d
mov dword [rsp + rcx*8 + 0x2c], edx
mov qword [rsp + rcx*8 + 0x38], r11
test dil, 0x10
je 0x140016c0e
mov eax, r8d
add r8d, r10d
lea rcx, [rax + rax*4]
mov eax, 0xa0
mov word [rsp + rcx*8 + 0x28], ax
mov dword [rsp + rcx*8 + 0x20], r10d
mov dword [rsp + rcx*8 + 0x2c], r14d
mov qword [rsp + rcx*8 + 0x38], r11
test dil, 0x20
je 0x140016c37
mov eax, r8d
add r8d, r10d
lea rcx, [rax + rax*4]
mov eax, 0xa1
mov word [rsp + rcx*8 + 0x28], ax
mov dword [rsp + rcx*8 + 0x20], r10d
mov dword [rsp + rcx*8 + 0x2c], r14d
mov qword [rsp + rcx*8 + 0x38], r11
mov edx, r8d
mov r9d, 0x5b
mov ecx, r8d
lea r8d, [r9 - 6]
lea rax, [rcx + rcx*4]
mov dword [rsp + rax*8 + 0x20], r10d
mov word [rsp + rax*8 + 0x28], r9w
mov dword [rsp + rax*8 + 0x2c], r15d
mov qword [rsp + rax*8 + 0x38], r11
lea rax, [rdx + rdx*4]
mov word [rsp + rax*8 + 0x50], r8w
mov dword [rsp + rax*8 + 0x48], r10d
mov dword [rsp + rax*8 + 0x54], r15d
mov qword [rsp + rax*8 + 0x60], r11
lea rax, [rcx + rcx*4]
mov word [rsp + rax*8 + 0x78], r8w
lea r8d, [r9 - 0x33]
mov dword [rsp + rax*8 + 0x70], r10d
mov dword [rsp + rax*8 + 0x7c], r14d
mov qword [rbp + rax*8 - 0x78], r11
movsxd rax, edx
lea rcx, [rax + rax*4]
mov dword [rbp + rcx*8 - 0x68], r10d
mov word [rbp + rcx*8 - 0x60], r9w
mov dword [rbp + rcx*8 - 0x5c], r14d
mov qword [rbp + rcx*8 - 0x50], r11
lea ecx, [rdx + 4]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SendInput]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001c9c0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret