Function at 0x14003a980
Capabilities:
Encode data using xor
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004ed50], rax
lea rdx, str.NtReadVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004edf8], rax
cmp qword [0x14004ed50], rdi
je 0x14003ac9f
test rax, rax
je 0x14003ac9f
lea rcx, [rbp - 0x20]
call fcn.14003a5d0
mov rbx, rax
lea rsi, [0x14004e228]
cmp rsi, rax
je 0x14003aa7d
mov rdx, qword [0x14004e240]
cmp rdx, 0xf
jbe 0x14003aa42
mov rcx, qword [0x14004e228]
inc rdx
cmp rdx, 0x1000
jb 0x14003aa3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003aaaf
mov rcx, r8
call fcn.14003c1f4
movdqa xmm0, xmmword [0x140047080]
movdqu xmmword [0x14004e238], xmm0
mov byte [0x14004e228], dil
movups xmm0, xmmword [rbx]
movups xmmword [0x14004e228], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14004e238], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14003aabb
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003aab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c1f4
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
cmp qword [0x14004e240], 0xf
cmova rsi, qword [0x14004e228]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x11
lea rcx, [rbp - 0x20]
call fcn.14003a770
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003aafe
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14003baa0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14003ab48
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c1f4
movdqa xmm0, xmmword [0x140047080]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rcx, qword [0x14004ee18]
test rcx, rcx
jne 0x14003abd4
nop word [rax + rax]
mov dword [rbp - 0x30], 0x90918da7
mov dword [rbp - 0x2c], 0x8d938f8b
mov word [rbp - 0x28], 0xcac9
xor eax, eax
mov byte [rbp - 0x26], al
mov eax, edi
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x30]
add rdx, rcx
lea ecx, [rax - 0x1f]
xor byte [rdx], cl
inc eax
cmp eax, 0xa
jb 0x14003ab90
mov byte [rbp - 0x26], 0
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14004ee18], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14004ee18]
test rcx, rcx
je 0x14003ab70
lea rdx, [0x14004ed9c]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x14004ed9c]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14004ed30], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14003ac6a
movdqa xmm0, xmmword [0x1400471e0]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x91909d83
mov word [rbp - 0xc], 0x8586
xor eax, eax
mov byte [rbp - 0xa], al
nop word [rax + rax]
movsxd rax, edi
lea rdx, [rbp - 0x20]
add rdx, rax
lea eax, [rdi - 0x1f]
xor byte [rdx], al
inc edi
cmp edi, 0x16
jb 0x14003ac30
mov byte [rbp - 0xa], 0
lea rdx, [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003b100
lea rdx, [0x14003b2d0]
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]
call fcn.14003a530
mov qword [0x14004ee10], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140035050
call fcn.140034d10
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
call fcn.14003a120
jmp 0x14003ac98
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret