Function at 0x455e50
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x470], 0
push 0x24c
push 0
lea edx, [ebp - 0x46c]
push edx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x218], 0
cmp dword [ebp + 8], 0
je 0x455ece
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455ece
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x455ed5
xor eax, eax
jmp 0x4560dd
mov edx, dword [ebp + 8]
push edx
push str._s.
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00467d96
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x455f1c
xor eax, eax
jmp 0x4560dd
mov eax, dword [ebp + 0xc]
and eax, 2
je 0x456061
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
movzx eax, word [edx + 2]
test eax, eax
jne 0x455f57
mov ecx, dword [ebp - 0x214]
movzx edx, word [ecx]
cmp edx, 0x2e
jne 0x455f57
jmp 0x456045
mov eax, dword [ebp - 0x214]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x455f87
mov edx, dword [ebp - 0x214]
movzx eax, word [edx]
cmp eax, 0x2e
jne 0x455f87
mov ecx, dword [ebp - 0x214]
movzx edx, word [ecx + 2]
cmp edx, 0x2e
jne 0x455f87
jmp 0x456045
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4bce3c
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00467d96
add esp, 0x14
mov eax, dword [ebp - 0x470]
and eax, 1
je 0x455fcd
mov ecx, dword [ebp - 0x470]
and ecx, 0xfffffffe
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x470]
and eax, 0x10
je 0x455ff3
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00455e50
add esp, 8
mov dword [ebp - 0x218], eax
jmp 0x456045
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.DeleteFile__s____d
call fcn.00456a00
add esp, 0xc
cmp dword [ebp - 0x218], 0
jne 0x456045
mov eax, dword [ebp + 0xc]
and eax, 0x100
je 0x456045
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00455aa0
add esp, 8
lea edx, [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x455f28
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x470]
and edx, 1
je 0x45608d
mov eax, dword [ebp - 0x470]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.RemoveDirectory__s____d
call fcn.00456a00
add esp, 0xc
cmp dword [ebp - 0x218], 0
jne 0x4560d7
mov edx, dword [ebp + 0xc]
and edx, 0x100
je 0x4560d7
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00455aa0
add esp, 8
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret