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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x148], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x40762d
mov dword [ebp - 0x3e8], 1
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3e8]
jmp 0x40795b
cmp dword [ebp - 4], 0
jne 0x4076db
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::CString_3
push 0x4298d0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x3ec]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x28c]
push edx
push 0x4298d4
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, eax
call fcn.0040d320
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x3f0]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x290], 0xffffffff
je 0x4076d0
mov edx, dword [ebp - 0x28c]
and edx, 0x10
test edx, edx
je 0x4076d0
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x294]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 4]
and eax, 0x10
test eax, eax
je 0x4078d0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x3dc]
call sub.MFC42.DLL_CString::CString_3
push 0x4298d8
lea edx, [ebp - 0x3dc]
push edx
lea eax, [ebp - 0x3f4]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x3dc]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x3f4]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3d4]
push ecx
push 0x4298dc
lea edx, [ebp - 0x3dc]
push edx
lea eax, [ebp - 0x3f8]
push eax
call sub.MFC42.DLL_operator_2
mov ecx, eax
call fcn.0040d320
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3d8], eax
lea ecx, [ebp - 0x3f8]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x3d8], 0xffffffff
je 0x4078b9
lea ecx, [ebp - 0x3d4]
push ecx
mov edx, dword [ebp - 0x3d8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4078ac
xor eax, eax
mov al, byte [0x42cd2c]
test eax, eax
je 0x40779e
jmp 0x4078ac
mov ecx, dword [ebp - 0x3d4]
and ecx, 0x10
test ecx, ecx
je 0x407852
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
je 0x407850
lea ecx, [ebp - 0x3e0]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x3e0]
call sub.MFC42.DLL_CString::operator_2
push 0x4298e0
lea ecx, [ebp - 0x3e0]
push ecx
call fcn.00405e10
and eax, 0xff
test eax, eax
je 0x407845
push 0x4298e4
lea edx, [ebp - 0x3e0]
push edx
call fcn.00405e10
and eax, 0xff
test eax, eax
je 0x407845
push 1
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x3dc]
push ecx
lea edx, [ebp - 0x3fc]
push edx
call sub.MFC42.DLL_operator_2
mov ecx, eax
call fcn.0040d320
push eax
call fcn.004075d4
lea ecx, [ebp - 0x3fc]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3e0]
call sub.MFC42.DLL_CString::CString
jmp 0x4078a7
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x3dc]
push ecx
lea edx, [ebp - 0x3e4]
push edx
call sub.MFC42.DLL_operator_2
push 0x4298e8
push 0x4298ec
lea ecx, [ebp - 0x3e4]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x3e4]
call fcn.0040d320
push eax
lea eax, [ebp - 0x3d4]
push eax
call fcn.0040706d
add esp, 8
lea ecx, [ebp - 0x3e4]
call sub.MFC42.DLL_CString::CString
jmp 0x407772
mov ecx, dword [ebp - 0x3d8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x3dc]
call sub.MFC42.DLL_CString::CString
jmp 0x40792d
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xffffffff
jne 0x40790d
mov dword [ebp - 0x400], 0
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x400]
jmp 0x40795b
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.0040706d
add esp, 8
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
mov edx, dword [ebp + 8]
push edx
push 0x2001
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 0x404], 1
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x404]
mov esp, ebp
pop ebp
ret 8