Function at 0x40de70
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1078
call fcn.00432320
and dword [ebp - 4], 0
cmp dword [ecx + 0x858], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x40df1d
call fcn.0040e9e0
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x40df1d
mov ax, word [0x466094]
push dword [ebp + 0xc]
mov word [ebp - 0xc68], ax
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0xc66]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, 0x207
stosw word es:[edi], ax
push 0x43baa0
lea eax, [ebp - 0xc68]
push ebx
push eax
call esi
lea eax, [ebp - 0xc68]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
cmp word [ebp + eax*2 - 0xc6a], 0x5c
je 0x40df0c
push ebx
lea eax, [ebp - 0xc68]
push 0x43e5b4
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
lea eax, [ebp - 0xc68]
push eax
call fcn.00429944
test eax, eax
pop ecx
jne 0x40df24
xor eax, eax
jmp 0x40e22e
xor edx, edx
mov ecx, 0x8b
xor eax, eax
cmp dword [ebp - 0xc], edx
lea edi, [ebp - 0x23c]
mov dword [ebp - 0x240], edx
rep stosd dword es:[edi], eax
mov dword [ebp + 0xc], edx
jle 0x40e22b
jmp 0x40df4e
mov ebx, 0x207
push 0x230
lea eax, [ebp - 0x240]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 0xc]
call fcn.0040ea1d
mov ax, word [0x466094]
mov ecx, 0x103
mov word [ebp - 0x650], ax
xor eax, eax
lea edi, [ebp - 0x64e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0xc68]
push eax
push 0x43e670
lea eax, [ebp - 0x650]
push ebx
push eax
call esi
add esp, 0x14
test byte [ebp - 0x34], 0x10
je 0x40dfe6
lea eax, [ebp - 0x23c]
push 0x43e668
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40e21c
lea eax, [ebp - 0x650]
push eax
call fcn.00429944
pop ecx
jmp 0x40e21c
lea eax, [ebp - 0x650]
push eax
call fcn.00429944
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ecx
lea eax, [ebp - 0x650]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x650]
push eax
call ebx
test eax, eax
je 0x40e033
lea eax, [ebp - 0x650]
push eax
call edi
cmp eax, 0xffffffff
je 0x40e033
and al, 0xfe
push eax
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
and word [ebp - 0x1078], 0
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x1076]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x650]
push eax
push str._s__d
lea eax, [ebp - 0x1078]
push 0x207
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x650]
push eax
call ebx
test eax, eax
je 0x40e110
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push str.IDR_ZIP_MAJOR
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e0a8
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x4690a0
jmp 0x40e100
push str.IDR_ZIP_MINOR
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e0c6
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x4694b0
jmp 0x40e100
push str.IDR_ZIP_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e0e4
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x4692a8
jmp 0x40e100
push str.IDR_ZIP_MAJOR_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e110
lea eax, [ebp - 0x23c]
push 1
push eax
push str.data_360sefav.db
call fcn.0040ed17
add esp, 0xc
test eax, eax
jne 0x40e21c
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0040ec68
mov ebx, eax
test ebx, ebx
je 0x40e21c
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
and word [ebp - 0x858], 0
mov dword [ebp - 8], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x856]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x650]
push eax
push str._s.bak
lea eax, [ebp - 0x858]
push 0x103
push eax
call esi
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x40e196
lea eax, [ebp - 0x858]
push 1
push eax
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40e196
push ebx
call fcn.00432272
jmp 0x40dfe0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x1078]
push eax
call edi
lea eax, [ebp - 0x1078]
push eax
push dword [ebp - 0x14]
push ebx
call fcn.0040de08
push ebx
mov dword [ebp - 4], eax
call fcn.00432272
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x40e213
lea eax, [ebp - 0x1078]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e213
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x650]
push 1
push eax
lea eax, [ebp - 0x1078]
push eax
call ebx
test eax, eax
jne 0x40e213
cmp dword [ebp - 8], eax
je 0x40e20b
lea eax, [ebp - 0x650]
push 1
push eax
lea eax, [ebp - 0x858]
push eax
call ebx
lea eax, [ebp - 0x1078]
jmp 0x40e219
lea eax, [ebp - 0x858]
push eax
call edi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jl 0x40df49
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc