Function at 0x100203e7
Capabilities:
Inspect load icon resource
Set current directory

Disassembly:
push 0x28
mov eax, 0x1005ee72
call fcn.100596da
mov esi, ecx
mov eax, 0x507
push eax
push 0xe
push eax
mov byte [sym.SACOhelper.dll_bool_CDlgBaseWnd::m_bShowHelpMenuAtTop], 1
call sub.mfc90u.dll_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [sym.SACOhelper.dll_struct_HICON____CSystweakApp::m_applicationDefaultIcon], eax
lea eax, [ebp - 0x10]
push eax
call sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetCompanyNAME_void_
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProduct_ABBERIVATED_NAME_void_
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
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__
add esp, 0x10
lea ecx, [ebp - 0x18]
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 - 0x18]
push eax
call sym.SACOhelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetAppProgramName_void_
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
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__
add esp, 0xc
lea ecx, [ebp - 0x18]
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]
push dword [sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____CSystweakApp::m_ProgramName]
mov ecx, esi
call sub.mfc90u.dll_Ordinal_12981
push dword [ebp - 0x10]
mov ecx, esi
call sub.mfc90u.dll_CWinApp::SetRegistryKey
push dword [sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____CSystweakApp::m_ProgramName]
call fcn.1000f90c
pop ecx
lea ecx, [ebp - 0x14]
mov dword [esi + 0x10c], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
push ecx
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
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call sym.SACOhelper.dll_public:_static_bool___cdecl_CSystweakApp::IsRegisteredVersion_void_
test al, al
je 0x1002052a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], SysStringLen
call sym.SACOhelper.dll_public:_void___thiscall_CRegistry::constructor_struct_HKEY____const_const__
xor esi, esi
inc esi
mov byte [ebp - 4], 4
push esi
mov dword [ebp - 0x30], 0x2001f
call sym.SACOhelper.dll_wchar_t_const____cdecl_GetSystweakAppKey_void_
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x34]
call sym.SACOhelper.dll_public:_int___thiscall_CRegistry::Open_struct_HKEY_____wchar_t_const___bool_
test eax, eax
je 0x1002051a
lea eax, [ebp - 0x18]
push eax
push str.REGISTEREDVERFOUNINSTALL
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], esi
call sym.SACOhelper.dll_public:_int___thiscall_CRegistry::WriteDWORD_wchar_t_const___unsigned_long_int_const__
lea ecx, [ebp - 0x34]
call sym.SACOhelper.dll_public:_void___thiscall_CRegistry::Close_void_
lea ecx, [ebp - 0x34]
call sym.SACOhelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
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 - 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]
call fcn.100597b2
ret