Function at 0x180008e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0xc8
mov rax, qword [0x180135a80]
cmp byte [rax + 0x1ad], 0
je 0x1800095d9
mov qword [r11 + 0x10], rbx
lea rcx, [rsp + 0x30]
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [r11 - 0x10], rdi
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
call fcn.1800072b0
mov ebx, dword [0x180135f38]
call fcn.180005620
xor ebp, ebp
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
movabs r12, 0x50fac3a3e030a6e1
mov rcx, rax
mov rdx, r12
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 1
inc dword [rax + 8]
call fcn.180005620
movabs r14, 0x997abd671d25ca0b
mov rcx, rax
mov rdx, r14
call fcn.18004cf90
call fcn.180005620
movabs r15, 0xd80958fc74e988a6
mov rcx, qword [rax]
cmp dword [rcx], ebp
je 0x180009150
mov ebx, dword [0x180135f38]
mov qword [rsp + 0xc0], rsi
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov rdx, r12
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
movabs rdi, 0x6094ad011a2ea87d
mov rcx, rax
mov rdx, rdi
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 0xffffffff
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180005620
movabs rdx, 0x22ac59a870e6a669
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov ebx, dword [0x180135f38]
mov rcx, qword [rax]
mov esi, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov r8d, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + r8*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov rdx, r12
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov r8d, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + r8*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov rdx, rdi
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov edi, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov rdx, r15
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], esi
inc dword [rax + 8]
call fcn.180005620
movabs rdx, 0xf75b0d629e1c063d
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rax, qword gs:[0x20]
mov rcx, qword [rax]
mov byte [rcx + 0x20], bpl
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rsi, qword [rsp + 0xc0]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov rdx, r15
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov r8d, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + r8*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov r8d, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + r8*8], ebp
inc dword [rax + 8]
call fcn.180005620
mov rdx, r14
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rax]
cmp dword [rcx], ebp
je 0x1800095b9
movaps xmmword [rsp + 0x90], xmm6
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov rdx, r15
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180005620
movabs rdx, 0x9a9112a0fe9a4713
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov edi, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
movabs rdx, 0xd45dc2893621e1fe
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
cvttss2si eax, dword [rcx]
mov dword [0x180135f34], eax
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
movabs rdx, 0xd5037ba82e12416f
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rbx, qword [0x18011bac0]
mov rcx, qword [rax]
movss xmm6, dword [rcx]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x1800093b2
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800093b2
movd xmm3, dword [0x180135f30]
xorps xmm2, xmm2
movd xmm1, dword [0x180135f34]
mov ecx, edi
cvtdq2ps xmm3, xmm3
mov dword [rsp + 0x20], 2
cvtdq2ps xmm1, xmm1
call fcn.1800066a0
mov rcx, qword [0x18011bac8]
lea rax, vtable.std::_Func_impl_no_alloc_class__bool___cdecl_Base::TakeControlOff_int__int_::_2::_lambda_1___void___.0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov dword [rsp + 0xd0], edi
mov dword [rsp + 0xd4], 0x1e
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x80], rax
call fcn.18000c8e0
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
addss xmm6, dword [0x1800e2f8c]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm6
jmp 0x18000940e
movd xmm3, dword [0x180135f30]
mov ecx, edi
movd xmm2, dword [0x180135f2c]
movd xmm1, dword [0x180135f34]
cvtdq2ps xmm3, xmm3
mov dword [rsp + 0x20], 2
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1800066a0
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180005620
mov rcx, rax
movabs rdx, 0xab54a438726d25d5
call fcn.18004cf90
call fcn.180005620
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movaps xmm6, xmmword [rsp + 0x90]
cmp rax, qword [rbx + 0xf8]
jne 0x180009496
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180009496
mov eax, dword [0x180135f30]
mov ecx, edi
movd xmm2, dword [0x180135f2c]
add eax, 2
movd xmm1, dword [0x180135f34]
cvtdq2ps xmm2, xmm2
mov dword [0x180135f30], eax
mov dword [rsp + 0x20], 2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm1, xmm1
call fcn.1800066a0
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x1800094f7
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800094f7
mov eax, dword [0x180135f30]
mov ecx, edi
movd xmm2, dword [0x180135f2c]
sub eax, 2
movd xmm1, dword [0x180135f34]
cvtdq2ps xmm2, xmm2
mov dword [0x180135f30], eax
mov dword [rsp + 0x20], 2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm1, xmm1
call fcn.1800066a0
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x180009558
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180009558
mov eax, dword [0x180135f34]
mov ecx, edi
movd xmm3, dword [0x180135f30]
sub eax, 2
movd xmm2, dword [0x180135f2c]
cvtdq2ps xmm3, xmm3
mov dword [0x180135f34], eax
mov dword [rsp + 0x20], 2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
call fcn.1800066a0
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x1800095b9
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800095b9
mov eax, dword [0x180135f34]
mov ecx, edi
movd xmm3, dword [0x180135f30]
add eax, 2
movd xmm2, dword [0x180135f2c]
cvtdq2ps xmm3, xmm3
mov dword [0x180135f34], eax
mov dword [rsp + 0x20], 2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
call fcn.1800066a0
mov rdi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xa0]
add rsp, 0xc8
ret