Function at 0x14001f3ec
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r13d, r13d
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], r13
test rdx, rdx
je 0x14001f807
mov eax, dword [0x140288ff0]
cmp dword [rcx], eax
jne 0x14001f467
mov eax, dword [0x140288ff4]
cmp dword [rcx + 4], eax
jne 0x14001f467
mov eax, dword [0x140288ff8]
cmp dword [rcx + 8], eax
jne 0x14001f467
mov eax, dword [0x140288ffc]
cmp dword [rcx + 0xc], eax
je 0x14001f807
lea rax, [rsp + 0x68]
mov r14d, 1
lea r9, [0x14022ac78]
lea rcx, [0x140289080]
xor edx, edx
mov r8d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001f7f7
cmp dword [rbx], r13d
je 0x14001f4fd
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x68]
lea r9, [rbp - 0x78]
mov r8d, r14d
mov rdx, rdi
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x78], xmm0
mov rax, qword [rcx]
test r12d, r12d
je 0x14001f4ea
cmp dword [rbx], r14d
jne 0x14001f4ca
call qword [rax + 0x28]
jmp 0x14001f4cd
call qword [rax + 0x38]
mov esi, eax
test eax, eax
jns 0x14001f4f7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f4e3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
jmp 0x14001f809
cmp dword [rbx], r14d
jne 0x14001f4f4
call qword [rax + 0x30]
jmp 0x14001f4f7
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x14001f498
test r12d, r12d
jne 0x14001f7f7
lea r8d, [r12 + 0x40]
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov ebx, 0x80
lea r8, str.CLSID_
lea rcx, [rbp - 0x60]
mov edx, ebx
call fcn.1401bf720
lea r14d, [r12 + 0xc]
lea esi, [rbx - 0x30]
lea r12d, [rbx - 0x5e]
test eax, eax
je 0x14001f567
cmp eax, r14d
je 0x14001f561
cmp eax, 0x16
je 0x14001f55b
cmp eax, r12d
je 0x14001f55b
cmp eax, esi
je 0x14001f567
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c00ac
test eax, eax
je 0x14001f5a3
cmp eax, r14d
je 0x14001f59d
cmp eax, 0x16
je 0x14001f597
cmp eax, r12d
je 0x14001f597
cmp eax, esi
je 0x14001f5a3
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, str.Required_Categories
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c00ac
test eax, eax
je 0x14001f5df
cmp eax, r14d
je 0x14001f5d9
cmp eax, 0x16
je 0x14001f5d3
cmp eax, r12d
je 0x14001f5d3
cmp eax, esi
je 0x14001f5df
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov qword [rbp - 0x80], r13
mov dword [rsp + 0x60], r13d
call fcn.14000856c
test eax, eax
jne 0x14001f695
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r13
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x14001f66e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
test rdi, rdi
jne 0x14001f690
cmp dword [rsp + 0x60], r13d
jne 0x14001f690
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, 0x80
lea r8, str.CLSID_
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401bf720
test eax, eax
je 0x14001f6d1
cmp eax, r14d
je 0x14001f6cb
cmp eax, 0x16
je 0x14001f6c5
cmp eax, r12d
je 0x14001f6c5
cmp eax, esi
je 0x14001f6d1
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c00ac
test eax, eax
je 0x14001f70d
cmp eax, r14d
je 0x14001f707
cmp eax, 0x16
je 0x14001f701
cmp eax, r12d
je 0x14001f701
cmp eax, esi
je 0x14001f70d
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, str.Implemented_Categories
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c00ac
test eax, eax
je 0x14001f749
cmp eax, r14d
je 0x14001f743
cmp eax, 0x16
je 0x14001f73d
cmp eax, r12d
je 0x14001f73d
cmp eax, esi
je 0x14001f749
call fcn.14005a774
int3
call fcn.14005a774
int3
call fcn.14005a72c
int3
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.14000856c
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x14001f7dc
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x14001f7bf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
test rdi, rdi
jne 0x14001f7dc
cmp dword [rsp + 0x60], r13d
jne 0x14001f7dc
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x14001f7ea
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f807
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401be9b0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret