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

Disassembly:
push 0xffffffffffffffff
push 0x100f29cf
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov eax, dword [esp + 0x864]
mov ebp, dword [esp + 0x860]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
mov edi, edx
mov dword [esp + 0x20], eax
call dword [0x100f4984]
lea ecx, [esp + 0x34]
call dword [0x100f4984]
lea ecx, [esp + 0x38]
call dword [0x100f4984]
lea ecx, [esp + 0x3c]
call dword [0x100f4984]
mov ebx, dword [esp + 0x85c]
mov edx, dword [esp + 0x858]
push ebx
push edx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x85c], 0
call fcn.10024c90
test eax, eax
je 0x10024c0a
lea eax, [esp + 0x24]
lea esi, [esp + 0x18]
mov edx, edi
call fcn.100249a0
push ebp
mov byte [esp + 0x854], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10024a95
push 0x20
push ebp
call esi
lea eax, [esp + 0x7c]
push eax
call fcn.10025170
mov byte [esp + 0x850], 2
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebp
call fcn.10025430
test eax, eax
je 0x10024bee
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10024b98
lea ecx, [esp + 0x6c]
call sub.mfc90u.dll_CFile::CFile
push 0
push 2
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x85c], 3
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x10024b1f
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0x6c]
call sub.mfc90u.dll_CFile::Close
mov eax, dword [esp + 0x2c]
push eax
push ebp
call esi
mov ecx, dword [esp + 0x858]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
call fcn.10024d50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x850], 2
call fcn.100e74a6
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x854], 1
call fcn.10025210
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 + 0x3c]
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 + 0x38]
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]
mov eax, 1
jmp 0x10024c34
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call eax
test eax, eax
je 0x10024bee
mov eax, dword [esp + 0x2c]
push eax
push ebp
call esi
mov ecx, dword [esp + 0x858]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
call fcn.10024d50
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x854], 1
call fcn.10025210
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 + 0x24]
call fcn.10024580
mov eax, 1
jmp 0x10024c34
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x854], 1
call fcn.10025210
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 + 0x3c]
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 + 0x38]
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]
xor eax, eax
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.100e7da2
add esp, 0x840
ret 0x10