Function at 0x100023b0
Capabilities:
Connect to http server
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ab3b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x1019b120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
call fcn.1000c3bc
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x10002418
push 0x80004005
call fcn.100032c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
call fcn.1000c3bc
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x10002446
push 0x80004005
call fcn.100032c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x30], 0
call fcn.10002dd0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.1000c707
test eax, eax
jne 0x1000249b
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 0x10195ca0
push eax
call fcn.10123774
mov bl, byte [ebp + 0x10]
xor eax, eax
mov ecx, 0x2000
mov dword [ebp + 0xc], 0
test bl, bl
mov dword [ebp - 0x4c], 4
cmovne eax, ecx
lea ecx, [ebp - 0x90]
or eax, 0x1002
push eax
push esi
call fcn.1000cb2d
mov byte [ebp - 4], 4
test bl, bl
je 0x100024e3
push 2
push 0
push 0
lea ecx, [ebp - 0x90]
call fcn.1000d321
cmp dword [ebp - 0x2c], 0x100b
mov eax, 0x4c03100
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x30]
mov esi, 0x4400100
mov dword [ebp + 8], 0
push dword [ebp - 0x28]
cmove esi, eax
push dword [edi + 0x40]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1000252f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push 0x10195ca0
push eax
call fcn.10123774
push 0
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x1017c744
push ecx
push 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x70], 0
push 0x1017c74c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jne 0x10002571
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 0x10195ca0
push eax
call fcn.10123774
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x20]
push 5
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp + 0xc]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
cmp dword [edi + 0xc], 0
mov dword [ebp + 0xc], ecx
lea ecx, [edi + 0xc]
jbe 0x100025e2
add edi, 0x10
cmp dword [edi], 0
jbe 0x100025df
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0
jbe 0x100025db
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push ecx
push 2
push dword [edx + 0x40]
call esi
push 4
push edi
mov edi, dword [ebp - 0x18]
push 5
push dword [edi + 0x40]
call esi
push 4
lea eax, [edi + 0x14]
push eax
push 6
push dword [edi + 0x40]
call esi
jmp 0x100025e2
mov edi, edx
jmp 0x100025e2
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x1c], 0x1f4
mov dword [ebp - 0x54], 4
call fcn.1000c3bc
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x1000260c
push 0x80004005
call fcn.100032c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 5
je 0x10002638
lea ecx, [ebp - 0x90]
call fcn.1000d028
mov esi, eax
mov dword [ebp - 0x78], edx
mov dword [ebp + 8], esi
jmp 0x1000263a
xor esi, esi
push 0x80000
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call fcn.1000b60d
mov dword [ebp + 0x10], eax
add esp, 4
mov eax, 0x80000
lea ecx, [ecx]
lea ecx, [eax - 1]
add ecx, esi
lea eax, [ebp - 0x1c]
push ecx
push esi
push str.Range:_bytes_d__d
push eax
call fcn.10002b40
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push 0
push 0
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1000269f
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push 0x10195ca0
push eax
call fcn.10123774
push 0
lea eax, [ebp - 0x54]
push eax
lea esi, [edi + 0x1c]
push esi
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x100026ca
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push 0x10195ca0
push eax
call fcn.10123774
cmp dword [esi], 0x1f4
jb 0x100026e7
push 0x10195ca0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
call fcn.10123774
mov esi, dword [ebp + 0x10]
xor edi, edi
lea esp, [esp]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10002715
call eax
test al, al
jne 0x10002715
push 0x10195ca0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
call fcn.10123774
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x10002739
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push 0x10195ca0
push eax
call fcn.10123774
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000275d
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push 0x10195ca0
push eax
call fcn.10123774
mov eax, dword [ebp - 0x38]
add edi, eax
add esi, eax
test eax, eax
jne 0x100026f0
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x90]
call fcn.1000d458
mov esi, dword [ebp + 8]
mov eax, 0x80000
add esi, edi
cmp edi, eax
mov edi, dword [ebp - 0x18]
mov dword [ebp + 8], esi
jae 0x10002660
push dword [ebp + 0x10]
call fcn.1000b616
add esp, 4
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x1c]
call fcn.10003030
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.1000cbe5
jmp 0x100027c6
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100027d6
push eax
call esi
test ebx, ebx
je 0x100027dd
push ebx
call esi
lea ecx, [ebp - 0x6c]
call fcn.10003030
lea ecx, [ebp - 0x24]
call fcn.10003030
lea ecx, [ebp - 0x28]
call fcn.10003030
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc