Function at 0x14000e2d4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov r10, qword [rcx + 8]
xor r11d, r11d
xor ebp, ebp
mov r12, r9
mov r13, r8
mov rsi, rdx
mov rdi, rcx
lea ebx, [r11 + 1]
test r10, r10
jne 0x14000e30f
xor al, al
jmp 0x14000e520
mov r8, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
and dword [rdx], ebp
mov byte [r8], bpl
mov byte [r14], bpl
mov byte [r9], bpl
mov byte [r13], bpl
mov rcx, qword [rdi]
movsxd rdx, r11d
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e341
lea rax, [rcx + r10*2]
cmp word [rax], 0x2b
je 0x14000e380
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e354
lea rax, [rcx + r10*2]
cmp word [rax], 0x5e
je 0x14000e380
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e367
lea rax, [rcx + r10*2]
cmp word [rax], 0x21
je 0x14000e380
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e37a
lea rax, [rcx + r10*2]
cmp word [rax], 0x23
jne 0x14000e3e7
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e38d
lea rax, [rcx + r10*2]
cmp word [rax], 0x2b
jne 0x14000e399
mov byte [r13], bl
jmp 0x14000e3df
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e3a6
lea rax, [rcx + r10*2]
cmp word [rax], 0x5e
jne 0x14000e3b1
mov byte [r9], bl
jmp 0x14000e3df
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e3be
lea rax, [rcx + r10*2]
cmp word [rax], 0x21
jne 0x14000e3c9
mov byte [r14], bl
jmp 0x14000e3df
lea rax, [rcx + rdx*2]
cmp rdx, r10
jb 0x14000e3d6
lea rax, [rcx + r10*2]
cmp word [rax], 0x23
jne 0x14000e3df
mov byte [r8], bl
add r11d, ebx
jmp 0x14000e32e
mov rax, qword [rdi]
movsxd rcx, r11d
add r11d, ebx
cmp rcx, r10
lea rcx, [rax + rcx*2]
mov dword [rsp + 0x70], r11d
jb 0x14000e402
lea rcx, [rax + r10*2]
cmp word [rcx], 0x7b
jne 0x14000e4e4
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.140005114
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov ecx, 0x7d
mov rdx, rdi
call fcn.14000e070
test al, al
je 0x14000e4ca
lea rdi, [0x14009ebd0]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rdi]
call fcn.14006f698
test eax, eax
je 0x14000e464
lea rax, reloc.WSOCK32.dll_accept
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x14000e441
cmp ebp, 0x62
jne 0x14000e4b6
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.140002570
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
jne 0x14000e497
lea rcx, [rsp + 0x20]
call fcn.140001d20
jmp 0x14000e308
bt ecx, 9
jae 0x14000e4a1
mov byte [r12], bl
bt ecx, 0xa
jae 0x14000e4aa
mov byte [r14], bl
bt ecx, 8
jae 0x14000e4d8
mov byte [r13], bl
jmp 0x14000e4d8
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0x9eee0], 0
je 0x14000e4ce
xor bl, bl
jmp 0x14000e4d8
movzx eax, byte [rax + rcx + 0x9ef50]
mov dword [rsi], eax
lea rcx, [rsp + 0x20]
call fcn.140001d20
jmp 0x14000e518
movzx ecx, word [rcx]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x14000e308
bt ecx, 9
jae 0x14000e505
mov byte [r12], bl
bt ecx, 0xa
jae 0x14000e50e
mov byte [r14], bl
bt ecx, 8
jae 0x14000e518
mov byte [r13], bl
and dword [rsi], 0xff
mov al, bl
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret