Function at 0x40dfa9
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.00432650
and dword [ebp - 4], 0
cmp dword [ecx + 0x858], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x40e056
call fcn.0040eb19
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x40e056
mov ax, word [0x467104]
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 0x40e045
push ebx
lea eax, [ebp - 0xc68]
push 0x43f51c
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
lea eax, [ebp - 0xc68]
push eax
call fcn.00429c6c
test eax, eax
pop ecx
jne 0x40e05d
xor eax, eax
jmp 0x40e367
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 0x40e364
jmp 0x40e087
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.0040eb56
mov ax, word [0x467104]
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 0x43f5d8
lea eax, [ebp - 0x650]
push ebx
push eax
call esi
add esp, 0x14
test byte [ebp - 0x34], 0x10
je 0x40e11f
lea eax, [ebp - 0x23c]
push 0x43f5d0
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40e355
lea eax, [ebp - 0x650]
push eax
call fcn.00429c6c
pop ecx
jmp 0x40e355
lea eax, [ebp - 0x650]
push eax
call fcn.00429c6c
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 0x40e16c
lea eax, [ebp - 0x650]
push eax
call edi
cmp eax, 0xffffffff
je 0x40e16c
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 0x40e249
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 0x40e1e1
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a110
jmp 0x40e239
push str.IDR_ZIP_MINOR
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e1ff
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a520
jmp 0x40e239
push str.IDR_ZIP_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e21d
lea eax, [ebp - 0x23c]
push 1
push eax
push 0x46a318
jmp 0x40e239
push str.IDR_ZIP_MAJOR_DATA
push ebx
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40e249
lea eax, [ebp - 0x23c]
push 1
push eax
push str.data_360sefav.db
call fcn.0040ee50
add esp, 0xc
test eax, eax
jne 0x40e355
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0040eda1
mov ebx, eax
test ebx, ebx
je 0x40e355
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 0x40e2cf
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 0x40e2cf
push ebx
call fcn.0043259a
jmp 0x40e119
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.0040df41
push ebx
mov dword [ebp - 4], eax
call fcn.0043259a
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x40e34c
lea eax, [ebp - 0x1078]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e34c
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 0x40e34c
cmp dword [ebp - 8], eax
je 0x40e344
lea eax, [ebp - 0x650]
push 1
push eax
lea eax, [ebp - 0x858]
push eax
call ebx
lea eax, [ebp - 0x1078]
jmp 0x40e352
lea eax, [ebp - 0x858]
push eax
call edi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jl 0x40e082
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc