Function at 0x45c1fe
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
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bff11
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push 0x67d314
push eax
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.0040fcd8
pop ecx
pop ecx
and dword [esp + 0x298], 0
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
or dword [esp + 0x298], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00408559
cmp dword [esp + 0x18], 0xffffffff
je 0x45c482
mov edi, 0x80
mov ecx, 0x67d320
lea eax, [esp + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c2cc
test dx, dx
je 0x45c2c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c2cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c2a6
xor eax, eax
jmp 0x45c2d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45c461
mov ecx, 0x67d324
lea eax, [esp + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c308
test dx, dx
je 0x45c304
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c308
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c2e2
xor eax, eax
jmp 0x45c30d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45c461
lea eax, [esp + 0x20]
push 0x67d32c
push eax
mov ecx, esi
call fcn.0040fcd8
mov dword [esp + 0x2a0], 1
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x10
mov byte [esp + 0x298], 3
lea ecx, [esp + 0x20]
call fcn.00408559
test byte [esp + 0x34], 0x10
je 0x45c384
push ebx
push dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [ebp + 0xc]
push eax
call fcn.0045c1fe
add esp, 0x14
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x45c44c
push dword [esp + 0x14]
call fcn.0041cf79
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ecx
push edi
push dword [esp + 0x18]
call esi
push edi
push dword [esp + 0x18]
call fcn.0041faac
pop ecx
pop ecx
push edi
push dword [esp + 0x18]
call esi
cmp byte [ebp + 0x14], 0
je 0x45c3f9
mov eax, dword [ebx]
push 1
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00408172
mov byte [esp + 0x2b8], 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x64], esp
push dword [esp + 0x50]
call fcn.00408172
mov byte [esp + 0x2d4], 5
mov byte [esp + 0x2d4], 3
call fcn.0045453d
add esp, 0x3c
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c44c
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004084e9
mov byte [esp + 0x29c], 6
mov byte [esp + 0x29c], 3
call fcn.00453d57
pop ecx
push dword [esp + 0x14]
call esi
test eax, eax
je 0x45c44c
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
or dword [esp + 0x298], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00408559
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45c29d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0xc], 0
je 0x45c490
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005796dc
mov esp, ebp
pop ebp
ret