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

Disassembly:
push 0x27c
mov eax, 0x42b923
call fcn.00428a3d
mov ebx, edx
push ecx
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString_2]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
push 0x40363c
call dword [sym.imp.MFC42u.dll_CString::CString_1]
mov esi, eax
push 1
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::Right]
push dword [esi]
mov ecx, eax
call fcn.00413075
lea ecx, [ebp - 0x270]
mov esi, eax
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC42u.dll_CString::CString]
test esi, esi
jne 0x421da9
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x264]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.MFC42u.dll_CString::Left]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call dword [0x4362a4]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC42u.dll_CString::CString]
push 0x40889c
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.MFC42u.dll_operator]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x26c]
call dword [0x43629c]
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x27c]
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421eeb
test edi, edi
je 0x421eeb
test byte [ebp - 0x260], 0x10
jne 0x421ed6
push 0x40363c
lea ecx, [ebp - 0x274]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.MFC42u.dll_operator]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.MFC42u.dll_operator_2]
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 9
call dword [0x4362a4]
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x270]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 6
call dword [sym.imp.MFC42u.dll_CString::CString]
push dword [ebp - 0x26c]
push dword [ebx]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x421ed6
push 0x80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
jmp 0x421e14
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4088a8
lea ecx, [ebp - 0x274]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.MFC42u.dll_operator]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4220aa
test byte [ebp - 0x260], 0x10
je 0x42208d
mov ecx, 0x403614
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421f88
test dx, dx
je 0x421f84
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421f88
add eax, 4
add ecx, 4
test dx, dx
jne 0x421f62
xor eax, eax
jmp 0x421f8d
sbb eax, eax
or eax, 1
test eax, eax
je 0x42208d
mov ecx, 0x408894
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421fc6
test dx, dx
je 0x421fc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421fc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x421fa0
xor eax, eax
jmp 0x421fcb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42208d
push 0x4024c0
lea ecx, [ebp - 0x288]
call dword [sym.imp.MFC42u.dll_CString::CString_3]
mov edi, eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x284]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
mov esi, eax
push 0x40363c
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push esi
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x10
push eax
call dword [sym.imp.MFC42u.dll_operator]
mov edx, edi
mov byte [ebp - 4], 0x11
mov ecx, eax
call fcn.00421cf1
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x270]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x280]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x284]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421f4a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x278]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.004289da
ret