Function at 0x180013578
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 [0x1800a8120]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x1800aa1d0]
mov edx, 1
call fcn.1800145f0
mov edi, eax
test eax, eax
js 0x1800137cb
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 0x180013650
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 0x180013620
cmp eax, esi
jne 0x1800137bb
lea rdx, [0x180087578]
lea rcx, [rsp + 0x38]
call fcn.18000b800
lea rdx, [0x180087348]
lea rcx, [rsp + 0x38]
call fcn.18000b800
mov edi, eax
test eax, eax
je 0x180013650
cmp eax, esi
jne 0x1800137bb
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 0x1800136ce
test rbx, rbx
je 0x18001368b
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 0x1800136ce
lea rdx, [0x1800875f0]
lea rcx, [rsp + 0x38]
call fcn.18000b800
lea rdx, str.KuaiZipShlPropExt
lea rcx, [rsp + 0x38]
call fcn.18000b800
mov edi, eax
test eax, eax
je 0x1800136ce
cmp eax, esi
jne 0x1800137bb
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x180087660]
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 0x180013748
test rbx, rbx
je 0x180013709
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 0x180013748
lea rdx, str.KuaiyaShlExt
lea rcx, [rsp + 0x38]
call fcn.18000b800
lea rdx, [0x180087638]
lea rcx, [rsp + 0x38]
call fcn.18000b800
mov edi, eax
test eax, eax
je 0x180013748
cmp eax, esi
jne 0x1800137bb
lea rdx, [rsp + 0x50]
lea rcx, [0x180088f18]
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 0x1800137bb
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 0x1800137bb
mov rsi, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x1800137bb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1800137c9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18005cb30
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