Function at 0x140016a40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x128]
sub rsp, 0x220
cmp byte [0x1405aea24], 0
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x18], r15
je 0x140016a7c
mov ecx, dword [0x1405aea4c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140016ab0
cmp byte [0x1405aea26], 0
je 0x140016a96
mov ecx, dword [0x1405aea54]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140016ab0
cmp byte [0x1405aea25], 0
je 0x140016ad4
mov ecx, dword [0x1405aea50]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140016ad4
movups xmm0, xmmword [0x1405ae890]
lea rcx, [rsp + 0x40]
movsd xmm1, qword [0x1405ae8a0]
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
call fcn.140006ea0
mov rax, qword [0x1405aff70]
lea rcx, [rbp + 0x60]
movdqa xmm0, xmmword [0x140187ca0]
xor esi, esi
movdqa xmm1, xmmword [0x140187d10]
xor edx, edx
mov r8d, Ordinal_33
movups xmmword [rax + 0x38c4], xmm0
mov qword [rax + 0x37d8], 0x41000000
movdqa xmm0, xmmword [0x140187cd0]
movups xmmword [rax + 0x38e4], xmm0
mov qword [rax + 0x37d0], rsi
movdqa xmm0, xmmword [0x140187930]
movups xmmword [rax + 0x38d4], xmm1
mov dword [rax + 0x37f4], 0x40e00000
movdqa xmm1, xmmword [0x140187eb0]
movups xmmword [rax + 0x38f4], xmm0
mov qword [rax + 0x37fc], 0x40a00000
movups xmmword [rax + 0x38b4], xmm1
mov qword [rax + 0x380c], 0x40800000
movdqa xmm1, xmmword [0x140187b80]
movups xmmword [rax + 0x3b94], xmm1
mov dword [rax + 0x383c], 0x40000000
mov dword [rax + 0x3804], 0x40c00000
xorps xmm1, xmm1
mov dword [rax + 0x3808], 0x40400000
mov qword [rax + 0x381c], 0x41200000
mov dword [rax + 0x3814], esi
mov dword [rax + 0x3818], 0x41200000
or dword [rax + 0x47b8], 3
movdqa xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x47c8], rsi
mov qword [rax + 0x47d0], rsi
mov dword [rax + 0x47bc], 1
mov dword [rax + 0x47d8], 0x44480000
mov dword [rax + 0x47dc], 0x43fa0000
mov dword [rax + 0x47c0], 1
movabs rax, 0x58ee25e11409a9f
mov qword [rsp + 0x70], rax
movabs rax, 0x6ff1934190a4085a
mov qword [rsp + 0x78], rax
movabs rax, 0x61e08b097f29fbd2
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rbp - 0x70], rax
movabs rax, 0x6ff1934190a47f35
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x50]
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x80], xmm1
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x90], xmm0
movups xmmword [rcx + 0xa0], xmm1
lea rcx, [rbp + 0x60]
call fcn.1400324a0
mov r8, qword [0x1405aff70]
mov rax, qword [r8 + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x3ed8]
movsd xmm0, qword [rax + 0x20]
movsd qword [rsp + 0x38], xmm0
cmp qword [rax + 0x1b0], rsi
jne 0x140016cef
mov ecx, 0x258
cmp qword [r8 + 0x4b38], rsi
je 0x140016cf4
mov ecx, 0x228
movss xmm0, dword [rcx + rax]
subss xmm0, dword [rax + 0x20]
movss xmm1, dword [rcx + rax + 4]
lea rcx, [rsp + 0x40]
subss xmm1, dword [rax + 0x24]
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x3ed8]
addss xmm0, dword [rsp + 0x38]
mov qword [rsp + 0x218], r14
addss xmm1, dword [rsp + 0x3c]
mov rbx, qword [rax + 0x2a0]
movss dword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x140187a00]
movups xmmword [rsp + 0x40], xmm0
movss dword [rsp + 0x64], xmm1
call fcn.1400295b0
mov rdi, qword [0x1405aff20]
mov r15d, eax
mov dword [rsp + 0x30], 0x3f800000
mov dword [rsp + 0x34], 0x3f800000
mov qword [rsp + 0x40], rsi
test eax, 0xff000000
je 0x140016e06
mov r14, qword [rbx + 0x98]
cmp rdi, r14
je 0x140016d96
mov rdx, rdi
mov rcx, rbx
call fcn.1400480d0
mov edx, 6
mov r8d, 4
mov rcx, rbx
call fcn.140048150
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.140048270
cmp rdi, r14
je 0x140016dff
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x140016de7
mov rax, rsi
jmp 0x140016df0
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rax
call fcn.140047e90
mov r8, qword [0x1405aff70]
mov rax, qword [r8 + 0x3ed8]
lea rcx, [rsp + 0x40]
movdqa xmm0, xmmword [0x1401880c0]
movups xmmword [rsp + 0x40], xmm0
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x3ed8]
mov rbx, qword [rax + 0x2a0]
call fcn.1400295b0
mov rdi, qword [0x1405aff10]
mov r15d, eax
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x44], 0x3f800000
mov qword [rsp + 0x30], rsi
test eax, 0xff000000
je 0x140016eda
mov r14, qword [rbx + 0x98]
cmp rdi, r14
je 0x140016e76
mov rdx, rdi
mov rcx, rbx
call fcn.1400480d0
mov edx, 6
mov r8d, 4
mov rcx, rbx
call fcn.140048150
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.140048270
cmp rdi, r14
je 0x140016eda
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
je 0x140016ecb
mov rax, qword [rbx + 0x70]
mov rsi, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rsi
call fcn.140047e90
cmp byte [0x1405aea08], 0
mov r15, qword [rsp + 0x210]
mov r14, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x238]
mov rbx, qword [rsp + 0x230]
jne 0x140016f29
lea rcx, [0x1405ae900]
call fcn.14000f0d0
call fcn.14000eda0
add rsp, 0x220
pop rbp
jmp fcn.1400346b0
mov rax, qword [0x1405ae898]
inc rax
test rax, 0xfffffffffffffffe
jne 0x140016f76
call fcn.140003a80
mov rax, qword [0x1405ae898]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140016f5d
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
mov byte [0x1405aea09], 0
call fcn.14000eda0
add rsp, 0x220
pop rbp
jmp fcn.1400346b0
lea rcx, [0x1405ae900]
call fcn.140010d40
call fcn.14000eda0
add rsp, 0x220
pop rbp
jmp fcn.1400346b0