Function at 0x60df68
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe9
push 0
push 0
dec ecx
jne 0x60df70
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x4f4], edx
mov edi, eax
lea eax, [ebp - 0x280]
mov edx, dword [0x418308]
call fcn.00408648
lea eax, [ebp - 0x4f0]
mov edx, dword [0x418308]
call fcn.00408648
xor eax, eax
push ebp
push 0x60e6ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x60e602
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x43c994]
call fcn.0044989c
mov dword [ebp - 0x500], eax
mov eax, dword [edi + 8]
dec eax
test eax, eax
jl 0x60e12b
inc eax
mov dword [ebp - 0x504], eax
xor ebx, ebx
lea ecx, [ebp - 0x538]
mov edx, ebx
mov eax, edi
call fcn.00550f5c
mov edx, dword [ebp - 0x50c]
lea eax, [ebp - 0xc]
call fcn.004072d4
lea eax, [ebp - 0xc]
mov dl, 0x2c
call fcn.005f3574
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.005f3530
mov dword [ebp - 0x4fc], eax
mov esi, dword [ebp - 0x4fc]
test esi, esi
jle 0x60e11e
mov dword [ebp - 0x4f8], 1
lea eax, [ebp - 8]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x4f8]
mov eax, dword [ebp - 0xc]
call fcn.005f3474
lea edx, [ebp - 0x53c]
mov eax, dword [ebp - 8]
call fcn.005f341c
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x570]
mov edx, ebx
mov eax, edi
call fcn.00550f5c
push dword [ebp - 0x554]
lea ecx, [ebp - 0x5a4]
mov edx, ebx
mov eax, edi
call fcn.00550f5c
push dword [ebp - 0x5a4]
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x2c]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408078
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x5a8]
mov eax, dword [ebp - 8]
call fcn.005f341c
push dword [ebp - 0x5a8]
lea ecx, [ebp - 0x5dc]
mov edx, ebx
mov eax, edi
call fcn.00550f5c
push dword [ebp - 0x5c0]
lea ecx, [ebp - 0x610]
mov edx, ebx
mov eax, edi
call fcn.00550f5c
push dword [ebp - 0x610]
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x30]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408078
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x4f8]
dec esi
jne 0x60e037
inc ebx
dec dword [ebp - 0x504]
jne 0x60dfe8
mov eax, dword [ebp - 0x4f4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x60e29d
inc eax
mov dword [ebp - 0x504], eax
xor ebx, ebx
lea ecx, [ebp - 0x644]
mov edx, ebx
mov eax, dword [ebp - 0x4f4]
call fcn.00550f5c
mov edx, dword [ebp - 0x618]
lea eax, [ebp - 0xc]
call fcn.004072d4
lea eax, [ebp - 0xc]
mov dl, 0x2c
call fcn.005f3574
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.005f3530
mov dword [ebp - 0x4fc], eax
mov esi, dword [ebp - 0x4fc]
test esi, esi
jle 0x60e290
mov dword [ebp - 0x4f8], 1
lea eax, [ebp - 8]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x4f8]
mov eax, dword [ebp - 0xc]
call fcn.005f3474
lea edx, [ebp - 0x648]
mov eax, dword [ebp - 8]
call fcn.005f341c
push dword [ebp - 0x648]
lea ecx, [ebp - 0x67c]
mov edx, ebx
mov eax, dword [ebp - 0x4f4]
call fcn.00550f5c
push dword [ebp - 0x660]
lea ecx, [ebp - 0x6b0]
mov edx, ebx
mov eax, dword [ebp - 0x4f4]
call fcn.00550f5c
push dword [ebp - 0x6b0]
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x2c]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408078
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x6b4]
mov eax, dword [ebp - 8]
call fcn.005f341c
push dword [ebp - 0x6b4]
lea ecx, [ebp - 0x6e8]
mov edx, ebx
mov eax, dword [ebp - 0x4f4]
call fcn.00550f5c
push dword [ebp - 0x6cc]
lea ecx, [ebp - 0x71c]
mov edx, ebx
mov eax, dword [ebp - 0x4f4]
call fcn.00550f5c
push dword [ebp - 0x71c]
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x30]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408078
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x4f8]
dec esi
jne 0x60e199
inc ebx
dec dword [ebp - 0x504]
jne 0x60e146
lea eax, [ebp - 0x10]
mov edx, dword [0x62e608]
mov edx, dword [edx]
mov edx, dword [edx + 8]
call fcn.004072d4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x60e2bc
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 2], 0x5c
je 0x60e2d4
lea eax, [ebp - 0x10]
mov edx, 0x60e70c
call fcn.00407f98
push dword [ebp - 0x10]
push 0x60e71c
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x2c]
lea eax, [ebp - 0x720]
mov edx, 3
call fcn.00408078
mov eax, dword [ebp - 0x720]
lea ecx, [ebp - 0x280]
mov edx, 0x1ff
call fcn.0041f26c
test eax, eax
jne 0x60e45b
mov eax, dword [ebp - 0x26c]
mov edx, 0x60e72c
call fcn.00408128
je 0x60e448
mov eax, dword [ebp - 0x26c]
mov edx, 0x60e73c
call fcn.00408128
je 0x60e448
lea eax, [ebp - 0x724]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x724]
mov dl, 1
call fcn.0041f084
test al, al
je 0x60e448
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x60e448
lea eax, [ebp - 0x728]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x728]
call fcn.00407d8c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x60e41d
call sub.kernel32.dll_GetLastError_1
mov esi, eax
lea eax, [ebp - 0x72c]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x72c]
call fcn.00407d8c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x60e417
test ah, 4
je 0x60e417
test al, 0x10
je 0x60e417
lea eax, [ebp - 0x730]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x730]
call fcn.00407d8c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x60e41d
push esi
call sub.kernel32.dll_SetLastError
push 0x60e750
push dword [ebp - 0x10]
push dword [ebp - 0x26c]
lea eax, [ebp - 0x734]
mov edx, 3
call fcn.00408078
mov eax, dword [ebp - 0x734]
xor edx, edx
call fcn.005f27ec
lea eax, [ebp - 0x280]
call fcn.0041f2bc
test eax, eax
je 0x60e314
lea eax, [ebp - 0x280]
call fcn.0041f2e0
push dword [ebp - 0x10]
push 0x60e71c
mov eax, dword [0x62e608]
mov eax, dword [eax]
push dword [eax + 0x30]
lea eax, [ebp - 0x738]
mov edx, 3
call fcn.00408078
mov eax, dword [ebp - 0x738]
lea ecx, [ebp - 0x4f0]
mov edx, 0x1ff
call fcn.0041f26c
test eax, eax
jne 0x60e5ed
mov eax, dword [ebp - 0x4dc]
mov edx, 0x60e72c
call fcn.00408128
je 0x60e5da
mov eax, dword [ebp - 0x4dc]
mov edx, 0x60e73c
call fcn.00408128
je 0x60e5da
lea eax, [ebp - 0x73c]
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x73c]
mov dl, 1
call fcn.0041f084
test al, al
je 0x60e5da
mov edx, dword [ebp - 0x4dc]
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x60e5da
lea eax, [ebp - 0x740]
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x740]
call fcn.00407d8c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x60e5af
call sub.kernel32.dll_GetLastError_1
mov esi, eax
lea eax, [ebp - 0x744]
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x744]
call fcn.00407d8c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x60e5a9
test ah, 4
je 0x60e5a9
test al, 0x10
je 0x60e5a9
lea eax, [ebp - 0x748]
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x10]
call fcn.00407ff0
mov eax, dword [ebp - 0x748]
call fcn.00407d8c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x60e5af
push esi
call sub.kernel32.dll_SetLastError
push 0x60e750
push dword [ebp - 0x10]
push dword [ebp - 0x4dc]
lea eax, [ebp - 0x74c]
mov edx, 3
call fcn.00408078
mov eax, dword [ebp - 0x74c]
xor edx, edx
call fcn.005f27ec
lea eax, [ebp - 0x4f0]
call fcn.0041f2bc
test eax, eax
je 0x60e4a6
lea eax, [ebp - 0x4f0]
call fcn.0041f2e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x60e618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e6f8
lea eax, [ebp - 0x74c]
mov edx, 0xc
call fcn.00406f0c
lea eax, [ebp - 0x71c]
mov edx, dword [0x5504d4]
mov ecx, 2
call fcn.00408770
lea eax, [ebp - 0x6b4]
call fcn.00406eac
lea eax, [ebp - 0x6b0]
mov edx, dword [0x5504d4]
mov ecx, 2
call fcn.00408770
lea eax, [ebp - 0x648]
call fcn.00406eac
lea eax, [ebp - 0x644]
mov edx, dword [0x5504d4]
mov ecx, 3
call fcn.00408770
lea eax, [ebp - 0x5a8]
call fcn.00406eac
lea eax, [ebp - 0x5a4]
mov edx, dword [0x5504d4]
mov ecx, 2
call fcn.00408770
lea eax, [ebp - 0x53c]
call fcn.00406eac
lea eax, [ebp - 0x538]
mov edx, dword [0x5504d4]
call fcn.00408720
lea eax, [ebp - 0x4f0]
mov edx, dword [0x418308]
mov ecx, 2
call fcn.00408770
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406f0c
ret