Function at 0xe35760
Capabilities:
Check http status code
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
push str.Mozilla_4.0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [0xe449d4]
cmp esi, ebx
jne 0xe357b1
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [0xe449d4], esi
mov edi, dword [esp + 0x130]
xor eax, eax
cmp edi, ebx
je 0xe357c5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x124]
push ebx
push 0x4000000
push eax
push edi
push edx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
cmp ebp, ebx
jne 0xe357ef
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x20000013
push esi
mov dword [esp + 0x28], 0xc8
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0xe35839
mov eax, dword [esp + 0x14]
cmp eax, 0xc8
jb 0xe3582c
cmp eax, 0x12b
jbe 0xe35839
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov esi, dword [esp + 0x12c]
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0xe35859
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esi], ebx
mov dword [esp + 0x10], 1
mov dword [0xe449cc], ebx
mov dword [0xe449c4], ebx
mov dword [0xe449d0], ebx
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [0xe449cc], eax
mov dword [eax + 0xffc], ebx
mov eax, dword [0xe449d0]
add esp, 4
cmp eax, ebx
jne 0xe358a8
mov eax, dword [0xe449cc]
mov dword [0xe449d0], eax
jmp 0xe358be
mov edx, dword [0xe449c4]
mov eax, dword [0xe449cc]
mov dword [edx + 0xffc], eax
mov eax, dword [0xe449cc]
lea ecx, [esp + 0x10]
mov dword [0xe449c4], eax
push ecx
push 0xff8
push eax
push ebp
call edi
mov eax, dword [0xe449cc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0xff8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
add ecx, eax
cmp eax, ebx
mov dword [esi], ecx
jne 0xe3587b
inc ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x12c]
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [edi], eax
mov eax, dword [0xe449d0]
cmp ecx, ebx
mov dword [0xe449cc], eax
je 0xe35921
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0xe449cc]
add esp, 4
cmp eax, ebx
je 0xe35951
mov ecx, dword [eax + 0xff8]
mov edx, dword [edi]
push ecx
add edx, esi
push eax
push edx
call fcn.00e3b834
mov eax, dword [0xe449cc]
add esp, 0xc
mov ecx, dword [eax + 0xff8]
add esi, ecx
mov ecx, eax
mov eax, dword [eax + 0xffc]
jmp 0xe3590a
mov eax, dword [edi]
push ebp
mov byte [eax + esi], bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret