Function at 0x454d57
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 [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x220]
push edi
lea edi, [ebp - 0x230]
push edi
mov dword [ebp - 0x22c], esi
mov esi, dword [ebp + 0x1c]
lea edi, [ebp - 0x240]
push edi
mov dword [ebp - 0x238], esi
xor esi, esi
push esi
push esi
push esi
push edx
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp + 0xc]
push 0x4d7658
push ecx
mov ecx, dword [ebp - 0x23c]
push eax
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
call fcn.00454550
test eax, eax
jne 0x454e11
mov esi, 0x80004005
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.004524f8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004959f8
leave
ret 0x1c
push ebx
xor eax, eax
push 0x210
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00495b20
add esp, 0xc
mov ebx, 0x100
mov dword [ebp - 0x228], ebx
cmp dword [ebp - 0x22c], esi
je 0x454fb9
cmp dword [ebp + 0x18], esi
jbe 0x454fb9
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x3f
push dword [ebp - 0x220]
call edi
test eax, eax
je 0x454f28
lea eax, [ebp - 0x218]
push 0x4d7a80
push eax
call fcn.00499872
pop ecx
pop ecx
test eax, eax
jne 0x454f28
mov ebx, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x224], 0x80004005
xor edi, edi
jmp 0x454ee7
mov eax, dword [ebp - 0x234]
cmp eax, esi
je 0x454f0d
lea ecx, [eax + edi]
cmp ecx, dword [ebp + 0x18]
jae 0x454ee7
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov eax, dword [ebp - 0x22c]
add eax, edi
push eax
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x454f13
cmp dword [ebp - 0x21c], esi
je 0x454f13
add edi, dword [ebp - 0x21c]
push esi
push esi
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], esi
call ebx
test eax, eax
jne 0x454ea6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
jne 0x454f13
mov dword [ebp - 0x224], esi
mov eax, dword [ebp - 0x238]
cmp eax, esi
je 0x454fb9
mov dword [eax], edi
jmp 0x454fb9
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push 5
push dword [ebp - 0x220]
mov dword [ebp - 0x228], ebx
call edi
test eax, eax
je 0x454faf
lea eax, [ebp - 0x218]
push eax
call fcn.0049981b
mov ebx, eax
pop ecx
cmp ebx, dword [ebp + 0x18]
jbe 0x454f62
mov ebx, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp + 0x18]
sub eax, edi
push eax
mov eax, dword [ebp - 0x22c]
add eax, edi
push eax
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_InternetReadFile]
add edi, dword [ebp - 0x21c]
cmp eax, esi
je 0x454f13
cmp dword [ebp - 0x21c], esi
je 0x454f13
cmp edi, ebx
jb 0x454f6a
jmp 0x454f13
mov dword [ebp - 0x224], 0x80004005
mov esi, dword [ebp - 0x224]
pop ebx
jmp 0x454ddf