Function at 0x1401d24a0
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 [0x14036a040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], r8
mov ebx, edx
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x160]
mov qword [rsp + 0x88], r14
mov rdi, 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, rdi
lea rcx, [rsp + 0xa0]
call fcn.1400d9650
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.1400c4dc0
nop
call fcn.14011cbc0
test eax, eax
jg 0x1401d257d
mov rcx, rdi
call fcn.1401d4660
test al, al
jne 0x1401d257d
lea rdx, str.Check_cache_nameservers_failed.
jmp 0x1401d2ba7
mov rdx, rdi
mov rcx, r14
call fcn.1401034b0
test al, al
je 0x1401d2598
lea rdx, str.DNS_query_aborted_by_application.
jmp 0x1401d2ba7
xor cl, cl
lea eax, [rbx - 1]
movzx r12d, cl
mov ecx, 1
cmp eax, ecx
cmovbe r12d, ecx
mov dword [rsp + 0x68], r12d
call fcn.14011d250
test al, al
jne 0x1401d25c6
lea rdx, str.DNS_cache_is_either_finalized_or_invalid.
jmp 0x1401d2ba7
call fcn.14011cbc0
mov r15d, eax
test eax, eax
jne 0x1401d2614
mov dl, 1
lea rcx, str.8.8.8.8
call fcn.14011cfb0
mov dl, 1
lea rcx, str.1.1.1.1
call fcn.14011cfb0
call fcn.14011cbc0
mov r15d, eax
test eax, eax
jne 0x1401d2614
mov rax, qword [rdi]
lea rdx, str.No_DNS_nameservers_have_been_defined.
mov rcx, rdi
call qword [rax + 0x28]
call fcn.14011d120
jmp 0x1401d2bb0
mov eax, 0x20
cmp r15d, eax
cmovg r15d, eax
mov dword [rsp + 0x6c], r15d
movsxd rbx, r15d
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.14008c1dc
mov qword [rsp + 0x90], rax
lea r13, [0x1401d0b60]
test rax, rax
je 0x1401d2689
mov qword [rax], rbx
lea rsi, [rax + 8]
mov qword [rsp + 0x20], r13
lea r9, [0x1401d0b40]
mov r8, rbx
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bfc0
jmp 0x1401d268b
xor esi, esi
test rsi, rsi
jne 0x1401d26aa
mov rax, qword [rdi]
lea rdx, str.Failed_to_allocate_array_for_nameserver_connections.
mov rcx, rdi
call qword [rax + 0x28]
call fcn.14011d120
jmp 0x1401d2bb0
xor ebp, ebp
test r12b, r12b
je 0x1401d275a
mov qword [rsp + 0x90], rbx
mov eax, 0xb8
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.14008c1dc
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401d270f
mov qword [rax], rbx
lea rbp, [rax + 8]
mov qword [rsp + 0x20], r13
lea r9, [0x1401d0b40]
mov r8, rbx
mov edx, 0xb8
mov rcx, rbp
call fcn.14008bfc0
jmp 0x1401d2711
xor ebp, ebp
test rbp, rbp
jne 0x1401d275a
mov r9, r13
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
mov rax, qword [rdi]
lea rdx, str.Failed_to_allocate_array_for_nameserver_TLS_connections.
mov rcx, rdi
call qword [rax + 0x28]
call fcn.14011d120
jmp 0x1401d2bb0
xor r12d, r12d
xor r13d, r13d
xor ebx, ebx
test r15d, r15d
jle 0x1401d2844
lea r15, [rbp + 0x10]
lea r12, [rsi + 0x10]
mov r14d, ebx
mov qword [r12 - 0x10], 0xffffffffffffffff
mov qword [r12 - 8], 0
mov dword [r12], 0
mov byte [r12 + 0x10], 0
mov byte [rsp + 0x98], 0
movsxd rax, r14d
imul rcx, rax, 0xb8
lea rdx, [rsi + 0x28]
add rdx, rcx
mov r9, rdi
lea r8, [rsp + 0x98]
mov ecx, ebx
call fcn.14011cb00
test al, al
je 0x1401d27cf
inc r14d
add r12, 0xb8
cmp byte [rsp + 0x68], 0
je 0x1401d2826
cmp byte [rsp + 0x98], 0
je 0x1401d2826
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 rcx, rax, 0xb8
lea rdx, [rbp + 0x28]
add rdx, rcx
mov r9, rdi
lea r8, [rsp + 0x98]
mov ecx, ebx
call fcn.14011cb00
test al, al
je 0x1401d2826
inc r13d
add r15, 0xb8
inc ebx
cmp ebx, dword [rsp + 0x6c]
jl 0x1401d2776
mov dword [rsp + 0x50], r14d
mov r14, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x50]
call fcn.14011d120
mov r15d, dword [rsp + 0x158]
test r13d, r13d
jne 0x1401d28e0
cmp dword [rsp + 0x58], 2
jne 0x1401d2a3f
mov rax, qword [rdi]
lea rdx, str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_nameservers_support_DoT
mov rcx, rdi
call qword [rax + 0x28]
nop
lea r9, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
test rbp, rbp
je 0x1401d2bb0
lea r9, [0x1401d0b60]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.14008bef0
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.140263a40
nop
jmp 0x1401d2bb0
jle 0x1401d2a3f
mov ebx, dword [rsp + 0x58]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x1401d2a3f
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r15d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8, rbp
mov edx, r13d
mov r13, qword [rsp + 0x60]
mov rcx, r13
call fcn.1401d1a80
test al, al
je 0x1401d29a8
lea r9, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
test rbp, rbp
je 0x1401d29a1
lea r9, [0x1401d0b60]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.14008bef0
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.140263a40
nop
mov bl, 1
jmp 0x1401d2bb2
cmp ebx, 2
jne 0x1401d2a44
mov rax, qword [rdi]
lea rdx, str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_TLS_nameservers_were_successful_for_this_DNS_lookup.
mov rcx, rdi
call qword [rax + 0x28]
mov rax, qword [rdi]
mov r8, r13
lea rdx, str.domain
mov rcx, rdi
call qword [rax + 0x58]
nop
lea r9, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
test rbp, rbp
je 0x1401d2bb0
lea r9, [0x1401d0b60]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.14008bef0
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.140263a40
nop
jmp 0x1401d2bb0
mov r13, qword [rsp + 0x60]
test rbp, rbp
je 0x1401d2a77
lea r9, [0x1401d0b60]
mov r8, qword [rbp - 8]
mov edx, 0xb8
mov rcx, rbp
call fcn.14008bef0
imul rdx, qword [rbp - 8], 0xb8
add rdx, 8
lea rcx, [rbp - 8]
call fcn.140263a40
nop
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r15d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, rsi
mov edx, r12d
mov rcx, r13
call fcn.1401d1ed0
test al, al
je 0x1401d2ae9
lea r9, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
mov bl, 1
jmp 0x1401d2bb2
call sub.KERNEL32.dll_GetTickCount
mov ebx, eax
mov eax, 0xcccccccd
mul r15d
mov ebp, edx
shr ebp, 2
cmp byte [r14 + 0x2c], 0
je 0x1401d2b72
mov rcx, r14
call fcn.140103330
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r15d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, rsi
mov edx, r12d
mov rcx, r13
call fcn.1401d1ed0
test al, al
jne 0x1401d2bfb
call sub.KERNEL32.dll_GetTickCount
cmp eax, ebx
jb 0x1401d2b72
sub eax, ebx
cmp eax, r15d
ja 0x1401d2b72
mov r8, rdi
mov rdx, qword [r14 + 8]
mov ecx, ebp
call fcn.1400d9290
cmp byte [r14 + 0x2c], 0
jne 0x1401d2b04
lea r9, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
lea rdx, str.DNS_query_failed.
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0xb8]
call fcn.1400c4f70
nop
lea rcx, [rsp + 0xa0]
call fcn.1400d9770
movzx eax, bl
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14008b8a0
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, [0x1401d0b60]
mov r8, qword [rsi - 8]
mov edx, 0xb8
mov rcx, rsi
call fcn.14008bef0
imul rdx, qword [rsi - 8], 0xb8
add rdx, 8
lea rcx, [rsi - 8]
call fcn.140263a40
nop
mov bl, 1
jmp 0x1401d2bb2