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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff0a9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x103c
call fcn.004e44f0
mov eax, dword [0x56d790]
xor eax, esp
mov dword [esp + 0x1038], eax
push ebx
push esi
push edi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x1050]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x4265f9
mov edi, 0x1000
cmp dword [esi + 0x54], ebx
jbe 0x42655e
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x54]
sub ecx, eax
cmp ecx, edi
ja 0x42655e
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x54]
sub edi, eax
push 0x28
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.004de430
lea eax, [esp + 0x50]
mov dword [esp + 0x3c], eax
add esp, 0xc
mov eax, esi
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x34], edi
call fcn.00426c51
push esi
push ebx
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x4265b9
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
jne 0x426682
push 0xffffffffffffffff
mov eax, esi
call fcn.00426c37
cmp dword [esp + 0x34], ebx
je 0x4265e9
push dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
call fcn.004269dd
test eax, eax
je 0x4266e9
mov eax, dword [esp + 0x34]
add dword [esi + 0x6c], eax
cmp dword [esi + 0x54], ebx
jbe 0x4265f0
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x54]
jb 0x4265f0
mov dword [esi + 0x40], 1
cmp dword [esi + 0x40], ebx
je 0x426535
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4266f3
push 1
push 0x3f8
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CCoreWininet::ReadFile
call fcn.00401769
mov dword [esp + 0x1064], 3
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.wininet:_Operation_cancelled_by_caller.
call fcn.00401769
mov byte [esp + 0x1068], 4
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.inetreadfile
call fcn.00401769
mov byte [esp + 0x106c], 5
push 0x4c7
mov eax, dword [esi]
add eax, 0x14
or dword [esp + 0x1070], 0xffffffff
mov ecx, esi
call dword [eax]
jmp 0x4266ec
call edi
push 1
push 0x3d0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CCoreWininet::ReadFile
mov edi, eax
call fcn.00401769
mov dword [esp + 0x1064], ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.wininet:_InternetReadFileEx_failed_
call fcn.00401769
mov byte [esp + 0x1068], 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.inetreadfile
call fcn.00401769
mov byte [esp + 0x106c], 2
mov eax, dword [esi]
add eax, 0x14
push edi
or dword [esp + 0x1070], 0xffffffff
mov ecx, esi
call dword [eax]
mov dword [esi + 0x6c], ebx
xor eax, eax
jmp 0x4267d4
mov eax, dword [esi + 0x68]
test eax, eax
jbe 0x426764
mov eax, dword [esi + 0x54]
cmp eax, ebx
jbe 0x426764
cmp ecx, eax
je 0x426764
push 1
push 0x3fd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CCoreWininet::ReadFile
call fcn.00401769
mov dword [esp + 0x1064], 6
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.wininet:_File_is_corrupt_or_not_all_data_was_received.
call fcn.00401769
mov byte [esp + 0x1068], 7
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.inetreadfile
call fcn.00401769
mov byte [esp + 0x106c], 8
push 0x570
jmp 0x42666f
mov eax, dword [esi + 0x68]
test eax, eax
jbe 0x4267d1
cmp dword [esi + 0x54], ebx
jne 0x4267d1
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp eax, ecx
je 0x4267d1
push 1
push 0x402
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CCoreWininet::ReadFile
call fcn.00401769
mov dword [esp + 0x1064], 9
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.wininet:_File_is_corrupt_or_not_all_data_was_received.
call fcn.00401769
mov byte [esp + 0x1068], 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.inetreadfile
call fcn.00401769
mov byte [esp + 0x106c], 0xb
jmp 0x42675a
xor eax, eax
inc eax
mov ecx, dword [esp + 0x1050]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1038]
xor ecx, esp
call fcn.004dd215
mov esp, ebp
pop ebp
ret