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

Disassembly:
push 0x2b4
mov eax, 0x46ed23
call fcn.00448e55
mov dword [ebp - 0x2bc], ecx
mov al, byte [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 0x2c0], edi
mov dl, byte [0x49d0fe]
mov byte [ebp - 0x2b1], al
test dl, dl
je 0x421c4f
cmp dword [esi + 0x14], 8
jb 0x421c37
mov ecx, dword [esi]
jmp 0x421c39
mov ecx, esi
movzx eax, al
push eax
push ecx
movzx eax, dl
push str.deleteDirectory__S_childrenOnly_d
push eax
call fcn.00410c9b
add esp, 0x10
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x2b0], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
inc eax
push 0x47c98c
mov byte [ebp - 4], al
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00416810
add esp, 0xc
lea ecx, [ebp - 0x44]
push eax
call fcn.00405335
xor eax, eax
lea ecx, [ebp - 0x5c]
push ebx
inc eax
push eax
call fcn.0040905f
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2ac]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b8], eax
cmp eax, 0xffffffff
je 0x421e63
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp - 4], 2
call fcn.00429a50
xor eax, eax
inc eax
cmp word [ebp - 0x280], 0x2e
mov dword [ebp - 4], eax
je 0x421dd1
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00409f6a
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00416810
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00405335
xor eax, eax
lea ecx, [ebp - 0x5c]
push ebx
inc eax
push eax
call fcn.0040905f
test byte [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c]
je 0x421d87
push 0x478934
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00416810
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 4], 4
inc ecx
or edi, ecx
mov ecx, dword [ebp - 0x2bc]
push ebx
push eax
mov dword [ebp - 0x2c0], edi
call fcn.00421bf8
test al, al
jne 0x421d6c
cmp byte [ebp - 0x2b0], al
jne 0x421d6c
xor eax, eax
mov byte [ebp - 0x2b0], bl
inc eax
jmp 0x421d75
xor eax, eax
inc eax
mov byte [ebp - 0x2b0], al
push ebx
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], eax
and edi, 0xfffffffe
call fcn.0040905f
jmp 0x421dd1
cmp dword [ebp - 0x18], 8
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x421da8
inc eax
mov byte [ebp - 0x2b0], al
jmp 0x421dd1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x2b0]
test eax, eax
push 1
movzx ecx, cl
pop eax
cmove ecx, eax
mov dword [ebp - 0x2b0], ecx
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x421cc5
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x421e2b
cmp byte [ebp - 0x2b1], 0
jne 0x421e63
cmp dword [esi + 0x14], 8
jb 0x421e19
mov eax, dword [esi]
jmp 0x421e1b
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x421e36
xor ecx, ecx
inc ecx
mov byte [ebp - 0x2b0], cl
jmp 0x421e66
cmp dword [esi + 0x14], 8
jb 0x421e3e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x421e66
jmp 0x421e2e
xor ecx, ecx
inc ecx
push ebx
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040905f
xor eax, eax
lea ecx, [ebp - 0x2c]
push ebx
inc eax
push eax
call fcn.0040905f
mov al, byte [ebp - 0x2b0]
call fcn.00448da2
ret 8