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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457535
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov dword [ebp - 0x18], 0xffffffff
push 0x459b70
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00402280
add esp, 0xc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c0]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040ee30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40acbb
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404840
mov al, byte [ebp - 0xd]
jmp 0x40ae9e
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x50]
call fcn.00403710
mov byte [ebp - 4], 1
push 0x459b74
lea ecx, [ebp - 0x50]
push ecx
call fcn.00402200
add esp, 8
movzx edx, al
test edx, edx
je 0x40ae57
push 0x459b78
lea eax, [ebp - 0x50]
push eax
call fcn.00402200
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ae57
lea edx, [ebp - 0x50]
push edx
push 0x459b7c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00402280
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00402240
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.00404840
nop
mov edx, dword [ebp - 0x1c0]
and edx, 0x10
je 0x40adfc
lea eax, [ebp - 0x38]
push eax
call fcn.0040ac40
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40ada9
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00404840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404840
mov al, byte [ebp - 0xe]
jmp 0x40ae9e
lea ecx, [ebp - 0x38]
call fcn.0040ee30
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40adfa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00404840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404840
mov al, byte [ebp - 0xf]
jmp 0x40ae9e
jmp 0x40ae4a
lea ecx, [ebp - 0x38]
call fcn.0040ee30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ae4a
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00404840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404840
mov al, byte [ebp - 0x10]
jmp 0x40ae9e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00404840
nop
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404840
nop
lea edx, [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40acbb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404840
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret