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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c99f0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1a68
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, 1
mov dword [ebp - 4], 0
test esi, esi
je 0x45dfff
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45dd02
sub eax, edx
sar eax, 1
je 0x45dfff
push 0x800
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.004ab450
add esp, 0xc
push esi
push 0x400
lea ecx, [ebp - 0x818]
push ecx
call fcn.004a9ecb
add esp, 0xc
mov ecx, 0x4dbd14
lea edx, [ebp - 0x818]
call fcn.00442540
mov ecx, 0x4f192c
lea edx, [ebp - 0x818]
call fcn.004426f0
push 0x800
push 0
lea edx, [ebp - 0x1818]
push edx
call fcn.004ab450
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push 0x4ee1f8
lea edx, [ebp - 0x1818]
call fcn.00411a00
add esp, 8
lea ecx, [ebp - 0x1a68]
push ecx
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov ebx, dword [ebp + 0xc]
jmp 0x45ddb0
cmp esi, 0xffffffff
je 0x45dec7
lea eax, [ebp - 0x1a3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ddc2
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x45ddf1
mov eax, 0x2e
cmp word [ebp - 0x1a3c], ax
jne 0x45ddf1
cmp word [ebp - 0x1a3a], ax
je 0x45deaa
lea eax, [ebp - 0x1a3c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45de00
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x45de22
cmp word [ebp - 0x1a3c], 0x2e
je 0x45deaa
push 0x800
push 0
lea eax, [ebp - 0x1018]
push eax
call fcn.004ab450
add esp, 0xc
lea ecx, [ebp - 0x1a3c]
push ecx
lea edx, [ebp - 0x818]
push edx
push 0x4dd780
lea edx, [ebp - 0x1018]
call fcn.00411a00
add esp, 0xc
test byte [ebp - 0x1a68], 0x10
je 0x45de9f
test bl, bl
je 0x45de9f
push ebx
lea eax, [ebp - 0x1018]
push eax
call fcn.0045dcb0
add esp, 8
mov edi, eax
mov dword [ebp - 0x1a6c], edi
test edi, edi
je 0x45deaa
lea ecx, [ebp - 0x1018]
push ecx
push str.Delete_Directory_:__s_
mov ecx, edi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
jmp 0x45deaa
lea ecx, [ebp - 0x1018]
call fcn.0045daf0
lea edx, [ebp - 0x1a68]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45ddb0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x45def4
lea esi, [ebp - 0x818]
call fcn.0045e670
test al, al
jne 0x45def4
mov ecx, esi
push ecx
push str.__s__directory_was_not_empty___
jmp 0x45dfe9
push 0x80
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x45df7d
xor esi, esi
mov dword [ebp - 0x1a70], esi
push 0xa
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop
lea ecx, [ebp - 0x818]
push ecx
call ebx
test eax, eax
je 0x45df4f
push 1
call edi
add esi, 1
mov dword [ebp - 0x1a70], esi
cmp esi, 5
jl 0x45df30
push esi
lea edx, [ebp - 0x818]
push edx
push str.__s__directory_was_removed__nTime___d____
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x1a6c], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x45e04e
lea eax, [ebp - 0x818]
push eax
push str.Delete_Directory__s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
push 4
push 0
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45dfdd
lea edx, [ebp - 0x818]
push edx
push str.__s__directory_was_removed___
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
xor edi, edi
mov dword [ebp - 0x1a6c], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x45e04e
lea eax, [ebp - 0x818]
push eax
push str.__s__directory_was_not_removed___
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x45e04e
mov eax, 0x57
jmp 0x45e050
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret