Function at 0x18008adf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x18030f040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rsi, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18008ae62
xor byte [rsi + 8], 1
cmp byte [rsi + 8], 0
je 0x18008b61c
mov rax, qword [0x180312410]
cmp byte [rax + 0xd0], 0
je 0x18008b61c
mov byte [rsi + 0x99], 1
mov rax, qword [0x1803100b0]
mov rcx, qword [rax + 0x4140]
movss xmm11, dword [rcx + 0x60]
movss xmm12, dword [rcx + 0x64]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm6, xmm6
xorps xmm3, xmm3
mov r8d, dword [0x18031241c]
mov edx, dword [0x180312418]
lea rcx, [rbp + 0xa8]
call fcn.180078ab0
mov r14, qword [rbp + 0xb0]
mov r12d, dword [rbp + 0xa8]
test r12d, r12d
jle 0x18008af11
movsxd r15, dword [rbp + 0xac]
shl r15, 3
xor ebx, ebx
mov edi, r12d
nop dword [rax]
mov r8, r15
mov rdx, qword [0x180312420]
mov rdx, qword [rbx + rdx]
mov rcx, qword [rbx + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18008aef0
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
movaps xmm3, xmm6
mov r8d, dword [0x18031242c]
mov edx, dword [0x180312428]
lea rcx, [rbp + 0x98]
call fcn.180078ab0
mov r15, qword [rbp + 0xa0]
mov edi, dword [rbp + 0x98]
test edi, edi
jle 0x18008af8e
movsxd r12, dword [rbp + 0x9c]
shl r12, 3
xor ebx, ebx
nop word [rax + rax]
mov r8, r12
mov rdx, qword [0x180312430]
mov rdx, qword [rbx + rdx]
mov rcx, qword [rbx + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18008af60
mov r12d, dword [rbp + 0xa8]
mov edi, dword [rbp + 0x98]
movsd xmm7, qword [0x18030f110]
movsd xmm8, qword [0x18030f118]
movsd xmm9, qword [0x18030f120]
lea rbx, [rsi + 0x48]
mov qword [rbp + 0x50], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18008afc9
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x18008afe4
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsi + 0x30]
mov qword [rbp], rcx
mov rax, qword [rsi + 0x38]
mov qword [rbp - 8], rax
cmp rcx, rax
je 0x18008b5b4
lea rax, [rcx + 0x240]
mov qword [rsp + 0x40], rax
movss xmm10, dword [0x1802ffee8]
mov rdx, qword [rbp - 8]
jmp 0x18008b026
mov edi, dword [rbp + 0x98]
cmp byte [rax + 0x10], 0
je 0x18008b591
cmp rcx, rax
je 0x18008b591
lea r13, [rax - 0x220]
mov rbx, qword [rsp + 0x40]
jmp 0x18008b056
mov edi, dword [rbp + 0x98]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x78], xmm1
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x58], xmm1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
movaps xmm3, xmm6
mov r8d, dword [rbp + 0x9c]
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.180078ab0
xor esi, esi
cmp dword [rsp + 0x58], esi
jle 0x18008b0c7
xor edi, edi
nop dword [rax]
movsxd r8, dword [rsp + 0x5c]
shl r8, 3
mov rdx, qword [rdi + r15]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rsp + 0x58]
jl 0x18008b0a0
movaps xmm3, xmm6
mov r8d, dword [rbp + 0xac]
mov edx, r12d
lea rcx, [rsp + 0x68]
call fcn.180078ab0
xor esi, esi
cmp dword [rsp + 0x68], esi
jle 0x18008b117
xor edi, edi
nop dword [rax + rax]
movsxd r8, dword [rsp + 0x6c]
shl r8, 3
mov rdx, qword [rdi + r14]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rsp + 0x68]
jl 0x18008b0f0
movsd xmm2, qword [r13 - 0x10]
subsd xmm2, xmm9
movsd xmm1, qword [r13 - 0x18]
subsd xmm1, xmm8
movsd xmm0, qword [r13 - 0x20]
subsd xmm0, xmm7
movsd qword [rbp + 0x10], xmm0
movsd qword [rbp + 0x18], xmm1
movsd qword [rbp + 0x20], xmm2
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
cvttss2si eax, xmm12
mov dword [rsp + 0x20], eax
cvttss2si r9d, xmm11
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.180078690
ucomisd xmm0, xmm6
jp 0x18008b17f
je 0x18008b573
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
movaps xmm3, xmm6
mov r8d, dword [rbp + 0x9c]
mov edx, dword [rbp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.180078ab0
xor esi, esi
cmp dword [rsp + 0x78], esi
jle 0x18008b1d6
xor edi, edi
nop dword [rax]
movsxd r8, dword [rsp + 0x7c]
shl r8, 3
mov rdx, qword [rdi + r15]
mov rcx, qword [rbp - 0x80]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rsp + 0x78]
jl 0x18008b1b0
movaps xmm3, xmm6
mov r8d, dword [rbp + 0xac]
mov edx, r12d
lea rcx, [rbp - 0x78]
call fcn.180078ab0
xor esi, esi
cmp dword [rbp - 0x78], esi
jle 0x18008b224
xor edi, edi
nop word [rax + rax]
movsxd r8, dword [rbp - 0x74]
shl r8, 3
mov rdx, qword [rdi + r14]
mov rcx, qword [rbp - 0x70]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbp - 0x78]
jl 0x18008b200
movsd xmm2, qword [r13 + 8]
subsd xmm2, xmm9
movsd xmm1, qword [r13]
subsd xmm1, xmm8
movsd xmm0, qword [r13 - 8]
subsd xmm0, xmm7
movsd qword [rbp + 0x30], xmm0
movsd qword [rbp + 0x38], xmm1
movsd qword [rbp + 0x40], xmm2
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
cvttss2si eax, xmm12
mov dword [rsp + 0x20], eax
cvttss2si r9d, xmm11
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x30]
call fcn.180078690
ucomisd xmm0, xmm6
jp 0x18008b288
je 0x18008b573
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
movaps xmm3, xmm6
mov r8d, dword [rbp + 0x9c]
mov edx, dword [rbp + 0x98]
lea rcx, [rbp - 0x68]
call fcn.180078ab0
xor esi, esi
cmp dword [rbp - 0x68], esi
jle 0x18008b2e4
xor edi, edi
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbp - 0x64]
shl r8, 3
mov rdx, qword [rdi + r15]
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbp - 0x68]
jl 0x18008b2c0
movaps xmm3, xmm6
mov r8d, dword [rbp + 0xac]
mov edx, r12d
lea rcx, [rbp - 0x58]
call fcn.180078ab0
xor esi, esi
cmp dword [rbp - 0x58], esi
jle 0x18008b334
xor edi, edi
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbp - 0x54]
shl r8, 3
mov rdx, qword [rdi + r14]
mov rcx, qword [rbp - 0x50]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbp - 0x58]
jl 0x18008b310
movsd xmm2, qword [r13 + 0x20]
subsd xmm2, xmm9
movsd xmm1, qword [r13 + 0x18]
subsd xmm1, xmm8
movsd xmm0, qword [r13 + 0x10]
subsd xmm0, xmm7
movsd qword [rbp + 0x10], xmm0
movsd qword [rbp + 0x18], xmm1
movsd qword [rbp + 0x20], xmm2
lea rax, [rbp + 0x68]
mov qword [rsp + 0x28], rax
cvttss2si eax, xmm12
mov dword [rsp + 0x20], eax
cvttss2si r9d, xmm11
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.180078690
ucomisd xmm0, xmm6
jp 0x18008b397
je 0x18008b573
lea rax, [rbp - 0x48]
mov qword [rsp + 0x50], rax
movaps xmm3, xmm6
mov r8d, dword [rbp + 0x9c]
mov edx, dword [rbp + 0x98]
lea rcx, [rbp - 0x48]
call fcn.180078ab0
xor esi, esi
cmp dword [rbp - 0x48], esi
jle 0x18008b3f4
xor edi, edi
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbp - 0x44]
shl r8, 3
mov rdx, qword [rdi + r15]
mov rcx, qword [rbp - 0x40]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbp - 0x48]
jl 0x18008b3d0
movaps xmm3, xmm6
mov r8d, dword [rbp + 0xac]
mov edx, r12d
lea rcx, [rbp - 0x38]
call fcn.180078ab0
xor esi, esi
cmp dword [rbp - 0x38], esi
jle 0x18008b444
xor edi, edi
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbp - 0x34]
shl r8, 3
mov rdx, qword [rdi + r14]
mov rcx, qword [rbp - 0x30]
mov rcx, qword [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbp - 0x38]
jl 0x18008b420
movsd xmm2, qword [r13 + 0x38]
subsd xmm2, xmm9
movsd xmm1, qword [r13 + 0x30]
subsd xmm1, xmm8
movsd xmm0, qword [r13 + 0x28]
subsd xmm0, xmm7
movsd qword [rbp + 0x30], xmm0
movsd qword [rbp + 0x38], xmm1
movsd qword [rbp + 0x40], xmm2
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
cvttss2si eax, xmm12
mov dword [rsp + 0x20], eax
cvttss2si r9d, xmm11
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x30]
call fcn.180078690
ucomisd xmm0, xmm6
jp 0x18008b4a7
je 0x18008b573
mov rcx, qword [0x1803100b0]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
mov r10, qword [rax + 0x2f0]
mov rcx, rbx
call fcn.180009ca0
movsd xmm1, qword [rbp + 0x60]
cvtpd2ps xmm1, xmm1
movsd xmm0, qword [rbp + 0x58]
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm1
movsd xmm2, qword [rbp + 0x70]
cvtpd2ps xmm2, xmm2
movsd xmm0, qword [rbp + 0x68]
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm2
movsd xmm1, qword [rbp + 0x80]
cvtpd2ps xmm1, xmm1
movsd xmm0, qword [rbp + 0x78]
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x18], xmm0
movss dword [rbp - 0x14], xmm1
movsd xmm2, qword [rbp + 0x90]
cvtpd2ps xmm2, xmm2
movsd xmm0, qword [rbp + 0x88]
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x10], xmm0
movss dword [rbp - 0xc], xmm2
movss dword [rsp + 0x30], xmm10
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x10]
mov rcx, r10
call fcn.18003de50
add r13, 0x60
lea rax, [r13 - 0x20]
cmp rax, rbx
jne 0x18008b050
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp]
mov rdx, qword [rbp - 8]
add rcx, 0x258
mov qword [rbp], rcx
add rax, 0x258
mov qword [rsp + 0x40], rax
cmp rcx, rdx
jne 0x18008b020
mov rbx, qword [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
test r15, r15
je 0x18008b5ed
mov eax, dword [rbp + 0x98]
test eax, eax
jle 0x18008b5e4
mov rbx, r15
mov edi, eax
mov rcx, qword [rbx]
call fcn.18009bc64
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18008b5d2
mov rcx, r15
call fcn.18009bc64
nop
test r14, r14
je 0x18008b623
test r12d, r12d
jle 0x18008b612
mov rbx, r14
mov edi, r12d
nop dword [rax]
mov rcx, qword [rbx]
call fcn.18009bc64
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18008b600
mov rcx, r14
call fcn.18009bc64
jmp 0x18008b623
mov byte [rsi + 0x99], 0
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.18009b6a0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret