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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472974
mov eax, dword fs:[0]
push eax
mov eax, 0x2038
call fcn.004675f0
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x2044], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x98]
mov edx, dword [edi + 0x94]
xor esi, esi
mov dword [ebp - 0x2034], ebx
mov dword [ebp - 0x203c], ecx
mov dword [ebp - 0x2038], edx
mov dword [ebp - 0x2040], ebx
jmp 0x450822
xor ebx, ebx
mov edx, dword [edi + 4]
lea eax, [ebp - 0x2034]
push eax
push 0x2000
lea ecx, [ebp - 0x2014]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x450923
push 0x483180
lea eax, [ebp - 0x2030]
call fcn.004025ce
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 1
call fcn.004503e0
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 0
call fcn.004025ff
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x450886
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 4], ebx
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x450897
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x4508a8
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0x28], ebx
cmp dword [edi + 0xa0], ebx
jle 0x450a81
mov eax, dword [edi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x203c]
mov edx, dword [ebp - 0x2038]
mov eax, dword [ebp - 0x2044]
dec dword [edi + 0xa0]
add ecx, esi
push ecx
sub edx, esi
push edx
push ebx
push eax
mov ecx, edi
call fcn.004505d0
test al, al
je 0x450a81
push str.InternetReadFile__use_next_attempt
lea eax, [ebp - 0x2030]
call fcn.004025ce
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 2
call fcn.004503e0
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 0
call fcn.004025ff
jmp 0x450822
mov eax, dword [ebp - 0x2034]
cmp eax, ebx
jne 0x4509fd
mov eax, dword [ebp - 0x2038]
cmp eax, 0xffffffff
je 0x450a7a
cmp esi, eax
je 0x450a7a
mov eax, dword [edi + 4]
xor esi, esi
cmp eax, ebx
je 0x45095b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 4], ebx
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x45096c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x45097d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0x28], ebx
cmp dword [edi + 0xa0], ebx
jle 0x450a81
mov ecx, dword [edi + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [edi + 0xa0]
cmp dword [ebp - 0x2038], ebx
mov edx, dword [ebp - 0x203c]
push ebx
setne al
movzx ecx, al
push edx
push ecx
push ebx
mov ecx, edi
call fcn.004505d0
test al, al
je 0x450a81
lea eax, [ebp - 0x2030]
cmp dword [edi + 0x74], ebx
jbe 0x450a50
push str.Downloaded_bytes_less_than_the_length_of_the_content__redownload_all
call fcn.004025ce
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 3
call fcn.004503e0
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 0
call fcn.004025ff
jmp 0x450822
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp - 0x203c]
add eax, esi
push eax
lea eax, [ebp - 0x2014]
push eax
call edx
add esi, dword [ebp - 0x2034]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub eax, dword [ebp - 0x2040]
cmp eax, 0x1f4
jbe 0x450820
mov ecx, dword [edi + 0xb0]
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
push edi
call eax
mov dword [ebp - 0x2040], ebx
jmp 0x450820
push str.Downloaded_bytes_less_than_the_length_of_the_content__contentLength0__break
call fcn.004025ce
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 4
call fcn.004503e0
lea ecx, [ebp - 0x2030]
mov byte [ebp - 4], 0
call fcn.004025ff
jmp 0x450a81
mov byte [edi + 0xac], 1
mov ecx, dword [edi + 0xb0]
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
push edi
call eax
mov ecx, dword [edi + 0xb0]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x450ad5
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x450ad5
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x450ad5
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 0xc