Function at 0x1800134f8
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r13
sub rsp, 0xd0
mov rax, qword [0x1800a7120]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x1800a91d0]
mov edx, 1
call fcn.180014570
mov edi, eax
test eax, eax
js 0x18001374b
lea rax, [rsp + 0x30]
xor ebx, ebx
mov r13, 0xffffffff80000000
and dword [rsp + 0x40], ebx
and qword [rsp + 0x30], rbx
lea rdx, str._shellexContextMenuHandlers_
mov rcx, r13
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [rbx + 2]
test eax, eax
jne 0x1800135d0
mov rbx, qword [rsp + 0x30]
and dword [rsp + 0x40], eax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
je 0x1800135a0
cmp eax, esi
jne 0x18001373b
lea rdx, [0x180086578]
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
lea rdx, [0x180086348]
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
mov edi, eax
test eax, eax
je 0x1800135d0
cmp eax, esi
jne 0x18001373b
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, str.directory_shellexContextMenuHandlers_
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001364e
test rbx, rbx
je 0x18001360b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
and dword [rsp + 0x40], 0
mov qword [rsp + 0x38], rbx
test eax, eax
jne 0x18001364e
lea rdx, [0x1800865f0]
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
lea rdx, str.KuaiZipShlPropExt
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
mov edi, eax
test eax, eax
je 0x18001364e
cmp eax, esi
jne 0x18001373b
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x180086660]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800136c8
test rbx, rbx
je 0x180013689
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
and dword [rsp + 0x40], 0
mov qword [rsp + 0x38], rbx
test eax, eax
jne 0x1800136c8
lea rdx, str.KuaiyaShlExt
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
lea rdx, [0x180086638]
lea rcx, [rsp + 0x38]
call fcn.18000b7a0
mov edi, eax
test eax, eax
je 0x1800136c8
cmp eax, esi
jne 0x18001373b
lea rdx, [rsp + 0x50]
lea rcx, [0x180087e18]
mov r8d, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jb 0x18001373b
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov r9d, esi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001373b
mov rsi, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x18001373b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x180013749
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18005c4c0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret