Function at 0x140118f40
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 + 0x228]
xor esi, esi
test al, al
jne 0x140118f92
mov eax, dword [rbx]
sub eax, 9
cmp eax, 0xc
ja 0x140118f92
mov rcx, qword [r14 + 0x60]
mov rdx, rbx
test rcx, rcx
je 0x1401190b4
mov rax, qword [rcx]
call qword [rax + 0x288]
jmp 0x14011925e
cmp dword [rbx], 0x18
jne 0x140118fa4
mov byte [r14 + 0x1c1], 1
jmp 0x14011925e
cmp dword [rbx], 0x17
jne 0x140118fb5
mov byte [r14 + 0x1c1], sil
jmp 0x14011925e
cmp dword [rbx], 3
je 0x14011906d
cmp dword [rbx], 0x15
jne 0x1401190b1
movzx ecx, word [rbx + 0x20]
test ecx, ecx
je 0x140119031
cmp ecx, 1
jne 0x1401190b1
cmp byte [r14 + 0x739], sil
je 0x140119020
lea rdi, [r14 + 0x730]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test al, al
jne 0x140119020
mov edx, dword [r14 + 0x73c]
mov r8b, 1
inc edx
mov rax, qword [r14]
mov rcx, r14
mov rbx, qword [rdi]
call qword [rax + 0x360]
mov r8b, 1
mov rcx, rdi
mov edx, eax
call qword [rbx + Ordinal_26]
jmp 0x14011925e
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x398]
jmp 0x14011925e
cmp byte [r14 + 0x739], sil
je 0x14011905c
lea rdi, [r14 + 0x730]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test al, al
jne 0x14011905c
mov edx, dword [r14 + 0x73c]
dec edx
xor r8d, r8d
jmp 0x140119001
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x390]
jmp 0x14011925e
movzx ecx, word [rbx + 0x1c]
sub ecx, 0xd
je 0x14011923d
sub ecx, 0x14
je 0x14011922f
sub ecx, 1
je 0x140119221
sub ecx, 1
je 0x1401191eb
sub ecx, 1
je 0x1401191cc
sub ecx, 2
je 0x14011917b
sub ecx, 2
je 0x140119109
cmp ecx, 0x19
je 0x1401190c1
mov rdx, rbx
mov rcx, r14
call fcn.1401146c8
jmp 0x14011925e
mov rax, qword [r14 + 0x730]
lea rcx, [r14 + 0x730]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test al, al
je 0x14011925e
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14011925e
mov rax, qword [r14 + 0x730]
lea rcx, [r14 + 0x730]
call qword [rax + 0x78]
jmp 0x14011925e
lea rcx, [r14 + 0x748]
call fcn.1400e944c
test eax, eax
jle 0x14011925e
mov rcx, r14
call fcn.14011a734
lea rbx, [r14 + 0x730]
mov esi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + Ordinal_133]
mov rcx, qword [r14 + 0x768]
add rcx, 0x5a8
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
mov rdi, qword [rbx]
lea edx, [rsi + 2]
cmp edx, eax
jle 0x14011916a
lea rcx, [r14 + 0x5a8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
lea edx, [rax - 1]
jmp 0x14011916d
lea edx, [rsi + 1]
mov r8b, 1
mov rcx, rbx
call qword [rdi + Ordinal_26]
jmp 0x14011925e
lea rcx, [r14 + 0x748]
call fcn.1400e944c
test eax, eax
jle 0x14011925e
mov rcx, r14
call fcn.14011a7b4
add r14, 0x730
mov rcx, r14
lea ebx, [rax - 1]
mov rax, qword [r14]
call qword [rax + Ordinal_133]
mov rax, qword [r14]
mov r8b, 1
mov rcx, r14
mov r9, qword [rax + 0x18]
test ebx, ebx
jle 0x1401191c2
mov edx, ebx
jmp 0x1401191c4
xor edx, edx
call r9
jmp 0x14011925e
mov rax, qword [r14]
lea rbx, [r14 + 0x730]
mov rdi, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [rax + 0x360]
mov edx, eax
jmp 0x14011916d
mov rbx, qword [r14]
lea rcx, [r14 + 0x5a8]
mov rax, qword [rcx]
lea rdi, [r14 + 0x730]
mov rsi, qword [rdi]
call qword [rax + Ordinal_26]
mov r8b, 1
mov rcx, r14
lea edx, [rax - 1]
call qword [rbx + 0x360]
mov r8b, 1
mov rcx, rdi
mov edx, eax
call qword [rsi + Ordinal_26]
jmp 0x14011925e
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x3a8]
jmp 0x14011925e
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x3a0]
jmp 0x14011925e
mov edx, dword [r14 + 0x73c]
cmp edx, 0xffffffff
je 0x14011925e
lea rcx, [r14 + 0x5a8]
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