Function at 0x1801644d0
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.18001d560
test rsi, rsi
je 0x18016480a
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.1801651c0
test al, al
jne 0x180164552
mov rax, qword [rbx]
lea rdx, str.1st_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x18016480a
mov rdx, rbx
mov rcx, rdi
call fcn.18017a830
test al, al
jne 0x18016480a
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.180165310
test al, al
je 0x1801645ba
mov qword [rsp + 0x28], rbx
mov r9d, ebp
mov r8, r15
mov qword [rsp + 0x20], rdi
mov rdx, rsi
xor ecx, ecx
call fcn.180164390
jmp 0x18016480c
cmp byte [rdi + 0x29], 0
jne 0x18016480a
cmp byte [rdi + 0x2a], 0
jne 0x18016480a
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 0x180164604
mov rax, qword [rbx]
lea rdx, str.DNS_timeout.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x18016480a
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1801651c0
test al, al
jne 0x180164633
mov rax, qword [rbx]
lea rdx, str.2nd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x18016480a
mov rdx, rbx
mov rcx, rdi
call fcn.18017a830
test al, al
jne 0x18016480a
cmp r14d, 0x7d0
jbe 0x180164702
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.180165310
test al, al
jne 0x18016459b
cmp byte [rdi + 0x29], al
jne 0x18016480a
cmp byte [rdi + 0x2a], al
jne 0x18016480a
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 0x1801645ef
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1801651c0
test al, al
jne 0x1801646ef
mov rax, qword [rbx]
lea rdx, str.3rd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x18016480a
mov rdx, rbx
mov rcx, rdi
call fcn.18017a830
test al, al
jne 0x18016480a
cmp r14d, 0x3e8
jbe 0x1801647b7
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.180165310
test al, al
jne 0x18016459b
cmp byte [rdi + 0x29], al
jne 0x18016480a
cmp byte [rdi + 0x2a], al
jne 0x18016480a
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 0x1801645ef
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1801651c0
test al, al
jne 0x1801647a8
mov rax, qword [rbx]
lea rdx, str.4th_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x18016480a
mov rdx, rbx
mov rcx, rdi
call fcn.18017a830
test al, al
jne 0x18016480a
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.180165310
test al, al
jne 0x18016459b
cmp byte [rdi + 0x29], al
jne 0x18016480a
cmp byte [rdi + 0x2a], al
jne 0x18016480a
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.18002ad90
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