Function at 0x40dee7
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.00432710
and dword [ebp - 4], 0
cmp dword [ecx + 0x858], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x40df94
call fcn.0040ea57
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x40df94
mov ax, word [0x467084]
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 0x43caa8
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 0x40df83
push ebx
lea eax, [ebp - 0xc68]
push 0x43f45c
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
lea eax, [ebp - 0xc68]
push eax
call fcn.00429d2c
test eax, eax
pop ecx
jne 0x40df9b
xor eax, eax
jmp 0x40e2a5
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 0x40e2a2
jmp 0x40dfc5
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.0040ea94
mov ax, word [0x467084]
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 str._s_s
lea eax, [ebp - 0x650]
push ebx
push eax
call esi
add esp, 0x14
test byte [ebp - 0x34], 0x10
je 0x40e05d
lea eax, [ebp - 0x23c]
push 0x43f510
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40e293
lea eax, [ebp - 0x650]
push eax
call fcn.00429d2c
pop ecx
jmp 0x40e293
lea eax, [ebp - 0x650]
push eax
call fcn.00429d2c
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 0x40e0aa
lea eax, [ebp - 0x650]
push eax
call edi
cmp eax, 0xffffffff
je 0x40e0aa
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 0x40e187
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 0x40e11f
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a090
jmp 0x40e177
push str.IDR_ZIP_MINOR
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e13d
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a4a0
jmp 0x40e177
push str.IDR_ZIP_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e15b
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a298
jmp 0x40e177
push str.IDR_ZIP_MAJOR_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e187
lea eax, [ebp - 0x23c]
push 1
push eax
push str.data_360sefav.db
call fcn.0040ed8e
add esp, 0xc
test eax, eax
jne 0x40e293
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0040ecdf
mov ebx, eax
test ebx, ebx
je 0x40e293
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 0x40e20d
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 0x40e20d
push ebx
call fcn.0043265a
jmp 0x40e057
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.0040de7f
push ebx
mov dword [ebp - 4], eax
call fcn.0043265a
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x40e28a
lea eax, [ebp - 0x1078]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e28a
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 0x40e28a
cmp dword [ebp - 8], eax
je 0x40e282
lea eax, [ebp - 0x650]
push 1
push eax
lea eax, [ebp - 0x858]
push eax
call ebx
lea eax, [ebp - 0x1078]
jmp 0x40e290
lea eax, [ebp - 0x858]
push eax
call edi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jl 0x40dfc0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc