Function at 0x14000dad8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x38]
sub rsp, 0x120
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
cmp byte [rdx], bl
jne 0x14000db1b
cmp byte [rdx + 1], bl
jne 0x14000db1b
cmp byte [rdx + 2], bl
jne 0x14000db1b
cmp byte [rdx + 3], bl
jne 0x14000db1b
cmp byte [rdx + 4], bl
je 0x14000dce9
mov rcx, qword [rcx + 0x28]
mov r12d, 2
test rcx, rcx
je 0x14000dc67
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14000dc67
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000db93
mov al, byte [rsp + 0x30]
mov cl, 0x80
cmp byte [rdi], bl
je 0x14000db5f
xor al, cl
xor byte [rbp - 0x40], cl
mov byte [rsp + 0x30], al
cmp byte [rdi + 1], bl
je 0x14000db6d
xor al, cl
xor byte [rbp - 0x3f], cl
mov byte [rsp + 0x30], al
cmp byte [rdi + 2], bl
je 0x14000db76
xor byte [rsp + 0x31], cl
cmp byte [rdi + 3], bl
je 0x14000db7f
xor byte [rsp + 0x32], cl
cmp byte [rdi + 4], bl
je 0x14000db88
xor byte [rsp + 0x7b], cl
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetKeyboardState]
mov r14d, 0xc0000001
cmp byte [rdi], bl
jne 0x14000dba2
cmp byte [rdi + 1], bl
je 0x14000dbc4
movzx eax, byte [rsi + 0x32]
mov rcx, qword [rsi + 0x28]
mov edx, 0x101
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recv
movsxd r9, eax
or r9, r14
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rdi + 2], bl
je 0x14000dbeb
movzx eax, byte [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
mov edx, 0x101
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recvfrom
movsxd r9, eax
or r9, r14
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rdi + 3], bl
je 0x14000dc3a
cmp byte [rdi + 2], bl
jne 0x14000dc13
cmp byte [rsi + 0x20], bl
jne 0x14000dc13
movzx eax, byte [rsi + 0x31]
mov edx, 0x105
shl eax, 0x10
movsxd r9, eax
mov eax, 0xe0000001
or r9, rax
jmp 0x14000dc2a
cmp byte [rdi + 3], bl
je 0x14000dc3a
movzx eax, byte [rsi + 0x31]
mov edx, 0x101
shl eax, 0x10
movsxd r9, eax
or r9, r14
mov rcx, qword [rsi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rdi + 4], bl
je 0x14000dcd4
movzx eax, byte [rsi + 0x35]
mov rcx, qword [rsi + 0x28]
mov edx, 0x101
shl eax, 0x10
mov r8d, 0x5b
movsxd r9, eax
or r9, r14
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000dcd4
cmp byte [rdi], bl
je 0x14000dc7c
mov r8b, byte [rsi + 0x33]
mov r9d, r12d
mov dl, 0xa0
mov rcx, rsi
call fcn.14000e008
cmp byte [rdi + 1], bl
je 0x14000dc92
mov r8b, byte [rsi + 0x34]
mov r9d, r12d
mov dl, RegisterTypeLib
mov rcx, rsi
call fcn.14000e008
cmp byte [rdi + 2], bl
je 0x14000dca8
mov r8b, byte [rsi + 0x30]
mov r9d, r12d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rsi
call fcn.14000e008
cmp byte [rdi + 3], bl
je 0x14000dcbe
mov r8b, byte [rsi + 0x31]
mov r9d, r12d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rsi
call fcn.14000e008
cmp byte [rdi + 4], bl
je 0x14000dcd4
mov r8b, byte [rsi + 0x35]
mov r9d, r12d
mov dl, 0x5b
mov rcx, rsi
call fcn.14000e008
cmp qword [rsi + 0x28], rbx
cmovne ebx, r12d
mov ecx, ebx
cmp dword [rsi], ebx
jl 0x14000dce4
mov ecx, dword [rsi]
call fcn.14000e248
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret