Function at 0x63611072
Capabilities:
Check if file exists
Create http request
Delete file
Download and write a file
Get file attributes
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x6362e866
call fcn.6361edb0
sub esp, 0x444
mov eax, dword [0x6363a530]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x428], esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x636110dc
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
jne 0x636110e3
xor eax, eax
jmp 0x636112c7
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x424], eax
cmp eax, esi
je 0x63611281
push esi
push esi
push esi
push esi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x418], eax
cmp eax, esi
je 0x63611281
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x440], 4
mov dword [ebp - 0x430], esi
xor edi, edi
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], esi
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x20000005
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x6361117d
or dword [ebp - 0x444], 0xffffffff
push 0x63637814
lea eax, [ebp - 0x444]
push eax
call fcn.6361e562
mov dword [ebp - 0x430], esi
mov ebx, dword [ebp - 0x42c]
mov dword [ebp - 0x438], ebx
push esi
push esi
push esi
push esi
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x434], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x44c], eax
push 0x400
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.6361d770
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x63611263
cmp dword [ebp - 0x420], esi
jne 0x63611209
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x448], 1
mov dword [ebp - 0x448], esi
push esi
push esi
mov eax, dword [ebp - 0x430]
add eax, edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [ebp - 0x434]
mov dword [ebp - 0x43c], edi
cmp dword [ebp - 0x420], esi
jbe 0x63611263
cmp edi, ebx
jb 0x636111b7
cmp edi, ebx
jb 0x63611281
mov dword [ebp - 0x428], 1
jmp 0x63611281
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x418], esi
je 0x63611299
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x424], esi
je 0x636112ad
push dword [ebp - 0x424]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x41c], esi
je 0x636112c1
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.6361d41e
leave
ret