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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fd03
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov esi, dword [ebp + 0x24]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
push str.doDnsQuery
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x58], esi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.004b2490
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x24], 0
call fcn.0049ead0
mov byte [ebp - 4], 1
call fcn.005264d0
test eax, eax
jg 0x5f7022
push esi
call fcn.005f9240
add esp, 4
test al, al
jne 0x5f7022
push str.Check_cache_nameservers_failed.
jmp 0x5f7441
cmp byte [0x7dc73c], 0
je 0x5f7034
push esi
call fcn.005265f0
add esp, 4
push esi
mov ecx, edi
call fcn.004d9240
test al, al
je 0x5f704a
push str.DNS_query_aborted_by_application.
jmp 0x5f7441
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x3d], 0
cmp eax, 2
je 0x5f705b
cmp eax, 1
jne 0x5f705f
mov byte [ebp - 0x3d], 1
call fcn.00526b50
test al, al
jne 0x5f7072
push str.DNS_cache_is_either_finalized_or_invalid.
jmp 0x5f7441
call fcn.005264d0
mov edi, eax
test edi, edi
jne 0x5f70c5
push str.HQ__r_V975F_u_5aeQp_B_FSK:4ZTF_Qi4YYjB_9K_FZK_7BQ_B_8
mov ecx, esi
call fcn.004b3730
push 1
push str.8.8.8.8
call fcn.00526840
push 1
push str.1.1.1.1
call fcn.00526840
add esp, 0x10
call fcn.005264d0
mov edi, eax
test edi, edi
jne 0x5f70c5
mov eax, dword [esi]
mov ecx, esi
push str.No_DNS_nameservers_have_been_defined.
call dword [eax + 0x14]
call fcn.005269d0
jmp 0x5f7448
mov eax, 0x20
mov edx, 0x90
cmp edi, eax
cmovg edi, eax
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x54], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00622712
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5f7126
push 0x5f5560
push 0x5f5540
push dword [ebp - 0x54]
mov dword [eax], edi
lea edi, [eax + 4]
push 0x90
push edi
mov dword [ebp - 0x44], edi
call fcn.0062271b
jmp 0x5f712b
xor edi, edi
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x5f7149
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_allocate_array_for_nameserver_connections.
call dword [eax + 0x14]
call fcn.005269d0
jmp 0x5f7448
xor edi, edi
cmp byte [ebp - 0x3d], 0
mov dword [ebp - 0x48], edi
je 0x5f71df
mov edi, dword [ebp - 0x54]
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x50], edi
mov edx, 0x90
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00622712
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5f71b2
push 0x5f5560
push 0x5f5540
push dword [ebp - 0x54]
mov dword [eax], edi
lea edi, [eax + 4]
push 0x90
push edi
mov dword [ebp - 0x48], edi
call fcn.0062271b
jmp 0x5f71b7
xor edi, edi
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x5f71df
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_allocate_array_for_nameserver_TLS_connections.
call dword [eax + 0x14]
call fcn.005269d0
jmp 0x5f7448
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x54], ecx
jle 0x5f72b8
lea eax, [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
add eax, 8
push dword [ebp - 0x58]
mov esi, edx
mov dword [eax - 8], 0xffffffff
lea edx, [ebp - 0x11]
mov dword [eax - 4], 0
mov edi, eax
mov dword [eax], 0
mov byte [eax + 0x10], 0
add eax, 0x14
push edx
push eax
push ecx
mov byte [ebp - 0x11], 0
call fcn.00526430
add esp, 0x10
lea ecx, [edi + 0x90]
test al, al
mov dword [ebp - 0x5c], ecx
lea edx, [esi + 1]
mov eax, ecx
cmove edx, esi
cmove eax, edi
cmp byte [ebp - 0x3d], 0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x5c], eax
je 0x5f72a5
cmp byte [ebp - 0x11], 0
je 0x5f72a5
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x11]
push esi
push eax
lea eax, [edi + 0x14]
mov dword [edi - 8], 0xffffffff
push eax
push dword [ebp - 0x6c]
mov dword [edi - 4], 0
mov dword [edi], 0
mov byte [edi + 0x10], 0
call fcn.00526430
mov edx, dword [ebp - 0x4c]
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x5c]
je 0x5f72a5
inc dword [ebp - 0x64]
add edi, 0x90
mov dword [ebp - 0x50], edi
mov ecx, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x6c], ecx
cmp ecx, dword [ebp - 0x54]
jl 0x5f7201
mov dword [ebp - 0x4c], edx
call fcn.005269d0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x5f72fd
cmp dword [ebp + 0xc], 2
jne 0x5f7387
mov eax, dword [esi]
mov ecx, esi
push str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_nameservers_support_DoT
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x5f7448
push 3
mov ecx, edi
call fcn.005f5570
jmp 0x5f7448
jle 0x5f7387
mov ecx, dword [ebp + 0xc]
cmp ecx, 2
je 0x5f7310
cmp ecx, 1
jne 0x5f7387
mov edi, dword [ebp - 0x48]
push esi
push dword [ebp - 0x68]
push dword [ebp + 0x1c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push edi
push eax
push dword [ebp - 0x60]
call fcn.005f6840
add esp, 0x28
test al, al
je 0x5f7356
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
test edi, edi
je 0x5f734d
push 3
mov ecx, edi
call fcn.005f5570
mov byte [ebp - 0x3d], 1
jmp 0x5f744c
cmp dword [ebp + 0xc], 2
jne 0x5f738a
mov eax, dword [esi]
mov ecx, esi
push str.Your_application_requires_DoT__DNS_over_TLS___but_none_of_the_TLS_nameservers_were_successful_for_this_DNS_lookup.
call dword [eax + 0x14]
push dword [ebp - 0x60]
mov eax, dword [esi]
mov ecx, esi
push dword [0x715ba8]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
jmp 0x5f72e7
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x5f7397
push 3
mov ecx, edi
call fcn.005f5570
mov edi, dword [ebp - 0x68]
push esi
push edi
push dword [ebp + 0x1c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0x60]
call fcn.005f6bf0
add esp, 0x24
test al, al
jne 0x5f747b
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x68], eax
mov eax, 0xcccccccd
mul dword [ebp + 0x1c]
shr edx, 2
cmp byte [edi + 0x18], 0
mov dword [ebp - 0x50], edx
je 0x5f7432
nop dword [eax]
mov ecx, edi
call fcn.004d90e0
push esi
push edi
push dword [ebp + 0x1c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0x60]
call fcn.005f6bf0
add esp, 0x24
test al, al
jne 0x5f747b
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
jb 0x5f7432
sub eax, ecx
cmp eax, dword [ebp + 0x1c]
ja 0x5f7432
push esi
push dword [edi + 4]
push dword [ebp - 0x50]
call fcn.004b2060
add esp, 0xc
cmp byte [edi + 0x18], 0
jne 0x5f73e0
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
push str.DNS_query_failed.
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x3c]
call fcn.0049ecf0
lea ecx, [ebp - 0x20]
call fcn.004b2630
mov al, byte [ebp - 0x3d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x44]
push 3
call fcn.005f5570
mov byte [ebp - 0x3d], 1
jmp 0x5f744c