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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], esi
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x224], esi
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0x218], esi
push dword [ebp - 0x218]
lea ebx, [ebp - 0x20c]
push ebx
lea ebx, [ebp - 0x22c]
push ebx
lea ebx, [ebp - 0x220]
push ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
xor esi, esi
push edx
push 0x4d7a90
push ecx
mov ecx, dword [ebp - 0x228]
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], esi
call fcn.00454550
test eax, eax
jne 0x454ba4
mov esi, 0x80004005
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004524f8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret 0x28
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.00495b20
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
add esp, 0xc
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
push 0x3f
push dword [ebp - 0x20c]
mov ebx, 0x100
mov dword [ebp - 0x21c], ebx
call edi
test eax, eax
je 0x454ca5
lea eax, [ebp - 0x204]
push 0x4d7a80
push eax
call fcn.00499872
pop ecx
pop ecx
test eax, eax
jne 0x454ca5
mov ebx, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x210], 0x80004005
xor edi, edi
jmp 0x454c64
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x454c8a
lea ecx, [eax + edi]
cmp ecx, dword [ebp + 0x24]
jae 0x454c90
lea ecx, [ebp - 0x208]
push ecx
push eax
mov eax, dword [ebp - 0x214]
add eax, edi
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x454c90
cmp dword [ebp - 0x208], esi
je 0x454c90
add edi, dword [ebp - 0x208]
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x208], esi
call ebx
test eax, eax
jne 0x454c23
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
jne 0x454c90
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x224]
cmp eax, esi
je 0x454d4c
mov dword [eax], edi
jmp 0x454d4c
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
push 5
push dword [ebp - 0x20c]
mov dword [ebp - 0x21c], ebx
call edi
test eax, eax
je 0x454d42
mov ebx, dword [ebp - 0x214]
cmp ebx, esi
je 0x454d4c
mov edi, dword [ebp + 0x24]
cmp edi, esi
jbe 0x454d4c
lea eax, [ebp - 0x204]
push eax
call fcn.0049981b
pop ecx
mov dword [ebp - 0x214], eax
cmp eax, edi
jbe 0x454cf6
mov dword [ebp - 0x214], edi
xor edi, edi
mov dword [ebp - 0x208], esi
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp + 0x24]
sub eax, edi
push eax
lea eax, [ebx + edi]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.WININET.dll_InternetReadFile]
add edi, dword [ebp - 0x208]
cmp eax, esi
je 0x454c90
cmp dword [ebp - 0x208], esi
je 0x454c90
cmp edi, dword [ebp - 0x214]
jb 0x454cfe
jmp 0x454c90
mov dword [ebp - 0x210], 0x80004005
mov esi, dword [ebp - 0x210]
jmp 0x454b71