Function at 0x18001c040
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov edx, dword [0x1800b13e4]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1800b4848], eax
jle 0x18001c0f4
lea rcx, [0x1800b4848]
call fcn.180086418
cmp dword [0x1800b4848], 0xffffffff
jne 0x18001c0f4
mov ecx, 0x18
call fcn.180086528
mov rdi, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_c_timer_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx], rax
mov qword [0x1800b4838], rbx
mov qword [0x1800b4840], rdi
lea rcx, [0x18008b0e0]
call fcn.1800868cc
nop
lea rcx, [0x1800b4848]
call fcn.1800863b8
mov rax, qword [0x1800b4838]
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, rbx
cmp rax, 0x32
jb 0x18001c2a3
cmp byte [0x1800b1ac0], 0
je 0x18001c2a3
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001c293
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
cmp byte [0x1800b1c08], 0
jne 0x18001c202
mov rcx, qword [r14]
mov rcx, qword [rcx]
call fcn.18001a9d0
test rax, rax
je 0x18001c1b4
mov rcx, qword [r14]
mov rcx, qword [rcx]
call fcn.18001a9d0
mov rbx, rax
mov ecx, 0x20
call fcn.180086528
mov rsi, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_c_player_.0
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov rcx, qword [0x1800b1738]
mov qword [rdi], rbx
mov qword [rdi + 8], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
jmp 0x18001c20c
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x18001c2a3
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x18001c2a3
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18001c2a3
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18001c2a3
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x18001c1b9
cmp dword [0x1800b1ec0], 0
jne 0x18001c25b
cmp qword [rdi], 0
je 0x18001c1b9
mov rcx, rdi
call fcn.18001ae40
cmp eax, 8
jle 0x18001c246
mov rcx, qword [r14 + 8]
mov rcx, qword [rcx]
call fcn.18001afa0
test al, al
je 0x18001c246
mov rcx, r14
call fcn.18001b0c0
nop
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb8]
mov rdx, qword [rdi]
call r8
nop
test rsi, rsi
je 0x18001c293
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x18001c293
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18001c293
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [0x1800b4838]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret