Function at 0x140009ce0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14000d530
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea r14, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
test al, al
je 0x140009dd3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 5
lea rdx, str.e_31m
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 0xe
lea rdx, str.____Input_file
lea rcx, [rsp + 0x50]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001a40
jmp 0x140009ff8
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 0xf
jbe 0x140009dee
mov rdi, qword [rdi]
mov r8d, 0x20
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000c7c0
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
xor ebx, ebx
test al, al
je 0x140009e87
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 5
lea rdx, str.e_31m
lea rcx, [rsp + 0x50]
call fcn.14000ed20
nop
mov r8d, 0xf
lea rdx, str.____Output_file
jmp 0x140009f4b
mov rdi, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x90]
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__::get_char____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140009f0a
mov rax, qword [rsi]
movzx edx, byte [rbp + 0x1a0]
xor dl, byte [rax + rdi]
mov byte [rbp + 0x1a0], dl
lea rcx, [rbp - 0x80]
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__::put_char____ptr64]
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
lea rax, [rdi + 1]
xor edx, edx
div rcx
mov rdi, rdx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x90]
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__::get_char____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140009eb2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rsp + 0x50]
call fcn.14000ed20
nop
mov r8d, 6
lea rdx, str._DONE_
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140001a40
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
mov qword [rbp - 0x78], r14
cmp qword [rbp + 8], 0
je 0x140009fc9
lea rcx, [rbp - 8]
mov rax, qword [rbp - 0x60]
cmp qword [rax], rcx
jne 0x140009fc9
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov rax, qword [rbp - 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x28]
mov dword [rax], edx
cmp byte [rbp + 4], 0
je 0x140009fd8
lea rcx, [rbp - 0x78]
call fcn.14000dba0
lea rcx, [rbp - 0x78]
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, [rbp - 0x70]
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 + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x8c], edx
mov qword [rbp + 0xa0], r14
cmp qword [rbp + 0x120], 0
je 0x14000a074
lea rcx, [rbp + 0x110]
mov rax, qword [rbp + 0xb8]
cmp qword [rax], rcx
jne 0x14000a074
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
mov qword [rax], rcx
mov rax, qword [rbp + 0xd8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0xf0]
mov dword [rax], edx
cmp byte [rbp + 0x11c], 0
je 0x14000a089
lea rcx, [rbp + 0xa0]
call fcn.14000dba0
lea rcx, [rbp + 0xa0]
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, [rbp + 0xa8]
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 + 0x140]
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 + 0x1a8]
xor rcx, rsp
call fcn.1400113b0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret