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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x1400ca008]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea rbx, str._shellexContextMenuHandlers
mov edi, 5
lea rsi, str.23170F69_20BB_278A_1000_000100020000
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.7_Zip_Zstandard
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9, rsi
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000000
call fcn.140001600
mov r9, rsi
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000000
call fcn.1400015a0
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140002143
mov rbx, 0xffffffff80000002
lea r9, str.7_Zip_Shell_Extension
mov rcx, rbx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov r8, rsi
call fcn.140001600
lea r9, str.7_Zip_Shell_Extension
mov r8, rsi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov rcx, rbx
call fcn.1400015a0
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths7zFM.exe
mov rcx, rbx
call fcn.14000156c
lea rsi, [0x1400cbbe0]
test eax, eax
jne 0x140002250
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.7zFM.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edx, edx
call fcn.140001514
mov rcx, qword [rsp + 0x38]
lea rdx, str.Path
mov r8, rsi
call fcn.140001514
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall7_Zip_Zstandard
mov rcx, rbx
call fcn.14000156c
test eax, eax
jne 0x140002412
mov rcx, qword [rsp + 0x38]
lea r8, str.7_Zip_ZS_19.00_ZS_v1.4.4_R3__x64_
lea rdx, str.DisplayName
call fcn.140001514
mov rcx, qword [rsp + 0x38]
lea r8, [0x140025fc0]
lea rdx, str.DisplayVersion
call fcn.140001514
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, str.DisplayIcon
call fcn.140001514
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, str.InstallLocation
call fcn.140001514
lea rdx, str.Uninstall.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, str.UninstallString
call fcn.140001514
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov ebx, 4
mov dword [rsp + 0x30], 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 [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea rdx, str.NoRepair
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x1400cbbb0]
lea rdx, str.EstimatedSize
mov rcx, qword [rsp + 0x38]
mov r9d, ebx
shr eax, 0xa
xor r8d, r8d
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea rdx, str.VersionMajor
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0x13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea rdx, str.VersionMinor
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
lea r8, [0x140026110]
lea rdx, str.Publisher
call fcn.140001514
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140009348
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret