Function at 0x40f8ec
Capabilities:
Create http request
Create process on windows
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f98
mov eax, dword [ebp - 8]
call fcn.00403f98
mov eax, dword [ebp - 0xc]
call fcn.00403f98
xor eax, eax
push ebp
push 0x40fb7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [0x442a08]
call fcn.00403fa8
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0040e810
push 0
push 0x80000000
push 0
push 0
lea eax, [ebp - 0x3c]
mov ecx, 0x40fb94
mov edx, dword [ebp - 4]
call fcn.00403df4
mov eax, dword [ebp - 0x3c]
call fcn.00403fa8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40f9e6
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50010
push dword [0x442a08]
push 0x40fba8
push 0x40fbb8
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x40]
call fcn.00403fa8
push eax
push 0x40fbd0
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
jmp 0x40fb44
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.00406478
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.0040e600
lea eax, [ebp - 0x37]
xor ecx, ecx
mov edx, 0x17
call fcn.00402b54
lea eax, [ebp - 0x1c]
push eax
push 0x17
lea eax, [ebp - 0x37]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x37]
mov ecx, 0x17
call fcn.00403d60
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
call fcn.00403ef4
jbe 0x40faf4
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
call fcn.0040e824
push 0
push 0x80000000
push 0x15
push 0x40fc9c
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403df4
mov eax, dword [ebp - 0x4c]
call fcn.00403fa8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
mov eax, 0xa00000
call fcn.00402888
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xa00000
sub eax, ebx
push eax
lea eax, [esi + ebx]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
add ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
jne 0x40fa8e
lea eax, [ebp - 0x50]
call fcn.0040cda4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
call fcn.00403df4
mov eax, dword [ebp - 0x20]
call fcn.00403fa8
mov edi, eax
mov eax, edi
mov ecx, ebx
mov edx, esi
call fcn.00406554
mov eax, esi
call fcn.004028b8
push 1
push 0
push 0
push edi
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x40fb44
push 0x50040
push dword [0x442a08]
push 0x40fba8
push 0x40fcbc
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x54]
call fcn.00403fa8
push eax
push 0x40fcc8
mov eax, dword [0x4428a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fb83
lea eax, [ebp - 0x54]
mov edx, 7
call fcn.00403b30
lea eax, [ebp - 0x20]
call fcn.00403b0c
lea eax, [ebp - 0x18]
call fcn.00403b0c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403b30
ret