Function at 0x45c3b0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x486bc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x4c]
push eax
mov dword [esp + 0x48], 0
call fcn.004579e0
add esp, 4
test eax, eax
je 0x45c672
lea ecx, [esp + 0x24]
call fcn.004752e0
push 0x48a794
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x50], 1
call fcn.00401441
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 2
call sub.MFC71U.DLL_CDHtmlEventSink::FindDHtmlEventEntry
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
test esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x44], 3
je 0x45c5e8
lea ecx, [esp + 0x24]
call sub.MFC71U.DLL_COleControlContainer::FindItem
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call sub.MFC71U.DLL_CFile::GetFilePath
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x24]
call sub.MFC71U.DLL_CDockBar::IsDockBar
test eax, eax
jne 0x45c5e0
mov edx, dword [esp + 0x24]
push 1
lea ecx, [esp + 0x28]
call dword [edx + 0x40]
test eax, eax
jne 0x45c4cc
mov eax, dword [esp + 0x24]
push 2
lea ecx, [esp + 0x28]
call dword [eax + 0x40]
test eax, eax
jne 0x45c4cc
mov edx, dword [esp + 0x24]
push 4
lea ecx, [esp + 0x28]
call dword [edx + 0x40]
test eax, eax
je 0x45c540
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call sub.MFC71U.DLL_CFile::GetFilePath
mov eax, dword [eax]
push 0x80
push eax
call edi
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x18]
inc bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test bl, bl
je 0x45c540
call ebp
cmp eax, 2
je 0x45c540
call ebp
cmp eax, 3
je 0x45c540
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DeleteEntireFolder
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SetFileAttributes1
mov byte [esp + 0x50], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x50], 3
call fcn.00458010
add esp, 0xc
mov edx, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
call dword [edx + 0x40]
test eax, eax
je 0x45c599
push 0x400
lea ecx, [esp + 0x28]
call sub.MFC71U.DLL_CDocTemplate::MatchDocType
test eax, eax
jne 0x45c584
mov eax, dword [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
call fcn.0045c3b0
add esp, 8
jmp 0x45c5e0
mov al, byte [esp + 0x50]
test al, al
jne 0x45c5e0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x45c5e0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45c5e0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.DeleteFile
mov byte [esp + 0x50], 6
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x50], 3
call fcn.00458010
add esp, 0xc
test esi, esi
jne 0x45c450
lea ecx, [esp + 0x24]
call sub.MFC71U.DLL_CFile::Close
mov eax, dword [esp + 0x4c]
push 0x80
push eax
call edi
test eax, eax
jne 0x45c647
call ebp
cmp eax, 2
je 0x45c647
call ebp
cmp eax, 3
je 0x45c647
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.DeleteEntireFolder
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SetFileAttributes1
mov byte [esp + 0x50], 7
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x50], 3
call fcn.00458010
add esp, 0xc
mov al, byte [esp + 0x50]
test al, al
jne 0x45c65a
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call sub.MFC71U.DLL_CFileDialog::CFileDialog
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret