Function at 0x14004e0f0
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
lea rbp, [rax - 0x28]
sub rsp, 0x120
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x14004e134
cmp byte [rdx + 1], sil
jne 0x14004e134
cmp byte [rdx + 2], sil
jne 0x14004e134
cmp byte [rdx + 3], sil
jne 0x14004e134
cmp byte [rdx + 4], sil
je 0x14004e2fd
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14004e283
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14004e283
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004e1ab
mov al, byte [rsp + 0x30]
mov cl, 0x80
cmp byte [rbx], sil
je 0x14004e173
or al, cl
or byte [rbp - 0x40], cl
mov byte [rsp + 0x30], al
cmp byte [rbx + 1], sil
je 0x14004e182
or al, cl
or byte [rbp - 0x3f], cl
mov byte [rsp + 0x30], al
cmp byte [rbx + 2], sil
je 0x14004e18c
or byte [rsp + 0x31], cl
cmp byte [rbx + 3], sil
je 0x14004e196
or byte [rsp + 0x32], cl
cmp byte [rbx + 4], sil
je 0x14004e1a0
or byte [rsp + 0x7b], cl
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x14004e1b6
cmp byte [rbx + 1], sil
je 0x14004e1d9
movzx eax, byte [rdi + 0x32]
mov rcx, qword [rdi + 0x28]
mov edx, pe_nt_image_headers64
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recv
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x14004e202
movzx eax, byte [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov edx, pe_nt_image_headers64
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recvfrom
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [rbx + 3]
test al, al
je 0x14004e254
cmp byte [rbx + 2], sil
jne 0x14004e22d
cmp byte [rdi + 0x20], sil
jne 0x14004e22d
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14004e244
test al, al
je 0x14004e254
movzx eax, byte [rdi + 0x31]
mov edx, pe_nt_image_headers64
shl eax, 0x10
movsxd r9, eax
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x14004e2f5
movzx eax, byte [rdi + 0x35]
mov rcx, qword [rdi + 0x28]
mov edx, pe_nt_image_headers64
shl eax, 0x10
mov r8d, 0x5b
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004e2f5
cmp byte [rbx], sil
je 0x14004e299
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.14003c240
cmp byte [rbx + 1], sil
je 0x14004e2b0
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.14003c240
cmp byte [rbx + 2], sil
je 0x14004e2c7
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14003c240
cmp byte [rbx + 3], sil
je 0x14004e2de
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14003c240
cmp byte [rbx + 4], sil
je 0x14004e2f5
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.14003c240
mov rcx, rdi
call fcn.14003c2b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret