Function at 0x1001e450
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100c940f
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x85c]
mov edi, ecx
lea ecx, [esp + 0x28]
call dword [0x100ca800]
lea ecx, [esp + 0x2c]
call dword [0x100ca800]
lea ecx, [esp + 0x30]
call dword [0x100ca800]
lea ecx, [esp + 0x34]
call dword [0x100ca800]
mov ebx, dword [esp + 0x858]
mov eax, dword [esp + 0x854]
push ebx
push eax
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x858], 0
call fcn.1001e6f0
test eax, eax
je 0x1001e68e
lea eax, [esp + 0x1c]
lea esi, [esp + 0x18]
mov edx, edi
call fcn.1001e430
push ebp
mov byte [esp + 0x850], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1001e516
push 0x20
push ebp
call esi
lea ecx, [esp + 0x74]
push ecx
call fcn.1001ebc0
mov byte [esp + 0x84c], 2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, ebp
call fcn.1001ee70
test eax, eax
je 0x1001e672
mov eax, 0x100073e0
test eax, eax
jne 0x1001e61a
lea ecx, [esp + 0x64]
call sub.mfc90u.dll_CFile::CFile
push 0
push 2
push ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0x858], 3
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x1001e5a1
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0x64]
call sub.mfc90u.dll_CFile::Close
mov edx, dword [esp + 0x24]
push edx
push ebp
call esi
mov eax, dword [esp + 0x854]
mov ecx, dword [esp + 0x28]
push ebx
push eax
call fcn.1001e7a0
lea ecx, [esp + 0x64]
mov byte [esp + 0x84c], 2
call fcn.100c036a
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x850], 1
call fcn.1001ec60
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x1001e6b8
lea ecx, [esp + 0x1c]
mov edx, 0x100f26e0
call fcn.100073f0
test eax, eax
je 0x1001e672
mov edx, dword [esp + 0x24]
push edx
push ebp
call esi
mov eax, dword [esp + 0x854]
mov ecx, dword [esp + 0x28]
push ebx
push eax
call fcn.1001e7a0
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x850], 1
call fcn.1001ec60
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [esp + 0x1c]
call fcn.1001e010
mov eax, 1
jmp 0x1001e6b8
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x850], 1
call fcn.1001ec60
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.100c09bd
add esp, 0x83c
ret 0xc