Function at 0x1400014c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
xor ebx, ebx
mov qword [rbp - 0x19], rbx
xor esi, esi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rax
movups xmmword [rbp + 0x17], xmm0
xor r12d, r12d
mov qword [rbp + 0x17], r12
xor r14d, r14d
mov qword [rbp + 0x1f], r14
xor edx, edx
mov qword [rbp + 0x27], rdx
movups xmmword [rbp - 1], xmm0
xor r13d, r13d
mov qword [rbp - 1], r13
xor r15d, r15d
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], rdx
xor edi, edi
mov dword [rbp - 0x39], edi
nop
call fcn.1400011c0
test eax, eax
je 0x140001550
cmp eax, edi
je 0x140001581
mov dword [rbp - 0x39], eax
cmp rbx, rsi
cmovne rsi, rbx
mov qword [rbp - 0x11], rsi
cmp r12, r14
cmovne r14, r12
mov qword [rbp + 0x1f], r14
cmp r13, r15
cmovne r15, r13
mov qword [rbp + 7], r15
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001a7a
cmp rbx, rsi
je 0x1400015b0
cmp r12, r14
je 0x1400015b0
cmp r13, r15
jne 0x140001832
mov r9d, 6
lea r8, [0x1400045c8]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.140001300
mov rbx, rax
lea rax, [rbp - 0x19]
cmp rax, rbx
je 0x14000163f
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14000161b
mov rax, qword [rbp - 9]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aa5
call fcn.1400020b0
mov rcx, qword [rbx]
mov qword [rbp - 0x19], rcx
mov rsi, qword [rbx + 8]
mov qword [rbp - 0x11], rsi
mov rax, qword [rbx + 0x10]
mov qword [rbp - 9], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140001685
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aa5
call fcn.1400020b0
mov r9d, 0xa
lea r8, [0x1400045f8]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.140001300
mov rbx, rax
lea rax, [rbp + 0x17]
cmp rax, rbx
je 0x140001714
test r12, r12
je 0x1400016f0
mov rax, qword [rbp + 0x27]
sub rax, r12
sar rax, 3
lea rdx, [rax*8]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400016e8
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aac
mov rcx, r12
call fcn.1400020b0
mov r12, qword [rbx]
mov qword [rbp + 0x17], r12
mov r14, qword [rbx + 8]
mov qword [rbp + 0x1f], r14
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x27], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000175a
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aac
call fcn.1400020b0
mov r9d, 6
lea r8, [0x1400045b8]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.140001300
mov rbx, rax
lea rax, [rbp - 1]
cmp rax, rbx
je 0x1400017e8
test r13, r13
je 0x1400017c4
mov rax, qword [rbp + 0xf]
sub rax, r13
sar rax, 3
lea rdx, [rax*8]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400017bc
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ab3
mov rcx, r13
call fcn.1400020b0
mov r13, qword [rbx]
mov qword [rbp - 1], r13
mov r15, qword [rbx + 8]
mov qword [rbp + 7], r15
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0xf], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000182e
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ab3
call fcn.1400020b0
mov rbx, qword [rbp - 0x19]
cmp rbx, rsi
je 0x140001a69
cmp r12, r14
je 0x140001a69
cmp r13, r15
je 0x140001a69
mov edx, 0x320
mov ecx, 0x140
call qword [sym.imp.KERNEL32.dll_Beep]
nop dword [rax]
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140001aba
call fcn.1400011c0
test eax, eax
je 0x140001a54
mov ecx, 0x47
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001936
cmp byte [0x140006714], 0
jne 0x14000193d
cmp byte [0x140006715], 0
sete al
mov byte [0x140006715], al
mov byte [0x140006714], 1
test al, al
je 0x1400018f0
nop dword [rax]
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [0x1400045d0]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, rsi
jne 0x1400018c0
jmp 0x14000191b
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [0x1400045c0]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, rsi
jne 0x1400018f0
cmp byte [0x140006715], 0
jne 0x14000193d
mov edx, 0x12c
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x14000193d
mov byte [0x140006714], 0
mov ecx, 0x55
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000197b
mov rbx, r12
mov qword [rsp + 0x20], 0
mov r9d, 0xa
lea r8, [0x1400045e8]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, r14
jne 0x140001950
mov ecx, 0x49
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400019bb
mov rbx, r13
nop
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [0x1400045a8]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, r15
jne 0x140001990
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov rbx, qword [rbp - 0x19]
jns 0x140001860
mov rbx, r12
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov r9d, 0xa
lea r8, [0x140004628]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, r14
jne 0x1400019e0
mov rbx, r13
nop
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [0x1400045d8]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, r15
jne 0x140001a10
mov edx, 0x12c
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov rbx, qword [rbp - 0x19]
jmp 0x140001860
mov rsi, rbx
mov qword [rbp - 0x11], rbx
mov r14, r12
mov qword [rbp + 0x1f], r12
mov r15, r13
mov qword [rbp + 7], r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp - 0x39]
jmp 0x140001550
lea rdx, str.Failed_to_open_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001cb0
lea rdx, [0x140001e80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, dword [rbp - 0x39]
jmp 0x140001550
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x12c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Beep]
nop
test r13, r13
je 0x140001b1d
mov rdx, qword [rbp + 0xf]
sub rdx, r13
sar rdx, 3
lea rdx, [rdx*8]
mov rax, r13
cmp rdx, 0x1000
jb 0x140001b14
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400020b0
nop
test r12, r12
je 0x140001b67
mov rdx, qword [rbp + 0x27]
sub rdx, r12
sar rdx, 3
lea rdx, [rdx*8]
mov rax, r12
cmp rdx, 0x1000
jb 0x140001b5e
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400020b0
nop
test rbx, rbx
je 0x140001baa
mov rcx, qword [rbp - 9]
sub rcx, rbx
and rcx, 0xfffffffffffffff8
mov rax, rbx
cmp rcx, 0x1000
jb 0x140001b9f
add rcx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, rbx
call fcn.1400020b0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002090
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret