Function at 0x41d8f0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x422054
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString_2
push 1
push ecx
lea eax, [esp + 0x180]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x17c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
push ecx
call fcn.0041cda0
add esp, 0xc
mov edx, dword [esp + 0x10]
mov byte [esp + 0x170], 2
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41dae8
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x28]
push 0x42d280
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call fcn.00417786
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41dacb
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x28]
push ecx
push 0x10
call fcn.0041dba0
add esp, 8
lea edx, [esp + 0x54]
test eax, eax
push edx
jne 0x41da19
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x41db3f
jmp 0x41daaa
lea ecx, [esp + 0x20]
call fcn.004175e2
mov eax, dword [eax]
push 0x42d27c
push eax
mov byte [esp + 0x178], 4
call ebp
add esp, 8
test eax, eax
je 0x41da6c
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
call fcn.004175e2
mov eax, dword [eax]
push 0x42d278
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41da6c
mov bl, 1
jmp 0x41da6e
xor bl, bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41daaa
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator_1
call fcn.0041d8f0
add esp, 4
test eax, eax
je 0x41db3f
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d9ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
push esi
jne 0x41db40
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x41db26