Function at 0x402287
Capabilities:
Get installed programs
Persist via app paths registry key
Set registry value

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
xor ebp, ebp
mov ebx, str.23170F69_40C1_278A_1000_000100020000
push edi
mov esi, ebp
mov edx, dword [esi + 0x40a1f8]
lea edi, [esp + 0x18]
mov cl, byte [edx]
inc edx
movzx eax, cl
mov word [edi], ax
lea edi, [edi + 2]
test cl, cl
jne 0x4022a4
mov edx, 0x40a660
lea ecx, [esp + 0x18]
call fcn.00401000
push ebx
push ebp
lea edx, [esp + 0x20]
mov ecx, 0x80000000
call fcn.00401e21
add esi, 4
cmp esi, 0x14
jb 0x40229a
push str.7_Zip_Shell_Extension
mov esi, 0x80000002
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push ebx
mov ecx, esi
call fcn.00401e21
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x18]
push 0x40c500
push eax
call ebx
mov edx, str.7zFM.exe
lea ecx, [esp + 0x18]
call fcn.00401000
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths7zFM.exe
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402365
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
xor edx, edx
call fcn.00401e91
mov ecx, dword [esp + 0x10]
mov edx, str.Path
push 0x40c500
call fcn.00401e91
push dword [esp + 0x10]
call edi
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall7_Zip
push 0x80000002
call esi
test eax, eax
jne 0x4024d5
mov ecx, dword [esp + 0x10]
mov edx, str.DisplayName
push str.7_Zip_24.05
call fcn.00401e91
mov ecx, dword [esp + 0x10]
mov edx, str.DisplayVersion
push 0x40a7c4
call fcn.00401e91
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov edx, str.DisplayIcon
call fcn.00401e91
mov ecx, dword [esp + 0x10]
mov esi, 0x40c500
push esi
mov edx, str.InstallLocation
call fcn.00401e91
push 0x22
pop eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push esi
push eax
call ebx
mov edx, str.Uninstall.exe_
lea ecx, [esp + 0x18]
call fcn.00401000
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov edx, str.UninstallString
call fcn.00401e91
mov edx, 0x40a858
lea ecx, [esp + 0x18]
call fcn.00401000
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov edx, 0x40a85c
call fcn.00401e91
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push ebp
push str.NoModify
push dword [esp + 0x24]
xor ebx, ebx
inc ebx
mov dword [esp + 0x2c], ebx
call esi
push 4
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
pop ebx
push ebx
push eax
push ebx
push ebp
push str.NoRepair
push dword [esp + 0x24]
call esi
mov eax, dword [0x40c0dc]
shr eax, 0xa
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push str.EstimatedSize
push dword [esp + 0x24]
call esi
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x18
push eax
push ebx
push ebp
push str.VersionMajor
push dword [esp + 0x24]
call esi
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 5
push eax
push ebx
push ebp
push str.VersionMinor
push dword [esp + 0x24]
call esi
mov ecx, dword [esp + 0x10]
mov edx, str.Publisher
push 0x40a904
call fcn.00401e91
push dword [esp + 0x10]
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret