Function at 0x1002738c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x68
mov eax, 0x1007bfd3
call fcn.100751fa
mov edi, ecx
mov byte [sym.ASOHelper.dll_bool_CDlgBaseWnd::m_bShowHelpMenuAtTop], 1
mov byte [sym.ASOHelper.dll_bool_CDlgBaseWnd::m_bShowDemoButtonAtTop], 1
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
test eax, eax
je 0x100273d0
mov byte [sym.ASOHelper.dll_bool_CDlgBaseWnd::m_bShowDemoButtonAtTop], 0
push 0x507
call fcn.1001c6fd
mov dword [sym.ASOHelper.dll_struct_HICON____CSystweakApp::m_applicationDefaultIcon], eax
lea eax, [ebp - 0x34]
push eax
call sym.ASOHelper.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 - 0x38]
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProduct_ABBERIVATED_NAME_void_
pop ecx
pop ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [0x10096f20]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call sym.ASOHelper.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__
lea eax, [ebp - 0x18]
push eax
call sym.ASOHelper.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 - 0x20]
push eax
mov byte [ebp - 4], 3
call sym.ASOHelper.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, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
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.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____CSystweakApp::m_ProgramName]
mov ecx, edi
call sub.mfc90u.dll_Ordinal_12981
push dword [ebp - 0x20]
mov ecx, edi
call sub.mfc90u.dll_CWinApp::SetRegistryKey
push dword [sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____CSystweakApp::m_ProgramName]
call fcn.10010e53
pop ecx
lea ecx, [ebp - 0x28]
mov dword [edi + 0x10c], eax
call dword [0x10096f98]
mov byte [ebp - 4], 4
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x28]
push ecx
push eax
call sym.ASOHelper.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 - 0x28]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call sym.ASOHelper.dll_public:_static_bool___cdecl_CSystweakApp::IsRegisteredVersion_void_
mov ebx, SysReAllocString
mov esi, 0x1009f454
test al, al
je 0x10027669
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], ebx
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::constructor_struct_HKEY____const_const__
mov byte [ebp - 4], 5
push 1
mov dword [ebp - 0x70], 0x2001f
call sym.ASOHelper.dll_wchar_t_const____cdecl_GetSystweakAppKey_void_
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x74]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::Open_struct_HKEY_____wchar_t_const___bool_
test eax, eax
je 0x100274f5
lea eax, [ebp - 0x10]
push eax
push str.REGISTEREDVERFOUNINSTALL
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], 1
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::WriteDWORD_wchar_t_const___unsigned_long_int_const__
lea ecx, [ebp - 0x74]
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::Close_void_
push str.ASOService
lea ecx, [ebp - 0x18]
call dword [0x10096f84]
mov byte [ebp - 4], 6
call sym.ASOHelper.dll_unsigned_long_int___cdecl__winmajor_void_
cmp eax, 6
jb 0x10027534
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10096f20]
call sym.ASOHelper.dll_public:_static_bool___cdecl_CSystweakApp::DeleteTaskAtStartUp_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
jmp 0x10027654
push str.schtasks.exe
lea ecx, [ebp - 0x10]
call dword [0x10096f84]
xor eax, eax
push 0x206
mov byte [ebp - 4], 7
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10027573
sub eax, edx
sar eax, 1
je 0x1002764b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call dword [0x10096f84]
push str.system32
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call dword [0x10096f84]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call sym.ASOHelper.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], 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 eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call sym.ASOHelper.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__
lea eax, [ebp - 0x24]
push eax
call sym.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
add esp, 0xc
test eax, eax
je 0x10027642
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str._delete__tn___s___f
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x1c]
push 0x10098e70
push eax
call sym.ASOHelper.dll_public:_static_struct_HINSTANCE______cdecl_CDlgBaseWnd::ShellExecuteW_struct_HWND_____wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___int_
add esp, 0x18
push 0x100
call dword [sym.imp.KERNEL32.dll_Sleep]
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 - 0x24]
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]
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]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
push esi
push str.IDS_G_APP_SECENCRYPT_NAME
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call sym.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__
push esi
push str.IDS_G_APP_SECDEL_NAME
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call sym.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], ebx
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::constructor_struct_HKEY____const_const__
mov byte [ebp - 4], 0xd
push 1
mov dword [ebp - 0x54], 0x2001f
call sym.ASOHelper.dll_wchar_t_const____cdecl_GetSystweakAppKey_void_
push eax
push ebx
lea ecx, [ebp - 0x58]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::Open_struct_HKEY_____wchar_t_const___bool_
test eax, eax
je 0x100276e2
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
push str.SecEncryptAppName
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::WriteString_wchar_t_const___wchar_t_const___bool_
push 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
push str.SecDelAppName
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::WriteString_wchar_t_const___wchar_t_const___bool_
lea ecx, [ebp - 0x58]
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::Close_void_
lea ecx, [ebp - 0x58]
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
lea ecx, [ebp - 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]
lea ecx, [ebp - 0x2c]
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 - 0x28]
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 - 0x20]
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 - 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, [ebp - 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]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10074156
add ebp, 0x20c
leave
ret