Function at 0x1402bfb40
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.140149170
test rsi, rsi
je 0x1402bfe7a
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.1402c0820
test al, al
jne 0x1402bfbc2
mov rax, qword [rbx]
lea rdx, str.1st_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1402bfe7a
mov rdx, rbx
mov rcx, rdi
call fcn.140185fe0
test al, al
jne 0x1402bfe7a
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.1402c0970
test al, al
je 0x1402bfc2a
mov qword [rsp + 0x28], rbx
mov r9d, ebp
mov r8, r15
mov qword [rsp + 0x20], rdi
mov rdx, rsi
xor ecx, ecx
call fcn.1402bfa00
jmp 0x1402bfe7c
cmp byte [rdi + 0x29], 0
jne 0x1402bfe7a
cmp byte [rdi + 0x2a], 0
jne 0x1402bfe7a
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 0x1402bfc74
mov rax, qword [rbx]
lea rdx, str.DNS_timeout.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1402bfe7a
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1402c0820
test al, al
jne 0x1402bfca3
mov rax, qword [rbx]
lea rdx, str.2nd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1402bfe7a
mov rdx, rbx
mov rcx, rdi
call fcn.140185fe0
test al, al
jne 0x1402bfe7a
cmp r14d, 0x7d0
jbe 0x1402bfd72
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.1402c0970
test al, al
jne 0x1402bfc0b
cmp byte [rdi + 0x29], al
jne 0x1402bfe7a
cmp byte [rdi + 0x2a], al
jne 0x1402bfe7a
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 0x1402bfc5f
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1402c0820
test al, al
jne 0x1402bfd5f
mov rax, qword [rbx]
lea rdx, str.3rd_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1402bfe7a
mov rdx, rbx
mov rcx, rdi
call fcn.140185fe0
test al, al
jne 0x1402bfe7a
cmp r14d, 0x3e8
jbe 0x1402bfe27
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.1402c0970
test al, al
jne 0x1402bfc0b
cmp byte [rdi + 0x29], al
jne 0x1402bfe7a
cmp byte [rdi + 0x2a], al
jne 0x1402bfe7a
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 0x1402bfc5f
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r13
mov rcx, rsi
call fcn.1402c0820
test al, al
jne 0x1402bfe18
mov rax, qword [rbx]
lea rdx, str.4th_UDP_send_for_nameserver_1_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1402bfe7a
mov rdx, rbx
mov rcx, rdi
call fcn.140185fe0
test al, al
jne 0x1402bfe7a
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.1402c0970
test al, al
jne 0x1402bfc0b
cmp byte [rdi + 0x29], al
jne 0x1402bfe7a
cmp byte [rdi + 0x2a], al
jne 0x1402bfe7a
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.14015cc20
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