Function at 0x4ea6a7
Capabilities:
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x573980
call fcn.00524444
mov eax, 0x2024
call fcn.00524e70
push ebx
push esi
push edi
xor esi, esi
push 0x2001
lea eax, [ebp - 0x2030]
push esi
push eax
call fcn.00524810
mov ebx, dword [ebp + 0x20]
mov al, byte [ebp + 0x2b]
add esp, 0xc
mov byte [ebp - 0x28], al
mov dword [ebx], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x4ea708
or esi, 0xffffffff
jmp 0x4ea8b8
push esi
push esi
push 3
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x4ea728
or esi, 0xffffffff
jmp 0x4ea8af
push esi
push 0x4400000
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, esi
mov dword [ebp + 0x20], eax
jne 0x4ea74d
or esi, 0xffffffff
jmp 0x4ea8a6
push dword [ebp + 0x28]
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp + 0x18], esi
push dword [ebp + 0x24]
push esi
push esi
push eax
call edi
test eax, eax
je 0x4ea792
push esi
push 7
push esi
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetErrorDlg]
inc dword [ebp + 0x18]
cmp eax, 0x2f00
jne 0x4ea79a
cmp dword [ebp + 0x18], 3
jae 0x4ea79a
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push esi
push esi
push dword [ebp + 0x20]
jmp 0x4ea75f
or esi, 0xffffffff
jmp 0x4ea89d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000005
push dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp + 0x28], esi
mov edi, 0x2000
push edi
lea eax, [ebp - 0x2030]
push esi
push eax
call fcn.00524810
add esp, 0xc
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x2030]
push edi
push eax
push dword [ebp + 0x20]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, esi
mov dword [ebp + 0x18], eax
je 0x4ea845
mov eax, dword [ebp + 0x28]
add dword [ebx], eax
cmp dword [ebp + 0x2c], esi
mov eax, dword [ebx]
je 0x4ea80f
push dword [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [ebp + 0x2c]
add esp, 0xc
cmp dword [ebp + 0x28], esi
mov dword [ebp + 0x24], esi
jbe 0x4ea838
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x28]
lea eax, [ebp + eax - 0x2030]
push eax
call fcn.004ead9a
inc dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x28]
jb 0x4ea817
cmp dword [ebp + 0x28], esi
jne 0x4ea840
cmp dword [ebp + 0x18], 1
je 0x4ea86b
mov dword [ebp + 0x28], esi
jmp 0x4ea7c9
push dword [ebp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044611a
or eax, 0xffffffff
jmp 0x4ea8c6
mov eax, dword [ebx]
inc eax
push eax
call fcn.005444b9
mov edi, dword [ebp + 0x1c]
mov dword [edi], eax
mov ecx, dword [ebx]
inc ecx
push ecx
push esi
push eax
call fcn.00524810
add esp, 0x10
xor eax, eax
cmp dword [ebx], esi
jle 0x4ea89d
mov edx, dword [ebp - 0x24]
mov ecx, dword [edi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebx]
jl 0x4ea88d
push dword [ebp + 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044611a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret