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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1084
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push eax
mov dword [ebp - 0x1080], eax
mov ebx, ecx
mov dword [ebp - 0x1078], esi
call fcn.00415a9b
cmp eax, esi
mov dword [ebp - 0x107c], eax
jg 0x414f79
xor eax, eax
jmp 0x4152de
xor eax, eax
push 0x40e
mov word [ebp - 0xe40], ax
lea eax, [ebp - 0xe3e]
push esi
push eax
call fcn.00492200
add esp, 0xc
push ebx
push 0x4d8558
mov ebx, 0x207
lea eax, [ebp - 0xe40]
push ebx
push eax
call fcn.0048e74d
lea eax, [ebp - 0xe40]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x414fbb
sub eax, ecx
sar eax, 1
cmp word [ebp + eax*2 - 0xe42], 0x5c
je 0x414fe9
push ebx
lea eax, [ebp - 0xe40]
push 0x4d8dcc
push eax
call fcn.0048fd69
add esp, 0xc
lea eax, [ebp - 0xe40]
push eax
call fcn.0047ee53
pop ecx
test eax, eax
je 0x414f72
cmp dword [ebp - 0x107c], esi
mov dword [ebp - 0x1074], esi
jle 0x4152d8
jmp 0x415014
xor esi, esi
push 0x230
lea eax, [ebp - 0x1070]
push esi
push eax
call fcn.00492200
mov ecx, dword [ebp - 0x1080]
add esp, 0xc
push dword [ebp - 0x1074]
lea edx, [ebp - 0x1070]
call fcn.00415aef
xor eax, eax
push 0x40e
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push esi
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0xe40]
push eax
push 0x4d8de4
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.0048e74d
add esp, 0x14
test byte [ebp - 0xe64], 0x10
je 0x4150b5
push 0x4d8df0
lea eax, [ebp - 0x106c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4152c0
lea eax, [ebp - 0x418]
push eax
call fcn.0047ee53
jmp 0x415225
lea eax, [ebp - 0x418]
push eax
call fcn.0047ee53
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ecx
lea eax, [ebp - 0x418]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x418]
push eax
call edi
test eax, eax
je 0x415103
lea eax, [ebp - 0x418]
push eax
call esi
cmp eax, 0xffffffff
je 0x415103
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0xa30], ax
lea eax, [ebp - 0xa2e]
push eax
call fcn.00492200
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x418]
push eax
push str._s__d
lea eax, [ebp - 0xa30]
push ebx
push eax
call fcn.0048e74d
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
call edi
test eax, eax
je 0x41519d
mov eax, dword [ebp + 0xc]
mov ecx, str.IDR_ZIP_MAJOR
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41517f
test dx, dx
je 0x41517b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41517f
add eax, 4
add ecx, 4
test dx, dx
jne 0x415159
xor eax, eax
jmp 0x415184
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41519d
lea eax, [ebp - 0x106c]
push eax
call fcn.00415dff
pop ecx
test eax, eax
jne 0x4152c0
push dword [ebp - 0x1074]
mov esi, dword [ebp - 0x1080]
call fcn.00415d33
mov esi, eax
test esi, esi
je 0x4152c0
lea eax, [ebp - 0x418]
push eax
call edi
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push str._s.bak
lea eax, [ebp - 0x620]
push 0x103
push eax
call fcn.0048e74d
add esp, 0x10
test edi, edi
je 0x41522b
push 1
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41522b
push esi
call fcn.0048cd90
pop ecx
jmp 0x4152c0
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0xe44]
lea eax, [ebp - 0xa30]
push eax
push esi
call fcn.0041484c
push esi
mov dword [ebp - 0x1078], eax
call fcn.0048cd90
add esp, 0xc
cmp dword [ebp - 0x1078], 0
je 0x4152ae
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4152ae
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xa30]
push eax
call esi
test eax, eax
jne 0x4152ae
test edi, edi
je 0x4152a6
push 1
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x620]
push eax
call esi
lea eax, [ebp - 0xa30]
jmp 0x4152b4
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0x207
inc dword [ebp - 0x1074]
mov eax, dword [ebp - 0x1074]
cmp eax, dword [ebp - 0x107c]
jl 0x415012
mov eax, dword [ebp - 0x1078]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
leave
ret 8