Function at 0x180001370
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
lea rbp, [r11 - 0x68]
sub rsp, 0x160
mov rax, qword [0x180007010]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor ebx, ebx
cmp byte [r8], 0x73
jne 0x180001614
mov eax, dword [0x1800044d0]
lea rcx, [rsp + 0x38]
movups xmm0, xmmword [str.C:WindowsTemp2.png]
mov dword [rbp + 0x50], eax
xor edx, edx
movzx eax, word [0x1800044d4]
mov r8d, pe_nt_image_headers64
mov qword [r11 + 8], rsi
movups xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x54], ax
mov qword [r11 + 0x10], rdi
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1800045b0]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x30], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
mov rax, qword [rsp + 0x30]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [rbp - 0x44], bl
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov byte [rbp - 0x4f], bl
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov rax, qword [0x1800078d8]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x58], rbx
call fcn.1800022d0
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov edx, 0xa76
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 ecx, 0x37d
call fcn.180002c54
mov rdi, rax
cmp qword [rbp - 0x40], rbx
je 0x1800014d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.reading_from_the_file
call fcn.1800026f0
mov rcx, rax
lea rdx, [0x1800028c0]
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 r8d, 0x37d
lea rcx, [rsp + 0x30]
mov rdx, rdi
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 rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800014d7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.size_of_data_
call fcn.1800026f0
mov rcx, rax
mov edx, 8
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1800044f0]
call fcn.1800026f0
mov rcx, rax
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1800028c0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.size_of_file_
call fcn.1800026f0
mov rcx, rax
mov edx, 0x37d
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, [0x1800028c0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x37d
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 rax, rdi
mov r8d, 0x37d
nop dword [rax + rax]
movsx ecx, byte [rax]
add ecx, 0xc
mov dword [rsp + 0x20], ecx
lock xor dword [rsp + 0x20], 0xaf
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x180001580
mov edx, 0x37d
mov rcx, rdi
call sym.csdll.dll_load
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1800044b0]
call fcn.1800026f0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x40]
call fcn.1800021f0
lea rcx, [rsp + 0x48]
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 - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x170]
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.180002bf0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rbp
ret