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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdbb6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x24]
push str.domainLookupIpv4_win32
mov dword [ebp - 0x244], ecx
push esi
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x238], eax
call fcn.0045a1b0
mov ecx, dword [ebp - 0x238]
mov byte [ebx], 0
mov byte [ecx], 0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0044ef40
cmp byte [0x6838c8], 0
je 0x54e361
lea ecx, [ebp - 0x230]
call fcn.0046dee0
lea ebx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0054d4e0
mov byte [ebp - 4], 0
mov ecx, ebx
test al, al
jne 0x54e35c
call fcn.0046df00
jmp 0x54e7cc
call fcn.0046df00
push 0x11c
mov byte [ebp - 4], 2
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x54e38b
mov ecx, eax
call fcn.0059d910
mov ebx, eax
jmp 0x54e38d
xor ebx, ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x54e7cc
mov ecx, ebx
call fcn.00408cd0
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esi]
push 1
mov dword [ebp - 0x23c], eax
mov eax, dword [edx + 0x24]
push str.resolveHostname1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push ecx
mov ecx, dword [ebp - 0x244]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x240]
push edi
push ecx
push esi
push edx
push eax
mov ecx, ebx
call fcn.0059de30
mov edx, dword [esi]
mov byte [ebp - 0x231], al
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov ecx, ebx
call fcn.00408fd0
cmp byte [ebp - 0x231], 0
je 0x54e41c
mov ecx, edi
call fcn.0044daa0
test eax, eax
jne 0x54e660
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [ebp - 0x23c]
cmp eax, edx
jb 0x54e441
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x54e441
sub eax, edx
cmp ecx, eax
jbe 0x54e59d
sub ecx, eax
mov dword [ebp + 0xc], ecx
lea ecx, [ebp - 0xfc]
call fcn.0044f8c0
mov ebx, dword [ebp - 0x240]
push ebx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 5
call fcn.00451450
lea ecx, [ebp - 0x88]
call fcn.0044f8c0
push ebx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00451450
lea ecx, [ebp - 0x88]
call fcn.0044dc40
push 0x20
lea ecx, [ebp - 0x88]
call fcn.00451750
push 9
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0xd
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0xa
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x27
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x22
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x3c
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x3e
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x3a
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x2f
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x40
lea ecx, [ebp - 0x88]
call fcn.00451750
push 0x3f
lea ecx, [ebp - 0x88]
call fcn.00451750
lea ecx, [ebp - 0x88]
call fcn.0044daa0
lea ecx, [ebp - 0x88]
test eax, eax
je 0x54e7b4
call fcn.004510d0
lea ecx, [ebp - 0x88]
call fcn.0044daa0
lea ecx, [ebp - 0xfc]
mov ebx, eax
call fcn.0044daa0
cmp ebx, eax
je 0x54e6c0
call sub.KERNEL32.dll_GetTickCount
push 0x11c
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 7
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x54e5b9
mov ecx, eax
call fcn.0059d910
mov ebx, eax
jmp 0x54e5bb
mov ecx, dword [ebp - 0x238]
mov byte [ecx], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.DNS_timed_out.
mov ecx, esi
call eax
jmp 0x54e7cc
xor ebx, ebx
mov dword [ebp - 4], 6
test ebx, ebx
je 0x54e68c
mov ecx, ebx
call fcn.00408cd0
mov ecx, edi
call fcn.0044ef40
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.resolveHostname2
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push ecx
mov ecx, dword [ebp - 0x244]
push edx
mov edx, dword [ebp + 0xc]
push eax
push edi
push ecx
push esi
push edx
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.0059de30
mov edx, dword [esi]
mov byte [ebp - 0x231], al
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov ecx, ebx
call fcn.00408fd0
cmp byte [ebp - 0x231], 0
je 0x54e69f
mov ecx, edi
call fcn.0044daa0
test eax, eax
je 0x54e69f
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.0044f980
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.0044f980
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
mov al, 1
jmp 0x54e7e0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Memory_allocation_error
mov ecx, esi
call eax
jmp 0x54e7ae
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [ebp - 0x23c]
cmp eax, edx
jb 0x54e6c0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x54e6c0
sub eax, edx
cmp ecx, eax
jbe 0x54e710
sub ecx, eax
mov dword [ebp + 0xc], ecx
push 0x2e
lea ecx, [ebp - 0x88]
call fcn.00451c20
cmp eax, 1
jne 0x54e7ae
push str.www.
lea ecx, [ebp - 0x88]
call fcn.00452510
push 0x11c
mov byte [ebp - 4], 0xa
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x54e72c
mov ecx, eax
call fcn.0059d910
mov ebx, eax
jmp 0x54e72e
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.DNS_timed_out.
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x238]
mov byte [ecx], 1
jmp 0x54e7ae
xor ebx, ebx
mov dword [ebp - 4], 6
test ebx, ebx
je 0x54e68c
mov ecx, ebx
call fcn.00408cd0
mov ecx, edi
call fcn.0044ef40
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.resolveHostname3
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push ecx
mov ecx, dword [ebp - 0x244]
push edx
mov edx, dword [ebp + 0xc]
push eax
push edi
push ecx
push esi
push edx
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.0059de30
mov edx, dword [esi]
mov byte [ebp - 0x231], al
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov ecx, ebx
call fcn.00408fd0
cmp byte [ebp - 0x231], 0
jne 0x54e642
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.0044f980
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.0044f980
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret