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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d22ac
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x651da0]
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 ecx, 0x67b5d0
call fcn.0059f048
push 0x140
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.005a41c0
add esp, 0xc
mov dword [ebp - 0x158], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00404ad0
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x170]
push eax
call fcn.00459470
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1f8]
call fcn.00404fb0
lea ecx, [ebp - 0x188]
call fcn.00404b80
mov byte [ebp - 4], 3
push 0x601efc
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00427ad0
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
jne 0x44ec00
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a0]
call fcn.00404fb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404fb0
mov eax, dword [ebp - 0x1fc]
jmp 0x44edd9
push 0x5f1c58
lea eax, [ebp - 0x124]
push eax
call fcn.005ae270
add esp, 8
test eax, eax
je 0x44ec4e
push 0x5f2a80
lea eax, [ebp - 0x124]
push eax
call fcn.005ae270
add esp, 8
test eax, eax
je 0x44ec4e
cmp dword [ebp + 0xc], 0
jne 0x44ec53
push str.desktop.ini
lea eax, [ebp - 0x124]
push eax
call fcn.005adf7c
add esp, 8
test eax, eax
jne 0x44ec53
jmp 0x44ed70
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00427ad0
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x188]
call fcn.00409dd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x214]
call fcn.00404fb0
lea ecx, [ebp - 0x188]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
and eax, 1
je 0x44ecf2
mov eax, dword [ebp - 0x158]
and eax, 0xfffffffe
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x188]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x150]
and eax, 0x10
je 0x44ed2d
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x188]
call fcn.0040d5e0
push eax
call fcn.0044eac0
add esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x44ed70
cmp dword [ebp + 0x10], 0
je 0x44ed5e
push str.index.dat
lea eax, [ebp - 0x124]
push eax
call fcn.005adf7c
add esp, 8
test eax, eax
jne 0x44ed5e
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046fa10
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.0040d5e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44ec00
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x218], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a0]
call fcn.00404fb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404fb0
mov eax, dword [ebp - 0x218]
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.0059f07a
mov esp, ebp
pop ebp
ret