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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1403291e8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rax, r9
mov qword [rsp + 0x70], rax
mov rdi, r8
mov esi, edx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xa8], rcx
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rax
mov r15, qword [rsp + 0x260]
mov qword [rsp + 0x90], r15
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x270]
mov qword [rsp + 0x78], rbx
mov r12, qword [rsp + 0x278]
mov qword [rsp + 0x98], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rax
lea r8, str.domainLookupIpv4_win32
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.1400a0cf0
nop
mov byte [rbx], 0
mov byte [r12], 0
mov rcx, r15
call fcn.14008c890
call fcn.140160e40
test al, al
je 0x14016327b
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov ecx, 0x170
call fcn.1401fe370
mov r13, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x140162ed6
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, r13
call fcn.1401f2ff0
mov r13, rax
jmp 0x140162ed9
mov r13, r14
mov qword [rsp + 0x60], r13
jmp 0x140162f23
test r13, r13
je 0x14016327b
mov rcx, r13
call fcn.14005c450
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x60], eax
mov r9, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname1
mov rcx, rdi
call qword [r9 + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x58]
mov rcx, r13
call fcn.1401f3750
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.14005c380
test bl, bl
je 0x140162faf
mov rcx, r15
call fcn.140084c30
test eax, eax
jne 0x1401634a0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x140162fd0
test esi, esi
je 0x140162fd0
sub eax, ecx
cmp esi, eax
jbe 0x1401631f2
sub esi, eax
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
lea rcx, [rsp + 0x160]
call fcn.14007eda0
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x160]
call fcn.14007f130
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
lea rcx, [rsp + 0xd0]
call fcn.14007eda0
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xd0]
call fcn.14007f130
lea rcx, [rsp + 0xd0]
call fcn.14008b360
mov dl, 0x20
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 9
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0xd
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0xa
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x27
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x22
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x3c
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x3e
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x3a
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x2f
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x40
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
mov dl, 0x3f
lea rcx, [rsp + 0xd0]
call fcn.1400862c0
lea rcx, [rsp + 0xd0]
call fcn.140084c30
test eax, eax
je 0x14016325f
lea rcx, [rsp + 0xd0]
call fcn.14008b220
lea rcx, [rsp + 0xd0]
call fcn.140084c30
mov ebx, eax
lea rcx, [rsp + 0x160]
call fcn.140084c30
cmp ebx, eax
je 0x14016334e
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.1401fe370
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x140163209
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.1401f2ff0
mov r13, rax
jmp 0x14016320c
mov byte [r12], 1
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x14016327b
mov r13, r14
mov qword [rsp + 0x58], r13
jmp 0x140163244
mov rbx, qword [rsp + 0x78]
test r13, r13
jne 0x1401632ad
mov rax, qword [rdi]
lea rdx, str.Memory_allocation_error
mov rcx, rdi
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0xd0]
call fcn.14007edf0
nop
lea rcx, [rsp + 0x160]
call fcn.14007edf0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400a0e00
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1401feb70
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, r13
call fcn.14005c450
mov rcx, r15
call fcn.14008c890
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname2
mov rcx, rdi
call qword [rax + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8d, esi
lea rdx, [rsp + 0xd0]
mov rcx, r13
call fcn.1401f3750
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.14005c380
test bl, bl
je 0x140163331
mov rcx, r15
call fcn.140084c30
test eax, eax
jne 0x140163484
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x14016334e
test esi, esi
je 0x14016334e
sub eax, ecx
cmp esi, eax
jbe 0x1401633c0
sub esi, eax
mov dword [rsp + 0x50], esi
mov dl, 0x2e
lea rcx, [rsp + 0xd0]
call fcn.140082350
cmp eax, 1
jne 0x14016325f
lea rdx, str.www.
lea rcx, [rsp + 0xd0]
call fcn.140086120
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.1401fe370
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1401633b4
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.1401f2ff0
mov r14, rax
mov qword [rsp + 0x58], r14
mov r13, qword [rsp + 0x70]
jmp 0x140163403
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
mov byte [r12], 1
jmp 0x14016325f
mov rbx, qword [rsp + 0x78]
test r14, r14
je 0x14016324e
mov rcx, r14
call fcn.14005c450
mov rcx, r15
call fcn.14008c890
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname3
mov rcx, rdi
call qword [rax + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9, rdi
mov r8d, esi
lea rdx, [rsp + 0xd0]
mov rcx, r14
call fcn.1401f3750
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r14
call fcn.14005c380
test bl, bl
je 0x14016325f
lea rcx, [rsp + 0xd0]
call fcn.14007edf0
nop
lea rcx, [rsp + 0x160]
call fcn.14007edf0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400a0e00
mov al, 1
jmp 0x14016328a