Function at 0x140002ec8
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
lea rbx, str._shellexContextMenuHandlers
mov edi, 5
mov rdx, qword [rbx]
lea r8, [rsp + 0x30]
movzx ecx, byte [rdx]
inc rdx
mov word [r8], cx
lea r8, [r8 + 2]
test cl, cl
jne 0x140002ef6
lea rdx, [0x14000b924]
lea rcx, [rsp + 0x30]
call fcn.140001060
lea r9, str.23170F69_40C1_278A_1000_000100020000
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call fcn.1400025c4
lea r9, str.23170F69_40C1_278A_1000_000100020000
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call fcn.140002568
add rbx, 8
sub rdi, 1
jne 0x140002eee
mov rbx, 0xffffffff80000002
lea r9, str.7_Zip_Shell_Extension
mov rcx, rbx
lea r8, str.23170F69_40C1_278A_1000_000100020000
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.1400025c4
lea r9, str.7_Zip_Shell_Extension
mov rcx, rbx
lea r8, str.23170F69_40C1_278A_1000_000100020000
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.140002568
lea rdi, [0x14000e510]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.7zFM.exe
lea rcx, [rsp + 0x30]
call fcn.140001060
and qword [rbp + 0x1a0], 0
lea r8, [rbp + 0x1a0]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths7zFM.exe
mov rcx, rbx
call fcn.140002534
test eax, eax
jne 0x140003018
mov rcx, qword [rbp + 0x1a0]
lea r8, [rsp + 0x30]
xor edx, edx
call fcn.140002640
mov rcx, qword [rbp + 0x1a0]
lea rdx, str.Path
mov r8, rdi
call fcn.140002640
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp + 0x1a8], 0
lea r8, [rbp + 0x1a8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall7_Zip
mov rcx, rbx
call fcn.140002534
test eax, eax
jne 0x14000323f
mov rcx, qword [rbp + 0x1a8]
lea r8, str.7_Zip_24.05__x64_
lea rdx, str.DisplayName
call fcn.140002640
mov rcx, qword [rbp + 0x1a8]
lea r8, [0x14000ba90]
lea rdx, str.DisplayVersion
call fcn.140002640
mov rcx, qword [rbp + 0x1a8]
lea r8, [rsp + 0x30]
lea rdx, str.DisplayIcon
call fcn.140002640
mov rcx, qword [rbp + 0x1a8]
lea rdx, str.InstallLocation
mov r8, rdi
call fcn.140002640
mov eax, 0x22
lea rcx, [rsp + 0x32]
mov rdx, rdi
mov word [rsp + 0x30], ax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.Uninstall.exe_
lea rcx, [rsp + 0x30]
call fcn.140001060
mov rcx, qword [rbp + 0x1a8]
lea r8, [rsp + 0x30]
lea rdx, str.UninstallString
call fcn.140002640
lea rdx, [0x14000bb28]
lea rcx, [rsp + 0x30]
call fcn.140001060
mov rcx, qword [rbp + 0x1a8]
lea r8, [rsp + 0x30]
lea rdx, str.QuietUninstallString
call fcn.140002640
mov rcx, qword [rbp + 0x1a8]
lea rax, [rbp + 0x1a0]
mov ebx, 4
mov dword [rbp + 0x1a0], 1
mov dword [rsp + 0x28], ebx
lea rdx, str.NoModify
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1a8]
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x28], ebx
lea rdx, str.NoRepair
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x1a0], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14000e0cc]
lea rdx, str.EstimatedSize
mov rcx, qword [rbp + 0x1a8]
mov r9d, ebx
shr eax, 0xa
xor r8d, r8d
mov dword [rbp + 0x1a0], eax
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1a8]
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x28], ebx
lea rdx, str.VersionMajor
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x1a0], 0x18
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea rdx, str.VersionMinor
mov dword [rbp + 0x1a0], 5
mov r9d, ebx
xor r8d, r8d
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1a8]
lea r8, [0x14000bbf0]
lea rdx, str.Publisher
call fcn.140002640
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret