Function at 0x10067f00
Capabilities:
Delete directory
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e1fb
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x100b2814
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.100089b0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov bl, 1
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x10067fd6
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp + 8]
call fcn.10011440
mov esi, eax
lea eax, [ebp + 8]
cmp eax, esi
je 0x10067fc2
cmp dword [ebp + 0x1c], 8
jb 0x10067fa5
push dword [ebp + 8]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.1000d5d0
cmp dword [ebp - 0x280], 8
jb 0x10067fd6
push dword [ebp - 0x294]
call edi
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008c80
push 2
push 0x100b7c10
lea ecx, [ebp - 0x28]
call fcn.10011f70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
jne 0x10068020
mov bl, 1
jmp 0x1006821c
push 0x100a21f4
lea edx, [ebp + 8]
lea ecx, [ebp - 0x294]
call fcn.10011cb0
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x1006806a
cmp dword [ebp - 0x14], 8
jb 0x1006804d
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.1000d5d0
cmp dword [ebp - 0x280], 8
jb 0x1006807e
push dword [ebp - 0x294]
call edi
add esp, 4
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
call sym.iImportLib.dll_int___stdcall_SafeFindNextFile_void___struct__WIN32_FIND_DATAW__
test eax, eax
je 0x100681aa
mov esi, dword [ebp + 0x20]
jmp 0x100680a0
mov ecx, 0x100b281c
lea eax, [ebp - 0x24c]
jmp 0x100680b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100680d6
test dx, dx
je 0x100680d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100680d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100680b0
xor eax, eax
jmp 0x100680db
sbb eax, eax
or eax, 1
test eax, eax
je 0x10068190
mov ecx, 0x100b2820
lea eax, [ebp - 0x24c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10068116
test dx, dx
je 0x10068112
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10068116
add eax, 4
add ecx, 4
test dx, dx
jne 0x100680f0
xor eax, eax
jmp 0x1006811b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10068190
test byte [ebp - 0x278], 0x10
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x28]
je 0x1006814c
push esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10011cb0
add esp, 4
call sym.iImportLib.dll_bool___cdecl_elex::filepath::deleteDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____bool_
add esp, 0x1c
and bl, al
jmp 0x10068190
push eax
lea ecx, [ebp - 0x294]
call fcn.10011cb0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10068167
mov eax, dword [eax]
push esi
push eax
call sym.iImportLib.dll_int___cdecl_elex::filepath::DeleteFileW_wchar_t_const___bool_
add esp, 8
test eax, eax
setne al
and bl, al
mov byte [ebp - 4], 1
cmp dword [ebp - 0x280], 8
jb 0x10068190
push dword [ebp - 0x294]
call edi
add esp, 4
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
call sym.iImportLib.dll_int___stdcall_SafeFindNextFile_void___struct__WIN32_FIND_DATAW__
test eax, eax
jne 0x100680a0
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x10068207
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1006821c
cmp dword [ebp + 0x1c], 8
push 1
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006821c
xor bl, bl
jmp 0x1006821c
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb al, al
and bl, al
cmp dword [ebp - 0x14], 8
jb 0x1006822a
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x1006824c
push dword [ebp + 8]
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret