Function at 0x480080
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d508d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4fe0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x48025b
push 0x4da00e
push 0x100
call fcn.0049cefa
add esp, 8
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x4800e6
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x4800fb
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x4800fd
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
call fcn.0048a4d0
mov ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x48011a
test eax, eax
je 0x480126
test edi, edi
je 0x480126
push eax
mov ecx, edi
call fcn.00475680
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov eax, dword [ebp - 0x18]
push 0x100
push dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48022e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x480254
test edi, edi
je 0x4801d9
mov edx, dword [edi + 4]
xor eax, eax
mov dword [ebp - 0x20], edx
sub edx, dword [edi]
mov dword [ebp - 0x1c], ecx
add dword [ebp - 0x1c], ebx
adc eax, esi
test eax, eax
jb 0x4801c2
ja 0x480180
cmp dword [ebp - 0x1c], edx
jbe 0x4801c2
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x48018b
mov eax, dword [edi]
jmp 0x4801ba
jbe 0x4801bf
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x4801a4
push ecx
push esi
mov ecx, edi
call fcn.00475b50
mov ecx, dword [ebp - 0x10]
jmp 0x4801bf
sub esi, edx
push esi
push 0
push dword [ebp - 0x20]
call fcn.0049e870
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [edi + 4], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [edi]
push ecx
push dword [ebp - 0x34]
add eax, ebx
push eax
call fcn.0049e2f0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp + 0xc]
add ebx, ecx
adc esi, 0
mov dword [ebp - 0x14], esi
test eax, eax
je 0x480202
push ecx
push esi
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
call eax
add esp, 0x24
test eax, eax
je 0x48022e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp - 0x18]
push 0x100
push dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x480154
xor esi, esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x480240
push eax
call fcn.0049cf03
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x480230
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret