Function at 0x1800040c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rdi, rdx
xor r14d, r14d
mov ecx, dword [0x180055b9c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180055df0], ecx
jle 0x180004134
lea rcx, [0x180055df0]
call fcn.180043f88
cmp dword [0x180055df0], 0xffffffff
jne 0x180004134
lea rcx, [0x180045d50]
call fcn.180044394
lea rcx, [0x180055df0]
call fcn.180043f1c
lea rcx, str._none_
cmp qword [0x1800550f8], 0xf
cmova rcx, qword [str._none_]
call fcn.180034e90
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800179c0
test al, al
je 0x180004174
xor ecx, ecx
call fcn.18000def0
test al, al
je 0x180004174
mov byte [0x180055c70], 1
jmp 0x18000417d
cmp byte [0x180055c70], r14b
je 0x1800041ce
mov ebx, 3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800041a6
cmp ebx, 0xd
je 0x1800041a6
mov eax, ebx
cmp ebx, 0x1b
cmove eax, r14d
mov dword [rdi], eax
mov byte [0x180055c70], r14b
inc ebx
cmp ebx, 0x100
jl 0x180004182
mov r8d, 0xb
lea rdx, str.Press_a_key
lea rcx, str._none_
call fcn.180003270
jmp 0x180004435
mov r8d, dword [rdi]
test r8d, r8d
jne 0x1800041f4
mov r8d, 6
lea rdx, [0x180046b4c]
lea rcx, str._none_
call fcn.180003270
jmp 0x180004435
lea rdx, [rsp + 0x58]
call fcn.1800033d0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180004291
lea r8, [rcx + 1]
mov qword [rbx + 0x10], r8
mov rdi, rbx
cmp rdx, 0xf
jbe 0x180004229
mov rdi, qword [rbx]
lea rax, [0x180046b59]
lea rsi, [0x180046b58]
cmp rax, rdi
jbe 0x180004257
lea rax, [rdi + rcx]
cmp rsi, rax
ja 0x180004257
cmp rdi, rsi
ja 0x18000424f
mov rbp, r14
jmp 0x18000425c
mov rbp, rdi
sub rbp, rsi
jmp 0x18000425c
mov ebp, 1
lea rcx, [rdi + 1]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 1
sub r8, rbp
lea rdx, [rsi + 1]
add rdx, rbp
lea rcx, [rdi + rbp]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800042b6
mov qword [rsp + 0x28], 1
lea rsi, [0x180046b58]
mov qword [rsp + 0x20], rsi
mov edx, 1
mov rcx, rbx
call fcn.1800050a0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180004322
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x30]
mov word [rax + rcx], 0x5d
lea rax, [rsp + 0x30]
jmp 0x18000433a
mov qword [rsp + 0x20], 1
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800049a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x1800550f8]
cmp rdx, 0xf
jbe 0x180004394
inc rdx
mov rcx, qword [str._none_]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000438f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000438f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800443b4
movups xmmword [str._none_], xmm6
movups xmmword [0x1800550f0], xmm7
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800043e2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800043dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800443b4
movdqa xmm0, xmmword [0x18004cd00]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180004435
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800443b4
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret