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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc83d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x6baac0]
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]
lea ecx, [ebp - 0x20]
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x1c]
push str.domainLookupIpv4_win32
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], esi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.00430cc0
mov eax, dword [ebp - 0x120]
mov ecx, ebx
mov dword [ebp - 4], 0
mov byte [eax], 0
mov byte [esi], 0
call fcn.00426950
call fcn.00507620
test al, al
je 0x509504
push 0x11c
mov byte [ebp - 4], 1
call sub.mfc140.dll_Ordinal_1507
mov esi, eax
add esp, 4
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x5092ae
push 0x11c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0053b400
jmp 0x5092b0
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x509504
mov ecx, eax
call fcn.00411860
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [edi]
mov ecx, edi
push 1
push str.resolveHostname1
mov dword [ebp - 0x11c], eax
call dword [edx + 0x24]
push dword [ebp - 0x114]
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x10c]
push dword [ebp - 0x124]
push ebx
push dword [ebp - 0x128]
push edi
push esi
push dword [ebp - 0x110]
call fcn.0053bba0
mov edx, dword [edi]
mov ecx, edi
mov bl, al
call dword [edx + 0x28]
mov ecx, dword [ebp - 0x10c]
call fcn.004117b0
test bl, bl
mov ebx, dword [ebp - 0x118]
je 0x509341
mov ecx, ebx
call fcn.004239b0
test eax, eax
jne 0x509724
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x11c]
cmp eax, ecx
jb 0x509363
test esi, esi
je 0x509363
sub eax, ecx
cmp esi, eax
jbe 0x5094ef
sub esi, eax
mov dword [ebp + 0xc], esi
push 0x74
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00420e20
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
push esi
mov byte [ebp - 4], 4
call fcn.00420f90
push 0x74
lea eax, [ebp - 0x94]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x94]
call fcn.00420e20
push esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00420f90
lea ecx, [ebp - 0x94]
call fcn.00426220
push 0x20
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 9
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0xd
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0xa
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x27
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x22
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x3c
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x3e
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x3a
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x40
lea ecx, [ebp - 0x94]
call fcn.00424b90
push 0x3f
lea ecx, [ebp - 0x94]
call fcn.00424b90
lea ecx, [ebp - 0x94]
call fcn.004239b0
lea ecx, [ebp - 0x94]
test eax, eax
je 0x5095f0
call fcn.00426170
lea ecx, [ebp - 0x94]
call fcn.004239b0
lea ecx, [ebp - 0x108]
mov esi, eax
call fcn.004239b0
cmp esi, eax
je 0x509626
call sub.KERNEL32.dll_GetTickCount
push 0x11c
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 6
call sub.mfc140.dll_Ordinal_1507
mov esi, eax
add esp, 4
mov dword [ebp - 0x110], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x50952a
push 0x11c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0053b400
jmp 0x50952c
mov eax, dword [ebp - 0x114]
mov ecx, edi
push str.DNS_timed_out.
mov byte [eax], 1
mov eax, dword [edi]
call dword [eax + 0x14]
lea ecx, [ebp - 0x20]
call fcn.00430db0
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.005ebe04
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x509618
mov ecx, eax
call fcn.00411860
mov ecx, ebx
call fcn.00426950
mov eax, dword [edi]
mov ecx, edi
push 1
push str.resolveHostname2
call dword [eax + 0x24]
push dword [ebp - 0x114]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x94]
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x10c]
push dword [ebp - 0x124]
push ebx
push dword [ebp - 0x128]
push edi
push esi
push eax
call fcn.0053bba0
mov edx, dword [edi]
mov ecx, edi
mov bl, al
call dword [edx + 0x28]
mov ecx, dword [ebp - 0x10c]
call fcn.004117b0
test bl, bl
je 0x5095b8
mov ecx, dword [ebp - 0x118]
call fcn.004239b0
test eax, eax
jne 0x50970e
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x11c]
cmp eax, ecx
jb 0x509629
test esi, esi
je 0x509629
sub eax, ecx
cmp esi, eax
jbe 0x5095d5
sub esi, eax
jmp 0x509629
mov eax, dword [edi]
mov ecx, edi
push str.DNS_timed_out.
call dword [eax + 0x14]
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
lea ecx, [ebp - 0x94]
call fcn.00420e70
lea ecx, [ebp - 0x108]
call fcn.00420e70
jmp 0x509504
mov eax, dword [edi]
mov ecx, edi
push str.Memory_allocation_error
call dword [eax + 0x14]
jmp 0x5095ea
mov esi, dword [ebp + 0xc]
push 0x2e
lea ecx, [ebp - 0x94]
call fcn.004227e0
cmp eax, 1
jne 0x5095ea
push str.www.
lea ecx, [ebp - 0x94]
call fcn.00424a90
push 0x11c
mov byte [ebp - 4], 9
call sub.mfc140.dll_Ordinal_1507
mov ebx, eax
add esp, 4
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 4], 0xa
test ebx, ebx
je 0x50968d
push 0x11c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, ebx
call fcn.0053b400
mov ebx, eax
mov dword [ebp - 0x110], eax
jmp 0x509695
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 4], 5
test ebx, ebx
je 0x509618
mov ecx, ebx
call fcn.00411860
mov ecx, dword [ebp - 0x118]
call fcn.00426950
mov eax, dword [edi]
mov ecx, edi
push 1
push str.resolveHostname3
call dword [eax + 0x24]
push dword [ebp - 0x114]
lea eax, [ebp - 0x94]
mov ecx, ebx
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [ebp - 0x118]
push dword [ebp - 0x128]
push edi
push esi
push eax
call fcn.0053bba0
mov edx, dword [edi]
mov ecx, edi
mov bl, al
call dword [edx + 0x28]
mov ecx, dword [ebp - 0x110]
call fcn.004117b0
test bl, bl
je 0x5095ea
lea ecx, [ebp - 0x94]
call fcn.00420e70
lea ecx, [ebp - 0x108]
call fcn.00420e70
lea ecx, [ebp - 0x20]
call fcn.00430db0
mov al, 1
jmp 0x50950e