Function at 0x10057a40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e042
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.10089620
mov eax, dword [0x100ae380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1040], 0
push 0
mov dword [ebp - 4], 1
call fcn.10068ff0
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
push str.Example
mov dword [ebp - 0x1040], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x103c], eax
test eax, eax
je 0x10057cc2
cmp dword [esi + 0x14], 0xf
jbe 0x10057ad9
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x1038], edi
test edi, edi
je 0x10057cb6
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 2
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10057bec
nop word [eax + eax]
mov esi, dword [ebp - 0x1014]
test esi, esi
je 0x10057bec
mov edx, dword [ebp - 0x1018]
mov eax, edx
mov ecx, dword [ebp - 0x101c]
sub eax, ecx
push esi
cmp esi, eax
ja 0x10057baa
lea eax, [ecx + esi]
cmp edx, 0xf
mov dword [ebp - 0x101c], eax
lea edi, [ebp - 0x102c]
cmova edi, dword [ebp - 0x102c]
lea eax, [ebp - 0x1010]
add edi, ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x1038]
jmp 0x10057bca
lea eax, [ebp - 0x1010]
mov byte [ebp - 0x1034], 0
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x102c]
push esi
call fcn.1004b740
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10057b50
push 0
push 1
sub esp, 0x28
lea ecx, [ebp - 0x1050]
mov eax, esp
lea edx, [ebp - 0x102c]
mov dword [eax + 0x24], 0
call fcn.1006c570
mov esi, dword [ebp - 0x1030]
add esp, 0x30
mov al, byte [ebp - 0x1050]
mov edi, dword [ebp - 0x1030]
mov cl, byte [esi]
mov byte [esi], al
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x1048]
mov esi, dword [esi + 0xc]
mov dword [edi + 8], eax
mov eax, edi
mov byte [ebp - 0x1034], cl
mov byte [ebp - 0x1050], cl
mov ecx, dword [ebp - 0x1044]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x1048], edx
mov dword [ebp - 0x1044], esi
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 3
call fcn.10068c40
mov edi, dword [ebp - 0x1038]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x1018]
cmp ecx, 0xf
jbe 0x10057cb6
mov edx, dword [ebp - 0x102c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10057cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10057cac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10087639
add esp, 8
push dword [ebp - 0x103c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1030]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10087516
mov esp, ebp
pop ebp
ret