Function at 0x140058d20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov esi, 0x57
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
lea ebx, [rsi - 0x37]
movabs r14, 0x6666666666666667
test ax, ax
jns 0x140058d81
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140058e82
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov qword [rbp + 0x2f], rdi
mov dword [rbp - 9], 1
mov word [rbp - 1], si
mov dword [rbp + 3], edi
lea r8, [rbp - 9]
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140059c70
mov dword [rbp - 0x31], 1
mov word [rbp - 0x29], bx
mov dword [rbp - 0x25], edi
mov rdx, qword [rbp + 0x27]
cmp rdx, qword [rbp + 0x2f]
je 0x140058de9
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x11]
movsd qword [rdx + 0x20], xmm0
mov rcx, qword [rbp + 0x27]
add rcx, 0x28
mov qword [rbp + 0x27], rcx
jmp 0x140058dfa
lea r8, [rbp - 0x31]
lea rcx, [rbp + 0x1f]
call fcn.140059c70
mov rcx, qword [rbp + 0x27]
sub rcx, qword [rbp + 0x1f]
mov rax, r14
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov r8d, 0x28
mov rdx, qword [rbp + 0x1f]
call qword [sym.imp.USER32.dll_SendInput]
nop
mov r8, qword [rbp + 0x1f]
test r8, r8
je 0x140058e82
mov rcx, qword [rbp + 0x2f]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140058e7a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14005a564
lea rcx, [rbp - 0x39]
call fcn.140007a80
movabs r8, 0x7ffffffff1194d7f
mov rax, qword [rbp - 0x39]
cmp rax, r8
je 0x140058eb7
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140058eb7
add rax, 0xee6b280
jmp 0x140058ec1
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x39]
call fcn.14000a2b0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov qword [rbp + 0x47], rdi
mov dword [rbp - 9], 1
mov word [rbp - 1], si
mov dword [rbp + 3], 2
lea r8, [rbp - 9]
xor edx, edx
lea rcx, [rbp + 0x37]
call fcn.140059c70
mov dword [rbp - 0x31], 1
mov word [rbp - 0x29], bx
mov dword [rbp - 0x25], 2
mov rdx, qword [rbp + 0x3f]
cmp rdx, qword [rbp + 0x47]
je 0x140058f3e
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x11]
movsd qword [rdx + 0x20], xmm0
mov rcx, qword [rbp + 0x3f]
add rcx, 0x28
mov qword [rbp + 0x3f], rcx
jmp 0x140058f4f
lea r8, [rbp - 0x31]
lea rcx, [rbp + 0x37]
call fcn.140059c70
mov rcx, qword [rbp + 0x3f]
sub rcx, qword [rbp + 0x37]
mov rax, r14
imul rcx
mov rcx, rdx
sar rcx, 4
mov r9, rcx
shr r9, 0x3f
add rcx, r9
mov r8d, 0x28
mov rdx, qword [rbp + 0x37]
call qword [sym.imp.USER32.dll_SendInput]
nop
mov r8, qword [rbp + 0x37]
test r8, r8
je 0x140058fd7
mov rcx, qword [rbp + 0x47]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140058fcf
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058fcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14005a564
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005a500
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret