Function at 0x14001e9f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rdx
mov qword [rsp + 0x68], rdx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400bee5c]
mov qword [rsp + 0x70], rax
lea rax, [0x1400bed98]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x28], 8
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
mov dword [rsp + 0x28], 9
mov esi, r14d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x81020409
imul ebx
add edx, ebx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xfe
sub ebx, eax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x28], 0x30
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
mov rdx, qword [r8 + 8]
call qword [r8]
lea rdx, [0x1400012b0]
lea rcx, [rbp - 0x80]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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___int____ptr64]
cmp esi, 5
je 0x14001ebac
mov ecx, 1
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], 0x92bc
mov eax, r14d
nop word [rax + rax]
mov ecx, eax
lea rdx, [rsp + 0x24]
add rdx, rcx
lea ecx, [rax - 0x6f]
xor byte [rdx], cl
inc eax
mov ecx, dword [rsp + 0x20]
cmp eax, ecx
jb 0x14001eb80
mov byte [rsp + rcx + 0x24], 0
lea rdx, [rsp + 0x24]
lea rcx, [rbp - 0x80]
call fcn.1400ba190
inc esi
cmp esi, 6
jl 0x14001eae7
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400bee70]
movdqa xmm6, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xd
movups xmmword [rsp + 0x50], xmm0
mov ecx, dword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14001ec0f
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x14001ec0f
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x14001ec40
test cl, 4
jne 0x14001ec36
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001ec36
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14001ec40
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14001ec5d
lea rcx, [rsp + 0x30]
call fcn.1400b9e40
movdqu xmm6, xmmword [rsp + 0x40]
movdqa xmm1, xmmword [0x1400bee70]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14001ecc7
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14001eca5
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14001ec98
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ece3
mov rcx, r8
call fcn.1400bba5c
movdqa xmm1, xmmword [0x1400bee70]
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400b9ad0
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14001ecea
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x14001eced
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rbx, rcx
mov rsi, qword [rdi + 0x10]
add rsi, rdx
cmp rcx, rsi
je 0x14001ed13
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x14001ed00
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x6c], r8d
mov qword [rbp - 0x78], r15
lea rcx, [rbp - 0x78]
call fcn.1400b9a20
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400bba00
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret