Function at 0x4017e0
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5040ae
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5845f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
mov dword [ebp - 4], 0
push str._____Getting__
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.004032e0
add esp, 8
mov ecx, dword [ebp - 0x438]
add ecx, 0x20
push ecx
push eax
call fcn.004032a0
add esp, 8
push 0x50af28
push eax
call fcn.004032e0
add esp, 8
mov dword [ebp - 0x440], eax
push 0x4168a0
mov ecx, dword [ebp - 0x440]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
push 0
push 0
push 1
push str.millennium.installer
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x444], eax
push 0
push 0x80000000
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00426820
push eax
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x438]
add eax, 0x20
push eax
push 0x5086a8
lea ecx, [ebp - 0x48c]
push ecx
call fcn.00501330
add esp, 4
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x44c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x474]
push ecx
call fcn.00404210
add esp, 0xc
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x454], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.004041e0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x474]
call fcn.0041b960
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48c]
call fcn.0041b960
push str._____Touching__
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.004032e0
add esp, 8
lea ecx, [ebp - 0x430]
push ecx
push eax
call fcn.004032a0
add esp, 8
push 0x50af28
push eax
call fcn.004032e0
add esp, 8
mov dword [ebp - 0x458], eax
push 0x4168a0
mov ecx, dword [ebp - 0x458]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x430]
call fcn.00426820
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x430]
call fcn.00426820
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x43c], eax
lea edx, [ebp - 0x414]
push edx
push 0x400
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401a12
cmp dword [ebp - 0x414], 0
jbe 0x401a12
push 0
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x414]
push eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019bf
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x431], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.0041b960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041b960
movzx eax, byte [ebp - 0x431]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502b55
mov esp, ebp
pop ebp
ret 0x18