Function at 0x1800461d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x180062040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [0x1800bdb60]
cmp byte [rcx + 0x50], 0
je 0x1800463af
cmp qword [0x1800bd150], 0
je 0x1800463af
mov rax, qword [0x1800bd9c8]
mov edi, dword [0x1800bd188]
mov rbx, qword [0x1800bdb68]
movaps xmmword [r11 - 0x18], xmm6
xorps xmm6, xmm6
movaps xmmword [r11 - 0x28], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x38], xmm8
movsd xmm8, qword [0x1800bd180]
call rax
test rax, rax
je 0x18004638f
mov r10, qword [0x1800bd9a8]
lea r8, [rsp + 0x50]
mov r9d, 2
movsd qword [rsp + 0x50], xmm8
mov rdx, rax
mov dword [rsp + 0x58], edi
lea rcx, [rsp + 0x60]
call r10
mov ecx, dword [rbx]
xorps xmm0, xmm0
movsd xmm2, qword [rax]
cvtsi2ss xmm0, rcx
movsd qword [rsp + 0x50], xmm2
comiss xmm2, xmm0
ja 0x18004638f
mov ecx, dword [rbx + 4]
xorps xmm0, xmm0
movss xmm1, dword [rsp + 0x54]
cvtsi2ss xmm0, rcx
comiss xmm1, xmm0
ja 0x18004638f
comiss xmm6, xmm2
ja 0x18004638f
comiss xmm6, xmm1
ja 0x18004638f
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
ja 0x18004638f
comiss xmm0, xmm6
jbe 0x1800462f1
mov eax, dword [rax + 8]
movaps xmm7, xmm2
movsd qword [rsp + 0x50], xmm2
comiss xmm2, xmm6
mov dword [rsp + 0x58], eax
movss xmm6, dword [rsp + 0x54]
ja 0x1800462fc
xorps xmm0, xmm0
comiss xmm6, xmm0
ja 0x1800462fc
cmp byte [rsp + 0x30], 0
je 0x18004638f
mov rcx, qword [0x1800bdb60]
mov rax, qword [0x1800bdb68]
mov r10, qword [0x1800bd950]
mov dword [rsp + 0x4c], 0x3f800000
movss xmm1, dword [rcx + 0x44]
movss xmm0, dword [rcx + 0x40]
mov edx, dword [rax + 4]
movss xmm2, dword [rcx + 0x48]
movss dword [rsp + 0x44], xmm1
xorps xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movsd xmm0, qword [rax + 8]
movss dword [rsp + 0x48], xmm2
movsd qword [rsp + 0x50], xmm0
cvtsi2ss xmm1, rdx
subss xmm1, xmm6
unpcklps xmm7, xmm1
movsd qword [rsp + 0x60], xmm7
test r10, r10
je 0x180046396
lea rcx, [rsp + 0x40]
call fcn.180004430
movss xmm0, dword [0x18005a200]
lea r8, [rsp + 0x60]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x50]
mov rcx, r10
call fcn.1800226c0
mov rcx, qword [0x1800bdb60]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
cmp byte [rcx + 0x3f], 0
je 0x180046468
mov ecx, 0x42
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180046468
cmp qword [0x1800bd150], 0
je 0x180046468
movsxd rbx, dword [0x1800bd928]
lea rax, [0x1800bdbe0]
mov rcx, rbx
lea r9, [0x1800bd158]
shl rcx, 5
add rcx, rax
cmp rcx, r9
je 0x180046460
cmp qword [0x1800bd170], 0xf
mov rdi, qword [0x1800bd168]
mov rax, qword [rcx + 0x18]
cmova r9, qword [0x1800bd158]
cmp rdi, rax
ja 0x180046452
mov qword [rsp + 0xc0], rsi
mov rsi, rcx
cmp rax, 0xf
jbe 0x180046432
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rcx, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
mov rsi, qword [rsp + 0xc0]
jmp 0x180046460
mov rdx, rdi
call fcn.18004a9f0
mov ebx, dword [0x1800bd928]
inc ebx
mov dword [0x1800bd928], ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18004b2c0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret