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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4305ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push edi
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004016e0
test eax, eax
je 0x401c50
mov byte [ebp - 0x468], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004217fd
mov al, byte [ebp - 0x468]
jmp 0x401f1e
mov byte [ebp - 0x258], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea ecx, [ebp + 8]
call fcn.00421c2d
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0040e200
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040e630
add esp, 4
movsx edx, byte [ebp + eax - 0x259]
cmp edx, 0x5c
je 0x401cb3
push 0x43e0ec
lea eax, [ebp - 0x258]
push eax
call fcn.0040e210
add esp, 8
push 0x43e0f0
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040e210
add esp, 8
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401d05
mov byte [ebp - 0x46c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004217fd
mov al, byte [ebp - 0x46c]
jmp 0x401f1e
mov byte [ebp - 0x154], 1
push 0x43e0f4
lea ecx, [ebp - 0x124]
push ecx
call fcn.00416830
add esp, 8
test eax, eax
je 0x401ebe
push 0x43e0f8
lea edx, [ebp - 0x124]
push edx
call fcn.00416830
add esp, 8
test eax, eax
je 0x401ebe
cmp dword [ebp - 0x150], 0x10
jne 0x401df2
mov byte [ebp - 0x35c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x35b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea ecx, [ebp + 8]
call fcn.00421c2d
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.0040e200
add esp, 8
push 0x43e0fc
lea ecx, [ebp - 0x35c]
push ecx
call fcn.0040e210
add esp, 8
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x35c]
push eax
call fcn.0040e210
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x470], esp
lea edx, [ebp - 0x35c]
push edx
call fcn.0042186b
mov dword [ebp - 0x478], eax
call fcn.00401bfd
add esp, 4
mov byte [ebp - 0x47c], al
mov eax, dword [ebp - 0x47c]
and eax, 0xff
test eax, eax
jne 0x401ded
mov byte [ebp - 0x154], 0
jmp 0x401ebe
mov byte [ebp - 0x460], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x45f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea ecx, [ebp + 8]
call fcn.00421c2d
push eax
lea ecx, [ebp - 0x460]
push ecx
call fcn.0040e200
add esp, 8
push 0x43e100
lea edx, [ebp - 0x460]
push edx
call fcn.0040e210
add esp, 8
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x460]
push ecx
call fcn.0040e210
add esp, 8
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0x464]
and al, 0xfd
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
and ecx, 0xfffffffe
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x464]
and edx, 0xfffffffb
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x401ea6
mov byte [ebp - 0x154], 0
lea edx, [ebp - 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401ebe
mov byte [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401d0c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
lea ecx, [ebp + 8]
call fcn.00421c2d
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x401efd
mov byte [ebp - 0x154], 0
mov al, byte [ebp - 0x154]
mov byte [ebp - 0x474], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004217fd
mov al, byte [ebp - 0x474]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret