Function at 0x44e5a0
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 0x5d19cc
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x658d98]
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, 0x6825d0
call fcn.0059e74b
push 0x140
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.005a38c0
add esp, 0xc
mov dword [ebp - 0x158], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00404a80
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.004589a0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1f8]
call fcn.00404f60
lea ecx, [ebp - 0x188]
call fcn.00404b30
mov byte [ebp - 4], 3
push 0x607394
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00427a60
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
jne 0x44e6e0
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a0]
call fcn.00404f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404f60
mov eax, dword [ebp - 0x1fc]
jmp 0x44e8b9
push 0x5f1c78
lea eax, [ebp - 0x124]
push eax
call fcn.005ad970
add esp, 8
test eax, eax
je 0x44e72e
push 0x5f2aa0
lea eax, [ebp - 0x124]
push eax
call fcn.005ad970
add esp, 8
test eax, eax
je 0x44e72e
cmp dword [ebp + 0xc], 0
jne 0x44e733
push str.desktop.ini
lea eax, [ebp - 0x124]
push eax
call fcn.005ad67c
add esp, 8
test eax, eax
jne 0x44e733
jmp 0x44e850
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00427a60
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.00409d80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x214]
call fcn.00404f60
lea ecx, [ebp - 0x188]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
and eax, 1
je 0x44e7d2
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.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x150]
and eax, 0x10
je 0x44e80d
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x188]
call fcn.0040d5a0
push eax
call fcn.0044e5a0
add esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x44e850
cmp dword [ebp + 0x10], 0
je 0x44e83e
push str.index.dat
lea eax, [ebp - 0x124]
push eax
call fcn.005ad67c
add esp, 8
test eax, eax
jne 0x44e83e
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f140
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.0040d5a0
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 0x44e6e0
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.00404f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404f60
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.0059e77d
mov esp, ebp
pop ebp
ret