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

Disassembly:
push 0x2b4
mov eax, 0x46ee05
call fcn.00454bef
mov edx, ecx
mov dword [ebp - 0x2bc], edx
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x2c0], edi
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x2ad], al
jb 0x423719
mov ecx, dword [esi]
jmp 0x42371b
mov ecx, esi
movzx eax, al
push eax
push ecx
lea eax, [edx + 0x160]
push str.deleteDirectory__S_childrenOnly_d
push eax
call fcn.004087a0
and dword [ebp - 0x1c], edi
add esp, 0x10
lea ecx, [ebp - 0x2c]
push 0
xor bl, bl
mov dword [ebp - 0x18], 7
call fcn.0040a470
xor eax, eax
mov dword [ebp - 4], eax
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
call fcn.0040a470
xor eax, eax
inc eax
push 0x4833ac
mov edx, esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], al
call fcn.00428598
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00408650
lea ecx, [ebp - 0x5c]
call fcn.00408690
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 0x423919
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp - 4], 2
call fcn.00424d21
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp word [ebp - 0x280], 0x2e
je 0x423878
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040a380
lea eax, [ebp - 0x280]
push eax
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.00428598
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408650
lea ecx, [ebp - 0x5c]
call fcn.00408690
test byte [ebp - 0x2ac], 0x10
je 0x4238c0
push 0x480388
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00428598
pop ecx
xor ecx, ecx
inc ecx
or edi, ecx
mov ecx, dword [ebp - 0x2bc]
push 0
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 0x2c0], edi
call fcn.004236e4
test al, al
jne 0x42384f
test bl, bl
jne 0x42384f
xor ecx, ecx
inc ecx
jmp 0x423854
xor ecx, ecx
inc ecx
mov bl, cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x2b4]
test cl, al
je 0x423872
and eax, 0xfffffffe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2b4], eax
call fcn.00408690
mov edi, dword [ebp - 0x2b4]
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 0x4237b1
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x423914
cmp byte [ebp - 0x2ad], 0
jne 0x423919
cmp dword [esi + 0x14], 8
jb 0x423902
mov eax, dword [esi]
jmp 0x423904
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4238e0
lea ebx, [eax + 1]
jmp 0x423878
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx ebx, bl
test eax, eax
push 1
pop eax
cmove ebx, eax
jmp 0x423878
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x423933
xor eax, eax
lea ebx, [eax + 1]
lea ecx, [ebp - 0x44]
call fcn.00408690
lea ecx, [ebp - 0x2c]
call fcn.00408690
mov al, bl
call fcn.00454b41
ret 8
cmp dword [esi + 0x14], 8
jb 0x42393b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x423919
jmp 0x423914