Function at 0x100fe710
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193e10
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x101f62b4]
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
mov esi, edx
mov dword [ebp - 0x29c], esi
mov edi, ecx
mov ebx, dword [ebp + 0x10]
push 0x101ace0c
call fcn.1000be70
test al, al
je 0x100fe7e8
test ebx, ebx
je 0x100fe777
mov esi, dword [ebx]
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push str.FileUtils
push 0x101ace0c
push 0x28
push ebx
jmp 0x100fe7d1
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fe7b0
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor al, al
jmp 0x100fef0e
mov eax, dword [0x101fc278]
test eax, eax
je 0x100fe933
mov esi, dword [eax]
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push str.FileUtils
push 0x101ace0c
push 0x28
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x14
xor al, al
jmp 0x100fef0e
mov ecx, edi
call fcn.100fe4d0
test al, al
je 0x100fe87f
test ebx, ebx
je 0x100fe81d
cmp dword [edi + 0x14], 8
jb 0x100fe803
mov edi, dword [edi]
mov esi, dword [ebx]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
push str.FileUtils
push 0x101ace0c
push 0x28
push ebx
jmp 0x100fe923
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fe85f
cmp dword [edi + 0x14], 8
jb 0x100fe82f
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor al, al
jmp 0x100fef0e
mov eax, dword [0x101fc278]
test eax, eax
je 0x100fe933
cmp dword [edi + 0x14], 8
jb 0x100fe874
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
jmp 0x100fe914
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fe889
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100fe93a
test ebx, ebx
je 0x100fe8bb
cmp dword [edi + 0x14], 8
jb 0x100fe8a4
mov edi, dword [edi]
mov esi, dword [ebx]
push edi
push str.Directory_to_delete_not_present_at_location__s
push str.FileUtils
push 0x101ace0c
push 0x28
push ebx
jmp 0x100fe923
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fe8fd
cmp dword [edi + 0x14], 8
jb 0x100fe8cd
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor al, al
jmp 0x100fef0e
mov eax, dword [0x101fc278]
test eax, eax
je 0x100fe933
cmp dword [edi + 0x14], 8
jb 0x100fe90e
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
mov esi, dword [eax]
push str.FileUtils
push 0x101ace0c
push 0x28
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor al, al
jmp 0x100fef0e
cmp byte [ebp + 8], 0
je 0x100fec1d
push edi
lea ecx, [ebp - 0x28]
call fcn.10002700
push 0x101b02a8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10001cb0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100fd940
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100fe9b5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fe9ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fef2a
push edx
push ecx
call fcn.1015cbd5
add esp, 8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
je 0x100febdc
nop dword [eax]
push 0x101afe34
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100febb5
push 0x101afe38
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100febb5
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x100fea31
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fea25
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10001d60
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fea50
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10001d60
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100fd940
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100feac3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100feab9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fef2a
push edx
push ecx
call fcn.1015cbd5
add esp, 8
test byte [ebp - 0x290], 0x10
lea ecx, [ebp - 0x28]
je 0x100feae9
push 1
push 0
push ebx
push dword [ebp + 0xc]
mov edx, esi
push dword [ebp + 8]
call fcn.100fe710
add esp, 0x14
jmp 0x100febb5
mov dl, byte [ebp + 0xc]
push ebx
call fcn.100ffab0
add esp, 4
test al, al
jne 0x100febb5
test ebx, ebx
je 0x100feb1e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebx]
cmovae eax, dword [ebp - 0x28]
push eax
push str.FileUtils
push str.File__s_failed_to_delete
push 0x28
push ebx
jmp 0x100feb7e
mov esi, dword [0x101fc274]
test esi, esi
je 0x100feb59
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.File__s_failed_to_delete
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x28
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x100feb8e
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x100feb8e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x28]
push eax
push str.FileUtils
push str.File__s_failed_to_delete
push 0x28
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x14
mov esi, dword [ebp - 0x29c]
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100febad
mov ecx, eax
call fcn.10002700
add dword [esi + 4], 0x18
jmp 0x100febb5
push eax
mov ecx, esi
call fcn.1000b320
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100fe9e0
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100fec1d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fec13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fef2f
push edx
push ecx
call fcn.1015cbd5
add esp, 8
cmp byte [ebp + 0xc], 0
je 0x100fecf6
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fec31
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x100fecf6
test ebx, ebx
je 0x100fec66
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fec4e
mov ecx, dword [edi]
mov esi, dword [ebx]
push eax
push ecx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x101ace0c
push 0x14
push ebx
jmp 0x100fecd0
mov esi, dword [0x101fc274]
test esi, esi
je 0x100feca6
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100fec7a
mov ecx, dword [edi]
push eax
push ecx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x20
jmp 0x100fece0
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x100fece0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100fecba
mov edx, dword [edi]
mov esi, dword [ecx]
push eax
push edx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x101ace0c
push 0x14
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fecea
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100fed00
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne byte [ebp - 0x291]
test eax, eax
je 0x100fedda
cmp byte [ebp + 0x14], 0
je 0x100fef08
test ebx, ebx
je 0x100fed4c
cmp dword [edi + 0x14], 8
jb 0x100fed2e
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov esi, dword [ebx]
movzx eax, al
push eax
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push str.FileUtils
push 0x101ace0c
push 0x1e
push ebx
jmp 0x100fedc5
mov esi, dword [0x101fc274]
test esi, esi
je 0x100fed93
cmp dword [edi + 0x14], 8
jb 0x100fed5e
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, esi
movzx eax, al
push eax
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x1e
call dword [0x1019a4f8]
call esi
add esp, 0x20
jmp 0x100fef08
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x100fef08
cmp dword [edi + 0x14], 8
jb 0x100feda9
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
movzx eax, al
push eax
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push str.FileUtils
push 0x101ace0c
push 0x1e
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
jmp 0x100fef08
push edi
mov edx, str.RemoveDirectoryFailed:
lea ecx, [ebp - 0x40]
call fcn.10002040
add esp, 4
mov esi, dword [ebp - 0x29c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100fee11
mov ecx, eax
call fcn.10002700
add dword [esi + 4], 0x18
jmp 0x100fee19
push eax
mov ecx, esi
call fcn.1000b320
test ebx, ebx
je 0x100fee46
cmp dword [edi + 0x14], 8
jb 0x100fee25
mov edi, dword [edi]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push str.FileUtils
push 0x101ace0c
push 0x1e
push ebx
jmp 0x100feec2
cmp dword [0x101fc274], 0
je 0x100fee8f
cmp dword [edi + 0x14], 8
jb 0x100fee57
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x101fc274]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push 0x101ace0c
push 0x101ace0c
push str.FileUtils
push str.OOBEUtils
push 0x1e
call dword [0x1019a4f8]
call esi
add esp, 0x20
jmp 0x100feed2
mov esi, dword [0x101fc278]
test esi, esi
je 0x100feed2
cmp dword [edi + 0x14], 8
jb 0x100feea1
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push str.FileUtils
push 0x101ace0c
push 0x1e
push dword [0x101fc278]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100fef08
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100feefe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fef34
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, byte [ebp - 0x291]
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.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
call fcn.101686f5
call fcn.101686f5
int3