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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42c498
cmp word [edi], 0
je 0x42c498
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push edi
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
push edi
mov word [ebp - 8], ax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
test eax, eax
je 0x42c244
cmp eax, esi
jge 0x42c244
cmp word [edi + eax*2 - 2], 0x5c
je 0x42c244
lea eax, [ebp - 0x210]
push 0x43331c
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x66c]
push eax
call sub.MSVCRT.dll_wcsncpy
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
mov word [ebp - 0x464], ax
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edi, 0x4335b8
test eax, eax
je 0x42c365
cmp word [eax], 0
je 0x42c365
push edi
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c365
test byte [ebp + 0x10], 1
je 0x42c36c
lea eax, [ebp - 0x66c]
push eax
push str._s.
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x10
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42c35c
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x66c]
push eax
push str._s_s
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x14
test byte [ebp - 0x460], 0x10
je 0x42c343
lea eax, [ebp - 0x434]
push 0x43359c
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c343
lea eax, [ebp - 0x434]
push 0x4335b4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c343
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call fcn.0042c1db
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c2d7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp + 8], 1
jmp 0x42c36c
and dword [ebp + 8], 0
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x66c]
push eax
mov edi, str._s_s
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x14
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42c496
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x66c]
push eax
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x14
test byte [ebp - 0x460], 0x10
je 0x42c41d
cmp dword [ebp + 8], 0
jne 0x42c442
test byte [ebp + 0x10], 1
je 0x42c442
lea eax, [ebp - 0x434]
push 0x43359c
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c442
lea eax, [ebp - 0x434]
push 0x4335b4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c442
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call fcn.0042c1db
jmp 0x42c442
test byte [ebp + 0x10], 2
je 0x42c435
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x460]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c3a7
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp + 0x10], 2
je 0x42c477
push pe_nt_image_headers32
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 8], 0
je 0x42c486
mov dword [ebp - 4], 1
jmp 0x42c496
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
pop ebx
pop esi
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc