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

Disassembly:
push 0xffffffffffffffff
push 0x100f246f
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011f07c]
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 [0x100f3984]
lea ecx, [esp + 0x34]
call dword [0x100f3984]
lea ecx, [esp + 0x38]
call dword [0x100f3984]
lea ecx, [esp + 0x3c]
call dword [0x100f3984]
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.10024a10
test eax, eax
je 0x1002498a
lea eax, [esp + 0x24]
lea esi, [esp + 0x18]
mov edx, edi
call fcn.10024720
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 0x10024815
push 0x20
push ebp
call esi
lea eax, [esp + 0x7c]
push eax
call fcn.10024ee0
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.100251a0
test eax, eax
je 0x1002496e
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10024918
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 0x1002489f
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.10024ac0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x850], 2
call fcn.100e6fb6
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x854], 1
call fcn.10024f80
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 0x100249b4
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call eax
test eax, eax
je 0x1002496e
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.10024ac0
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x854], 1
call fcn.10024f80
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.10024300
mov eax, 1
jmp 0x100249b4
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x854], 1
call fcn.10024f80
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.100e78b2
add esp, 0x840
ret 0x10