Function at 0x140005c30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x100
mov rax, qword [0x140113010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov esi, r9d
mov rdi, qword [rbp + 0x7f]
mov qword [rbp - 0x31], rdi
test dl, dl
je 0x140005f44
test r9d, r9d
je 0x140005f44
mov edx, r9d
sub edx, 1
je 0x140005cad
sub edx, 1
je 0x140005c9f
cmp edx, 1
jne 0x140005ccc
mov ecx, r8d
call qword [sym.imp.USER32.dll_GetKeyState]
movsx rcx, ax
shr rcx, 0x10
test cx, cx
sete al
jmp 0x140005cc4
mov ecx, r8d
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jmp 0x140005cc1
mov ecx, r8d
call qword [sym.imp.USER32.dll_GetKeyState]
movsx rcx, ax
shr rcx, 0x10
test cx, cx
setne al
test al, al
je 0x140005f44
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x21], xmm0
vmovdqu xmm2, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 0x11], xmm2
mov byte [rbp - 0x21], 0
vmovups xmmword [rbp - 1], xmm0
vmovdqu xmm1, xmm2
vmovdqu xmmword [rbp + 0xf], xmm2
mov byte [rbp - 1], 0
vmovss dword [rbp + 0x23], xmm0
lea rax, [rbp - 0x21]
cmp rax, rdi
je 0x140005d54
mov r14, qword [rdi + 0x10]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140005d17
mov r9, qword [rdi]
vpextrq rax, xmm2, 1
cmp r14, rax
ja 0x140005d48
lea rbx, [rbp - 0x21]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x21]
mov qword [rbp - 0x11], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140005d54
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.140008960
mov r8d, esi
lea rdx, [rbp - 0x51]
call fcn.140005560
mov rbx, rax
lea rax, [rbp - 1]
cmp rax, rbx
je 0x140005dbf
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140005da3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005df1
call fcn.14009931c
vmovups ymm0, ymmword [rbx]
vmovups ymmword [rbp - 1], ymm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140005e03
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005dfb
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.14009931c
vmovss xmm0, dword [0x140102bb0]
vmovss dword [rbp + 0x23], xmm0
lea rdx, [rbp - 0x21]
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.140004450
nop
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x40]
call fcn.140004450
vmovss xmm0, dword [rbp + 0x1f]
vmovss dword [rbp - 0x61], xmm0
vmovss xmm1, dword [rbp + 0x23]
vmovss dword [rbp - 0x5d], xmm1
mov eax, dword [rbp + 0x27]
mov dword [rbp - 0x59], eax
lea rdx, [rsp + 0x20]
call fcn.140008660
nop
mov rdx, qword [rbp - 0x69]
cmp rdx, 0x10
jb 0x140005e8d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ec1
call fcn.14009931c
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140005ece
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ec8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ec8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140005f05
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f37
call fcn.14009931c
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140005f44
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140005f7a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005f75
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005fb1
mov rcx, r8
call fcn.14009931c
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], 0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140098e80
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3