Function at 0x140076d20
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 - 0x38]
sub rsp, 0x130
xor edi, edi
mov rbx, rcx
mov al, 1
cmp byte [rdx], dil
je 0x140076d4e
mov byte [rcx + 0x18], al
mov cl, al
jmp 0x140076d51
mov cl, byte [rcx + 0x18]
cmp byte [rdx + 2], dil
je 0x140076d5f
mov byte [rbx + 0x1a], al
mov r8b, al
jmp 0x140076d63
mov r8b, byte [rbx + 0x1a]
cmp byte [rdx + 3], dil
je 0x140076d6e
mov byte [rbx + 0x1b], al
jmp 0x140076d71
mov al, byte [rbx + 0x1b]
test cl, cl
je 0x140076d7f
cmp byte [rbx + 0x1e], dil
je 0x140076d7f
mov byte [rbx + 0x18], dil
cmp byte [rbx + 0x19], dil
je 0x140076d8f
cmp byte [rbx + 0x1f], dil
je 0x140076d8f
mov byte [rbx + 0x19], dil
test r8b, r8b
je 0x140076d9e
cmp byte [rbx + 0x20], dil
je 0x140076d9e
mov byte [rbx + 0x1a], dil
test al, al
je 0x140076dac
cmp byte [rbx + 0x21], dil
je 0x140076dac
mov byte [rbx + 0x1b], dil
cmp byte [rbx + 0x1c], dil
je 0x140076dbc
cmp byte [rbx + 0x22], dil
je 0x140076dbc
mov byte [rbx + 0x1c], dil
cmp qword [rbx + 0x28], rdi
je 0x140076e29
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140076f7f
mov dl, byte [rbx + 0x1e]
mov r8b, byte [rbx + 0x1f]
mov al, dl
neg al
mov al, r8b
sbb cl, cl
and byte [rbp - 0x30], cl
neg al
sbb cl, cl
and byte [rbp - 0x2f], cl
test dl, dl
jne 0x140076dfc
neg r8b
sbb al, al
and byte [rsp + 0x40], al
mov al, byte [rbx + 0x20]
neg al
mov al, byte [rbx + 0x21]
sbb cl, cl
and byte [rsp + 0x41], cl
neg al
sbb cl, cl
and byte [rsp + 0x42], cl
lea rcx, [rsp + 0x30]
neg dl
sbb al, al
and byte [rbp - 0x75], al
call qword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x140076f7f
mov ecx, QueryPathOfRegTypeLib
mov dword [rsp + 0x26], edi
mov dword [rsp + 0x20], 0xff
mov word [rsp + 0x24], di
mov byte [rsp + 0x2a], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
test si, ax
jne 0x140076e64
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x140076e83
cmp byte [rbx + 0x1e], dil
jne 0x140076e83
mov dl, 0xa0
lea rcx, [rsp + 0x20]
call fcn.1400783c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077b74
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x140076ea3
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x140076ec2
cmp byte [rbx + 0x1f], dil
jne 0x140076ec2
mov dl, 0xa1
lea rcx, [rsp + 0x20]
call fcn.1400783c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077b74
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x140076ee2
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x140076f01
cmp byte [rbx + 0x20], dil
jne 0x140076f01
mov dl, reloc.WSOCK32.dll_recvfrom
lea rcx, [rsp + 0x20]
call fcn.1400783c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077b74
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x140076f21
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x140076f40
cmp byte [rbx + 0x21], dil
jne 0x140076f40
mov dl, reloc.WSOCK32.dll_select
lea rcx, [rsp + 0x20]
call fcn.1400783c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077b74
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x140076f60
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x140076f7f
cmp byte [rbx + 0x22], dil
jne 0x140076f7f
mov dl, 0x5b
lea rcx, [rsp + 0x20]
call fcn.1400783c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077b74
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret