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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x100bc9d7
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1010001c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x80]
lea ecx, [ebp + 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.10006780
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x40]
call fcn.10008160
xorps xmm0, xmm0
mov dword [ebp + 8], 0
lea ecx, [ebp + 0x28]
movlpd qword [ebp], xmm0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
movlpd qword [ebp + 0x20], xmm0
call fcn.10003a00
mov byte [ebp - 4], 2
push 4
mov dword [ebp + 0x70], 0
call fcn.1008a198
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 2
mov dword [ebp + 0x70], eax
mov byte [ebp - 4], 4
lea eax, [ebp + 0x40]
push 0x100e1b70
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.10003d00
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x70]
call fcn.10006450
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
mov esi, dword [ebp + 0x70]
test bl, bl
je 0x10007019
lea ecx, [ebp]
call fcn.10005e00
test al, al
jne 0x10006eee
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x10006e84
mov al, 1
jmp 0x10006e86
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x58]
push eax
je 0x10006ebe
call fcn.10007c20
mov byte [ebp - 4], 6
push eax
call fcn.10006d60
mov ebx, eax
mov edi, edx
add esp, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
jmp 0x10006efa
call fcn.10007c20
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x58]
call fcn.10011e10
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x14], eax
mov edi, edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
jmp 0x10006efa
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10006180
test al, al
je 0x1000701f
nop dword [eax]
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x10006f21
mov al, 1
jmp 0x10006f23
xor al, al
test al, al
je 0x10006f7c
lea ecx, [ebp + 0x28]
call fcn.10004080
test eax, eax
je 0x10006f7c
lea ecx, [ebp + 0x28]
call fcn.10003a20
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x10006f45
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x10006f7c
lea ecx, [ebp + 0x28]
call fcn.10004080
cmp eax, 1
je 0x10006ffe
cmp dword [ebx + 0x14], 8
jb 0x10006f64
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x10006f7c
lea ecx, [ebp + 0x28]
call fcn.10004080
cmp eax, 2
je 0x10006ffe
or edi, 0
je 0x10006f85
mov al, 1
jmp 0x10006f87
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
je 0x10006fc5
lea ecx, [ebp - 0x30]
call fcn.10007c20
mov byte [ebp - 4], 8
push eax
call fcn.10006d60
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edi, dword [ebp - 0x10]
add ebx, eax
mov dword [ebp - 0x14], ebx
adc edi, edx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10003910
jmp 0x10007004
lea ecx, [ebp + 0x58]
call fcn.10007c20
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x58]
call fcn.10011e10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
movzx eax, al
cdq
add ebx, eax
mov dword [ebp - 0x14], ebx
adc edi, edx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
jmp 0x10007004
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10006180
test al, al
jne 0x10006f10
jmp 0x1000701f
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10007037
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10007037
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007152
lea ecx, [ebp + 0x58]
call fcn.10003a00
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100122d0
test al, al
je 0x10007080
lea ecx, [ebp + 0x58]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007146
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
lea ecx, [ebp + 0x40]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100070e2
lea ecx, [ebp + 0x58]
call fcn.10003a00
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100122d0
test al, al
je 0x100070d0
lea ecx, [ebp + 0x58]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
cmp dword [ebp - 0x10], 0xffffffff
je 0x10007158
xor edx, edx
lea ecx, [ebp + 0x40]
call fcn.10011aa0
lea ecx, [ebp + 0x40]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007152
lea ecx, [ebp + 0x58]
call fcn.10003a00
mov byte [ebp - 4], 0xc
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100122d0
test al, al
je 0x1000712d
lea ecx, [ebp + 0x58]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007146
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x40]
call fcn.10011aa0
jmp 0x10007158
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.10003910
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10007174
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10007174
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.1008a52b
add esp, 8
mov dword [ebp + 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.10003910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10003910
mov eax, ebx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.1008a187
lea esp, [ebp + 0x78]
pop ebp
ret