Function at 0x42f140
Capabilities:
Copy file
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4376d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b8
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x3c]
call fcn.004105f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x3d0], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CString::CString_4
mov ebp, dword [esp + 0x3d8]
push 0x5c
push ebp
mov byte [esp + 0x3d8], 1
call dword [sym.imp.MSVCRT.dll_strrchr]
mov ebx, eax
add esp, 8
mov edi, str.http:__www.ozexe.com_download_DeviceInterfaces_
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00410b80
test eax, eax
jne 0x42f234
lea ecx, [esp + 0x10]
mov byte [esp + 0x3d0], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x3d0], 0xffffffff
call fcn.00410730
xor eax, eax
jmp 0x42f4d2
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f4a9
lea eax, [esp + 0x30]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c0]
push eax
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x4c]
call fcn.00410ba0
test eax, eax
je 0x42f4a9
push ebp
lea ecx, [esp + 0x14]
push str.A_newer_version_of__s_is_available._nWould_you_like_to_download_it_now_
push ecx
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0xc
mov edx, dword [edi + 0x8c]
push 0x24
push edx
push eax
push 0
call esi
cmp eax, 6
jne 0x42f4a9
lea ecx, [esp + 0x1b8]
push ecx
push 0
push str.ozlib
push 0x44587c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
push ebp
je 0x42f485
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x42f32d
push 0x80
push ebp
mov esi, 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x42f331
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x1b8]
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x42f454
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x42f40e
push ebx
lea eax, [esp + 0xa8]
push str.Download__s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xa8]
push ebp
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c0]
push ecx
lea ecx, [esp + 0xb0]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
call fcn.00410860
test eax, eax
je 0x42f3c2
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x42f3c2
lea edx, [esp + 0x1b8]
mov dword [esp + 0x14], eax
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42f4a9
mov eax, dword [edi + 0x8c]
push 0x10
push eax
push str.Download_was_cancelled_or_not_completed_successfully.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ebp
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1b8]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test esi, esi
je 0x42f4a9
push 1
push ebp
call edi
jmp 0x42f4a9
lea edx, [esp + 0x1b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
lea eax, [esp + 0x14]
push str.Unable_to_delete__s_during_backup.
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [edi + 0x8c]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x42f4a9
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x42f4a9
lea eax, [esp + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
lea ecx, [esp + 0x14]
push str.Unable_to_backup__s.
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi + 0x8c]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0x10
push edx
push eax
jmp 0x42f43d
lea ecx, [esp + 0x14]
push str.Unable_to_create_backup_for__s.
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi + 0x8c]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0x10
push edx
push eax
push 0
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x3d0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x3d0], 0xffffffff
call fcn.00410730
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c4
ret 4