Function at 0x140041b00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
cmp edx, 0xff
jb 0x140041ce3
lea r9, [rbp - 0x6b]
mov eax, 0x80808081
mul edi
mov r8d, edx
shr r8d, 7
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140041b60
xor edi, edi
mov r8d, edi
mov qword [rsp + 0x70], rdi
mov ecx, 0xf
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x60], dil
lea rax, [rbp - 0x6b]
cmp r9, rax
je 0x140041bca
lea r8, [rbp - 0x6b]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.140037b70
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
mov r12d, 2
lea r15, [0x1400cbb94]
cmp rax, r12
jb 0x140041c5e
lea rax, [r8 + 2]
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x60]
cmp rcx, 0x10
cmovae rsi, qword [rsp + 0x60]
lea rax, [0x1400cbb96]
cmp rax, rsi
jbe 0x140041c21
lea rax, [rsi + r8]
cmp r15, rax
ja 0x140041c21
cmp rsi, r15
ja 0x140041c19
mov r14, rdi
jmp 0x140041c24
mov r14, rsi
sub r14, r15
jmp 0x140041c24
mov r14, r12
inc r8
lea rcx, [rsi + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub r12, r14
lea rdx, [r15 + 2]
add rdx, r14
lea rcx, [rsi + r14]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
jmp 0x140041c75
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140041110
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140041d65
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041cd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041cd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044ef4
jmp 0x140041d65
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
add edi, 0xffffffdf
cmp edi, 0x84
ja case.0x140041d13.41
lea r8, [0x140000000]
movzx ecx, byte [r8 + rdi + 0x41de0]
mov edx, dword [r8 + rcx*4 + 0x41dd8]
add rdx, r8
jmp rdx
bts eax, 8
shl eax, 0x10
mov r8d, 0x80
lea rdx, [rbp - 0x60]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x140041d90
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140041d50
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140037b70
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140044e00
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140041950
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400412c0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140041600
lea rdx, [0x1400d24d8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3