Function at 0x1400075f3
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0xd0]
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.1400d9de0
mov rax, qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140007699
lea rax, str.GetEnvironmentStrings_failed:
mov rdx, rax
mov rax, qword [0x1401157e0]
mov rcx, rax
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call method.std::ostream.operator___unsigned_long_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
lea rax, str.Could_not_get_environment_variables_for_argument_override.
mov rdx, rax
mov rax, qword [0x1401157e0]
mov rcx, rax
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 rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x14000788b
mov rax, qword [rbp - 0x10]
mov qword [rbp - 8], rax
jmp 0x1400077f5
lea rax, [rbp - 0x41]
mov rcx, rax
call fcn.1400a18a0
lea rcx, [rbp - 0x41]
mov rdx, qword [rbp - 8]
lea rax, [rbp - 0xb0]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x41]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0xb0]
mov r8d, 0
lea rdx, [0x1401068ab]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_char_const__unsigned_long_long__const
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x90]
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0xb0]
mov r9, rcx
mov r8d, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.substr_unsigned_long_long__unsigned_long_long__const
mov rax, qword [rbp - 0x18]
lea rcx, [rax + 1]
lea rax, [rbp - 0x70]
lea rdx, [rbp - 0xb0]
mov r9, 0xffffffffffffffff
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.substr_unsigned_long_long__unsigned_long_long__const
lea rax, [rbp - 0x90]
mov r8d, 0
lea rdx, str.VECTR_
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_char_const__unsigned_long_long__const
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400077b2
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x90]
mov r9, 0xffffffffffffffff
mov r8d, 6
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.substr_unsigned_long_long__unsigned_long_long__const
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call sym.std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__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____
mov rcx, rax
lea rax, [rbp - 0x70]
mov rdx, rax
call fcn.1400e4b20
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_lstrlenA]
call rax
add eax, 1
cdqe
add qword [rbp - 8], rax
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__
lea rax, [rbp - 0xb0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
test al, al
jne 0x1400076a6
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call rax
jmp 0x14000788b
mov rax, qword [rbp + 0x20]
add rsp, 0xd8
pop rbx
pop rbp
ret