Function at 0x1401f33a0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x1403291e8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12d, r9d
mov r13d, r8d
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0x110]
mov r14, qword [rsp + 0x118]
mov r15, qword [rsp + 0x140]
mov qword [rsp + 0x38], r15
mov rbp, qword [rsp + 0x148]
mov qword [rsp + 0x30], rbp
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea r8, str.resolveHostname6
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400a0cf0
nop
cmp byte [rbx + 0x161], 0
je 0x1401f343b
mov r8d, r12d
lea rdx, str.maxTimeMs
mov rcx, rbx
call fcn.1400a1aa0
mov byte [r15], 0
mov byte [rbp], 0
mov rdx, rdi
lea rcx, [rsi + 0x50]
call fcn.140088440
mov dword [rsi + 0xe0], r13d
mov r15d, dword [rsp + 0x120]
mov dword [rsi + 0xec], r15d
mov eax, dword [rsp + 0x128]
mov dword [rsi + 0xe8], eax
mov eax, dword [rsp + 0x130]
mov dword [rsi + 0xf4], eax
mov eax, dword [rsp + 0x138]
mov dword [rsi + 0xf0], eax
xor r9d, r9d
lea r8, [0x1402e4a96]
lea rdx, str.http:__
lea rcx, [rsi + 0x50]
call fcn.140087e80
xor r9d, r9d
lea r8, [0x1402e4a96]
lea rdx, str.https:__
lea rcx, [rsi + 0x50]
call fcn.140087e80
mov dl, 0x2f
lea rcx, [rsi + 0x50]
call fcn.140081880
mov dl, 0x3a
lea rcx, [rsi + 0x50]
call fcn.140081880
lea rcx, [rsi + 0x50]
call fcn.14008b360
lea rcx, [rsi + 0x50]
call fcn.140084c30
test eax, eax
jne 0x1401f3513
mov rax, qword [rbx]
lea rdx, str.Invalid_hostname_for_resolving_hostname_to_IP_address.
mov rcx, rbx
call qword [rax + 0x28]
mov r8, rdi
lea rdx, str.hostname
mov rcx, rbx
call fcn.1400a18e0
jmp 0x1401f3711
lea rcx, [rsi + 0x50]
call fcn.140084ca0
mov rdi, rax
test r14, r14
je 0x1401f3544
mov r8, rax
lea rdx, str.HostnameResolve
mov rcx, r14
call fcn.1401107b0
cmp dword [r14 + 0xd0], 0
jne 0x1401f35c8
lea rcx, [rbx + 0x98]
lea rdx, str.ForceDnsBgThread
call fcn.140081cf0
test al, al
jne 0x1401f35c8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
mov dword [rsp + 0x64], r15d
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x68], eax
lea rax, [rsi + 0xf8]
xor r15d, r15d
mov qword [rax], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x60]
mov edx, r13d
mov rcx, rdi
call fcn.140163730
movzx ebx, al
jmp 0x1401f3713
mov qword [rsi + 0x48], r14
mov byte [rsi + 0x40], 1
mov dword [rsi + 0xec], r15d
mov eax, dword [rsp + 0x128]
mov dword [rsi + 0xe8], eax
mov eax, dword [rsp + 0x130]
mov dword [rsi + 0xf4], eax
mov eax, dword [rsp + 0x138]
mov dword [rsi + 0xf0], eax
xor r15d, r15d
mov qword [rsi + 0xf8], r15
mov byte [rsi + 0xe4], r15b
mov rcx, rsi
call fcn.14005c450
call sub.KERNEL32.dll_GetTickCount
mov r13d, eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, [0x1401f3240]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1401f3701
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x161], r15b
je 0x1401f366d
mov rax, qword [rbx]
lea rdx, str.Resolving_domain_name__IPV4_IPV6_...
mov rcx, rbx
call qword [rax + 0x30]
mov edi, r15d
mov ebp, r15d
cmp byte [rsi + 0x40], dil
je 0x1401f36f8
mov eax, 2
inc ebp
mov ecx, 0xa
cmp ebp, 0xc8
cmovle ecx, eax
call sub.KERNEL32.dll_Sleep
inc edi
cmp edi, dword [r14 + 0xd0]
jb 0x1401f36c7
mov edi, r15d
mov rdx, rbx
mov rcx, r14
call fcn.14010fff0
test al, al
jne 0x1401f36e7
test r12d, r12d
je 0x1401f36c7
call sub.KERNEL32.dll_GetTickCount
cmp eax, r13d
jbe 0x1401f36c7
sub eax, r13d
cmp eax, r12d
ja 0x1401f36cd
cmp byte [rsi + 0x40], r15b
jmp 0x1401f3677
mov rax, qword [rbx]
lea rdx, str.Timeout_in_resolving_domain_name.
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [rsp + 0x30]
mov byte [rax], 1
jmp 0x1401f3711
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
lea rdx, str.DNS_lookup_aborted_by_application_callback
jmp 0x1401f3708
movzx ebx, byte [rsi + 0xe4]
jmp 0x1401f3713
lea rdx, str.Failed_to_start_background_thread_for_resolving_domain_name.
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.1400a0e00
movzx eax, bl
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401feb70
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret