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

Disassembly:
push 0x68
mov eax, 0x1005a09b
call fcn.100514bc
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [eax - 0xc], ebx
jne 0x100286d6
push 0x100893c0
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push edi
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
lea esi, [ebp - 0x10]
call dword [0x10061dd0]
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call dword [0x10061dd0]
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10061dd0]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10027eda
cmp dword [edi], ebx
je 0x10028894
cmp dword [ebp + 0xc], ebx
je 0x10028894
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
call dword [0x10061dd0]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp + 0xc]
cmp eax, 0xffffffff
je 0x10028873
test al, 0x10
je 0x10028873
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 esi, esi
inc esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
jne 0x10028788
push ebx
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
mov byte [ebp + 0xf], bl
cmp ax, 0x5c
je 0x1002878c
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [ebp + 0xf], bl
je 0x100287a8
push 0x10063900
lea ecx, [ebp + 8]
call dword [0x10061708]
lea ecx, [ebp - 0x34]
call sym.PCBRhelper.dll_Ordinal_39
push ebx
push ebx
push esi
push ebx
push esi
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x1006a6a8
call dword [0x10061e44]
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10061dd0]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call sym.PCBRhelper.dll_Ordinal_230
xor edi, edi
cmp dword [ebp - 0x2c], ebx
jle 0x10028888
push edi
lea ecx, [ebp - 0x34]
call sym.PCBRhelper.dll_Ordinal_350
push eax
lea ecx, [ebp - 0x74]
call sym.PCBRhelper.dll_Ordinal_37
lea eax, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp + 0xc], ebx
lea esi, [ebp + 0xc]
call dword [0x10061dd0]
push ecx
mov byte [ebp - 4], 8
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [0x10061dd0]
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 9
call dword [0x10061dd0]
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10027eda
test byte [ebp + 0xc], 8
lea ecx, [ebp - 0x70]
je 0x1002887b
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc edi
cmp edi, dword [ebp - 0x2c]
jl 0x100287f5
jmp 0x10028888
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x10028894
and dword [ebp - 0x10], 0xfffeffbf
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, [ebp - 0x34]
mov byte [ebp - 4], 2
call sym.PCBRhelper.dll_Ordinal_83
cmp dword [0x100893c4], ebx
je 0x100288a6
call fcn.10029364
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp + 8]
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, [ebp + 0x14]
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, [ebp + 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]
mov eax, dword [ebp - 0x10]
call fcn.10051594
ret 0x14