Function at 0x404a00
Capabilities:
Create http request
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42cbbb
push eax
mov eax, 0xc36c
mov dword fs:[0], esp
call fcn.0040eb00
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x30d3
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
push 0x43eb64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
stosb byte es:[edi], al
call fcn.004212e1
push ebx
push ebx
push ebx
push ebx
push 0x43a730
mov dword [esp + 0xc394], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
je 0x404c1a
cmp edi, 0xffffffff
je 0x404c1a
mov eax, dword [esp + 0xc38c]
push ebx
push SysReAllocStringLen
push ebx
mov eax, dword [eax]
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x404c13
cmp eax, 0xffffffff
je 0x404c13
mov ecx, dword [esp + 0xc388]
push ebp
push ebx
push 0x80
mov eax, dword [ecx]
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebp, dword [esp + 0xc398]
mov ebx, dword [esp + 0xc394]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x28]
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push 0
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 0xc39c]
test eax, eax
je 0x404b4c
mov eax, 0x10624dd3
mul dword [esp + 0x14]
shr edx, 6
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xe8]
push 0
push 0
push 0x408
push eax
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xe8]
add eax, ecx
push 0
push eax
push 0x402
push edx
call edi
mov eax, dword [esi + 0xe8]
push 0
push 0
push 0x408
push eax
call edi
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [ebp]
lea edx, [esp + 0x10]
push eax
push ecx
push 0x43a768
push edx
call fcn.0041cce9
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
push 0x3ef
call fcn.004207b6
mov ecx, dword [esi + 0xe8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x404ae7
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc384], 0xffffffff
call fcn.00421273
mov eax, 1
pop ebp
jmp 0x404c30
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc380], 0xffffffff
call fcn.00421273
xor eax, eax
mov ecx, dword [esp + 0xc378]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc378
ret 0x14