Function at 0x40bff0
Capabilities:
Check for time delay via gettickcount
Create http request
Inspect section memory permissions
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x68]
test ecx, ecx
je 0x40c015
push 2
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x70], 0
jne 0x40c0dc
push 0
push 0
push 0
push 0
push 0x4a7df0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x6c], 0
jne 0x40c055
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
push 0
push 0x20000000
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00401f30
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
jne 0x40c099
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
push 0
push 0
push 0x80
push 2
push 0
push 0x40000000
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.00401f30
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x74
call fcn.0040ccd0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40c0dc
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x7c]
cmp eax, dword [edx + 0x78]
jl 0x40c0fb
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x4000
mov edx, dword [ebp - 0x18]
add edx, 0x80
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40c137
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x7c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x7c], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x80
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x74
call fcn.0040cdb0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40c17b
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x40c18c
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c250
xor eax, eax
jmp 0x40c222
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx + 0x4084]
cmp eax, 0x1f4
jbe 0x40c220
mov edx, dword [ebp - 0x18]
fild dword [edx + 0x7c]
fmul qword [0x4a7e48]
mov eax, dword [ebp - 0x18]
fidiv dword [eax + 0x78]
call fcn.00480bb0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
fild dword [edx + 0x7c]
fdiv qword [0x4a7e40]
sub esp, 8
fstp qword [esp]
push str._.1f_Mb___i___
mov eax, dword [ebp - 0x18]
add eax, 0x4080
push eax
call fcn.0040c800
add esp, 0x14
mov ecx, dword [ebp - 0x18]
add ecx, 0x4080
call fcn.004157c0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.0040c9c0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.0040c5f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x4084], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10