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

Disassembly:
push 0x27c
mov eax, 0x42415c
call fcn.0042193f
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 0x402f9c
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.0040cc91
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 0x41b689
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 [0x42e224]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC42u.dll_CString::CString]
push 0x40822c
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 [0x42e21c]
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 0x41b7cb
test edi, edi
je 0x41b7cb
test byte [ebp - 0x260], 0x10
jne 0x41b7b6
push 0x402f9c
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 [0x42e224]
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 0x41b7b6
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 0x41b6f4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x408238
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 0x41b98a
test byte [ebp - 0x260], 0x10
je 0x41b96d
mov ecx, 0x402f74
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b868
test dx, dx
je 0x41b864
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b868
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b842
xor eax, eax
jmp 0x41b86d
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b96d
mov ecx, 0x408224
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b8a6
test dx, dx
je 0x41b8a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b8a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b880
xor eax, eax
jmp 0x41b8ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b96d
push 0x403591
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 0x402f9c
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.0041b5d1
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 0x41b82a
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.004218ee
ret