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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x41c4b6
cmp word [esi], di
je 0x41c4b6
push 0x104
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll_wcsncpy
push esi
mov word [ebp - 8], di
call sub.MSVCRT.dll_wcslen
add esp, 0x10
cmp eax, edi
je 0x41c255
cmp word [esi + eax*2 - 2], 0x5c
je 0x41c255
lea eax, [ebp - 0x210]
push 0x4368f0
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x66c]
push eax
call sub.MSVCRT.dll_wcscpy
mov ebx, dword [ebp + 0xc]
pop ecx
cmp ebx, edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
pop ecx
mov esi, 0x436900
je 0x41c37a
cmp word [ebx], 0
je 0x41c37a
push esi
push ebx
call sub.MSVCRT.dll_wcscmp
test eax, eax
pop ecx
pop ecx
je 0x41c37a
test byte [ebp + 0x10], 1
je 0x41c380
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscpy
lea eax, [ebp - 0x210]
push esi
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x41c371
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscpy
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
test byte [ebp - 0x460], 0x10
je 0x41c354
lea eax, [ebp - 0x434]
push 0x4368f8
push eax
call sub.MSVCRT.dll_wcscmp
test eax, eax
pop ecx
pop ecx
je 0x41c354
lea eax, [ebp - 0x434]
push 0x4368f4
push eax
call sub.MSVCRT.dll_wcscmp
test eax, eax
pop ecx
pop ecx
je 0x41c354
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0041c1f3
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c2e4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp + 8], 1
jmp 0x41c380
and dword [ebp + 8], 0
mov ebx, esi
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscpy
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x41c4b5
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, pe_nt_image_headers32
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscpy
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
test byte [ebp - 0x460], 0x10
je 0x41c448
cmp dword [ebp + 8], 0
jne 0x41c465
test byte [ebp + 0x10], 1
je 0x41c465
lea eax, [ebp - 0x434]
push 0x4368f8
push eax
call sub.MSVCRT.dll_wcscmp
test eax, eax
pop ecx
pop ecx
je 0x41c465
lea eax, [ebp - 0x434]
push 0x4368f4
push eax
call sub.MSVCRT.dll_wcscmp
test eax, eax
pop ecx
pop ecx
je 0x41c465
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0041c1f3
jmp 0x41c465
test byte [ebp + 0x10], 2
je 0x41c458
push edi
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x460]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c3ca
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp + 0x10], 2
je 0x41c496
push edi
lea eax, [ebp - 0x66c]
push eax
call esi
cmp dword [ebp + 8], 0
je 0x41c4a5
mov dword [ebp - 4], 1
jmp 0x41c4b5
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc