Function at 0x14008a2f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
cmp byte [rax + 0x89], 0
jne 0x14008a329
lea rcx, [rsp + 0x20]
call fcn.14008a570
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x58], rbx
mov rbx, qword [rax + 0x70]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x78]
mov qword [rsp + 0x30], r14
cmp rbx, rsi
je 0x14008a373
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x14008a35c
xor eax, eax
jmp 0x14008a363
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x14008a3a5
add rbx, 0x28
cmp rbx, rsi
jne 0x14008a350
mov r14b, 1
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov rcx, qword [rdi]
movsxd rsi, eax
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x28], r14b
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14008a3aa
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x14008a3b4
xor r14b, r14b
jmp 0x14008a376
lea r8, [rsp + 0x20]
call fcn.140104220
mov rcx, qword [rdi]
imul eax, dword [rcx + 0x8c], 0x7d
mov r9, qword [rcx]
movsxd rbp, eax
mov rax, qword [rcx + 8]
sub rax, r9
sar rax, 4
test rax, rax
je 0x14008a41f
mov rbx, rcx
nop word [rax + rax]
mov rax, rsi
mov rcx, rbx
sub rax, qword [r9]
cmp rax, rbp
jle 0x14008a41f
mov r8, qword [rbx + 8]
lea rdx, [r9 + 0x10]
sub r8, rdx
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
add qword [rbx + 8], 0xfffffffffffffff0
mov rcx, qword [rdi]
mov rbx, rcx
mov r9, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r9
sar rax, 4
test rax, rax
jne 0x14008a3e0
mov r10, qword [rcx]
xor r8b, r8b
mov r9, qword [rcx + 8]
xor edx, edx
mov rbp, qword [rsp + 0x60]
mov rax, r10
cmp r10, r9
je 0x14008a45c
nop dword [rax + rax]
movzx ecx, byte [rax + 8]
cmp cl, r8b
je 0x14008a44f
test cl, cl
je 0x14008a44f
inc edx
add rax, 0x10
movzx r8d, cl
cmp rax, r9
jne 0x14008a440
mov rax, qword [rdi]
mov ecx, dword [rax + 0x90]
test ecx, ecx
jne 0x14008a4b4
cmp byte [rax + 0x68], cl
je 0x14008a4a2
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x14008a47b
mov qword [rax + 8], rcx
test r14b, r14b
je 0x14008a484
mov al, 1
jmp 0x14008a48d
mov rax, qword [rdi]
mov byte [rax + 0x68], 0
xor al, al
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
cmp edx, dword [rax + 0x8c]
jl 0x14008a48b
mov byte [rax + 0x68], 1
movzx eax, r14b
jmp 0x14008a48d
cmp ecx, 1
jne 0x14008a48b
cmp edx, dword [rax + 0x8c]
jl 0x14008a4d8
cmp r10, qword [rax + 8]
je 0x14008a4cb
mov qword [rax + 8], r10
mov rcx, qword [rdi]
cmp byte [rcx + 0x68], 0
sete al
mov byte [rcx + 0x68], al
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax + 0x70]
mov rsi, qword [rax + 0x78]
cmp rbx, rsi
je 0x14008a545
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x14008a4fc
xor eax, eax
jmp 0x14008a503
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x14008a515
add rbx, 0x28
cmp rbx, rsi
jne 0x14008a4f0
jmp 0x14008a545
mov rax, qword [rdi]
cmp byte [rax + 0x95], 0
je 0x14008a545
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x14008a52e
mov qword [rax + 8], rcx
mov rax, qword [rdi]
mov byte [rax + 0x95], 0
mov rcx, qword [rdi]
movzx eax, byte [rcx + 0x68]
mov byte [rcx + 0x96], al
mov rcx, qword [rdi]
movzx eax, byte [rcx + 0x68]
cmp byte [rcx + 0x96], al
je 0x14008a55b
mov byte [rcx + 0x95], 1
mov rax, qword [rdi]
movzx eax, byte [rax + 0x68]
jmp 0x14008a48d