Function at 0x4238d0
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 [0x4d04a4]
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 0x42397d
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
mov byte [ebp - 0x7d], 1
call fcn.0042c13c
mov ecx, dword [ebp - 0x50]
add esp, 0xc
mov dword [ebp - 0x84], eax
cmp ecx, eax
ja 0x42397d
mov edx, eax
cmp dword [ebp - 0x4c], edx
je 0x42397d
push 1
mov esi, ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401bf0
test al, al
je 0x42397d
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
jae 0x42397a
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 0x423a59
lea ecx, [ecx]
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
jbe 0x423a6b
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 0x4239ed
push eax
lea ecx, [ebp - 0x70]
call fcn.0041a500
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov eax, esi
sub eax, ecx
add eax, edi
je 0x4239e1
push eax
push ebx
push ecx
call fcn.00426fc0
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 0x423a5e
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
jbe 0x423a5e
add dword [ebp - 0x88], eax
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.004026f0
cmp esi, ebx
je 0x423a30
push esi
call fcn.00426825
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 0x4239a0
mov byte [ebp - 0x7d], bl
jmp 0x423aba
cmp esi, ebx
je 0x423a6b
push esi
call fcn.00426825
add esp, 4
cmp edi, ebx
je 0x423a59
cmp byte [ebp - 0x7d], bl
je 0x423a82
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x88], edx
jne 0x423a59
mov esi, dword [ebp - 0x98]
mov byte [ebp - 0x7d], 1
cmp esi, ebx
je 0x423aba
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00423670
add esp, 8
push eax
mov ecx, esi
call fcn.00406c10
cmp dword [ebp - 0x68], 8
jb 0x423aba
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00426825
add esp, 4
cmp dword [ebp - 0x4c], 0x10
pop edi
pop esi
pop ebx
jb 0x423acf
mov eax, dword [ebp - 0x60]
push eax
call fcn.00426825
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7d]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret