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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x18], 0
je 0x4413ed
cmp dword [ebp + 0x10], 0
je 0x4413a2
mov dword [ebp - 0x30], 0x50fbd0
jmp 0x4413a9
mov dword [ebp - 0x30], 0x50fbd8
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004564c9
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x4413d9
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0045637e
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x4413e0
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0xc], 0
jne 0x4413ed
xor eax, eax
jmp 0x4415cc
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push str.VsyDownload_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4415ca
push 0
push 0x84000002
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x44144e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x4415cc
cmp dword [ebp + 0x14], 0
je 0x44145c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x441482
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x441482
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x44149c
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.00453339
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.00453ec0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x4414d7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x4414ec
cmp dword [ebp + 0x14], 0
jne 0x4414ec
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cmp eax, 0x400
jb 0x441517
mov dword [ebp - 0x38], 0x400
jmp 0x441520
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x18]
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0xc], 0
je 0x441563
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp - 0x24]
push edx
call fcn.00456272
add esp, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x44156a
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
ja 0x4414fa
cmp dword [ebp - 0xc], 0
je 0x441597
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004560b4
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.00455eae
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp + 0xc], 0
jne 0x4415c3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00453eaa
add esp, 4
mov eax, 1
jmp 0x4415cc
xor eax, eax
mov esp, ebp
pop ebp
ret