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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12d, r9d
mov r15d, r8d
mov dword [rsp + 0x50], r8d
mov rbp, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov rbx, qword [rsp + 0x110]
mov r14, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x140]
mov qword [rsp + 0x40], rdi
mov r13, qword [rsp + 0x148]
mov qword [rsp + 0x38], r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
lea r8, str.resolveHostname6
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180105b50
nop
mov byte [rdi], 0
mov byte [r13], 0
mov rdx, rbp
lea rcx, [rsi + 0x50]
call fcn.1800d83d0
mov dword [rsi + 0xe0], r15d
mov ebp, dword [rsp + 0x120]
mov dword [rsi + 0xec], ebp
mov r15d, dword [rsp + 0x128]
mov dword [rsi + 0xe8], r15d
mov r13d, dword [rsp + 0x130]
mov dword [rsi + 0xf4], r13d
mov eax, dword [rsp + 0x138]
mov dword [rsi + 0xf0], eax
xor r9d, r9d
lea r8, [0x180304043]
lea rdx, str.http:__
lea rcx, [rsi + 0x50]
call fcn.1800d8000
xor r9d, r9d
lea r8, [0x180304043]
lea rdx, str.https:__
lea rcx, [rsi + 0x50]
call fcn.1800d8000
mov dl, 0x2f
lea rcx, [rsi + 0x50]
call fcn.1800d4710
mov dl, 0x3a
lea rcx, [rsi + 0x50]
call fcn.1800d4710
lea rcx, [rsi + 0x50]
call fcn.1800d9ae0
lea rcx, [rsi + 0x50]
call fcn.1800d6d70
test eax, eax
jne 0x1801c37d8
mov rax, qword [rbx]
lea rdx, str.Invalid_hostname_for_resolving_hostname_to_IP_address.
mov rcx, rbx
call qword [rax + 0x28]
mov r8, qword [rsp + 0x30]
lea rdx, str.hostname
mov rcx, rbx
call fcn.180106500
xor bl, bl
jmp 0x1801c398a
lea rcx, [rsi + 0x50]
call fcn.1800d6d80
mov rdi, rax
test r14, r14
je 0x1801c37fb
mov r8, rax
lea rdx, str.HostnameResolve
mov rcx, r14
call fcn.180125810
xor cl, cl
test r14, r14
je 0x1801c3815
movzx ecx, cl
mov eax, 1
cmp dword [r14 + 0xd0], 0
cmovne ecx, eax
lea rax, [rsi + 0xf8]
xor edx, edx
mov qword [rax], rdx
test cl, cl
mov ecx, dword [rsp + 0x138]
jne 0x1801c387c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x7c], r13d
mov dword [rsp + 0x78], ecx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.180156560
movzx ebx, al
jmp 0x1801c398a
mov qword [rsi + 0x48], r14
mov byte [rsi + 0x40], 1
mov dword [rsi + 0xec], ebp
mov dword [rsi + 0xe8], r15d
mov dword [rsi + 0xf4], r13d
mov dword [rsi + 0xf0], ecx
mov byte [rsi + 0xe4], dl
mov rcx, rsi
call fcn.1800ba6f0
call sub.KERNEL32.dll_GetTickCount
mov r15d, eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x1801c34f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1801c38eb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x1801c3907
mov rax, qword [rbx]
lea rdx, str.Failed_to_start_background_thread_for_resolving_domain_name.
mov rcx, rbx
call qword [rax + 0x28]
xor bl, bl
jmp 0x1801c398a
cmp byte [rbx + 0x161], 0
je 0x1801c3920
mov rax, qword [rbx]
lea rdx, str.Resolving_domain_name__IPV4_IPV6_...
mov rcx, rbx
call qword [rax + 0x30]
xor edi, edi
xor ebp, ebp
cmp byte [rsi + 0x40], dil
je 0x1801c3983
mov r13d, 2
inc ebp
mov ecx, 0xa
cmp ebp, 0xc8
cmovle ecx, r13d
call fcn.180104b90
inc edi
cmp edi, dword [r14 + 0xd0]
jb 0x1801c397d
xor edi, edi
mov rdx, rbx
mov rcx, r14
call fcn.180125000
test al, al
jne 0x1801c39de
test r12d, r12d
je 0x1801c397d
call sub.KERNEL32.dll_GetTickCount
cmp eax, r15d
jbe 0x1801c397d
sub eax, r15d
cmp eax, r12d
ja 0x1801c39c2
cmp byte [rsi + 0x40], 0
jne 0x1801c3930
movzx ebx, byte [rsi + 0xe4]
lea rcx, [rsp + 0x58]
call fcn.180105c80
movzx eax, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbx]
lea rdx, str.Timeout_in_resolving_domain_name.
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
xor bl, bl
jmp 0x1801c398a
mov rax, qword [rsp + 0x40]
mov byte [rax], 1
mov rax, qword [rbx]
lea rdx, str.DNS_lookup_aborted_by_application_callback
mov rcx, rbx
call qword [rax + 0x28]
xor bl, bl
jmp 0x1801c398a