Function at 0x425a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43a188
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x7c], 0
jne 0x425a58
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 al, al
jmp 0x425cbe
mov eax, dword [ebp + 4]
cmp eax, 4
jae 0x425c96
mov eax, dword [0x45811c]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x425c49
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call dword [0x443834]
mov bl, 1
mov byte [esp + 0x28], bl
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
call esi
cmp eax, 0xffffffff
jne 0x425ba7
mov eax, dword [0x45811c]
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
lea ecx, [esp + 0x1c]
push 0x458108
push ecx
mov edi, str.DataImages_
call fcn.00401ae0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 2
call fcn.00403210
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
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 + 0x1c]
mov byte [esp + 0x28], bl
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 edx, dword [esp + 0x14]
push edx
call esi
cmp eax, 0xffffffff
jne 0x425ba7
lea eax, [esp + 0x1c]
push 0x458108
push eax
call fcn.00401ae0
add esp, 8
mov byte [esp + 0x28], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
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 + 0x18]
push 0x458108
push ecx
mov edi, str.DataImage_
call fcn.00401ae0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 5
call fcn.00403210
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0x1c]
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 + 0x18]
mov byte [esp + 0x28], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
push 0x456898
push 0x456878
push 0
push ebp
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x425bd6
mov eax, dword [eax + 0x108]
test eax, eax
je 0x425bd6
mov ecx, dword [esp + 0x14]
push eax
call fcn.00421950
push 0
push 0x456da0
push 0x456878
push 0
push ebp
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x425c3a
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x425c0b
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push 0
push 0x456898
push 0x455064
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x425c3a
mov eax, dword [eax + 0x108]
test eax, eax
je 0x425c3a
mov ecx, dword [esp + 0x14]
push eax
call fcn.00421950
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
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, dword [0x45811c]
push 0
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [0x443834]
lea esi, [esp + 0x20]
call fcn.0041ed50
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, esi
mov byte [esp + 0x28], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [0x443834]
mov ecx, dword [ebp + 0x7c]
call fcn.00422f80
lea ecx, [esp + 0x30]
mov bl, al
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 al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4