Function at 0x2b8372b
Capabilities:
Connect to http server
Create http request
Get http content length
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x26ec
call fcn.02b86a40
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], ecx
and dword [ebp - 0xc], eax
lea ecx, [ebp - 0x50]
push 0x3c
pop esi
push esi
mov word [ebp - 0x450], ax
mov word [ebp - 0x250], ax
mov word [ebp - 0x150], ax
mov word [ebp - 0x26e8], ax
mov word [ebp - 0x16a0], ax
mov word [ebp - 0x658], ax
mov dword [ebp - 0x14], 4
call fcn.02b8553d
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x450]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x26e8]
pop ecx
lea ecx, [esi + 0x44]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x3c], 0x100
mov esi, 0x80000000
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x824
mov dword [ebp - 4], eax
test edi, edi
je 0x2b83935
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x2b8390a
cmp dword [ebp - 0x44], 3
je 0x2b83803
cmp dword [ebp - 0x44], 4
jne 0x2b8390a
cmp dword [ebp - 0x44], 4
mov eax, 0x80803000
cmove esi, eax
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Chrome
mov dword [ebp - 8], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x2b83831
mov esi, ebx
jmp 0x2b83933
push ebx
push ebx
push 3
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x450]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x2b83861
xor esi, esi
jmp 0x2b83925
cmp dword [ebp - 0x20], 0
lea ecx, [ebp - 0x16a0]
mov edx, dword [ebp - 0x24]
jne 0x2b83875
mov edx, 0x2b87824
call fcn.02b854e4
push 0
push esi
push 0
push 0x2b877c8
push str.HTTP_1.1
lea eax, [ebp - 0x16a0]
push eax
push 0x2b87828
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.02b8336c
mov esi, eax
test esi, esi
je 0x2b8390c
xor esi, esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
mov eax, dword [ebp - 0xc]
je 0x2b838e3
cmp eax, 0x3e800000
ja 0x2b8390c
test edi, edi
je 0x2b838e3
cmp dword [edi], eax
mov dword [edi], eax
jae 0x2b838e3
push 3
pop esi
jmp 0x2b8390c
push dword [ebp - 8]
lea ecx, [ebp - 0x658]
dec eax
push ecx
push 1
push dword [ebp + 8]
lea edx, [ebp - 0x16a0]
mov ecx, ebx
push eax
push esi
push esi
call fcn.02b833f8
add esp, 0x1c
mov esi, eax
jmp 0x2b8390c
xor esi, esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x2b8391a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x2b83925
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x2b83933
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret