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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffab8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
push str.resolveHostname6
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
push esi
mov dword [ebp - 0x54], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.00430cc0
mov eax, dword [ebp - 0x58]
lea ecx, [edi + 0x30]
push dword [ebp - 0x48]
mov dword [ebp - 4], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
call fcn.00425430
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x30]
mov dword [edi + 0xa4], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0xb0], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xac], eax
mov eax, dword [ebp + 0x24]
push 0x600cc0
mov dword [edi + 0xb8], eax
mov eax, dword [ebp + 0x28]
push str.http:__
mov dword [edi + 0xb4], eax
call fcn.00425100
push 0x600cc0
push str.https:__
lea ecx, [edi + 0x30]
call fcn.00425100
push 0x2f
lea ecx, [edi + 0x30]
call fcn.00422120
push 0x3a
lea ecx, [edi + 0x30]
call fcn.00422120
lea ecx, [edi + 0x30]
call fcn.00426220
lea ecx, [edi + 0x30]
call fcn.004239b0
test eax, eax
jne 0x53b9b2
mov eax, dword [esi]
mov ecx, esi
push str.Invalid_hostname_for_resolving_hostname_to_IP_address.
call dword [eax + 0x14]
push dword [ebp - 0x48]
mov ecx, esi
push str.hostname
call fcn.004317e0
mov byte [ebp - 0x41], 0
jmp 0x53bb6d
lea ecx, [edi + 0x30]
call fcn.00414900
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x53bb27
push ecx
push str.HostnameResolve
mov ecx, eax
call fcn.004810e0
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x88], 0
je 0x53bb24
mov dword [edi + 0x2c], eax
mov ecx, edi
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0xb0], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xac], eax
mov eax, dword [ebp + 0x24]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp + 0x28]
mov byte [edi + 0x28], 1
mov dword [edi + 0xb4], eax
mov dword [edi + 0xbc], 0
mov byte [edi + 0xa8], 0
call fcn.00411860
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push 0x53b650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x53bb12
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0xad], 0
je 0x53ba6c
mov eax, dword [esi]
mov ecx, esi
push str.Resolving_domain_name__IPV4_IPV6_...
call dword [eax + 0x18]
mov eax, dword [ebp - 0x50]
xor ecx, ecx
xor edi, edi
cmp byte [eax + 0x28], cl
je 0x53bb0a
nop dword [eax]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0xc8
jle 0x53ba90
push 0xa
jmp 0x53ba92
push 2
call fcn.004308f0
mov eax, dword [ebp - 0x4c]
inc edi
add esp, 4
cmp edi, dword [eax + 0x88]
jb 0x53bacc
push esi
mov ecx, eax
xor edi, edi
call fcn.00480960
test al, al
jne 0x53baf2
cmp dword [ebp + 0x10], edi
je 0x53bacc
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jbe 0x53bacc
sub eax, ecx
cmp eax, dword [ebp + 0x10]
ja 0x53bada
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x28], 0
je 0x53bb0a
mov ecx, dword [ebp - 0x14]
jmp 0x53ba80
mov eax, dword [esi]
mov ecx, esi
push str.Timeout_in_resolving_domain_name.
call dword [eax + 0x14]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 0x41], 0
mov byte [eax], 1
jmp 0x53bb6d
mov eax, dword [ebp - 0x58]
mov ecx, esi
push str.DNS_lookup_aborted_by_application_callback
mov byte [eax], 1
mov eax, dword [esi]
call dword [eax + 0x14]
mov byte [ebp - 0x41], 0
jmp 0x53bb6d
mov al, byte [eax + 0xa8]
jmp 0x53bb6a
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_start_background_thread_for_resolving_domain_name.
call dword [eax + 0x14]
mov byte [ebp - 0x41], 0
jmp 0x53bb6d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x28]
push 0
mov dword [ebp - 0x38], eax
lea eax, [edi + 0xbc]
push eax
mov dword [eax], 0
lea eax, [ebp - 0x40]
push esi
push eax
push dword [ebp + 0xc]
movups xmmword [ebp - 0x30], xmm0
push ecx
call fcn.00509a40
add esp, 0x18
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x20]
call fcn.00430db0
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x2c