Function at 0x40c450
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 0x40c475
push 2
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x70], 0
jne 0x40c53c
push 0
push 0
push 0
push 0
push 0x4a2bfc
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 0x40c4b5
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
push 0
push 0x20000000
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00401eb0
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 0x40c4f9
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
push 0
push 0
push 0x80
push 2
push 0
push 0x40000000
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.00401eb0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x74
call fcn.0040d110
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40c53c
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x7c]
cmp eax, dword [edx + 0x78]
jl 0x40c55b
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
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 0x40c597
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
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.0040d1d0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40c5db
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x40c5ec
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0040c6b0
xor eax, eax
jmp 0x40c682
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx + 0x4084]
cmp eax, 0x1f4
jbe 0x40c680
mov edx, dword [ebp - 0x18]
fild dword [edx + 0x7c]
fmul qword [0x4a2c58]
mov eax, dword [ebp - 0x18]
fidiv dword [eax + 0x78]
call fcn.0047c630
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
fild dword [edx + 0x7c]
fdiv qword [0x4a2c50]
sub esp, 8
fstp qword [esp]
push str._.1f_Mb___i___
mov eax, dword [ebp - 0x18]
add eax, 0x4080
push eax
call fcn.0040cc40
add esp, 0x14
mov ecx, dword [ebp - 0x18]
add ecx, 0x4080
call fcn.00413c20
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.0040ce00
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.0040ca30
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