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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x44]
push edx
push 5
push edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x7d], bl
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42792d
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
mov byte [ebp - 0x7d], 1
call fcn.00474afc
mov ecx, dword [ebp - 0x50]
add esp, 0xc
mov dword [ebp - 0x84], eax
cmp ecx, eax
ja 0x42792d
mov edx, eax
cmp dword [ebp - 0x4c], edx
je 0x42792d
push 1
mov esi, ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401c30
test al, al
je 0x42792d
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
jae 0x42792a
lea eax, [ebp - 0x60]
mov byte [eax + esi], bl
push ebx
push ebx
lea ecx, [ebp - 0x8c]
push ecx
push edi
mov dword [ebp - 0x88], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edi, eax
cmp edi, ebx
je 0x427a09
lea ecx, [ecx]
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
jbe 0x427a1b
xor esi, esi
mov edi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
cmp eax, ebx
jbe 0x42799d
push eax
lea ecx, [ebp - 0x70]
call fcn.004152a0
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov eax, esi
sub eax, ecx
add eax, edi
je 0x427991
push eax
push ebx
push ecx
call fcn.0046f980
add esp, 0xc
mov eax, dword [ebp - 0x8c]
lea edx, [esi + edi]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x9c]
push ecx
push eax
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
cmp edi, ebx
je 0x427a0e
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
jbe 0x427a0e
add dword [ebp - 0x88], eax
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.00402730
cmp esi, ebx
je 0x4279e0
push esi
call fcn.0046f1de
add esp, 4
mov ecx, dword [ebp - 0x90]
push ebx
push ebx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edi, eax
cmp edi, ebx
jne 0x427950
mov byte [ebp - 0x7d], bl
jmp 0x427a6a
cmp esi, ebx
je 0x427a1b
push esi
call fcn.0046f1de
add esp, 4
cmp edi, ebx
je 0x427a09
cmp byte [ebp - 0x7d], bl
je 0x427a32
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x88], edx
jne 0x427a09
mov esi, dword [ebp - 0x98]
mov byte [ebp - 0x7d], 1
cmp esi, ebx
je 0x427a6a
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00427620
add esp, 8
push eax
mov ecx, esi
call fcn.00406e40
cmp dword [ebp - 0x68], 8
jb 0x427a6a
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0046f1de
add esp, 4
cmp dword [ebp - 0x4c], 0x10
pop edi
pop esi
pop ebx
jb 0x427a7f
mov eax, dword [ebp - 0x60]
push eax
call fcn.0046f1de
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7d]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret