Function at 0x408ce0
Capabilities:
Check for time delay via gettickcount
Check http status code
Get http content length
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x481bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a02b4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esi + 0x18], 8
jb 0x408d1c
mov ecx, dword [esi + 4]
jmp 0x408d1f
lea ecx, [esi + 4]
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
xor edi, edi
push edi
push 0x80400000
push 0xffffffffffffffff
push edi
push ecx
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x6c], edi
je 0x408d88
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000013
mov dword [esp + 0x28], edi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ebp, 4
push esi
mov dword [esp + 0x88], ebp
call edi
cmp dword [esp + 0x18], 0xc8
je 0x408d9e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x20000005
push esi
mov byte [esp + 0x88], 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], 0
call edi
test eax, eax
setne al
test al, al
jne 0x408df0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x408eb8
mov eax, 0xa00000
mov byte [esp + 0x74], 1
mov dword [esp + 0x14], eax
jmp 0x408dfc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408eb8
mov ebp, dword [esp + 0x78]
lea edi, [eax + 1]
mov esi, ebp
call fcn.00402630
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
call ebx
fldz
mov ecx, dword [ebp + 8]
fst qword [esp + 0x3c]
mov dword [esp + 0x2c], eax
fstp qword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push esi
push ecx
call fcn.0046f200
mov eax, dword [esp + 0x20]
add esp, 0xc
xor edi, edi
test eax, eax
jbe 0x408eac
jmp 0x408e50
mov bl, byte [esp + 0x74]
test bl, bl
mov edx, 0x1000
jne 0x408e65
sub eax, esi
cmp eax, edx
jae 0x408e65
mov edx, eax
mov eax, dword [ebp + 8]
add esi, eax
push esi
lea esi, [esp + 0x30]
lea eax, [esp + 0x24]
call fcn.0040f460
cmp eax, 0xffffffff
je 0x408ea2
test eax, eax
jne 0x408e94
test bl, bl
jne 0x408ea2
push 0xa
call sub.KERNEL32.dll_Sleep
add edi, 1
cmp edi, 3
ja 0x408ea2
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
cmp esi, eax
jb 0x408e50
jmp 0x408eb0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
jmp 0x408eb0
mov bl, byte [esp + 0x74]
cmp esi, eax
je 0x408ed7
test bl, bl
jne 0x408edb
lea esi, [esp + 0x20]
call fcn.0040f430
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
test bl, bl
je 0x408ef3
cmp esi, 0xa00000
mov edx, dword [esp + 0x7c]
mov dword [edx], esi
jae 0x408ef9
mov eax, dword [ebp + 8]
add eax, esi
mov byte [eax], 0
jmp 0x408ef9
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
lea esi, [esp + 0x20]
call fcn.0040f430
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret