Function at 0x62cea8
Capabilities:
Check internet connectivity via wininet
Create http request
Create process on windows
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x50a
push 0
push 0
dec ecx
jne 0x62ceb0
push ebx
mov byte [ebp - 0xd], dl
xor eax, eax
push ebp
push 0x62d2e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
lea eax, [ebp - 4]
call fcn.004056ac
lea eax, [ebp - 0xc]
call fcn.004056ac
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x62d055
push 0
push 0
push 0
push 0
push 0x62d2f8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2824]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x62d308
mov edx, 0x44
call fcn.00637180
mov eax, dword [ebp - 0x2824]
call fcn.005d4d3c
xor eax, eax
push ebp
push 0x62d04e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
je 0x62d032
push 0
push 0
push 0
push 0
push 0x62d310
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x62d032
xor eax, eax
push ebp
push 0x62d02b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0x2800
lea eax, [ebp - 0x1c]
push eax
push 0x2800
lea eax, [ebp - 0x281e]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x1c], 0
jbe 0x62d014
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x281e], 0
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x281e]
mov ecx, 0x2802
call fcn.0040591c
mov edx, dword [ebp - 0xc]
mov eax, 0x62d344
call fcn.00412714
test eax, eax
jne 0x62cfde
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00405744
lea eax, [ebp - 0xc]
call fcn.004056ac
jmp 0x62d014
lea ecx, [ebp - 4]
mov edx, 0x62d344
mov eax, dword [ebp - 0xc]
call fcn.006388b0
lea ecx, [ebp - 0x2828]
mov edx, 0x62d344
mov eax, dword [ebp - 0xc]
call fcn.0063894c
mov ecx, dword [ebp - 0x2828]
lea eax, [ebp - 0xc]
mov edx, 0x62d350
call fcn.004059e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d032
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d055
call fcn.005d4f20
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
lea edx, [ebp - 0x282c]
mov eax, dword [0x65a3f4]
mov eax, dword [eax]
call fcn.0048d1dc
mov eax, dword [ebp - 0x282c]
lea ecx, [ebp - 8]
mov edx, 0x62d360
call fcn.00639814
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x62d088
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf
jle 0x62d091
mov al, 1
jmp 0x62d098
cmp dword [ebp - 4], 0
sete al
test al, al
je 0x62d0a0
mov al, 1
jmp 0x62d0ae
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405af0
sete al
test al, al
je 0x62d0b6
mov al, 1
jmp 0x62d0ec
mov eax, ebx
test eax, eax
je 0x62d0c1
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
test edx, edx
je 0x62d0cd
sub edx, 4
mov edx, dword [edx]
cmp edx, eax
jne 0x62d0ea
mov eax, dword [ebp - 4]
call fcn.0062ce18
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0062ce18
cmp ebx, eax
setl al
jmp 0x62d0ec
xor eax, eax
test al, al
je 0x62d18d
cmp byte [ebp - 0xd], 0
je 0x62d280
push 0
lea eax, [ebp - 0x2834]
push eax
lea eax, [ebp - 0x283c]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x62d308
mov edx, 0x22b
call fcn.00637180
mov edx, dword [ebp - 0x283c]
lea eax, [ebp - 0x2838]
call fcn.00405950
mov eax, dword [ebp - 0x2838]
push eax
mov eax, 0x62d374
mov dword [ebp - 0x2840], eax
lea ecx, [ebp - 0x2840]
mov eax, dword [0x65a508]
mov eax, dword [eax]
pop edx
call fcn.006378a4
push dword [ebp - 0x2834]
push 0x62d390
push dword [ebp - 8]
push 0x62d39c
lea eax, [ebp - 0x2830]
mov edx, 4
call fcn.00405a5c
mov eax, dword [ebp - 0x2830]
call fcn.00638c58
jmp 0x62d280
mov eax, dword [0x65a450]
cmp dword [eax], 0
jne 0x62d1b3
mov ecx, dword [0x65a3f4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x625358]
call fcn.00633488
mov edx, dword [0x65a450]
mov dword [edx], eax
push 0
lea eax, [ebp - 0x2844]
push eax
lea eax, [ebp - 0x284c]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x62d308
mov edx, 0x22c
call fcn.00637180
mov edx, dword [ebp - 0x284c]
lea eax, [ebp - 0x2848]
call fcn.00405950
mov eax, dword [ebp - 0x2848]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2840], eax
lea ecx, [ebp - 0x2840]
mov eax, dword [0x65a508]
mov eax, dword [eax]
pop edx
call fcn.006378a4
mov edx, dword [ebp - 0x2844]
mov eax, dword [0x65a450]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.0046b6a8
lea edx, [ebp - 0x2850]
mov eax, dword [ebp - 0xc]
call fcn.0040b300
mov edx, dword [ebp - 0x2850]
mov eax, dword [0x65a450]
mov eax, dword [eax]
add eax, 0x37c
call fcn.00405700
mov eax, dword [0x65a450]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
dec eax
jne 0x62d280
mov byte [ebp - 0xe], 1
push 1
push 0x62d3a0
push 0
push 0x62d3a4
push 0
mov eax, dword [0x65a3f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d2ee
lea eax, [ebp - 0x2850]
call fcn.004056ac
lea eax, [ebp - 0x284c]
call fcn.00405ea8
lea eax, [ebp - 0x2848]
mov edx, 2
call fcn.004056d0
lea eax, [ebp - 0x283c]
call fcn.00405ea8
lea eax, [ebp - 0x2838]
mov edx, 5
call fcn.004056d0
lea eax, [ebp - 0x2824]
call fcn.00405ea8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004056d0
ret