Function at 0x40e01f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x330
mov eax, 0x554f8f
call fcn.00527be2
mov dword [ebp - 0x338], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push 0x586004
push eax
lea ebx, [ebp + 8]
call fcn.0040ae0a
lea eax, [ebp - 0xa0]
push 0x585004
push eax
mov byte [ebp - 4], 1
call fcn.0040ae0a
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x40e071
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x334], eax
cmp eax, 0xffffffff
jne 0x40e0c5
push 1
xor edi, edi
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00409659
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.00409659
push 1
or dword [ebp - 4], 0xffffffff
xor edi, edi
lea esi, [ebp + 8]
call fcn.00409659
xor eax, eax
call fcn.00527c65
ret 0x1c
mov byte [ebp - 0x32d], 1
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x334]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40e28c
lea eax, [ebp - 0x300]
push eax
lea esi, [ebp - 0x4c]
call fcn.0040829d
push 0x585d7c
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040aee0
pop ecx
test al, al
jne 0x40e27a
push 0x585000
mov ecx, esi
call fcn.0040aee0
pop ecx
test al, al
jne 0x40e27a
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x30]
push eax
mov ebx, esi
call fcn.0040af10
pop ecx
pop ecx
mov byte [ebp - 4], 4
test byte [ebp - 0x32c], 0x10
je 0x40e184
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov esi, esp
mov dword [ebp - 0x33c], esp
push eax
call fcn.00408277
mov ecx, dword [ebp - 0x338]
call fcn.0040e01f
test eax, eax
je 0x40e2d2
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x40e178
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40e26a
xor ebx, ebx
inc ebx
test byte [ebp - 0x32c], bl
je 0x40e1a8
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x40e19b
lea eax, [ebp - 0x30]
push 0x80
push eax
call fcn.005266b4
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x40e1b4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40e26a
cmp dword [ebp - 0x1c], 8
mov edi, dword [ebp - 0x30]
jae 0x40e1cf
lea edi, [ebp - 0x30]
xor esi, esi
push esi
call fcn.00401edb
pop ecx
push edi
lea ecx, [ebp - 0xbc]
call fcn.004021b9
push eax
lea eax, [ebp - 0xd8]
push str.delete_file
push eax
mov byte [ebp - 4], 5
call fcn.0041aaf0
add esp, 0xc
push str.failure____
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 6
call fcn.0041aab9
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.0040933f
push esi
push ebx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040933f
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x40e24a
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
push esi
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.0040933f
push 1
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00409659
push 1
xor edi, edi
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00409659
jmp 0x40e2a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40e31f
mov byte [ebp - 0x32d], 0
cmp byte [ebp - 0x32d], 0
jne 0x40e0cc
push dword [ebp - 0x334]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x40e2c7
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
jmp 0x40e32d
push dword [ebp - 0x334]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00409659
push ebx
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00409659
push ebx
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.00409659
push ebx
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.00409659
push ebx
jmp 0x40e0ad
push dword [ebp - 0x334]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00409659
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.00409659
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp + 8]
call fcn.00409659
mov eax, ebx
jmp 0x40e0bd