Function at 0x5f7cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
call fcn.004a0bb0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x5f7f7a
mov edi, dword [ebp + 0x18]
test esi, esi
mov eax, 0x7d0
cmovne eax, esi
mov esi, dword [ebp + 0x1c]
push esi
push edi
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
push ebx
call fcn.005f8850
add esp, 0x14
test al, al
jne 0x5f7d1a
mov eax, dword [esi]
mov ecx, esi
push str.1st_UDP_send_for_nameserver_1_failed.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.004d9240
test al, al
jne 0x5f7f7a
call sub.KERNEL32.dll_GetTickCount
push esi
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push 0x5dc
push eax
push ebx
push 1
mov dword [ebp - 8], 0xffffffff
call fcn.005f8990
add esp, 0x18
test al, al
je 0x5f7d6e
mov eax, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 8]
push eax
push ebx
push 0
call fcn.005f7b40
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x15], 0
jne 0x5f7f7a
cmp byte [edi + 0x16], 0
jne 0x5f7f7a
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
mov edx, dword [ebp + 8]
cmovb ecx, eax
sub eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, edx
sub ecx, eax
cmp eax, edx
sbb eax, eax
and eax, ecx
mov dword [ebp - 4], eax
jne 0x5f7dbb
mov eax, dword [esi]
mov ecx, esi
push str.DNS_timeout.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push edx
push dword [ebp + 0xc]
push ebx
call fcn.005f8850
add esp, 0x14
test al, al
jne 0x5f7de3
mov eax, dword [esi]
mov ecx, esi
push str.2nd_UDP_send_for_nameserver_1_failed.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.004d9240
test al, al
jne 0x5f7f7a
mov eax, dword [ebp - 4]
cmp eax, 0x7d0
jbe 0x5f7e9c
push esi
push edi
push 0x7d0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
push ebx
push 1
call fcn.005f8990
add esp, 0x18
test al, al
jne 0x5f7d53
cmp byte [edi + 0x15], al
jne 0x5f7f7a
cmp byte [edi + 0x16], al
jne 0x5f7f7a
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
cmovb ecx, eax
sub eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
and eax, ecx
mov dword [ebp - 4], eax
je 0x5f7da6
push esi
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.005f8850
add esp, 0x14
test al, al
jne 0x5f7e89
mov eax, dword [esi]
mov ecx, esi
push str.3rd_UDP_send_for_nameserver_1_failed.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.004d9240
test al, al
jne 0x5f7f7a
mov eax, dword [ebp - 4]
cmp eax, 0x3e8
jbe 0x5f7f3b
push esi
push edi
push 0x3e8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
push ebx
push 1
call fcn.005f8990
add esp, 0x18
test al, al
jne 0x5f7d53
cmp byte [edi + 0x15], al
jne 0x5f7f7a
cmp byte [edi + 0x16], al
jne 0x5f7f7a
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
cmovb ecx, eax
sub eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
and eax, ecx
mov dword [ebp - 4], eax
je 0x5f7da6
push esi
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.005f8850
add esp, 0x14
test al, al
jne 0x5f7f2c
mov eax, dword [esi]
mov ecx, esi
push str.4th_UDP_send_for_nameserver_1_failed.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.004d9240
test al, al
jne 0x5f7f7a
mov eax, dword [ebp - 4]
push esi
push edi
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 1
call fcn.005f8990
add esp, 0x18
test al, al
jne 0x5f7d53
cmp byte [edi + 0x15], al
jne 0x5f7f7a
cmp byte [edi + 0x16], al
jne 0x5f7f7a
mov eax, dword [esi]
mov ecx, esi
push str.Waited__but_no_data_ready_on_UDP_socket.
call dword [eax + 0x14]
push dword [ebp + 8]
mov ecx, esi
push str.idleTimeoutMs
call fcn.004b3290
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret