Function at 0x1014eab0
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 0x1023cc05
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x102e91c0]
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 ebx, edx
mov edi, ecx
push 0x1025b044
call fcn.1000afa0
test al, al
je 0x1014eb61
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014eb29
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
jmp 0x1014f169
mov eax, dword [0x102eec48]
test eax, eax
je 0x1014ec58
mov esi, dword [eax]
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push 0x102a812c
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
xor al, al
jmp 0x1014f169
mov ecx, edi
call fcn.1014e860
test al, al
je 0x1014ebcb
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014ebae
cmp dword [edi + 0x14], 8
jb 0x1014eb7e
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
xor al, al
jmp 0x1014f169
mov eax, dword [0x102eec48]
test eax, eax
je 0x1014ec58
cmp dword [edi + 0x14], 8
jb 0x1014ebc3
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
jmp 0x1014ec39
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014ebd5
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1014ec5f
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014ec22
cmp dword [edi + 0x14], 8
jb 0x1014ebf2
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
xor al, al
jmp 0x1014f169
mov eax, dword [0x102eec48]
test eax, eax
je 0x1014ec58
cmp dword [edi + 0x14], 8
jb 0x1014ec33
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
mov esi, dword [eax]
push 0x102a812c
push 0x1025b044
push 0x28
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
jmp 0x1014f169
push edi
lea ecx, [ebp - 0x28]
call fcn.1000fe90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
push 0x102681d0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1014e1f0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000ae90
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 esi, eax
mov dword [ebp - 0x298], esi
cmp esi, 0xffffffff
je 0x1014ef09
nop dword [eax]
push 0x102681d4
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1014eeec
push 0x102681d8
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1014eeec
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x1014ed31
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014ed25
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10010360
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1014ed50
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1000aef0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1014ee0e
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1014ee0e
add ecx, 0xb
mov edx, 2
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x29c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101dc6a1
mov esi, eax
add esp, 4
test esi, esi
je 0x1014ee08
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x29c]
push esi
call fcn.101dc63d
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1014ede6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10010360
push esi
call fcn.101dbd83
add esp, 4
mov esi, dword [ebp - 0x298]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1000ae90
test byte [ebp - 0x290], 0x10
je 0x1014ee3f
push 1
push 0
push 0
push 1
push 1
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.1014eab0
add esp, 0x14
jmp 0x1014eeec
push ecx
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.1014f950
add esp, 4
test al, al
jne 0x1014eeec
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014ee90
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 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x1014eec5
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x1014eec5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x102a812c
mov esi, dword [esi + 0x34]
push str.File__s_failed_to_delete
push 0x28
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x14
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [ebx + 8]
je 0x1014eede
mov ecx, eax
call fcn.1000fe90
add dword [ebx + 4], 0x18
jmp 0x1014eee6
push eax
mov ecx, ebx
call fcn.1001bbb0
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1014ece0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.1000ae90
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014ef22
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x1014efc3
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014ef74
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014ef48
mov eax, dword [edi]
push ecx
push eax
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x1014efad
mov eax, dword [0x102eec48]
test eax, eax
je 0x1014efad
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x1014ef87
mov edx, dword [edi]
mov esi, dword [eax]
push ecx
push edx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x102a812c
push 0x1025b044
push 0x14
push eax
call dword [0x1024852c]
call esi
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014efb7
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014efcd
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne byte [ebp - 0x291]
test eax, eax
je 0x1014f072
cmp byte [ebp + 0x14], 0
je 0x1014f163
mov esi, dword [0x102eec44]
test esi, esi
je 0x1014f031
cmp dword [edi + 0x14], 8
jb 0x1014f001
mov edi, dword [edi]
push 1
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x1014f163
mov eax, dword [0x102eec48]
test eax, eax
je 0x1014f163
cmp dword [edi + 0x14], 8
jb 0x1014f046
mov edi, dword [edi]
mov esi, dword [eax]
push 1
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x102a812c
push 0x1025b044
push 0x1e
push eax
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x1014f163
mov ecx, dword [edi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x16
jb 0x1014f185
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1014f08f
mov eax, dword [edi]
push ecx
push eax
push 0x16
push str.RemoveDirectoryFailed:
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x40]
call fcn.10011120
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x1014f0c7
mov ecx, eax
call fcn.1000fe90
add dword [ebx + 4], 0x18
jmp 0x1014f0cf
push eax
mov ecx, ebx
call fcn.1001bbb0
cmp dword [0x102eec44], 0
je 0x1014f118
cmp dword [edi + 0x14], 8
jb 0x1014f0e0
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push 0x1025b044
push 0x1025b044
push 0x102a812c
push str.OOBEUtils
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x1014f15b
mov esi, dword [0x102eec48]
test esi, esi
je 0x1014f15b
cmp dword [edi + 0x14], 8
jb 0x1014f12a
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push 0x102a812c
push 0x1025b044
push 0x1e
push dword [0x102eec48]
call dword [0x1024852c]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.1000ae90
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.101cff65
mov esp, ebp
pop ebp
ret
call fcn.1000a360
int3