Function at 0x101891e0
Capabilities:
Check for time delay via gettickcount
Create thread
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101ab458
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x5c]
push str.resolveHostname6
push edi
lea ecx, [esp + 0x1c]
call fcn.10061630
cmp byte [edi + 0x125], 0
mov dword [esp + 0x48], 0
je 0x1018923e
mov eax, dword [esp + 0x58]
push eax
push str.maxTimeMs
mov ecx, edi
call fcn.10061310
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
mov byte [ecx], 0
lea edi, [esi + 0x30]
push eax
mov ecx, edi
mov byte [edx], 0
call fcn.10012d20
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
push 0
push 0x1023c7bc
mov dword [esi + 0xa4], ecx
push str.http:__
mov ecx, edi
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], edx
mov dword [esi + 0xb4], eax
call fcn.100113d0
push 0
push 0x1023c7bc
push 0x101afd28
mov ecx, edi
call fcn.100113d0
push 0x2f
mov ecx, edi
call fcn.100103f0
push 0x3a
mov ecx, edi
call fcn.100103f0
mov ecx, edi
call fcn.1000f7d0
mov ecx, edi
call fcn.1000f630
test eax, eax
jne 0x10189312
mov esi, dword [esp + 0x5c]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_hostname_for_resolving_hostname_to_IP_address.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
push ecx
push str.hostname
mov ecx, esi
call fcn.10060fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.100616a0
xor al, al
jmp 0x101894e8
mov ecx, edi
call fcn.1008be90
mov ecx, dword [esp + 0x60]
test ecx, ecx
mov edi, eax
je 0x1018933f
push edi
push str.HostnameResolve
call fcn.1007a7e0
mov edx, dword [esp + 0x60]
cmp dword [edx + 0x88], 0
jne 0x101893bf
mov ecx, dword [esp + 0x5c]
push str.ForceDnsBgThread
add ecx, 0x90
call fcn.10013020
test al, al
jne 0x101893bf
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
push 0
mov dword [esp + 0x30], eax
lea eax, [esi + 0xbc]
push eax
push edx
mov dword [eax], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x60]
push eax
push ecx
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
call fcn.10110f30
add esp, 0x18
mov bl, al
jmp 0x101894d5
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
mov dword [esi + 0xb0], ebp
xor ebp, ebp
mov ecx, esi
mov dword [esi + 0x2c], edi
mov byte [esi + 0x28], 1
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], edx
mov dword [esi + 0xb4], eax
mov dword [esi + 0xbc], ebp
mov byte [esi + 0xa8], 0
call fcn.100490a0
call sub.KERNEL32.dll_GetTickCount
lea ecx, [esp + 0x70]
push ecx
push ebp
push esi
push 0x10189170
push ebp
push ebp
mov dword [esp + 0x78], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, ebp
je 0x1018942c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, ebp
mov ecx, dword [esp + 0x5c]
setne al
test al, al
jne 0x10189448
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Failed_to_start_background_thread_for_resolving_domain_name.
call eax
jmp 0x101892fa
cmp byte [ecx + 0x125], 0
je 0x1018945d
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push str.Resolving_domain_name__IPV4_IPV6_...
call eax
xor ebx, ebx
cmp byte [esi + 0x28], bl
je 0x101894cf
jmp 0x10189470
add ebx, 1
cmp ebx, 0xc8
mov dword [esp + 0x6c], ebx
jle 0x10189483
push 0xa
jmp 0x10189485
push 2
call fcn.1002ace0
add ebp, 1
add esp, 4
cmp ebp, dword [edi + 0x88]
jb 0x101894c9
mov ebx, dword [esp + 0x5c]
push ebx
mov ecx, edi
xor ebp, ebp
call fcn.1007aa60
test al, al
jne 0x101894fe
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x101894c5
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jbe 0x101894c5
sub eax, ecx
cmp eax, ebx
ja 0x10189518
mov ebx, dword [esp + 0x6c]
cmp byte [esi + 0x28], 0
jne 0x10189470
mov bl, byte [esi + 0xa8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.100616a0
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x2c
mov ecx, dword [esp + 0x74]
mov byte [ecx], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.DNS_lookup_aborted_by_application_callback
mov ecx, ebx
call eax
jmp 0x101892fa
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Timeout_in_resolving_domain_name.
call eax
mov ecx, dword [esp + 0x78]
mov byte [ecx], 1
jmp 0x101892fa