Function at 0x4726c0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x238], ebx
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 0
push 0
push 0
push ecx
push 0x67cc14
push edx
push esi
mov esi, dword [ebp - 0x240]
mov ecx, esi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
call fcn.00472ae0
test eax, eax
jne 0x472789
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00470570
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret 0x1c
push 0x212
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x22c], 0x100
test ebx, ebx
je 0x47295e
cmp dword [ebp + 0x18], 0
jbe 0x47295e
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x22c]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0x3f
push ebx
call esi
test eax, eax
je 0x4728d0
mov ecx, 0x67d4b0
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472816
test dx, dx
je 0x472812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472816
add eax, 4
add ecx, 4
test dx, dx
jne 0x4727f0
xor eax, eax
jmp 0x47281b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4728d0
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
lea eax, [ebp - 0x220]
xor esi, esi
mov dword [ebp - 0x21c], 0x80004005
push esi
push esi
push eax
push ebx
mov dword [ebp - 0x228], esi
call edi
test eax, eax
je 0x4728a6
jmp 0x472850
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4728b1
lea eax, [ecx + esi]
cmp eax, dword [ebp + 0x18]
jae 0x47288a
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x238]
push ecx
add eax, esi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4728bb
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x4728bb
add esi, eax
push 0
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push ebx
call edi
test eax, eax
jne 0x472850
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4728bb
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x47295d
mov dword [eax], esi
jmp 0x47295d
push 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x100
push eax
lea eax, [ebp - 0x218]
push eax
push 5
push ebx
call esi
test eax, eax
je 0x472953
lea eax, [ebp - 0x218]
push eax
call fcn.004e862e
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0x18]
cmp edi, eax
cmova edi, eax
xor esi, esi
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x220]
sub eax, esi
push ecx
push eax
mov eax, dword [ebp - 0x238]
add eax, esi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x220]
add esi, ecx
test eax, eax
je 0x472945
test ecx, ecx
je 0x472945
mov eax, dword [ebp + 0x18]
cmp esi, edi
jb 0x472914
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x47295d
mov dword [eax], esi
jmp 0x47295d
mov dword [ebp - 0x21c], 0x80004005
pop edi
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00470570
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
pop esi
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret 0x1c