Function at 0x1000ba90
Capabilities:
Check if file exists

Disassembly:
push 0x114
mov eax, 0x1005de74
call fcn.100596da
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [0x1006ce70]
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
cmp byte [ebp + 0xc], 0
je 0x1000bc74
push edi
push 0x5c
lea ecx, [ebp - 0x10]
xor bl, bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
jne 0x1000bae1
inc bl
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call sym.SACOhelper.dll_struct_HINSTANCE______cdecl_ReturnASOHELPERDllInstance_void_
push eax
call sym.SACOhelper.dll_wchar_t_const____cdecl_GetAppPath_struct_HINSTANCE_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test bl, bl
je 0x1000bbee
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call dword [0x1006ce0c]
mov byte [ebp - 4], 2
call dword [sym.imp.sacosys.dll_Ordinal_3]
push 3
push eax
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x11c]
push eax
mov dword [ebp - 0x120], ecx
call fcn.1000be2c
mov byte [ebp - 4], 3
push dword [ebp - 0x120]
lea ecx, [ebp - 0x14]
call dword [0x1006ce70]
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], eax
je 0x1000bb7e
push dword [ebp - 0x120]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call sym.SACOhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call dword [0x1006ce70]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call sym.SACOhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
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]
push dword [ebp - 0x18]
call esi
test eax, eax
setne bl
test bl, bl
je 0x1000bbd4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
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]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
jne 0x1000bc67
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [0x1006ce70]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call sym.SACOhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
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 dword [ebp - 0x10]
call esi
test eax, eax
jne 0x1000bc67
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push str.aso.ini
lea ecx, [ebp - 0x14]
call dword [0x1006ce70]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 8
call sym.SACOhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
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 + 0xc]
mov byte [ebp - 4], 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]
lea eax, [ebp - 0x10]
push eax
call sym.SACOhelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
test eax, eax
je 0x1000bce2
push 0xc
call sub.mfc90u.dll_new
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x1000bca3
push dword [ebp - 0x10]
mov ecx, eax
call sym.SACOhelper.dll_public:_void___thiscall_CIniReader::constructor_wchar_t_const__
mov ebx, eax
jmp 0x1000bca5
xor ebx, ebx
push edi
push 0xc
push ebx
mov byte [ebp - 4], 0
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
setne al
test al, al
je 0x1000bce2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov esi, dword [eax]
push 0xb
mov edi, str.CIniReader
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000bce2
lea ecx, [ebp - 0x10]
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, ebx
call fcn.100597b2
ret
xor ebx, ebx
jmp 0x1000bcd1