Function at 0x180001600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x180009010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12, r8
mov r13, rdx
mov rbx, rcx
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 0x10
jb 0x18000164f
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800028a0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
cmp qword [rbp - 0x20], 0
je 0x180001834
xor edx, edx
lea r8d, [rdx + 2]
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]
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 r14, qword [rax + 8]
add r14, 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]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
xor edi, edi
mov r15d, edi
mov qword [rsp + 0x40], rdi
test r14, r14
je 0x180001751
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x1800018ee
cmp r14, 0x1000
jb 0x180001724
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1800018e8
call fcn.180002e80
test rax, rax
je 0x180001821
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18000172f
mov rcx, r14
call fcn.180002e80
mov rsi, rax
mov qword [rsp + 0x30], rsi
lea r15, [rsi + r14]
mov qword [rsp + 0x40], r15
mov r8, r14
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], r15
jmp 0x180001756
mov rsi, qword [rsp + 0x30]
mov r8, r14
mov rdx, rsi
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]
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1800017f8
lea rcx, [rsp + 0x60]
call fcn.1800027f0
test rax, rax
jne 0x1800017a6
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]
mov eax, dword [rsi + 0xa]
lea rbx, [rax + rsi]
sub r14, rax
mov qword [r12], r14
mov rcx, r14
call fcn.180002ef0
mov qword [r13], rax
mov r8, qword [r12]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
cmp qword [r12], 0
jbe 0x1800017f1
nop word [rax + rax]
mov rax, qword [r13]
xor byte [rax + rdi], 0x88
inc rdi
cmp rdi, qword [r12]
jb 0x1800017e0
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
test rsi, rsi
je 0x180001834
sub r15, rsi
mov rax, rsi
cmp r15, 0x1000
jb 0x180001828
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, rsi
call fcn.180002ee8
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rbx
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 0x180001890
mov rax, qword [rsp + 0x78]
lea rcx, [rbp - 0x30]
cmp qword [rax], rcx
jne 0x180001890
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 0x1800018a0
lea rcx, [rsp + 0x60]
call fcn.1800027f0
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 rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180002e60
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180001320
nop
call fcn.180002ba0
int3