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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479b0c
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
call fcn.0046eb00
mov eax, dword [0x49b3d4]
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]
xor edi, edi
mov dword [ebp - 0x2060], edi
mov esi, ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
xor ebx, ebx
mov dword [ebp - 0x2068], eax
mov dword [ebp - 0x2050], ebx
mov dword [ebp - 0x205c], edi
mov dword [ebp - 0x2054], ecx
mov dword [ebp - 0x2058], edx
mov dword [ebp - 0x2060], edi
jmp 0x456d22
xor edi, edi
mov edx, dword [esi + 4]
lea eax, [ebp - 0x205c]
push eax
push 0x2000
lea ecx, [ebp - 0x2014]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x456e3a
mov eax, dword [esi + 4]
cmp eax, edi
je 0x456d58
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 4], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x456d69
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x456d7a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x28], edi
cmp dword [esi + 0x84], edi
jle 0x456fa1
mov eax, dword [esi + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2054]
mov edi, dword [ebp - 0x2058]
dec dword [esi + 0x84]
add ecx, ebx
sub edi, ebx
mov ebx, dword [esi + 0x88]
mov dword [ebp - 0x2064], ecx
test ebx, ebx
jle 0x456f9b
lea ecx, [ecx]
mov edx, dword [ebp - 0x2064]
push edx
push edi
push 0
lea ecx, [esi + 8]
dec ebx
call fcn.00457420
mov dword [esi + 4], eax
test eax, eax
jne 0x456def
test ebx, ebx
jle 0x456f9b
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x456dc0
mov eax, dword [ebp - 0x2064]
mov dword [esi + 0x7c], eax
push str.InternetReadFile__use_next_attempt
lea eax, [ebp - 0x2030]
mov dword [esi + 0x78], edi
call fcn.004025d0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x2030]
call fcn.00456a90
lea ecx, [ebp - 0x2030]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
mov ebx, dword [ebp - 0x2050]
jmp 0x456d20
mov ecx, dword [ebp - 0x205c]
cmp ecx, edi
jne 0x456f3d
mov eax, dword [ebp - 0x2058]
cmp eax, 0xffffffff
je 0x45703f
cmp ebx, eax
je 0x45703f
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2050], edi
cmp eax, edi
je 0x456e78
push eax
call ebx
mov dword [esi + 4], edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x456e89
push eax
call ebx
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x456e9a
push eax
call ebx
mov dword [esi + 0x28], 0
cmp dword [esi + 0x84], 0
jle 0x45700b
mov ecx, dword [esi + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [esi + 0x88]
dec dword [esi + 0x84]
test ebx, ebx
jle 0x45700b
jmp 0x456ed0
mov edx, dword [ebp - 0x2054]
mov eax, dword [ebp - 0x2058]
push edx
push eax
push 0
lea ecx, [esi + 8]
dec ebx
call fcn.00457420
mov dword [esi + 4], eax
test eax, eax
jne 0x456f05
test ebx, ebx
jle 0x45700b
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x456ed0
cmp dword [esi + 0x74], 0
mov ecx, dword [ebp - 0x2058]
mov edx, dword [ebp - 0x2054]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], edx
jbe 0x456fd7
push str.Download_bytes_is_low__redownload_all
lea eax, [ebp - 0x2030]
call fcn.004025d0
mov dword [ebp - 4], 0x14
jmp 0x456e12
mov eax, dword [ebp - 0x2054]
mov edx, dword [ebp - 0x2068]
mov edi, dword [edx]
push ecx
add eax, ebx
push eax
lea ecx, [ebp - 0x2014]
push ecx
mov ecx, edx
mov edx, dword [edi + 0xc]
call edx
add ebx, dword [ebp - 0x205c]
mov dword [ebp - 0x2050], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub eax, dword [ebp - 0x2060]
cmp eax, 0x1f4
jbe 0x456d20
mov ecx, dword [esi + 0x94]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
push esi
call eax
mov dword [ebp - 0x2060], edi
jmp 0x456d20
mov ebx, dword [ebp - 0x2050]
push str.InternetReadFile__fail_chunk
lea eax, [ebp - 0x2030]
call fcn.004025d0
lea ecx, [ebp - 0x2030]
mov dword [ebp - 4], 0xa
call fcn.00456a90
lea ecx, [ebp - 0x2030]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
jmp 0x457011
push str.Download_bytes_is_low__contentLength0__break
lea eax, [ebp - 0x204c]
call fcn.004025d0
lea ecx, [ebp - 0x204c]
mov dword [ebp - 4], 0x15
call fcn.00456a90
lea ecx, [ebp - 0x204c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
mov ebx, dword [ebp - 0x2050]
mov ecx, dword [esi + 0x94]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
push esi
call eax
mov eax, ebx
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.00458db6
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x90], 1
jmp 0x457011