Function at 0x42a9c0
Capabilities:
Check for time delay via gettickcount
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4caa08
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esi + 0x18], 8
jb 0x42aa01
mov ecx, dword [esi + 4]
jmp 0x42aa04
lea ecx, [esi + 4]
mov eax, dword [ebp + 8]
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 dword [esp + 0x20], eax
mov dword [esp + 0x68], edi
mov esi, 4
cmp eax, edi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [esp + 0x18], esi
je 0x42aa57
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000013
push eax
call edi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], 0xc8
je 0x42aa81
test eax, eax
je 0x42aa6c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
je 0x42aab3
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x20000005
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x42aad4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x42ab96
mov eax, 0xa00000
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], eax
jmp 0x42aae0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42ab96
mov esi, dword [ebp + 0xc]
lea edi, [eax + 1]
call fcn.00401c90
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call ebx
fldz
mov ecx, dword [esp + 0x14]
fst qword [esp + 0x3c]
mov ebx, dword [ebp + 0xc]
fstp qword [esp + 0x4c]
mov edx, dword [ebx + 8]
add ecx, 1
push ecx
push esi
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.004aef60
mov eax, dword [esp + 0x20]
add esp, 0xc
xor edi, edi
test eax, eax
jbe 0x42ab8b
nop
cmp byte [esp + 0x13], 0
mov edx, 0x1000
jne 0x42ab44
sub eax, esi
cmp eax, edx
jae 0x42ab44
mov edx, eax
mov eax, dword [ebx + 8]
add esi, eax
push esi
lea esi, [esp + 0x30]
lea eax, [esp + 0x24]
call fcn.00446da0
cmp eax, 0xffffffff
je 0x42ab83
test eax, eax
jne 0x42ab75
cmp byte [esp + 0x13], al
jne 0x42ab83
push 0xa
call sub.KERNEL32.dll_Sleep
add edi, 1
cmp edi, 3
ja 0x42ab83
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
cmp esi, eax
jb 0x42ab30
jmp 0x42ab8b
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
cmp esi, eax
je 0x42abb4
cmp byte [esp + 0x13], 0
jne 0x42abbb
lea esi, [esp + 0x20]
call fcn.00446d70
xor al, al
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x42abd2
cmp esi, 0xa00000
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jae 0x42abd7
mov ecx, dword [ebx + 8]
add ecx, esi
mov byte [ecx], 0
jmp 0x42abd7
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42abe6
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret