Function at 0x1401c6dc0
Capabilities:
Query environment variable

Disassembly:
endbr64
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rdi, qword [0x140485900]
mov rax, qword [r8]
mov r13, qword [r8 + 8]
mov rbp, qword [r9 + 8]
mov r15, qword [rsp + 0x108]
mov qword [rsp + 0x58], rax
mov rax, qword [r9]
lea rbx, [rsp + 0x60]
mov rsi, rcx
mov qword [rsp + 0x48], rdx
lea r12, [rsp + 0x70]
lea rdx, [r13 + rbp + 7]
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x88], rax
xor eax, eax
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::reserve_unsigned_long_long_
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
lea r14, [rdi + 1]
cmp rax, r12
je 0x1401c6fa8
mov rdx, qword [rsp + 0x70]
cmp rdx, r14
jb 0x1401c6f80
mov byte [rax + rdi], 0x5f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], r14
mov byte [rax + rdi + 1], 0
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsp + 0x68]
cmp rax, rbp
jb 0x1401c6fb2
mov rdx, qword [rsp + 0x40]
mov r8, rbp
mov rcx, rbx
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_append_char_const__unsigned_long_long_
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsp + 0x68]
cmp rax, 5
jbe 0x1401c701a
mov r8d, 6
lea rdx, str.._tcp.
mov rcx, rbx
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_append_char_const__unsigned_long_long_
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsp + 0x68]
cmp rax, r13
jb 0x1401c6ffa
mov rdx, qword [rsp + 0x58]
mov r8, r13
mov rcx, rbx
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_append_char_const__unsigned_long_long_
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov r8, rbx
mov rcx, rsi
mov rdx, qword [rsp + 0x48]
mov r9d, 0x34
mov qword [rsp + 0x28], rax
lea rax, [method.tools.tlsa_to_string_abi:cxx11__char_const__unsigned_long_long_]
mov qword [rsp + 0x20], rax
call method.tools::DNSResolver.get_record_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__int__boost::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________char_const__unsigned_l
mov rcx, qword [rsp + 0x60]
cmp rcx, r12
je 0x1401c6f49
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rbx, qword [0x140485900]
mov rax, qword [rsp + 0x88]
sub rax, qword [rbx]
jne 0x1401c6ff5
mov rax, rsi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 1
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rsp + 0x60]
jmp 0x1401c6e6f
mov edx, 0xf
jmp 0x1401c6e66
mov rsi, qword [0x140485900]
mov rax, qword [rsp + 0x88]
sub rax, qword [rsi]
jne 0x1401c6ff5
lea rcx, [0x1403ba4f0]
call sym.std::__throw_length_error_char_const_
endbr64
mov rcx, rbx
mov rsi, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0x88]
sub rax, qword [rdi]
je 0x1401c703a
call dbg.__stack_chk_fail
mov rsi, qword [0x140485900]
mov rax, qword [rsp + 0x88]
sub rax, qword [rsi]
jne 0x1401c6ff5
lea rcx, [0x1403ba4f0]
call sym.std::__throw_length_error_char_const_
mov rsi, qword [0x140485900]
mov rax, qword [rsp + 0x88]
sub rax, qword [rsi]
jne 0x1401c6ff5
lea rcx, [0x1403ba4f0]
call sym.std::__throw_length_error_char_const_
mov rcx, rsi
call sym._Unwind_Resume
nop
nop
nop word cs:[rax + rax]
nop