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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519601
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x103c
call fcn.004fa0f0
mov eax, dword [0x5937d0]
xor eax, esp
mov dword [esp + 0x1038], eax
push ebx
push esi
push edi
mov eax, dword [0x5937d0]
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 0x4297b7
mov edi, 0x1000
cmp dword [esi + 0x54], ebx
jbe 0x42971c
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x54]
sub ecx, eax
cmp ecx, edi
ja 0x42971c
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.004f3c10
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.00429e1d
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 0x429777
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
jne 0x429840
push 0xffffffffffffffff
mov eax, esi
call fcn.00429e03
cmp dword [esp + 0x34], ebx
je 0x4297a7
push dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
call fcn.00429ba9
test eax, eax
je 0x4298a7
mov eax, dword [esp + 0x34]
add dword [esi + 0x6c], eax
cmp dword [esi + 0x54], ebx
jbe 0x4297ae
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x54]
jb 0x4297ae
mov dword [esi + 0x40], 1
cmp dword [esi + 0x40], ebx
je 0x4296f3
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 0x4298b1
push 1
push 0x40f
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 0x4298aa
call edi
push 1
push 0x3e7
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 0x429992
mov eax, dword [esi + 0x68]
test eax, eax
jbe 0x429922
mov eax, dword [esi + 0x54]
cmp eax, ebx
jbe 0x429922
cmp ecx, eax
je 0x429922
push 1
push 0x414
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 0x42982d
mov eax, dword [esi + 0x68]
test eax, eax
jbe 0x42998f
cmp dword [esi + 0x54], ebx
jne 0x42998f
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp eax, ecx
je 0x42998f
push 1
push 0x419
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 0x429918
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.004f2b62
mov esp, ebp
pop ebp
ret