Function at 0x1401c7050
Capabilities:
Query environment variable

Disassembly:
endbr64
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov rsi, qword [0x140485900]
mov rax, qword [rsi]
mov qword [rsp + 0x148], rax
xor eax, eax
mov rbp, rcx
mov ecx, 8
call sym.operator_new_unsigned_long_long_
pxor xmm0, xmm0
lea rcx, str.DNS_PUBLIC
mov qword [rsp + 0x70], 0
mov qword [rax], 0
mov qword [rbp], rax
movups xmmword [rsp + 0x60], xmm0
call sym.getenv
mov rbx, rax
test rax, rax
je 0x1401c73b0
lea r13, [rsp + 0xa0]
mov rdx, rax
mov rcx, r13
call method.tools::dns_utils.parse_dns_public_abi:cxx11__char_const_
mov rax, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xa8]
movdqu xmm1, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x60], xmm1
cmp r12, rdi
je 0x1401c7260
lea rbx, [0x1403ba90d]
mov ecx, pe_nt_image_headers64
mov rdx, rbx
call method.el::Loggers.allowed_el::Level__char_const_
test al, al
jne 0x1401c7740
mov rbx, qword [rbp]
call sym.ub_ctx_create
mov qword [rbx], rax
nop dword [rax]
mov rcx, qword [rdi]
call sym.strdup
mov rbx, rax
mov rax, qword [rbp]
mov rdx, rbx
mov rcx, qword [rax]
call sym.ub_ctx_set_fwd
mov rcx, rbx
add rdi, 0x20
call sym.free
cmp r12, rdi
jne 0x1401c7130
lea rcx, [0x1403ba972]
call sym.strdup
lea rcx, str.do_udp:
mov rdi, rax
call sym.strdup
mov rbx, rax
mov rax, qword [rbp]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call sym.ub_ctx_set_option
mov rcx, rbx
call sym.free
mov rcx, rdi
call sym.free
lea rcx, [0x1403ba97d]
call sym.strdup
lea rcx, str.do_tcp:
mov rdi, rax
call sym.strdup
mov rbx, rax
mov rax, qword [rbp]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call sym.ub_ctx_set_option
mov rcx, rbx
call sym.free
mov rcx, rdi
call sym.free
mov rax, qword [rbp]
mov rcx, qword [rax]
call method.tools.add_anchors_ub_ctx_
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rbx, rbp
cmp rdi, rbp
je 0x1401c7222
nop dword [rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1401c7219
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x1401c7200
test rbp, rbp
je 0x1401c7718
mov rax, qword [rsp + 0x148]
sub rax, qword [rsi]
jne 0x1401c7b5d
mov rdx, qword [rsp + 0x70]
mov rcx, rbp
sub rdx, rbp
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.operator_delete_void__unsigned_long_long_
lea rdi, str.net.dns
mov ecx, 0x10
mov rdx, rdi
call method.el::Loggers.allowed_el::Level__char_const_
test al, al
je 0x1401c73b0
lea rax, str.C:_msys64_home_H_tabo_gui_tabo_src_common_dns_utils.cpp
xor edx, edx
pxor xmm0, xmm0
mov rcx, r13
mov qword [rsp + 0xb8], rax
lea rax, str.tools::DNSResolver::DNSResolver__
lea r14, method.el::base::Writer.Writer__
mov qword [rsp + 0xc8], rax
lea rax, [0x1403b9f59]
mov word [rsp + 0xd0], dx
mov rdx, rdi
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0x10
mov dword [rsp + 0xc0], 0x10e
mov qword [rsp + 0xd8], 0
mov byte [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 0
movups xmmword [rsp + 0x100], xmm0
call method.el::base::Writer.construct_char_const_
cmp byte [rax + 0x40], 0
mov rdi, rax
jne 0x1401c78cb
mov rcx, r13
mov qword [rsp + 0xa0], r14
call method.el::base::Writer.processDispatch__
mov r12, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x100]
cmp r12, rdi
je 0x1401c7392
nop dword [rax]
mov rcx, qword [rdi]
lea rax, [rdi + 0x10]
cmp rcx, rax
je 0x1401c7381
mov rax, qword [rdi + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rdi, 0x20
cmp r12, rdi
jne 0x1401c7368
mov rdi, qword [rsp + 0x100]
test rdi, rdi
je 0x1401c73b0
mov rdx, qword [rsp + 0x110]
mov rcx, rdi
sub rdx, rdi
call sym.operator_delete_void__unsigned_long_long_
nop word [rax + rax]
mov rdi, qword [rbp]
call sym.ub_ctx_create
mov qword [rdi], rax
mov rax, qword [rbp]
xor edx, edx
mov rcx, qword [rax]
call sym.ub_ctx_resolvconf
mov rax, qword [rbp]
xor edx, edx
mov rcx, qword [rax]
call sym.ub_ctx_hosts
mov rax, qword [rbp]
mov rcx, qword [rax]
call method.tools.add_anchors_ub_ctx_
test rbx, rbx
jne 0x1401c71e7
lea rax, [rsp + 0x5f]
lea rbx, [rsp + 0x120]
mov r9d, 0x10
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5e]
lea r12, [rsp + 0x80]
mov r8, rbx
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [method.tools.txt_to_string_abi:cxx11__char_const__unsigned_long_long_]
lea rdi, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0
mov byte [rsp + 0x130], 0
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 + 0x120]
cmp rcx, rdi
je 0x1401c7473
mov rax, qword [rsp + 0x130]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
cmp byte [rsp + 0x5f], 0
jne 0x1401c76b3
lea rdi, str.net.dns
mov ecx, pe_nt_image_headers64
mov rdx, rdi
call method.el::Loggers.allowed_el::Level__char_const_
test al, al
je 0x1401c75d2
lea rax, str.C:_msys64_home_H_tabo_gui_tabo_src_common_dns_utils.cpp
pxor xmm0, xmm0
mov rdx, rdi
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb8], rax
lea r13, [rsp + 0xa0]
lea rax, str.tools::DNSResolver::DNSResolver__
mov qword [rsp + 0xc8], rax
lea r14, method.el::base::Writer.Writer__
xor eax, eax
mov rcx, r13
lea r15, [0x1403b9f59]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xb0], pe_nt_image_headers64
mov dword [rsp + 0xc0], 0x12e
mov word [rsp + 0xd0], ax
mov qword [rsp + 0xd8], 0
mov byte [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], r15
mov dword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 0
movups xmmword [rsp + 0x100], xmm0
call method.el::base::Writer.construct_char_const_
cmp byte [rax + 0x40], 0
mov rbx, rax
jne 0x1401c7a07
mov rcx, r13
mov qword [rsp + 0xa0], r14
call method.el::base::Writer.processDispatch__
mov rdi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
cmp rdi, rbx
je 0x1401c75ba
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1401c75a9
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x1401c7590
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x1401c75d2
mov rdx, qword [rsp + 0x110]
mov rcx, rbx
sub rdx, rbx
call sym.operator_delete_void__unsigned_long_long_
mov rax, qword [rbp]
mov rcx, qword [rax]
call sym.ub_ctx_delete
mov rbx, qword [rbp]
call sym.ub_ctx_create
mov qword [rbx], rax
mov rax, qword [rbp]
mov rcx, qword [rax]
call method.tools.add_anchors_ub_ctx_
lea rdi, str.194.150.168.168
lea r13, [rdi + 0x28]
nop dword [rax]
mov rcx, qword [rdi]
call sym.strdup
mov rbx, rax
mov rax, qword [rbp]
mov rdx, rbx
mov rcx, qword [rax]
call sym.ub_ctx_set_fwd
mov rcx, rbx
add rdi, 8
call sym.free
cmp rdi, r13
jne 0x1401c7608
lea rcx, [0x1403ba972]
call sym.strdup
lea rcx, str.do_udp:
mov rdi, rax
call sym.strdup
mov r13, rax
mov rax, qword [rbp]
mov r8, rdi
mov rdx, r13
mov rcx, qword [rax]
call sym.ub_ctx_set_option
mov rcx, r13
call sym.free
mov rcx, rdi
call sym.free
lea rcx, [0x1403ba97d]
call sym.strdup
lea rcx, str.do_tcp:
mov rdi, rax
call sym.strdup
mov r13, rax
mov rax, qword [rbp]
mov r8, rdi
mov rdx, r13
mov rcx, qword [rax]
call sym.ub_ctx_set_option
mov rcx, r13
call sym.free
mov rcx, rdi
call sym.free
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rbx, rbp
cmp rdi, rbp
je 0x1401c76f2
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1401c76e9
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x1401c76d0
test rbp, rbp
je 0x1401c71e7
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
sub rdx, rbp
call sym.operator_delete_void__unsigned_long_long_
jmp 0x1401c71e7
mov rax, qword [rsp + 0x148]
sub rax, qword [rsi]
jne 0x1401c7b5d
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.C:_msys64_home_H_tabo_gui_tabo_src_common_dns_utils.cpp
xor ecx, ecx
pxor xmm0, xmm0
mov rdx, rbx
mov qword [rsp + 0xb8], rax
lea rax, str.tools::DNSResolver::DNSResolver__
lea r14, method.el::base::Writer.Writer__
mov qword [rsp + 0xc8], rax
lea rax, [0x1403b9f59]
mov word [rsp + 0xd0], cx
mov rcx, r13
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], pe_nt_image_headers64
mov dword [rsp + 0xc0], 0x109
mov qword [rsp + 0xd8], 0
mov byte [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 0
movups xmmword [rsp + 0x100], xmm0
call method.el::base::Writer.construct_char_const_
cmp byte [rax + 0x40], 0
mov r15, rax
jne 0x1401c79bc
lea rbx, [rsp + 0x120]
lea rdx, [rsp + 0x60]
lea r8, [0x1403ba76d]
mov rcx, rbx
call sym._ZN5boost9algorithm4joinISt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EEA3_cEENS_11range_valueIT_E4type
cmp byte [r15 + 0x40], 0
mov rcx, qword [rsp + 0x120]
jne 0x1401c7916
lea rax, [rsp + 0x130]
cmp rcx, rax
je 0x1401c7851
mov rax, qword [rsp + 0x130]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, r13
mov qword [rsp + 0xa0], r14
call method.el::base::Writer.processDispatch__
mov r13, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
cmp r13, rbx
je 0x1401c78aa
nop word cs:[rax + rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1401c7899
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp r13, rbx
jne 0x1401c7880
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x1401c7120
mov rdx, qword [rsp + 0x110]
mov rcx, rbx
sub rdx, rbx
call sym.operator_delete_void__unsigned_long_long_
jmp 0x1401c7120
mov rax, qword [rax + 0x48]
mov r8d, 0x1a
lea rdx, str.Failed_to_parse_DNS_PUBLIC
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
je 0x1401c7340
mov rcx, qword [rdi + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
add rcx, 0x78
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c7340
mov rax, qword [r15 + 0x48]
lea r9, [rax + 0x78]
test rcx, rcx
je 0x1401c7ad6
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r9
call sym.strlen
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r8, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
jne 0x1401c7ab7
cmp byte [r15 + 0x40], 0
je 0x1401c79af
mov rax, qword [r15 + 0x48]
mov r8d, 6
lea rdx, str.__TCP_
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
test byte [rax + 0x49], 0x20
je 0x1401c7833
mov rcx, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
add rcx, 0x78
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov rcx, qword [rsp + 0x120]
jmp 0x1401c7833
mov rax, qword [rax + 0x48]
mov r8d, 0x1c
lea rdx, str.Using_public_DNS_server_s_:
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
je 0x1401c7804
mov rax, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c7804
mov rax, qword [rax + 0x48]
mov r8d, 0x24
lea rdx, str.Failed_to_verify_DNSSEC_record_from
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
jne 0x1401c7b10
cmp byte [rbx + 0x40], 0
je 0x1401c7566
mov rax, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, r15
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
jne 0x1401c7af1
cmp byte [rbx + 0x40], 0
je 0x1401c7566
mov rax, qword [rbx + 0x48]
mov r8d, 0x36
lea rdx, str.__falling_back_to_TCP_with_well_known_DNSSEC_resolvers
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
call method.el::base::Storage.getELPP__
mov rax, qword [rax]
test byte [rax + 0x49], 0x20
je 0x1401c7566
mov rcx, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
add rcx, 0x78
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c7566
mov rax, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c795a
mov rax, qword [rax + 0x78]
mov rcx, qword [rax - 0x18]
add rcx, r9
mov edx, dword [rcx + 0x20]
or edx, 1
call sym.std::basic_ios_char__std::char_traits_char___::clear_std::_Ios_Iostate_
jmp 0x1401c7948
mov rax, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c7a62
mov rax, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x1403b9f70]
lea rcx, [rax + 0x78]
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x1401c7a33
lea rcx, [rsp + 0x60]
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector__
mov rax, qword [rsp + 0x148]
sub rax, qword [rsi]
je 0x1401c7bd2
call dbg.__stack_chk_fail
endbr64
mov rbx, rax
jmp 0x1401c7b46
mov rbx, rax
mov rcx, r13
call method.el::base::Writer.Writer__
jmp 0x1401c7b46
mov rcx, rbx
call sym._Unwind_Resume
endbr64
jmp 0x1401c7b80