Function at 0x14023ae90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0xc8
xor dil, dil
mov rbx, rcx
mov byte [rsp + 0xf8], dil
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov dword [rsp + 0x24], eax
mov eax, dword [0x1405a78cc]
nop
cmp ecx, eax
jae 0x14023aed8
mov eax, dword [0x1405a78cc]
nop
add eax, 0xfffffc18
cmp ecx, eax
jae 0x14023aee0
mov eax, ecx
xchg dword [0x1405a78cc], eax
mov eax, dword [rbx + 0x6c]
sub eax, 1
movsxd rdx, eax
mov qword [rsp + 0x50], rdx
js 0x14023b23a
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x60]
mov r8, qword [rax + rdx*8]
mov qword [rsp + 0x48], r8
cmp byte [r8 + 0x18], 0
je 0x14023b1fb
mov eax, dword [r8 + 0x14]
sub eax, 1
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
js 0x14023b1fb
lea rdx, [rcx + rcx*2]
shl rdx, 2
mov qword [rsp + 0x40], rdx
nop word [rax + rax]
mov rax, qword [r8 + 8]
movsd xmm0, qword [rdx + rax]
mov r12d, dword [rdx + rax + 8]
movsd qword [rsp + 0x58], xmm0
mov esi, dword [rsp + 0x58]
movsd qword [rsp + 0x30], xmm0
bt esi, 0x10
jae 0x14023af99
movzx ecx, si
jmp 0x14023afab
movzx ecx, si
call qword [sym.imp.USER32.dll_VkKeyScanW]
movzx ecx, al
cmp al, 0xff
jne 0x14023afab
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r15d, dword [rsp + 0x5c]
shr eax, 0xf
and al, 1
je 0x14023afcf
mov eax, r15d
mov byte [rsp + 0x20], 1
xor eax, dword [0x1405a7830]
test al, 7
je 0x14023afd4
mov byte [rsp + 0x20], 0
mov r14d, dword [rbx + 0x7c]
xor r9d, r9d
xor r13b, r13b
mov dword [rsp + 0x28], r9d
sub r14d, 1
movsxd rbp, r14d
js 0x14023b062
nop dword [rax]
mov rax, qword [rbx + 0x70]
mov rdi, qword [rax + rbp*8]
cmp r15d, dword [rdi + 4]
jne 0x14023b04c
mov eax, dword [rdi + 8]
cmp r12d, eax
je 0x14023b00f
test r12d, r12d
je 0x14023b00f
test eax, eax
jne 0x14023b04c
mov eax, dword [rdi]
cmp esi, eax
je 0x14023b0d6
cmp esi, 0x100
jge 0x14023b04c
cmp eax, 0x100
jge 0x14023b04c
movzx ecx, si
call fcn.1400df278
movzx ecx, word [rdi]
movzx ebx, ax
call fcn.1400df278
cmp bx, ax
mov rbx, qword [rsp + 0xe0]
je 0x14023b0d6
dec r14d
sub rbp, 1
jns 0x14023aff0
mov r9d, dword [rsp + 0x28]
movzx edi, byte [rsp + 0xf8]
movzx ebp, byte [rsp + 0x20]
cmp bpl, r13b
je 0x14023b1cd
xor esi, esi
lea rdi, [rbx + 0x70]
test bpl, bpl
je 0x14023b0ed
lea ecx, [rsi + 0x10]
call fcn.1400c9d40
movsd xmm0, qword [rsp + 0x30]
mov rbx, rax
movsd qword [rax], xmm0
mov dword [rax + 8], r12d
mov eax, dword [rsp + 0x24]
mov dword [rbx + 0xc], eax
mov ecx, dword [rdi + 0xc]
inc ecx
cmp ecx, dword [rdi + 8]
jle 0x14023b0c0
mov eax, ecx
test ecx, ecx
jns 0x14023b0ae
lea eax, [rcx + 1]
sar eax, 1
lea edx, [rax + 8]
add edx, ecx
mov rcx, rdi
and edx, 0xfffffff8
call fcn.140017ea0
movsxd rcx, dword [rdi + 0xc]
lea eax, [rcx + 1]
mov dword [rdi + 0xc], eax
mov rax, qword [rdi]
mov qword [rax + rcx*8], rbx
jmp 0x14023b15b
mov r13b, 1
mov r9d, r14d
movzx edi, r13b
mov byte [rsp + 0xf8], r13b
jmp 0x14023b062
mov rax, qword [rdi]
mov edx, dword [rsp + 0x24]
movsxd rcx, r9d
mov r8, qword [rax + rcx*8]
lea rcx, [rax + rcx*8]
mov eax, dword [r8 + 0xc]
cmp edx, eax
jbe 0x14023b10b
mov esi, edx
sub esi, eax
mov edx, dword [rdi + 0xc]
xor ebx, ebx
cmp r9d, edx
jae 0x14023b133
sub edx, r9d
mov rbx, r8
dec edx
movsxd r8, edx
lea rdx, [rcx + 8]
shl r8, 3
call fcn.140279770
dec dword [rdi + 0xc]
mov edx, dword [rdi + 0xc]
mov ecx, dword [rdi + 8]
lea eax, [rdx + rdx]
cmp eax, ecx
jge 0x14023b149
cmp edx, ecx
jge 0x14023b149
mov rcx, rdi
call fcn.140017ea0
test rbx, rbx
je 0x14023b15b
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rbx
call fcn.1400c9d7c
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
movsd xmm0, qword [rsp + 0x30]
xor r8d, r8d
mov rbx, qword [rsp + 0xe0]
mov dword [rsp + 0x6c], 0
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rbx + 0x58]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 1
mov byte [rsp + 0x8c], bpl
movsd qword [rsp + 0x80], xmm0
mov dword [rsp + 0x88], r12d
mov dword [rsp + 0x90], esi
call fcn.14023cac0
mov dil, 1
mov byte [rsp + 0xf8], dil
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
dec rcx
mov r8, qword [rsp + 0x48]
sub rdx, 0xc
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
test rcx, rcx
jns 0x14023af70
mov rdx, qword [rsp + 0x50]
sub rdx, 1
mov qword [rsp + 0x50], rdx
jns 0x14023af30
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xe8]
movzx eax, dil
add rsp, 0xc8
pop rdi
pop rbx
ret