Function at 0x14005a230
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov rbx, 0xffffffffffffffff
movabs r12, 0x5d71ea0f00626f6
movabs r14, 0x9f257c30c0eab4aa
movabs r15, 0x5b370c9927f439d
lea rsi, [0x1400bb0e8]
mov eax, dword [rcx + rax]
cmp dword [0x1400bb0dc], eax
jle 0x14005a33f
lea rcx, [0x1400bb0dc]
call fcn.14006d160
cmp dword [0x1400bb0dc], ebx
jne 0x14005a33f
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 9]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 9], xmm0
xorps xmm0, xmm0
movups xmmword [0x1400bb0e8], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400bb0f8], xmm1
lea rax, [rbp - 9]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005a310
lea rdx, [rbp - 9]
mov rcx, rsi
call fcn.140061640
lea rcx, [0x140070ca0]
call fcn.14006d410
nop
lea rcx, [0x1400bb0dc]
call fcn.14006d0f4
cmp byte [0x1400bb0a5], 0
jne 0x14005a48e
mov edx, dword [rdi]
cmp edx, 0x270f
jne 0x14005a3bd
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [rbp - 0x29]
xorps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x29], xmm0
lea rax, [rbp - 0x29]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005a3a0
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140004210
jmp 0x14005a580
lea rcx, [rbp + 7]
call fcn.140054180
mov rdi, rax
cmp rsi, rax
je 0x14005a447
mov rdx, qword [0x1400bb100]
cmp rdx, 0x10
jb 0x14005a40b
inc rdx
mov rcx, qword [0x1400bb0e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a47d
call fcn.14006d00c
movdqa xmm0, xmmword [0x1400addc0]
movdqu xmmword [0x1400bb0f8], xmm0
mov byte [0x1400bb0e8], 0
movups xmm0, xmmword [rdi]
movups xmmword [0x1400bb0e8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1400bb0f8], xmm1
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14005a580
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d00c
jmp 0x14005a580
cmp byte [0x1400ba075], 1
jne 0x14005a50f
movabs rax, 0x60d850bbf70b2df8
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
movabs rax, 0x9f257c30c0eab4d3
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [rbp - 0x29]
xorps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x29], xmm0
lea rax, [rbp - 0x29]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005a4f0
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140004210
mov byte [0x1400ba075], 0
mov eax, dword [0x1400bb04c]
inc eax
mov dword [0x1400bb04c], eax
cmp eax, 0x14
je 0x14005a52c
cmp eax, 0x28
je 0x14005a52c
cmp eax, 0x3c
jne 0x14005a547
mov r8d, 1
lea rdx, [0x1400ad5f4]
mov rcx, rsi
call fcn.140004190
mov eax, dword [0x1400bb04c]
xor ebx, ebx
cmp eax, 0x4b
jne 0x14005a560
mov byte [0x1400ba075], 1
mov dword [0x1400bb04c], ebx
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005a576
mov dword [rdi], ebx
mov byte [0x1400bb0a5], 0
inc ebx
cmp ebx, 0x100
jl 0x14005a560
mov dword [rbp - 0x19], 0x43070000
mov dword [rbp - 0x15], 0x42240000
cmp qword [0x1400bb100], 0x10
cmovae rsi, qword [0x1400bb0e8]
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.14003d420
test al, al
je 0x14005a5bc
mov byte [0x1400bb0a5], 1
mov byte [0x1400ba075], 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret