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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x100b1ab7
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f101c]
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.10006740
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x40]
call fcn.10007e10
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.10003990
mov byte [ebp - 4], 2
push 4
mov dword [ebp + 0x70], 0
call fcn.1007f958
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 0x100d58d8
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.10003cc0
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x70]
call fcn.10006410
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.100038a0
mov esi, dword [ebp + 0x70]
test bl, bl
je 0x10006fd9
lea ecx, [ebp]
call fcn.10005dc0
test al, al
jne 0x10006eae
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x10006e44
mov al, 1
jmp 0x10006e46
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x58]
push eax
je 0x10006e7e
call fcn.100078d0
mov byte [ebp - 4], 6
push eax
call fcn.10006d20
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.100038a0
jmp 0x10006eba
call fcn.100078d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x58]
call fcn.10010fe0
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.100038a0
jmp 0x10006eba
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.10006140
test al, al
je 0x10006fdf
nop dword [eax]
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x10006ee1
mov al, 1
jmp 0x10006ee3
xor al, al
test al, al
je 0x10006f3c
lea ecx, [ebp + 0x28]
call fcn.10004040
test eax, eax
je 0x10006f3c
lea ecx, [ebp + 0x28]
call fcn.100039b0
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x10006f05
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x10006f3c
lea ecx, [ebp + 0x28]
call fcn.10004040
cmp eax, 1
je 0x10006fbe
cmp dword [ebx + 0x14], 8
jb 0x10006f24
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x10006f3c
lea ecx, [ebp + 0x28]
call fcn.10004040
cmp eax, 2
je 0x10006fbe
or edi, 0
je 0x10006f45
mov al, 1
jmp 0x10006f47
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
je 0x10006f85
lea ecx, [ebp - 0x30]
call fcn.100078d0
mov byte [ebp - 4], 8
push eax
call fcn.10006d20
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.100038a0
jmp 0x10006fc4
lea ecx, [ebp + 0x58]
call fcn.100078d0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x58]
call fcn.10010fe0
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.100038a0
jmp 0x10006fc4
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10006140
test al, al
jne 0x10006ed0
jmp 0x10006fdf
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10006ff7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10006ff7
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10003830
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007112
lea ecx, [ebp + 0x58]
call fcn.10003990
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100114a0
test al, al
je 0x10007040
lea ecx, [ebp + 0x58]
call fcn.10003830
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007106
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.100038a0
lea ecx, [ebp + 0x40]
call fcn.10003830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100070a2
lea ecx, [ebp + 0x58]
call fcn.10003990
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100114a0
test al, al
je 0x10007090
lea ecx, [ebp + 0x58]
call fcn.10003830
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.100038a0
cmp dword [ebp - 0x10], 0xffffffff
je 0x10007118
xor edx, edx
lea ecx, [ebp + 0x40]
call fcn.10010c70
lea ecx, [ebp + 0x40]
call fcn.10003830
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007112
lea ecx, [ebp + 0x58]
call fcn.10003990
mov byte [ebp - 4], 0xc
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100114a0
test al, al
je 0x100070ed
lea ecx, [ebp + 0x58]
call fcn.10003830
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10007106
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.100038a0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x40]
call fcn.10010c70
jmp 0x10007118
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x58]
call fcn.100038a0
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10007134
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10007134
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.1007fceb
add esp, 8
mov dword [ebp + 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.100038a0
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.1007f947
lea esp, [ebp + 0x78]
pop ebp
ret