Function at 0x180009310
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov byte [rax + 8], cl
sub rsp, 0x88
cmp byte [0x1800b03f1], 0
je 0x180009893
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
xor r15d, r15d
movabs rax, 0x4f8644af03d0e0d6
mov dword [0x1800a5010], r15d
mov dword [0x1800a5020], r15d
mov qword [0x1800b1ad8], rax
call fcn.18005d4e0
mov r14d, dword [rax]
movabs rax, 0xd80958fc74e988a6
mov qword [0x1800b1ad8], rax
mov dword [0x1800a5010], r15d
mov dword [0x1800a5020], r15d
call fcn.18005d4e0
mov qword [rsp + 0x78], rsi
mov edi, r15d
movabs rbx, 0x50fac3a3e030a6e1
movaps xmmword [rsp + 0x40], xmm6
movabs r13, 0x34e82f05df2974f5
movabs r12, 0xfcdff7b72d23a1ac
mov ebp, dword [rax]
cmp edi, r14d
je 0x180009855
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180009855
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], edi
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov dword [0x1800a5020], r15d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 1
call fcn.18005d4e0
mov qword [rsp + 0xa0], r15
mov esi, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov qword [0x1800b1ad8], rax
mov dword [rsp + 0xa0], esi
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a50e8], rax
mov dword [rsp + 0xa0], 1
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r15d
mov dword [0x1800a5010], 2
call fcn.18005d4e0
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], esi
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movabs rax, 0x7239b21a38f536ba
mov dword [0x1800a5020], r15d
movsd qword [rsp + 0x30], xmm0
mov qword [0x1800b1ad8], rax
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov dword [0x1800a5010], 1
call fcn.18005d4e0
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], esi
mov ebx, dword [rax]
movabs rax, 0x424d4687fa1e5652
mov qword [0x1800b1ad8], rax
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov dword [0x1800a5020], r15d
mov dword [0x1800a5010], 1
call fcn.18005d4e0
test ebx, ebx
je 0x18000984b
cmp dword [rax], r15d
jne 0x18000984b
movss xmm0, dword [rsp + 0x30]
mov qword [rsp + 0xa0], r15
movss dword [rsp + 0xa0], xmm6
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov qword [rsp + 0xa0], r15
shufps xmm6, xmm6, 0xaa
movss dword [rsp + 0xa0], xmm6
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f0], rax
mov qword [rsp + 0xa0], r15
movss dword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f8], rax
lea rax, [rsp + 0x90]
mov qword [0x1800a5100], rax
lea rax, [rsp + 0x98]
mov qword [0x1800a5108], rax
mov dword [0x1800a5020], r15d
mov qword [0x1800b1ad8], r13
mov dword [0x1800a5010], 5
call fcn.18005d4e0
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], esi
mov ebx, dword [rax]
movabs rax, 0x47d6f43d77935c75
mov qword [0x1800b1ad8], rax
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov dword [0x1800a5020], r15d
mov dword [0x1800a5010], 1
call fcn.18005d4e0
cmp dword [rax], r15d
je 0x18000984b
test ebx, ebx
je 0x18000984b
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], ebp
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a50e8], rax
mov dword [rsp + 0xa0], esi
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a50f0], rax
mov dword [rsp + 0xa0], 0x11
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r15d
mov qword [0x1800b1ad8], r12
mov dword [0x1800a5010], 3
call fcn.18005d4e0
cmp dword [rax], r15d
je 0x18000984b
mov qword [rsp + 0xa0], r15
movabs rax, 0x17c07fc640e86b4e
mov qword [0x1800b1ad8], rax
mov dword [rsp + 0xa0], esi
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], 0x796e
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f0], rax
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], r15d
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a50f8], rax
mov dword [rsp + 0xa0], r15d
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a5100], rax
mov dword [rsp + 0xa0], r15d
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a5108], rax
mov dword [0x1800a5020], r15d
mov dword [0x1800a5010], 5
call fcn.18005d4e0
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa0], ebp
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movabs rax, 0x96a05e4fb321b1ba
mov qword [0x1800b1ad8], rax
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50e8], rax
mov qword [rsp + 0xa0], r15
movss dword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a50f0], rax
mov qword [rsp + 0xa0], r15
shufps xmm0, xmm0, 0xaa
movss dword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
movss dword [rsp + 0xa0], xmm1
mov qword [0x1800a50f8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
mov qword [0x1800a5100], rax
mov dword [rsp + 0xa0], 1
mov rax, qword [rsp + 0xa0]
mov qword [0x1800a5108], rax
mov dword [0x1800a5020], r15d
movsd qword [rsp + 0x30], xmm1
mov dword [0x1800a5010], 5
call fcn.18005d4e0
movabs rbx, 0x50fac3a3e030a6e1
inc edi
cmp edi, 0x20
jl 0x1800093c1
movaps xmm6, xmmword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x88
ret