Function at 0x140001aa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor esi, esi
mov dword [rbp + 0x60], esi
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], rsi
mov ebx, 1
mov dword [rbp + 0x78], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x90], 2
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xa8], 3
movdqu xmmword [rbp + 0xb0], xmm0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x50]
call fcn.140002990
nop
cmp qword [rbp - 0x20], rsi
je 0x140001c6d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rbx, qword [rax + 8]
add rbx, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rcx, rbx
call fcn.140006984
mov rdi, rax
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x60]
call fcn.140002cf0
test rax, rax
jne 0x140001bb2
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rdx, rsi
test rbx, rbx
je 0x140001c4d
cmp rbx, 0x40
jb 0x140001c30
mov rax, rbx
and eax, 0x3f
mov rcx, rbx
sub rcx, rax
movdqa xmm2, xmmword [str.XXXXXXXXXXXXXXXX_]
lea rax, [rdi + 0x20]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x10], xmm0
movdqu xmm0, xmmword [rax]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
add rdx, 0x40
lea rax, [rax + 0x40]
cmp rdx, rcx
jb 0x140001be0
cmp rdx, rbx
jae 0x140001c4d
lea rax, [rdx + rdi]
mov rcx, rbx
sub rcx, rdx
nop word [rax + rax]
xor byte [rax], 0x58
lea rax, [rax + 1]
sub rcx, 1
jne 0x140001c40
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea rdx, [rbp + 0x60]
call fcn.140001620
mov rcx, rdi
call fcn.140006940
call fcn.140001390
mov ebx, esi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_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 - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x60], rax
cmp qword [rbp - 0x20], 0
je 0x140001cd0
lea rcx, [rbp - 0x30]
mov rax, qword [rsp + 0x78]
cmp qword [rax], rcx
jne 0x140001cd0
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
mov qword [rax], rcx
mov rax, qword [rbp - 0x68]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x50]
mov dword [rax], edx
cmp byte [rbp - 0x24], 0
je 0x140001ce0
lea rcx, [rsp + 0x60]
call fcn.140002cf0
lea rcx, [rsp + 0x60]
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 + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140006920
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret