Function at 0x1400c73c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1401400f0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x140132620]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x1007f72
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 6]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x12
jb 0x1400c7420
mov byte [rsp + 0x43], 0
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400c9d60
nop
cmp qword [rbp - 0x28], 0
je 0x1400c74da
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400c7464
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400cc600
lea rdx, [0x1400cb480]
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 r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400c748f
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400cc600
lea rdx, [0x1400cb480]
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]
lea rcx, [rsp + 0x58]
call fcn.1400ca3e0
test rax, rax
jne 0x1400c74da
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
cmp qword [rbp - 0x28], 0
je 0x1400c753d
mov rax, qword [rsp + 0x70]
lea rcx, [rbp - 0x38]
cmp qword [rax], rcx
jne 0x1400c753d
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x70]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x58]
mov dword [rax], edx
cmp byte [rbp - 0x2c], 0
je 0x1400c754d
lea rcx, [rsp + 0x58]
call fcn.1400ca3e0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_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 rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401185a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret