Function at 0x18000a684
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 [0x180059640]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x18005b1d0]
mov edx, 1
call fcn.18000b6fc
mov edi, eax
test eax, eax
js 0x18000a8d7
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 0x18000a75c
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 0x18000a72c
cmp eax, esi
jne 0x18000a8c7
lea rdx, [0x180045338]
lea rcx, [rsp + 0x38]
call fcn.1800033c0
lea rdx, [0x180045358]
lea rcx, [rsp + 0x38]
call fcn.1800033c0
mov edi, eax
test eax, eax
je 0x18000a75c
cmp eax, esi
jne 0x18000a8c7
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 0x18000a7da
test rbx, rbx
je 0x18000a797
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 0x18000a7da
lea rdx, [0x1800453d0]
lea rcx, [rsp + 0x38]
call fcn.1800033c0
lea rdx, [0x1800453f0]
lea rcx, [rsp + 0x38]
call fcn.1800033c0
mov edi, eax
test eax, eax
je 0x18000a7da
cmp eax, esi
jne 0x18000a8c7
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x180045410]
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 0x18000a854
test rbx, rbx
je 0x18000a815
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 0x18000a854
lea rdx, str.KuaiyaShlExt
lea rcx, [rsp + 0x38]
call fcn.1800033c0
lea rdx, str.KuaiZipShlExt
lea rcx, [rsp + 0x38]
call fcn.1800033c0
mov edi, eax
test eax, eax
je 0x18000a854
cmp eax, esi
jne 0x18000a8c7
lea rdx, [rsp + 0x50]
lea rcx, [0x180046938]
mov r8d, 0x32
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jb 0x18000a8c7
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 0x18000a8c7
mov rsi, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x18000a8c7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18000a8d5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180026540
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