Function at 0x1801222b8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rdx
mov r14, rcx
call qword [rax + 0x218]
xor esi, esi
test al, al
jne 0x18012230a
mov eax, dword [rbx]
sub eax, 9
cmp eax, 0xc
ja 0x18012230a
mov rcx, qword [r14 + 0x60]
mov rdx, rbx
test rcx, rcx
je 0x18012242c
mov rax, qword [rcx]
call qword [rax + 0x278]
jmp 0x1801225d6
cmp dword [rbx], 0x18
jne 0x18012231c
mov byte [r14 + 0x1c1], 1
jmp 0x1801225d6
cmp dword [rbx], 0x17
jne 0x18012232d
mov byte [r14 + 0x1c1], sil
jmp 0x1801225d6
cmp dword [rbx], 3
je 0x1801223e5
cmp dword [rbx], 0x15
jne 0x180122429
movzx ecx, word [rbx + 0x20]
test ecx, ecx
je 0x1801223a9
cmp ecx, 1
jne 0x180122429
cmp byte [r14 + 0x731], sil
je 0x180122398
lea rdi, [r14 + 0x728]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x70]
test al, al
jne 0x180122398
mov edx, dword [r14 + 0x734]
mov r8b, 1
inc edx
mov rax, qword [r14]
mov rcx, r14
mov rbx, qword [rdi]
call qword [rax + 0x350]
mov r8b, 1
mov rcx, rdi
mov edx, eax
call qword [rbx + 0x18]
jmp 0x1801225d6
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x388]
jmp 0x1801225d6
cmp byte [r14 + 0x731], sil
je 0x1801223d4
lea rdi, [r14 + 0x728]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x70]
test al, al
jne 0x1801223d4
mov edx, dword [r14 + 0x734]
dec edx
xor r8d, r8d
jmp 0x180122379
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x380]
jmp 0x1801225d6
movzx ecx, word [rbx + 0x1c]
sub ecx, 0xd
je 0x1801225b5
sub ecx, 0x14
je 0x1801225a7
sub ecx, 1
je 0x180122599
sub ecx, 1
je 0x180122563
sub ecx, 1
je 0x180122544
sub ecx, 2
je 0x1801224f3
sub ecx, 2
je 0x180122481
cmp ecx, 0x19
je 0x180122439
mov rdx, rbx
mov rcx, r14
call fcn.18011db64
jmp 0x1801225d6
mov rax, qword [r14 + 0x728]
lea rcx, [r14 + 0x728]
call qword [rax + 0x70]
test al, al
je 0x1801225d6
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1801225d6
mov rax, qword [r14 + 0x728]
lea rcx, [r14 + 0x728]
call qword [rax + 0x78]
jmp 0x1801225d6
lea rcx, [r14 + 0x740]
call fcn.1800f2634
test eax, eax
jle 0x1801225d6
mov rcx, r14
call fcn.180123b5c
lea rbx, [r14 + 0x728]
mov esi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x80]
mov rcx, qword [r14 + 0x760]
add rcx, 0x5a0
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [rbx]
lea edx, [rsi + 2]
cmp edx, eax
jle 0x1801224e2
lea rcx, [r14 + 0x5a0]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [rax - 1]
jmp 0x1801224e5
lea edx, [rsi + 1]
mov r8b, 1
mov rcx, rbx
call qword [rdi + 0x18]
jmp 0x1801225d6
lea rcx, [r14 + 0x740]
call fcn.1800f2634
test eax, eax
jle 0x1801225d6
mov rcx, r14
call fcn.180123bdc
add r14, 0x728
mov rcx, r14
lea ebx, [rax - 1]
mov rax, qword [r14]
call qword [rax + 0x80]
mov rax, qword [r14]
mov r8b, 1
mov rcx, r14
mov r9, qword [rax + 0x18]
test ebx, ebx
jle 0x18012253a
mov edx, ebx
jmp 0x18012253c
xor edx, edx
call r9
jmp 0x1801225d6
mov rax, qword [r14]
lea rbx, [r14 + 0x728]
mov rdi, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [rax + 0x350]
mov edx, eax
jmp 0x1801224e5
mov rbx, qword [r14]
lea rcx, [r14 + 0x5a0]
mov rax, qword [rcx]
lea rdi, [r14 + 0x728]
mov rsi, qword [rdi]
call qword [rax + 0x18]
mov r8b, 1
mov rcx, r14
lea edx, [rax - 1]
call qword [rbx + 0x350]
mov r8b, 1
mov rcx, rdi
mov edx, eax
call qword [rsi + 0x18]
jmp 0x1801225d6
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x398]
jmp 0x1801225d6
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x390]
jmp 0x1801225d6
mov edx, dword [r14 + 0x734]
cmp edx, 0xffffffff
je 0x1801225d6
lea rcx, [r14 + 0x5a0]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x30]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret