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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bbba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004020a0
test eax, eax
je 0x401d6a
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x158]
jmp 0x401fe8
push 0x46d0e0
push 1
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x174]
push edx
call fcn.004020d0
mov byte [ebp - 0x15c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x15c]
and eax, 0xff
test eax, eax
je 0x401dd3
push 0x46d0e4
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator_2
push 0x46d0e8
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x154]
push edx
call sub.MFC42.DLL_operator_4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
je 0x401f58
mov ecx, 1
test ecx, ecx
je 0x401f58
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x46d0ec
lea ecx, [ebp - 0x154]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [ebp - 0x14c]
and edx, 0x10
test edx, edx
je 0x401ef6
push 0x46d0f4
lea eax, [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x401e72
jmp 0x401ef4
push 0x46d0f8
lea ecx, [ebp - 0x120]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x401e8c
jmp 0x401ef4
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x164], esp
lea edx, [ebp - 0x154]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x178], eax
call fcn.00401d15
add esp, 8
mov eax, dword [ebp - 0x14c]
and eax, 1
test eax, eax
jne 0x401ecb
mov ecx, dword [ebp - 0x14c]
and ecx, 4
test ecx, ecx
je 0x401ee2
push 0x80
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x401f39
mov edx, dword [ebp - 0x14c]
and edx, 1
test edx, edx
jne 0x401f10
mov eax, dword [ebp - 0x14c]
and eax, 4
test eax, eax
je 0x401f27
push 0x80
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401f53
jmp 0x401f58
jmp 0x401e18
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
jne 0x401fba
push 0x80
lea ecx, [ebp + 8]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp + 8]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x168]
jmp 0x401fe8
mov dword [ebp - 0x16c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret