Function at 0x40f9ec
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 0x40fc7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [0x448a10]
call fcn.00403fa8
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0040e900
push 0
push 0x80000000
push 0
push 0
lea eax, [ebp - 0x3c]
mov ecx, 0x40fc94
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 0x40fae6
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50010
push dword [0x448a10]
push 0x40fca8
push 0x40fcb8
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x40]
call fcn.00403fa8
push eax
push 0x40fccc
mov eax, dword [0x4488a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
jmp 0x40fc44
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.004064c8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.0040e6f0
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 0x40fbf4
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
call fcn.0040e914
push 0
push 0x80000000
push 0x15
push 0x40fd84
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 0x40fb8e
lea eax, [ebp - 0x50]
call fcn.0040ce8c
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.004065a4
mov eax, esi
call fcn.004028b8
push 1
push 0
push 0
push edi
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x40fc44
push 0x50040
push dword [0x448a10]
push 0x40fca8
push 0x40fda4
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x54]
call fcn.00403fa8
push eax
push 0x40fdb0
mov eax, dword [0x4488a8]
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 0x40fc83
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