Function at 0x40fe60
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41dc13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x2c]
push 0x100
push eax
push 0x42a438
push str.Prefix
push str.FileGroup
call ebx
test eax, eax
jne 0x40fecd
mov esi, dword [esp + 0x238]
push 0x429dd8
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x410287
lea ecx, [esp + 0x28]
lea edi, [esi + 0xd0]
push ecx
mov ecx, edi
call fcn.0041b81e
push edi
lea edx, [esp + 0x20]
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallCip
push edx
call sub.MFC42.DLL_operator_1
mov ebp, 1
push str.UninstallString
lea ecx, [esp + 0x24]
mov dword [esp + 0x234], ebp
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x238], 2
call fcn.0041b7f4
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x23c], 3
call fcn.0041b7f4
lea eax, [esp + 0x1c]
mov byte [esp + 0x238], 2
push eax
call fcn.00416dc0
add esp, 0xc
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x28]
push eax
push 0x100
push ecx
push 0x42a438
push str.SegName
push str.FileGroup
mov byte [esp + 0x248], 4
call ebx
test eax, eax
jne 0x40ff9a
mov esi, dword [esp + 0x238]
push 0x429d6c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
jmp 0x410254
lea edx, [esp + 0x28]
lea ecx, [esi + 0xd8]
push edx
call fcn.0041b81e
mov eax, dword [esi + 0xcc]
push eax
lea eax, [esp + 0x2c]
push 0x100
push eax
push 0x42a438
push str.VERSION
push str.FileGroup
call ebx
test eax, eax
jne 0x40ffec
mov esi, dword [esp + 0x238]
push 0x429d4c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
jmp 0x410254
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 0xdc]
call fcn.0041b81e
lea edx, [esp + 0x128]
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x128]
lea ecx, [esi + 0xe4]
push eax
call fcn.0041b81e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410111
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004102b0
push eax
lea ecx, [esi + 0xe8]
mov byte [esp + 0x234], 5
call fcn.0041b82a
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0040faa0
add esi, 0xc8
push eax
mov ecx, esi
mov byte [esp + 0x234], 6
call fcn.0041b82a
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x429c78
push eax
call edi
add esp, 8
test eax, eax
jne 0x4100c8
mov esi, dword [esp + 0x238]
push 0x429c78
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
jmp 0x410254
mov esi, dword [esi]
push 0x429c6c
push esi
call edi
add esp, 8
test eax, eax
jne 0x4100f5
mov esi, dword [esp + 0x238]
push 0x429c6c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
jmp 0x410254
mov esi, dword [esp + 0x238]
push str.Install
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
jmp 0x410254
push str.Setup.exe
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
dec eax
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov bl, 7
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], bl
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [edi + 1]
push edx
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esi + 0xe8]
mov byte [esp + 0x234], 8
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 9
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 0xa
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], bl
call sub.MFC42.DLL_CString::CString
push str.cipseguninstall.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
add eax, 0x14
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esi + 0xc8]
mov byte [esp + 0x234], 0xb
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x238]
push str.Uninstall
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x230], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x230], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4