Function at 0x1400fa740
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp edx, 1
jle 0x1400fa822
mov rdx, qword [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], bl
jne 0x1400fa790
lea rcx, [rbp - 0x50]
call fcn.140017aa0
lea rcx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
cmp r14, 0xf
cmova rcx, rsi
mov r8, qword [rbp - 0x40]
cmp r8, 0xa
jne 0x1400fa7e8
lea rdx, str._safe_mode
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400fa7e8
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x14012c870], 1
cmp r14, 0xf
jbe 0x1400fa822
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400fa81a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fa81a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14001bb60
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov ecx, 0x50
call fcn.1400c883c
mov r14, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x40
mov esi, 0x4f
mov qword [rbp - 0x18], rsi
movaps xmm0, xmmword [str.0g1PYPsG18cWinAQ0h92ZaIwOkbPEvRb9V8vSDD2vvkm1LhmmMHRMD1AmnUgGydf]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140111610]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140111620]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140111630]
movups xmmword [rax + 0x30], xmm1
mov byte [rax + 0x40], bl
mov qword [rbp - 0x48], rbx
lea ecx, [rsi + 1]
call fcn.1400c883c
mov r8, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x40
mov qword [rbp - 0x38], rsi
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rax + 0x30], xmm1
movzx eax, byte [r14 + 0x40]
mov byte [r8 + 0x40], al
mov r9, qword [rdi + 0x10]
nop word [rax + rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400fa8dd
mov rcx, qword [rdi]
xor edx, edx
mov rax, rbx
div r9
movzx ecx, byte [rdx + rcx]
lea rax, [rbp - 0x50]
cmp rsi, 0xf
cmova rax, r8
xor byte [rax + rbx], cl
inc rbx
cmp rbx, 0x40
jae 0x1400fa90b
mov rsi, qword [rbp - 0x38]
mov r8, qword [rbp - 0x50]
jmp 0x1400fa8d0
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x50]
call fcn.140014d80
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400fa957
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fa951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fa951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001bb60
nop
mov edx, 0x50
mov rcx, r14
call fcn.14001bb60
movabs rdi, 0x7ffffffffd050f7e
movabs rbx, 0x7fffffffffffffff
nop dword [rax + rax]
lea rcx, [rbp - 0x58]
call fcn.140011600
mov rax, qword [rbp - 0x58]
cmp rax, rdi
jg 0x1400fa99e
add rax, 0x2faf080
mov qword [rbp - 0x60], rax
jmp 0x1400fa9a2
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x60]
call fcn.140018db0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400fa980
mov ecx, select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400fa980
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3