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

Disassembly:
push 0xffffffffffffffff
push 0x507889
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0xac]
mov byte [edi], 0
mov ecx, ebp
mov byte [ebx], 0
call fcn.00407610
cmp byte [0x58134c], 0
je 0x4585ab
lea ecx, [esp + 0x18]
call fcn.00425650
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], 0
call fcn.00457ca0
test al, al
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x18]
jne 0x4585a6
call fcn.00425670
jmp 0x458a2e
call fcn.00425670
push 0x68
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x7c], 1
je 0x4585d0
mov ecx, eax
call fcn.004b6c70
mov esi, eax
jmp 0x4585d2
xor esi, esi
test esi, esi
mov dword [esp + 0x7c], 0xffffffff
jne 0x4585f6
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Memory_allocation_failure.
call edx
jmp 0x458a2e
push 0x23e6
mov ecx, esi
call fcn.004b75a0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x98]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ecx
mov ecx, dword [esp + 0x98]
push edi
push ebx
push edx
push eax
push ecx
mov ecx, esi
call fcn.004b7110
mov edx, dword [esi]
mov byte [esp + 0x17], al
mov eax, dword [edx]
mov ecx, esi
call eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4586b2
mov dword [esp + 0x1c], eax
jmp 0x458674
mov eax, dword [esp + 0x1c]
cmp ebx, eax
mov esi, ebx
jbe 0x45867c
mov esi, eax
push esi
call fcn.0041e160
mov ecx, dword [esp + 0xa0]
add esp, 4
test ecx, ecx
je 0x4586ac
push 0x70
push ebx
call fcn.0044e7f0
mov ecx, dword [esp + 0x9c]
call fcn.0044e700
test al, al
jne 0x45880c
sub dword [esp + 0x1c], esi
jne 0x458670
cmp byte [esp + 0x17], 0
je 0x4586c8
mov ecx, ebp
call fcn.0046fb80
test eax, eax
jne 0x4588f3
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x4586f3
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4586f3
sub eax, edx
cmp ecx, eax
jbe 0x458829
sub ecx, eax
mov dword [esp + 0x90], ecx
mov esi, dword [esp + 0x84]
push esi
lea ecx, [esp + 0x50]
call fcn.00407f30
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 2
call fcn.00407f30
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 3
call fcn.00407400
push 0x20
lea ecx, [esp + 0x28]
call fcn.004092d0
push 9
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0xd
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0xa
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x27
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x22
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x3c
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x3e
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x3a
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x2f
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x40
lea ecx, [esp + 0x28]
call fcn.004092d0
push 0x3f
lea ecx, [esp + 0x28]
call fcn.004092d0
lea ecx, [esp + 0x24]
call fcn.0046fb80
test eax, eax
lea ecx, [esp + 0x24]
je 0x458a13
call fcn.00408eb0
lea ecx, [esp + 0x24]
call fcn.0046fb80
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.0046fb80
cmp esi, eax
je 0x458939
call sub.KERNEL32.dll_GetTickCount
push 0x68
mov dword [esp + 0x24], eax
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x7c], 4
je 0x458846
mov ecx, eax
call fcn.004b6c70
mov esi, eax
jmp 0x458848
mov ecx, dword [esp + 0xa8]
mov byte [ecx], 1
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.DNS_lookup_aborted_by_application_callback..
mov ecx, edi
call eax
jmp 0x458a2e
mov ecx, dword [esp + 0xac]
mov byte [ecx], 1
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.DNS_timed_out.
mov ecx, edi
call eax
jmp 0x458a2e
xor esi, esi
test esi, esi
mov byte [esp + 0x7c], 3
jne 0x458864
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Memory_allocation_error
mov ecx, edi
call eax
jmp 0x458a0f
push 0x23e7
mov ecx, esi
call fcn.004b75a0
mov ecx, ebp
call fcn.00407610
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ecx
push edi
push ebx
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.004e81e0
push eax
mov ecx, esi
call fcn.004b7110
mov edx, dword [esi]
mov bl, al
mov eax, dword [edx]
mov ecx, esi
call eax
test bl, bl
je 0x458909
mov ecx, ebp
call fcn.0046fb80
test eax, eax
je 0x458909
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 2
call fcn.00408310
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00408310
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jb 0x458932
cmp dword [esp + 0x90], 0
je 0x458932
sub eax, ecx
cmp dword [esp + 0x90], eax
jbe 0x45897d
sub dword [esp + 0x90], eax
mov ebx, dword [esp + 0x94]
push 0x2e
lea ecx, [esp + 0x28]
call fcn.00409720
cmp eax, 1
jne 0x458a0f
push str.www.
lea ecx, [esp + 0x28]
call fcn.004076e0
push 0x68
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x7c], 5
je 0x458997
mov ecx, eax
call fcn.004b6c70
mov esi, eax
jmp 0x458999
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.DNS_timed_out.
mov ecx, edi
call eax
mov ecx, dword [esp + 0xac]
mov byte [ecx], 1
jmp 0x458a0f
xor esi, esi
test esi, esi
mov byte [esp + 0x7c], 3
je 0x458851
push 0x23e8
mov ecx, esi
call fcn.004b75a0
mov ecx, ebp
call fcn.00407610
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ecx
push edi
push ebx
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.004e81e0
push eax
mov ecx, esi
call fcn.004b7110
mov edx, dword [esi]
mov bl, al
mov eax, dword [edx]
mov ecx, esi
call eax
test bl, bl
jne 0x4588d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 2
call fcn.00408310
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00408310
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret