Function at 0x18000f464
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 [0x180056150]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x1800581d0]
mov edx, 1
call fcn.1800104dc
mov edi, eax
test eax, eax
js 0x18000f6b7
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 0x18000f53c
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 0x18000f50c
cmp eax, esi
jne 0x18000f6a7
lea rdx, [0x180042318]
lea rcx, [rsp + 0x38]
call fcn.180008170
lea rdx, [0x180042338]
lea rcx, [rsp + 0x38]
call fcn.180008170
mov edi, eax
test eax, eax
je 0x18000f53c
cmp eax, esi
jne 0x18000f6a7
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 0x18000f5ba
test rbx, rbx
je 0x18000f577
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 0x18000f5ba
lea rdx, [0x1800423b0]
lea rcx, [rsp + 0x38]
call fcn.180008170
lea rdx, [0x1800423d0]
lea rcx, [rsp + 0x38]
call fcn.180008170
mov edi, eax
test eax, eax
je 0x18000f5ba
cmp eax, esi
jne 0x18000f6a7
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x1800423f0]
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 0x18000f634
test rbx, rbx
je 0x18000f5f5
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 0x18000f634
lea rdx, str.KuaiyaShlExt
lea rcx, [rsp + 0x38]
call fcn.180008170
lea rdx, str.KuaiZipShlExt
lea rcx, [rsp + 0x38]
call fcn.180008170
mov edi, eax
test eax, eax
je 0x18000f634
cmp eax, esi
jne 0x18000f6a7
lea rdx, [rsp + 0x50]
lea rcx, [0x180043918]
mov r8d, 0x32
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jb 0x18000f6a7
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 0x18000f6a7
mov rsi, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x18000f6a7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18000f6b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180022fd0
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