Function at 0x14006efb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
lea rcx, [0x1401b7930]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14006efed
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1401b797c], 0x7fffffff
jne 0x14006f00f
mov ecx, 6
mov dword [0x1401b797c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rax, qword [0x1401b3740]
lea rdx, [0x1401b3748]
mov qword [rsp + 0xa0], r13
lea rcx, [rbp + 0xf]
mov qword [rbp + 7], rax
mov qword [rsp + 0x98], r14
call fcn.14006f450
lea rcx, [0x1401b7930]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movups xmm0, xmmword [rbp + 0xf]
mov r8, qword [0x1401b7d90]
lea rdx, [rbp - 0x21]
movups xmm1, xmmword [rbp + 0x1f]
lea rcx, [0x1401b7d80]
movq r14, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x31], r14
movdqa xmm0, xmm1
movq rax, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0xf
mov qword [rbp - 0x29], r13
movups xmmword [rbp - 0x11], xmm1
cmova rdx, r14
cmp qword [0x1401b7d98], 0xf
cmova rcx, qword [0x1401b7d80]
cmp r8, rax
jne 0x14006f0b3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006f215
mov rax, qword [rsi]
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0x90], r15
mov r15, qword [rax + 8]
mov rdi, qword [rax]
cmp rdi, r15
je 0x14006f205
mov qword [rsp + 0xc8], rbx
lea rbx, [rsi + 0x10]
mov qword [rsp + 0xd8], r12
mov r12d, 2
lea r13d, [r12 + 0x1e]
lea r14d, [r12 + 6]
nop word [rax + rax]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 1], rax
mov rax, qword [rsi + 8]
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
cmp byte [rax], 0
je 0x14006f17b
mov edx, dword [rdi]
cmp edx, 1
jne 0x14006f165
mov rax, qword [rbx]
mov ecx, 4
cmp byte [rax], 0
cmovne ecx, r12d
mov dword [rbp - 0xd], ecx
cmp edx, r12d
jne 0x14006f14b
mov rax, qword [rsi + 0x10]
mov ecx, reloc.WS2_32.dll_recv
cmp byte [rax], 0
cmovne ecx, r14d
mov dword [rbp - 0xd], ecx
mov r8d, 0x28
lea rdx, [rbp - 0x21]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
lea rbx, [rsi + 0x10]
jmp 0x14006f1b3
cmp edx, 4
jne 0x14006f133
mov rax, qword [rbx]
mov ecx, 0x40
cmp byte [rax], 0
cmovne ecx, r13d
jmp 0x14006f148
movzx ecx, byte [rdi]
mov dword [rbp - 0x21], 1
call qword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [rbp - 0x15]
lea rdx, [rbp - 0x21]
mov word [rbp - 0x19], ax
mov r8d, 0x28
mov rax, qword [rbx]
cmp byte [rax], 0
cmove ecx, r12d
mov dword [rbp - 0x15], ecx
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 1], rax
mov rax, qword [rsi + 0x18]
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 0x21], xmm0
mov rcx, qword [rax]
movsxd rax, dword [rcx + 4]
test eax, eax
jle 0x14006f1e0
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
call fcn.1400ad610
add rdi, 4
cmp rdi, r15
jne 0x14006f100
mov r12, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xc8]
mov r14, qword [rbp - 0x31]
mov r13, qword [rbp - 0x29]
mov rdi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
cmp r13, 0xf
jbe 0x14006f24f
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006f247
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006f247
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400b7700
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x98]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400b7380
add rsp, 0xa8
pop rsi
pop rbp
ret