Function at 0x18010bb20
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], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov ecx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
xor r14d, r14d
mov eax, dword [rdx + rax]
cmp dword [0x18023a724], eax
jle 0x18010bbc3
lea rcx, [0x18023a724]
call fcn.18017f7fc
cmp dword [0x18023a724], 0xffffffff
jne 0x18010bbc3
mov qword [0x18023a700], r14
mov qword [0x18023a708], r14
lea ecx, [r14 + 0x20]
call fcn.18017f874
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18023a700], rax
lea rcx, [0x18018ea60]
call fcn.18017fc3c
nop
lea rcx, [0x18023a724]
call fcn.18017f790
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov ecx, 0x20
call fcn.18017f874
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x40], rax
movzx ebx, r14w
movzx eax, r14w
movabs r12, 0x7ffffffffffffff
mov r15d, 0xff
movsx ecx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edi, ax
shr edi, 0xf
and dil, 1
mov rsi, qword [rbp - 0x40]
mov rcx, qword [rsi + 8]
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], r14d
mov rax, rsi
cmp byte [rcx + 0x19], 0
jne 0x18010bc57
nop
mov qword [rbp - 0x20], rcx
cmp word [rcx + 0x1a], bx
jge 0x18010bc44
mov dword [rbp - 0x18], r14d
mov rcx, qword [rcx + 0x10]
jmp 0x18010bc51
mov dword [rbp - 0x18], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18010bc30
cmp byte [rax + 0x19], 0
jne 0x18010bc63
cmp bx, word [rax + 0x1a]
jge 0x18010bcb9
cmp qword [rbp - 0x38], r12
je 0x18010bf6e
lea rax, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r14
mov ecx, 0x20
call fcn.18017f874
nop
mov word [rax + 0x1a], bx
mov byte [rax + 0x1c], 0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.180094860
mov byte [rax + 0x1c], dil
inc bx
movzx eax, bx
cmp bx, r15w
jl 0x18010bc02
mov word [0x18022a71c], r14w
mov rbx, qword [rbp - 0x40]
mov rbx, qword [rbx]
lea rsi, [0x18023a700]
mov rdi, qword [0x18023a700]
cmp byte [rbx + 0x19], 0
jne 0x18010be66
cmp byte [rbx + 0x1c], 0
je 0x18010be01
mov rcx, qword [rdi + 8]
mov rdx, rdi
movzx r9d, byte [rcx + 0x19]
test r9b, r9b
jne 0x18010bd30
movzx r8d, word [rbx + 0x1a]
mov rax, rcx
cmp word [rax + 0x1a], r8w
jge 0x18010bd24
mov rax, qword [rax + 0x10]
jmp 0x18010bd2a
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18010bd17
cmp byte [rdx + 0x19], 0
jne 0x18010bd44
movzx eax, word [rdx + 0x1a]
cmp word [rbx + 0x1a], ax
jl 0x18010bd44
mov al, 1
jmp 0x18010bd46
xor al, al
test al, al
je 0x18010be5b
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], r14d
mov rdx, rdi
test r9b, r9b
jne 0x18010bd89
movzx eax, word [rbx + 0x1a]
mov qword [rbp - 0x20], rcx
cmp word [rcx + 0x1a], ax
jge 0x18010bd76
mov dword [rbp - 0x18], r14d
mov rcx, qword [rcx + 0x10]
jmp 0x18010bd83
mov dword [rbp - 0x18], 1
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18010bd62
cmp byte [rdx + 0x19], 0
jne 0x18010bd99
movzx eax, word [rdx + 0x1a]
cmp word [rbx + 0x1a], ax
jge 0x18010bdfb
cmp qword [0x18023a708], r12
je 0x18010bf68
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r14
mov ecx, 0x20
call fcn.18017f874
nop
movzx ecx, word [rbx + 0x1a]
mov word [rax + 0x1a], cx
mov byte [rax + 0x1c], 0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
mov r8, rax
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.180094860
mov rdx, rax
mov rdi, qword [0x18023a700]
cmp byte [rdx + 0x1c], 0
je 0x18010be5b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18010be2d
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18010be28
cmp rbx, qword [rax + 0x10]
jne 0x18010be28
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18010be15
mov rbx, rax
jmp 0x18010be4f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18010be4f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18010be40
cmp byte [rbx + 0x19], 0
je 0x18010bcf4
jmp 0x18010be66
movzx eax, word [rbx + 0x1a]
mov word [0x18022a71c], ax
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18010be95
mov r8, qword [rbx + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.180127ad0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.18017f74c
cmp byte [rbx + 0x19], 0
je 0x18010be70
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x18023a708], r14
mov r8, qword [0x18023a700]
mov rdx, qword [rbp - 0x40]
mov rdx, qword [rdx + 8]
call fcn.18012bf80
mov rcx, qword [0x18023a700]
mov qword [rcx + 8], rax
mov rax, qword [rbp - 0x38]
mov qword [0x18023a708], rax
mov r8, qword [0x18023a700]
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x18010bf33
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x18010beff
nop dword [rax + rax]
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18010bef0
mov qword [r8], rdx
mov rdx, qword [0x18023a700]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18010bf2d
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x18010bf20
mov qword [rdx + 0x10], rcx
jmp 0x18010bf41
mov qword [r8], r8
mov rax, qword [0x18023a700]
mov qword [rax + 0x10], rax
lea rcx, [rbp - 0x40]
call fcn.1801226f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180084640
nop
call fcn.180084640
int3