Function at 0x1400017fd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x738
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp + 0x40]
lea rdx, [0x1400be0c8]
mov ecx, 0xad
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rbp + 0x5af]
mov rcx, rax
call fcn.14006ef50
lea rax, [rbp + 0x40]
add rax, 0x56c
lea r8, [rbp + 0x5af]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
mov r9, r8
mov r8, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector_unsigned_char_const__void__unsigned_char_const__unsigned_char_const__std::allocator_unsigned_char__const_
lea rax, [rbp + 0x5af]
mov rcx, rax
call sym.std::allocator_unsigned_char_::allocator__
lea rax, [rbp + 0x5df]
mov rcx, rax
call fcn.14006eed0
lea rdx, [rbp + 0x5df]
lea rax, [rbp + 0x5b0]
mov r8, rdx
lea rdx, str.Original_shellcode
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x5b0]
lea rax, [rbp + 0x20]
mov rcx, rax
call sym.print_bytes_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x5b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x5df]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov byte [rbp + 0x6af], 0x42
movzx ecx, byte [rbp + 0x6af]
mov rax, rbp
lea rdx, [rbp + 0x20]
mov r8d, ecx
mov rcx, rax
call sym.encrypt_decrypt_std::vector_unsigned_char__std::allocator_unsigned_char____const__unsigned_char_
lea rax, [rbp + 0x60f]
mov rcx, rax
call fcn.14006eed0
lea rdx, [rbp + 0x60f]
lea rax, [rbp + 0x5e0]
mov r8, rdx
lea rdx, str.Encrypted
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x5e0]
mov rax, rbp
mov rcx, rax
call sym.print_bytes_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x5e0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x60f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0x20]
mov rdx, rbp
mov rcx, rax
call sym.obfuscate_deobfuscate_std::vector_unsigned_char__std::allocator_unsigned_char____const_
lea rax, [rbp + 0x63f]
mov rcx, rax
call fcn.14006eed0
lea rdx, [rbp + 0x63f]
lea rax, [rbp + 0x610]
mov r8, rdx
lea rdx, str.Obfuscated
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x610]
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.print_bytes_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x610]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x63f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rax
call sym.obfuscate_deobfuscate_std::vector_unsigned_char__std::allocator_unsigned_char____const_
lea rax, [rbp + 0x66f]
mov rcx, rax
call fcn.14006eed0
lea rdx, [rbp + 0x66f]
lea rax, [rbp + 0x640]
mov r8, rdx
lea rdx, str.Deobfuscated
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x640]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.print_bytes_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x640]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x66f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
movzx ecx, byte [rbp + 0x6af]
lea rax, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov r8d, ecx
mov rcx, rax
call sym.encrypt_decrypt_std::vector_unsigned_char__std::allocator_unsigned_char____const__unsigned_char_
lea rax, [rbp + 0x69f]
mov rcx, rax
call fcn.14006eed0
lea rdx, [rbp + 0x69f]
lea rax, [rbp + 0x670]
mov r8, rdx
lea rdx, str.Decrypted
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x670]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.print_bytes_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x670]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x69f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp + 0x20]
lea rax, [rbp - 0x60]
mov rcx, rax
call method.bool_std::operator__unsigned_char__std.allocator_unsigned_char____std::vector_unsigned_char__std::allocator_unsigned_char____const__std::vector_unsigned_char__std::allocator_unsigned_char____const_
test al, al
je 0x140001af2
lea rdx, str.shellcodeshellcode
mov rcx, qword [0x1400c3940]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [str.P7_v_]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x140001bf8
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
jne 0x140001b58
lea rdx, str.
mov rcx, qword [0x1400c3940]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [str.P7_v_]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x140001bf8
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov rbx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r8, rbx
mov rcx, rax
call sym.memcpy
lea rdx, str.shellcode...
mov rcx, qword [0x1400c3960]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [str.P7_v_]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov rax, qword [rbp + 0x6a0]
call rax
lea rdx, str.Shellcode
mov rcx, qword [0x1400c3960]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [str.P7_v_]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov rax, qword [rbp + 0x6a0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ebx, 0
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
mov rax, rbp
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp + 0x20]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
mov eax, ebx
jmp 0x140001d82
add rsp, 0x738
pop rbx
pop rsi
pop rdi
pop rbp
ret