Function at 0x140111e78
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x228]
test al, al
jne 0x140111ec4
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x140111ec4
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
jne 0x140112123
mov rcx, rbx
call fcn.1400e3348
jmp 0x140112133
cmp dword [rdi], 0x13
jne 0x140111ef3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140112133
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, rbx
call fcn.14010f218
jmp 0x140112133
cmp dword [rdi], 3
mov ebp, InitCommonControls
jne 0x140111f13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140111f13
cmp word [rdi + 0x1c], bp
je 0x140111edd
cmp dword [rdi], ebp
jne 0x140111fbd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140112133
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140111f60
mov rcx, qword [rbx + 0x58]
lea r8, str.buttondown
mov byte [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
mov rdx, rbx
call fcn.1400d612c
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
test di, ax
jne 0x140111f99
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
jne 0x140111f99
lea rcx, [rbx + 0x730]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140112133
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x140112133
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [rbx + 0x738]
call qword [rax + 0x20]
jmp 0x140112133
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x140111ff6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x140111ff6
cmp dword [rdi], 0xf
jne 0x140111ff6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140112133
jmp 0x140111f60
cmp dword [rdi], 0xe
jne 0x140112035
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140112133
lea r8, [0x140271db8]
mov byte [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbx + 0x58]
mov rdx, rbx
call fcn.1400d612c
jmp 0x140112133
cmp dword [rdi], 0xb
jne 0x14011207a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140112133
or dword [rbx + 0x740], 8
mov rcx, rbx
call fcn.14010f218
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140112133
lea r8, [0x140265338]
jmp 0x140112016
cmp dword [rdi], 0xa
jne 0x1401120be
mov eax, dword [rbx + 0x740]
test al, 8
je 0x140112133
and eax, 0xfffffff7
mov rcx, rbx
mov dword [rbx + 0x740], eax
call fcn.14010f218
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140112133
lea r8, [0x140265350]
jmp 0x140112016
cmp dword [rdi], 0x1b
jne 0x1401120e1
mov rax, qword [rdi + 0x28]
lea r8, [0x140265ab0]
mov r9, qword [rdi + 0x20]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
jmp 0x140112024
cmp dword [rdi], 0x14
jne 0x140112114
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1d0]
test al, al
je 0x140112114
mov rax, qword [rdi + 0x28]
lea r8, [0x140265328]
mov r9, qword [rdi + 0x20]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
jmp 0x140112024
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
je 0x14011212b
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x140112133
mov rcx, rbx
call fcn.1400da1f8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret