Function at 0x14001d1b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x48], ebx
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001d208
mov rsi, qword [rdi]
lea rax, [0x14002f958]
mov qword [rsp + 0x50], 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 + 0x48], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], r14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
mov byte [rbp - 0x2c], bl
mov byte [rbp - 0x37], bl
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], rbx
mov rax, qword [0x14003a220]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], rbx
mov r8d, 2
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400248cc
test rax, rax
jne 0x14001d2e3
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]
mov qword [rsp + rcx + 0x50], r14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov esi, 0x4ec4ec4f
mov r14b, 0x33
test byte [rsp + rcx + 0x60], 6
jne 0x14001d577
mov rax, qword [str._YZYCP]
mov qword [rsp + 0x48], rax
cmp byte [0x140030f07], bl
je 0x14001d361
mov r8d, ebx
lea r9, [rsp + 0x48]
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r14b
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 8
jl 0x14001d33c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400251f8
mov edx, dword [0x14003904c]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140031614]
call fcn.1400251f8
movsd xmm0, qword [str._DPSSg__XHRL]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x14002f580]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14002f584]
mov word [rsp + 0x2c], ax
cmp byte [0x14002f585], bl
je 0x14001d3e7
mov r8d, ebx
lea r9, [rsp + 0x20]
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r14b
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xe
jl 0x14001d3c2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400251f8
mov edx, dword [0x140039048]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140031614]
call fcn.1400251f8
movups xmm0, xmmword [str.__G_MWWNZPbL.D]
movups xmmword [rsp + 0x20], xmm0
movzx eax, word [0x14002fd10]
mov word [rsp + 0x30], ax
cmp byte [0x14002fd11], bl
je 0x14001d461
mov r8d, ebx
lea r9, [rsp + 0x20]
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r14b
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x12
jl 0x14001d43c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400251f8
mov edx, dword [0x14003a124]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140031614]
call fcn.1400251f8
movsd xmm0, qword [str.VZTT____a_]
movsd qword [rsp + 0x20], xmm0
mov al, byte [0x14002f768]
mov byte [rsp + 0x28], al
mov r8d, ebx
lea r9, [rsp + 0x20]
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r14b
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 9
jl 0x14001d4ae
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400251f8
mov dl, byte [0x14003a120]
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___bool____ptr64]
mov rcx, rax
lea rdx, [0x140031614]
call fcn.1400251f8
lea rcx, [rsp + 0x58]
call fcn.14002462c
test rax, rax
jne 0x14001d52d
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]
movups xmm0, xmmword [0x14002e5a0]
movups xmmword [rsp + 0x20], xmm0
mov al, byte [0x14002e5b0]
mov byte [rsp + 0x30], al
lea r8, [rsp + 0x20]
mov eax, esi
mul ebx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x34
mov al, bl
sub al, dl
add al, r14b
xor byte [r8], al
inc ebx
inc r8
cmp ebx, 0x11
jl 0x14001d548
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14001d5cb
movups xmm0, xmmword [0x140030100]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x140030110]
movups xmmword [rsp + 0x30], xmm1
mov al, byte [0x140030120]
mov byte [rsp + 0x40], al
lea r8, [rsp + 0x20]
mov eax, esi
mul ebx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x34
mov al, bl
sub al, dl
add al, r14b
xor byte [r8], al
inc ebx
inc r8
cmp ebx, 0x21
jl 0x14001d59e
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400251f8
cmp qword [rdi + 0x18], 0x10
mov r8, qword [rdi + 0x10]
jb 0x14001d5de
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140026fe4
lea rdx, [0x1400259f0]
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]
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 rcx, [rsp + 0x58]
call fcn.140021f98
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.140029500
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret