Function at 0x1001e2e6
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x60
mov eax, 0x1017ae18
call fcn.10145d80
lea ecx, [ebp - 0x6c]
call fcn.10116120
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.10007b11
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.10116282
neg al
sbb al, al
inc al
lea ecx, [ebp - 0x28]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], bl
call fcn.10003b75
cmp byte [ebp + 0xb], bl
je 0x1001e346
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10116185
mov eax, ebx
call fcn.10145e58
ret 0xc
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007ade
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.100100f8
movzx edi, word [ebp - 0x34]
push str.Range:_bytes0_1000_r_nConnection:_close_r_n
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], ebx
call fcn.10007b11
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x18], 0x7d0
mov dword [ebp + 8], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1001e4d6
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x18]
push ecx
push 6
push eax
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1001e4cd
push 4
lea eax, [ebp - 0x18]
push eax
push 5
push dword [ebp - 0x14]
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1001e4cd
push 4
lea eax, [ebp - 0x18]
push eax
push 2
push dword [ebp - 0x14]
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1001e4cd
push ebx
push ebx
push 3
push ebx
push ebx
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x1001e4cd
mov ecx, dword [ebp + 0x10]
neg ecx
push ebx
sbb ecx, ecx
and ecx, 0x800000
or ecx, 0x80000000
push ecx
push ebx
push ebx
push str.HTTP_1.1
push dword [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x1001e4b8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
push 0x10000000
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1001e4b8
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1001e4b8
lea eax, [ebp + 0x10]
push eax
mov esi, 0x800
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 1
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x1001e4ac
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1001e4b8
cmp dword [ebp - 0x10], esi
jae 0x1001e4b8
add dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
mov eax, esi
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
add ecx, eax
push ecx
push dword [ebp - 0x1c]
mov dword [ebp + 0x10], ebx
call edi
cmp eax, ebx
jne 0x1001e487
mov dword [ebp + 8], ebx
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x1001e4cd
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x20]
call fcn.10003b75
lea ecx, [ebp - 0x24]
call fcn.10003b75
lea ecx, [ebp - 0x28]
call fcn.10003b75
mov ebx, dword [ebp + 8]
jmp 0x1001e330