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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov ebx, r9d
mov rcx, r8
mov r15, r8
mov r13, rdx
call fcn.140040520
test rsi, rsi
je 0x14018bbca
mov rdi, qword [rsp + 0x80]
test ebx, ebx
mov ebp, 0x7d0
mov r9, rdi
cmovne ebp, ebx
mov rdx, r13
mov rbx, qword [rsp + 0x88]
mov r8d, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.14018c570
test al, al
jne 0x14018b912
mov rax, qword [rbx]
lea rdx, str.1st_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14018bbca
mov rdx, rbx
mov rcx, rdi
call fcn.1401a2300
test al, al
jne 0x14018bbca
call sub.KERNEL32.dll_GetTickCount
mov r9d, 0x5dc
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], rdi
mov ecx, 1
mov r12d, eax
call fcn.14018c6c0
test al, al
je 0x14018b97a
mov qword [rsp + 0x28], rbx
mov r9d, ebp
mov r8, r15
mov qword [rsp + 0x20], rdi
mov rdx, rsi
xor ecx, ecx
call fcn.14018b750
jmp 0x14018bbcc
cmp byte [rdi + 0x29], 0
jne 0x14018bbca
cmp byte [rdi + 0x2a], 0
jne 0x14018bbca
call sub.KERNEL32.dll_GetTickCount
cmp eax, r12d
mov ecx, ebp
cmovb r12d, eax
xor r14d, r14d
sub eax, r12d
sub ecx, eax
cmp eax, ebp
cmovb r14d, ecx
test r14d, r14d
jne 0x14018b9c4
mov rax, qword [rbx]
lea rdx, str.DNS_timeout.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14018bbca
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.14018c570
test al, al
jne 0x14018b9f3
mov rax, qword [rbx]
lea rdx, str.2nd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14018bbca
mov rdx, rbx
mov rcx, rdi
call fcn.1401a2300
test al, al
jne 0x14018bbca
cmp r14d, 0x7d0
jbe 0x14018bac2
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x60]
mov r9d, 0x7d0
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x60], 0xffffffff
mov ecx, 1
call fcn.14018c6c0
test al, al
jne 0x14018b95b
cmp byte [rdi + 0x29], al
jne 0x14018bbca
cmp byte [rdi + 0x2a], al
jne 0x14018bbca
call sub.KERNEL32.dll_GetTickCount
cmp eax, r12d
mov edx, r14d
mov ecx, r14d
cmovb r12d, eax
xor r14d, r14d
sub eax, r12d
sub edx, eax
cmp eax, ecx
cmovb r14d, edx
test r14d, r14d
je 0x14018b9af
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.14018c570
test al, al
jne 0x14018baaf
mov rax, qword [rbx]
lea rdx, str.3rd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14018bbca
mov rdx, rbx
mov rcx, rdi
call fcn.1401a2300
test al, al
jne 0x14018bbca
cmp r14d, 0x3e8
jbe 0x14018bb77
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x60]
mov r9d, 0x3e8
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x60], 0xffffffff
mov ecx, 1
call fcn.14018c6c0
test al, al
jne 0x14018b95b
cmp byte [rdi + 0x29], al
jne 0x14018bbca
cmp byte [rdi + 0x2a], al
jne 0x14018bbca
call sub.KERNEL32.dll_GetTickCount
cmp eax, r12d
mov edx, r14d
mov ecx, r14d
cmovb r12d, eax
xor r14d, r14d
sub eax, r12d
sub edx, eax
cmp eax, ecx
cmovb r14d, edx
test r14d, r14d
je 0x14018b9af
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.14018c570
test al, al
jne 0x14018bb68
mov rax, qword [rbx]
lea rdx, str.4th_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14018bbca
mov rdx, rbx
mov rcx, rdi
call fcn.1401a2300
test al, al
jne 0x14018bbca
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x60]
mov r9d, r14d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov ecx, 1
call fcn.14018c6c0
test al, al
jne 0x14018b95b
cmp byte [rdi + 0x29], al
jne 0x14018bbca
cmp byte [rdi + 0x2a], al
jne 0x14018bbca
mov rax, qword [rbx]
lea rdx, str.Waited__but_no_data_ready_on_UDP_socket.
mov rcx, rbx
call qword [rax + 0x28]
mov r8d, ebp
lea rdx, str.idleTimeoutMs
mov rcx, rbx
call fcn.14004dcd0
xor al, al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret