Function at 0x140089170
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 [0x14023b4a0]
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 0x1400894d0
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 0x140089380
lea rbx, [0x140188925]
mov ecx, pe_nt_image_headers64
mov rdx, rbx
call method.el::Loggers.allowed_el::Level__char_const_
test al, al
jne 0x140089880
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 0x140089250
lea rcx, [0x14018898a]
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, [0x140188995]
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 0x140089342
nop dword [rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x140089339
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x140089320
test rbp, rbp
je 0x140089858
mov rax, qword [rsp + 0x148]
sub rax, qword [rsi]
jne 0x140089ca4
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 0x1400894d0
lea rax, str.D:_Projects_msys2_home_Miko_lxagui_lunexa_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, [0x140187e89]
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], 0x10d
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 0x140089a0b
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 0x1400894b2
nop dword [rax]
mov rcx, qword [rdi]
lea rax, [rdi + 0x10]
cmp rcx, rax
je 0x1400894a1
mov rax, qword [rdi + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rdi, 0x20
cmp r12, rdi
jne 0x140089488
mov rdi, qword [rsp + 0x100]
test rdi, rdi
je 0x1400894d0
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 0x140089307
movabs rax, 0x756c2e3165646f6e
lea rbx, [rsp + 0x120]
lea r12, [rsp + 0x80]
mov r9d, 0x10
mov qword [rsp + 0x130], rax
mov r8, rbx
mov rdx, rbp
mov rcx, r12
lea rdi, [rsp + 0x130]
mov byte [rsp + 0x13f], 0
movabs rax, 0x6f632e6178656e75
mov qword [rsp + 0x137], rax
lea rax, [rsp + 0x5f]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5e]
mov qword [rsp + 0x28], rax
lea rax, [method.tools.txt_to_string_abi:cxx11__char_const__unsigned_long_long_]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0xf
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 0x1400895b7
mov rax, qword [rsp + 0x130]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
cmp byte [rsp + 0x5f], 0
jne 0x1400897f3
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 0x140089712
lea rax, str.D:_Projects_msys2_home_Miko_lxagui_lunexa_src_common_dns_utils.cpp
lea r13, [rsp + 0xa0]
pxor xmm0, xmm0
mov rdx, rdi
mov qword [rsp + 0xb8], rax
mov rcx, r13
lea rax, str.tools::DNSResolver::DNSResolver__
lea r14, method.el::base::Writer.Writer__
mov qword [rsp + 0xc8], rax
xor eax, eax
mov word [rsp + 0xd0], ax
lea rax, [0x140187e89]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], pe_nt_image_headers64
mov dword [rsp + 0xc0], 0x12d
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 rbx, rax
jne 0x140089b47
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 0x1400896fa
nop
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1400896e9
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x1400896d0
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x140089712
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 0x140089748
lea rcx, [0x14018898a]
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, [0x140188995]
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 0x140089832
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x140089829
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp rdi, rbx
jne 0x140089810
test rbp, rbp
je 0x140089307
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
sub rdx, rbp
call sym.operator_delete_void__unsigned_long_long_
jmp 0x140089307
mov rax, qword [rsp + 0x148]
sub rax, qword [rsi]
jne 0x140089ca4
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.D:_Projects_msys2_home_Miko_lxagui_lunexa_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, [0x140187e89]
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], 0x108
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 0x140089afc
lea rbx, [rsp + 0x120]
lea rdx, [rsp + 0x60]
lea r8, [0x1401886f5]
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 0x140089a56
lea rax, [rsp + 0x130]
cmp rcx, rax
je 0x140089991
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 0x1400899ea
nop word cs:[rax + rax]
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x1400899d9
mov rax, qword [rbx + 0x10]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
add rbx, 0x20
cmp r13, rbx
jne 0x1400899c0
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x140089240
mov rdx, qword [rsp + 0x110]
mov rcx, rbx
sub rdx, rbx
call sym.operator_delete_void__unsigned_long_long_
jmp 0x140089240
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 0x140089460
mov rcx, qword [rdi + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089460
mov rax, qword [r15 + 0x48]
lea r9, [rax + 0x78]
test rcx, rcx
je 0x140089c1d
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 0x140089bfe
cmp byte [r15 + 0x40], 0
je 0x140089aef
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 0x140089973
mov rcx, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089973
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 0x140089944
mov rax, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089944
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 0x140089c57
cmp byte [rbx + 0x40], 0
je 0x1400896aa
mov rax, qword [rbx + 0x48]
mov r8d, 0xf
lea rdx, str.node1.lunexa.co
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 0x140089c38
cmp byte [rbx + 0x40], 0
je 0x1400896aa
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 0x1400896aa
mov rcx, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x1400896aa
mov rax, qword [r15 + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089a9a
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 0x140089a88
mov rax, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089ba9
mov rax, qword [rbx + 0x48]
mov r8d, 1
lea rdx, [0x140187ea0]
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 0x140089b73
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 0x140089d19
call dbg.__stack_chk_fail
endbr64
mov rbx, rax
jmp 0x140089c8d
mov rbx, rax
mov rcx, r13
call method.el::base::Writer.Writer__
jmp 0x140089c8d
mov rcx, rbx
call sym._Unwind_Resume
endbr64
jmp 0x140089cc7