Function at 0x14016ade0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbx, rcx
cmp dword [rsp + 0xe0], 0x100
jne 0x14016b250
mov rsi, qword [rsp + 0xe8]
lea rax, [rsi - 0x1b]
test rax, 0xffffffffffffffbe
jne 0x14016ae31
cmp rsi, 0x1c
jne 0x14016b250
xor eax, eax
mov qword [rcx + 0x9d0], rax
lea rdi, [rcx + 0x9d8]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14016ae55
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
xor eax, eax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x20], rax
mov qword [rbx + 0xa28], rax
lea r14, [rbx + 0xa30]
mov rdx, qword [r14 + 0x18]
test rdx, rdx
je 0x14016ae83
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rax
mov qword [rbx + 0xa80], rax
lea rbp, [rbx + 0xa88]
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x14016aeb2
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x18]
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rax
mov qword [rbx + 0xad8], rax
lea r15, [rbx + 0xae0]
mov rdx, qword [r15 + 0x18]
test rdx, rdx
je 0x14016aee0
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
xor eax, eax
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x20], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x20], eax
cmp dword [rbx + 0x678], 1
jne 0x14016af41
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.14005d370
nop
mov rdx, rax
lea rcx, [rbx + 0x9b8]
call fcn.14002ccd0
nop
lea rcx, [rsp + 0x50]
call fcn.14000bbb0
nop
lea rax, vtable.CVolObject.0
mov qword [rsp + 0x30], rax
jmp 0x14016b233
cmp dword [rbx + 0x67c], 0
je 0x14016af5c
lea rcx, [rbx + 0x1560]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xd8]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14016afc9
xor r15d, r15d
mov qword [rbx + 0x9d0], r15
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14016af88
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x28], r15
mov qword [rdi + 0x20], r15
lea rdx, [0x1402c1898]
mov rcx, rdi
call fcn.140195c20
cmp dword [rbx + 0x67c], r15d
lea r15, [rbx + 0x1bf0]
je 0x14016afc1
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0xc8]
mov r12d, 0x2000
jmp 0x14016afd5
lea r15, [rbx + 0x1bf0]
mov r12d, dword [rsp + 0x28]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14016b03c
xor eax, eax
mov qword [rbx + 0xa28], rax
mov rdx, qword [r14 + 0x18]
test rdx, rdx
je 0x14016b002
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rax
lea rdx, str.Shift
mov rcx, r14
call fcn.140195c20
cmp dword [rbx + 0x67c], 0
je 0x14016b034
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0xc8]
mov dword [rsp + 0x24], 0x8000
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14016b0a7
xor eax, eax
mov qword [rbx + 0xa80], rax
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x14016b06a
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x18]
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rax
lea rdx, [0x1402c18b8]
mov rcx, rbp
call fcn.140195c20
cmp dword [rbx + 0x67c], 0
je 0x14016b09c
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0xc8]
mov dword [rsp + 0xe0], 0x4000
lea rax, [rsi - 0x10]
cmp rax, 1
jbe 0x14016b221
cmp rsi, 0x12
je 0x14016b221
mov dword [rsp + 0x20], esi
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.14005d370
nop
mov rdx, rax
lea rcx, [rbx + 0xac0]
call fcn.14002ccd0
nop
lea rcx, [rsp + 0x50]
call fcn.14000bbb0
nop
lea rax, vtable.CVolObject.0
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x9d0]
lea r8, [0x1402ac8c0]
test rax, rax
jne 0x14016b127
cmp qword [rbx + 0xa00], rax
jne 0x14016b118
mov rax, r8
jmp 0x14016b127
cmp qword [rdi + 0x28], 0
jne 0x14016b123
xor eax, eax
jmp 0x14016b127
mov rax, qword [rdi + 0x18]
mov r9, r8
sub r9, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x14016b144
add rax, 2
test ecx, ecx
jne 0x14016b130
test edx, edx
jne 0x14016b1f8
mov rax, qword [rbx + 0xa28]
test rax, rax
jne 0x14016b175
cmp qword [rbx + 0xa58], rax
jne 0x14016b166
mov rax, r8
jmp 0x14016b175
cmp qword [r14 + 0x28], 0
jne 0x14016b171
xor eax, eax
jmp 0x14016b175
mov rax, qword [r14 + 0x18]
mov r9, r8
sub r9, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x14016b194
add rax, 2
test ecx, ecx
jne 0x14016b180
test edx, edx
jne 0x14016b1f8
mov rax, qword [rbx + 0xa80]
test rax, rax
jne 0x14016b1c1
cmp qword [rbx + 0xab0], rax
jne 0x14016b1b2
mov rax, r8
jmp 0x14016b1c1
cmp qword [rbp + 0x28], 0
jne 0x14016b1bd
xor eax, eax
jmp 0x14016b1c1
mov rax, qword [rbp + 0x18]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14016b1d8
add rax, 2
test ecx, ecx
jne 0x14016b1c4
test edx, edx
jne 0x14016b1f8
cmp dword [rbx + 0x67c], edx
je 0x14016b221
lea rcx, [rbx + 0x1560]
mov rax, qword [rcx]
call qword [rax + 0xd8]
mov dl, 1
jmp 0x14016b215
cmp dword [rbx + 0x67c], 0
je 0x14016b221
lea rcx, [rbx + 0x1560]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0xd8]
xor edx, edx
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0xc8]
mov esi, dword [rsp + 0xe0]
add esi, dword [rsp + 0x20]
add esi, dword [rsp + 0x24]
add esi, r12d
mov dword [rbx + 0x1f58], esi
lea rcx, [rbx + 0x690]
mov rax, qword [rcx]
call qword [rax + 0x180]
mov eax, 1
jmp 0x14016b252
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret