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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6516df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], esp
push str.domainLookupIpv4_win32
push esi
lea ecx, [ebp - 0x24]
call fcn.004f0370
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
xor ebx, ebx
mov byte [eax], bl
mov byte [ecx], bl
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 4], ebx
call fcn.004e3d50
call fcn.0058afc0
test al, al
je 0x58d202
push 0x11c
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x58cfb3
call fcn.00628c50
mov edi, eax
jmp 0x58cfc5
xor edi, edi
jmp 0x58cfc5
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x58d202
mov ecx, edi
call fcn.004d7fa0
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esi]
push 1
push str.resolveHostname1
mov ecx, esi
mov dword [ebp - 0x18], eax
call dword [edx + 0x24]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push ebx
push edx
mov ecx, edi
call fcn.006288b0
mov byte [ebp - 0x11], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, edi
call fcn.004d7f00
mov al, byte [ebp - 0x11]
test al, al
je 0x58d039
mov ecx, dword [ebp + 0x18]
call fcn.004e2930
test eax, eax
jne 0x58d3b3
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x58d058
test ebx, ebx
je 0x58d058
sub eax, ecx
cmp ebx, eax
jbe 0x58d1aa
sub ebx, eax
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x110]
call fcn.004e57f0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x110]
push edi
mov byte [ebp - 4], 4
call fcn.004e8a40
lea ecx, [ebp - 0x9c]
call fcn.004e57f0
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.004e8a40
lea ecx, [ebp - 0x9c]
call fcn.004e2b40
push 0x20
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 9
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0xd
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0xa
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x27
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x22
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x3c
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x3e
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x3a
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x2f
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x40
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
push 0x3f
lea ecx, [ebp - 0x9c]
call fcn.004e8d90
lea ecx, [ebp - 0x9c]
call fcn.004e2930
test eax, eax
je 0x58d1e4
lea ecx, [ebp - 0x9c]
call fcn.004e7c20
lea ecx, [ebp - 0x9c]
call fcn.004e2930
lea ecx, [ebp - 0x110]
mov edi, eax
call fcn.004e2930
cmp edi, eax
je 0x58d2a8
call sub.KERNEL32.dll_GetTickCount
xor edi, edi
push 0x11c
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], edi
mov byte [ebp - 4], 6
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 7
je 0x58d1cd
call fcn.00628c50
mov edi, eax
jmp 0x58d1cd
mov ecx, dword [ebp + 0x24]
push str.DNS_timed_out.
mov byte [ecx], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
jmp 0x58d202
test edi, edi
mov dword [ebp - 4], 5
jne 0x58d224
mov eax, dword [esi]
push str.Memory_allocation_error
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.004e58d0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0
call fcn.004e58d0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004f03e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004d7fa0
mov ecx, dword [ebp + 0x18]
call fcn.004e3d50
mov edx, dword [esi]
push 1
push str.resolveHostname2
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push esi
lea edx, [ebp - 0x9c]
push ebx
push edx
mov ecx, edi
call fcn.006288b0
mov byte [ebp - 0x11], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, edi
call fcn.004d7f00
mov al, byte [ebp - 0x11]
test al, al
je 0x58d28d
mov ecx, dword [ebp + 0x18]
call fcn.004e2930
test eax, eax
jne 0x58d395
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x58d2a8
test ebx, ebx
je 0x58d2a8
sub eax, ecx
cmp ebx, eax
jbe 0x58d2fa
sub ebx, eax
mov dword [ebp + 0xc], ebx
push 0x2e
lea ecx, [ebp - 0x9c]
call fcn.004e93c0
cmp eax, 1
jne 0x58d1e4
push str.www.
lea ecx, [ebp - 0x9c]
call fcn.004e4110
xor edi, edi
push 0x11c
mov dword [ebp + 8], edi
mov byte [ebp - 4], 9
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 0xa
je 0x58d320
call fcn.00628c50
mov edi, eax
jmp 0x58d320
mov edx, dword [esi]
push str.DNS_timed_out.
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [ebp + 0x24]
mov byte [eax], 1
jmp 0x58d1e4
test edi, edi
mov dword [ebp - 4], 5
jne 0x58d33c
mov edx, dword [esi]
push str.Memory_allocation_error
mov ecx, esi
call dword [edx + 0x14]
jmp 0x58d1e4
mov ecx, edi
call fcn.004d7fa0
mov ecx, dword [ebp + 0x18]
call fcn.004e3d50
mov eax, dword [esi]
push 1
push str.resolveHostname3
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x9c]
push ebx
push eax
mov ecx, edi
call fcn.006288b0
mov edx, dword [esi]
mov ecx, esi
mov bl, al
call dword [edx + 0x28]
mov ecx, edi
call fcn.004d7f00
test bl, bl
je 0x58d1e4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.004e58d0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0
call fcn.004e58d0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004f03e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret