Function at 0x1401b4b30
Capabilities:
Check for time delay via gettickcount
Reference cloudflare dns server
Reference google public dns server

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x88], r8
mov ebx, edx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x78], rax
mov r13, qword [rsp + 0x160]
mov qword [rsp + 0x90], r13
mov rsi, qword [rsp + 0x168]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rax
lea r8, str.doDnsQuery
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1400531e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
lea rcx, [rsp + 0xb8]
call fcn.14003e460
nop
call fcn.1400d4b00
test eax, eax
jg 0x1401b4c10
mov rcx, rsi
call fcn.1401b7360
test al, al
jne 0x1401b4c10
lea rdx, str.Check_cache_nameservers_failed.
jmp 0x1401b527c
cmp byte [0x1402cdcf8], 0
je 0x1401b4c21
mov rcx, rsi
call fcn.1400d4c60
mov rdx, rsi
mov rcx, r13
call fcn.14007d210
test al, al
je 0x1401b4c3c
lea rdx, str.DNS_query_aborted_by_application.
jmp 0x1401b527c
xor cl, cl
lea eax, [rbx - 1]
movzx r15d, cl
mov ecx, 1
cmp eax, ecx
cmovbe r15d, ecx
mov dword [rsp + 0x70], r15d
call fcn.1400d5250
test al, al
jne 0x1401b4c6a
lea rdx, str.DNS_cache_is_either_finalized_or_invalid.
jmp 0x1401b527c
call fcn.1400d4b00
mov edi, eax
test eax, eax
jne 0x1401b4cc5
lea rdx, str.HQ__r_V975F_u_5aeQp_B_FSK:4ZTF_Qi4YYjB_9K_FZK_7BQ_B_8
mov rcx, rsi
call fcn.140054570
mov dl, 1
lea rcx, str.8.8.8.8
call fcn.1400d4f10
mov dl, 1
lea rcx, str.1.1.1.1
call fcn.1400d4f10
call fcn.1400d4b00
mov edi, eax
test eax, eax
jne 0x1401b4cc5
mov rax, qword [rsi]
lea rdx, str.No_DNS_nameservers_have_been_defined.
mov rcx, rsi
call qword [rax + 0x28]
call fcn.1400d50b0
jmp 0x1401b5285
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
mov dword [rsp + 0x74], edi
movsxd rbx, edi
mov qword [rsp + 0x50], rbx
mov eax, 0xb8
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.1401e19d0
mov qword [rsp + 0x58], rax
lea r12, [0x1401b2ff0]
test rax, rax
je 0x1401b4d34
mov qword [rax], rbx
lea rbp, [rax + 8]
mov qword [rsp + 0x20], r12
lea r9, [0x1401b2fd0]
mov r8, rbx
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e19d8
jmp 0x1401b4d36
xor ebp, ebp
test rbp, rbp
jne 0x1401b4d55
mov rax, qword [rsi]
lea rdx, str.Failed_to_allocate_array_for_nameserver_connections.
mov rcx, rsi
call qword [rax + 0x28]
call fcn.1400d50b0
jmp 0x1401b5285
xor r14d, r14d
test r15b, r15b
je 0x1401b4e04
mov qword [rsp + 0x50], rbx
mov eax, 0xb8
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.1401e19d0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401b4db8
mov qword [rax], rbx
lea r14, [rax + 8]
mov qword [rsp + 0x20], r12
lea r9, [0x1401b2fd0]
mov r8, rbx
mov edx, 0xb8
mov rcx, r14
call fcn.1401e19d8
jmp 0x1401b4dbb
xor r14d, r14d
test r14, r14
jne 0x1401b4e04
mov r9, r12
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
mov rax, qword [rsi]
lea rdx, str.Failed_to_allocate_array_for_nameserver_TLS_connections.
mov rcx, rsi
call qword [rax + 0x28]
call fcn.1400d50b0
jmp 0x1401b5285
xor ecx, ecx
mov dword [rsp + 0x58], ecx
xor ebx, ebx
xor r12d, r12d
test edi, edi
jle 0x1401b4f0d
lea r15, [r14 + 0x10]
lea rdx, [rbp + 0x10]
mov r13d, ecx
mov ebx, ecx
mov rdi, rdx
mov qword [rdx - 0x10], 0xffffffffffffffff
mov qword [rdx - 8], 0
mov dword [rdx], 0
mov byte [rdx + 0x10], 0
mov byte [rsp + 0x98], 0
movsxd rax, ecx
imul rdx, rax, 0xb8
add rdx, 0x28
add rdx, rbp
mov r9, rsi
lea r8, [rsp + 0x98]
mov ecx, r12d
call fcn.1400d4a10
lea ecx, [rbx + 1]
test al, al
cmove ecx, ebx
mov dword [rsp + 0x58], ecx
lea rdx, [rdi + 0xb8]
cmove rdx, rdi
mov qword [rsp + 0x50], rdx
cmp byte [rsp + 0x70], 0
je 0x1401b4eea
cmp byte [rsp + 0x98], 0
je 0x1401b4eea
mov qword [r15 - 0x10], 0xffffffffffffffff
xor eax, eax
mov qword [r15 - 8], rax
mov dword [r15], eax
mov byte [r15 + 0x10], al
movsxd rax, r13d
imul rdx, rax, 0xb8
add rdx, 0x28
add rdx, r14
mov r9, rsi
lea r8, [rsp + 0x98]
mov ecx, r12d
call fcn.1400d4a10
mov ecx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test al, al
je 0x1401b4eea
inc r13d
add r15, 0xb8
inc r12d
cmp r12d, dword [rsp + 0x74]
jl 0x1401b4e22
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x58], ecx
mov r13, qword [rsp + 0x90]
mov ebx, dword [rsp + 0x50]
call fcn.1400d50b0
mov edi, dword [rsp + 0x158]
test ebx, ebx
jne 0x1401b4fa7
cmp dword [rsp + 0x60], 2
jne 0x1401b510a
mov rax, qword [rsi]
lea rdx, str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_nameservers_support_DoT
mov rcx, rsi
call qword [rax + 0x28]
nop
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
test r14, r14
je 0x1401b5285
lea r9, [0x1401b2ff0]
mov r8, qword [r14 - 8]
mov edx, 0xb8
mov rcx, r14
call fcn.1401e1a48
imul rdx, qword [r14 - 8], 0xb8
add rdx, 8
lea rcx, [r14 - 8]
call fcn.1401e1cc4
nop
jmp 0x1401b5285
jle 0x1401b510a
mov r15d, dword [rsp + 0x60]
lea eax, [r15 - 1]
mov r12, qword [rsp + 0x68]
cmp eax, 1
ja 0x1401b510f
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], edi
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8, r14
mov edx, ebx
mov rcx, r12
call fcn.1401b4250
test al, al
je 0x1401b5072
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
test r14, r14
je 0x1401b506b
lea r9, [0x1401b2ff0]
mov r8, qword [r14 - 8]
mov edx, 0xb8
mov rcx, r14
call fcn.1401e1a48
imul rdx, qword [r14 - 8], 0xb8
add rdx, 8
lea rcx, [r14 - 8]
call fcn.1401e1cc4
nop
mov bl, 1
jmp 0x1401b5287
cmp r15d, 2
jne 0x1401b510f
mov rax, qword [rsi]
lea rdx, str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_TLS_nameservers_were_successful_for_this_DNS_lookup.
mov rcx, rsi
call qword [rax + 0x28]
mov rax, qword [rsi]
mov r8, r12
mov rdx, qword [str.domain]
mov rcx, rsi
call qword [rax + 0x58]
nop
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
test r14, r14
je 0x1401b5285
lea r9, [0x1401b2ff0]
mov r8, qword [r14 - 8]
mov edx, 0xb8
mov rcx, r14
call fcn.1401e1a48
imul rdx, qword [r14 - 8], 0xb8
add rdx, 8
lea rcx, [r14 - 8]
call fcn.1401e1cc4
nop
jmp 0x1401b5285
mov r12, qword [rsp + 0x68]
test r14, r14
je 0x1401b5142
lea r9, [0x1401b2ff0]
mov r8, qword [r14 - 8]
mov edx, 0xb8
mov rcx, r14
call fcn.1401e1a48
imul rdx, qword [r14 - 8], 0xb8
add rdx, 8
lea rcx, [r14 - 8]
call fcn.1401e1cc4
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, rbp
mov r14d, dword [rsp + 0x58]
mov edx, r14d
mov rcx, r12
call fcn.1401b46d0
test al, al
je 0x1401b51bb
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
mov bl, 1
jmp 0x1401b5287
call sub.KERNEL32.dll_GetTickCount
mov ebx, eax
mov eax, 0xcccccccd
mul edi
mov r15d, edx
shr r15d, 2
cmp byte [r13 + 0x2c], 0
je 0x1401b5247
mov rcx, r13
call fcn.14007d090
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, rbp
mov edx, r14d
mov rcx, r12
call fcn.1401b46d0
test al, al
jne 0x1401b52d0
call sub.KERNEL32.dll_GetTickCount
cmp eax, ebx
jb 0x1401b5247
sub eax, ebx
cmp eax, edi
ja 0x1401b5247
mov r8, rsi
mov rdx, qword [r13 + 8]
mov ecx, r15d
call fcn.140052df0
cmp byte [r13 + 0x2c], 0
jne 0x1401b51d7
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
lea rdx, str.DNS_query_failed.
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0xb8]
call fcn.14003e610
nop
lea rcx, [rsp + 0xa0]
call fcn.140053390
movzx eax, bl
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401e12d0
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [0x1401b2ff0]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.1401e1a48
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.1401e1cc4
nop
mov bl, 1
jmp 0x1401b5287