Function at 0x14001f39c
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 0x14001f7b7
mov eax, dword [0x140288ff0]
cmp dword [rcx], eax
jne 0x14001f417
mov eax, dword [0x140288ff4]
cmp dword [rcx + 4], eax
jne 0x14001f417
mov eax, dword [0x140288ff8]
cmp dword [rcx + 8], eax
jne 0x14001f417
mov eax, dword [0x140288ffc]
cmp dword [rcx + 0xc], eax
je 0x14001f7b7
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 0x14001f7a7
cmp dword [rbx], r13d
je 0x14001f4ad
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 0x14001f49a
cmp dword [rbx], r14d
jne 0x14001f47a
call qword [rax + 0x28]
jmp 0x14001f47d
call qword [rax + 0x38]
mov esi, eax
test eax, eax
jns 0x14001f4a7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f493
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
jmp 0x14001f7b9
cmp dword [rbx], r14d
jne 0x14001f4a4
call qword [rax + 0x30]
jmp 0x14001f4a7
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x14001f448
test r12d, r12d
jne 0x14001f7a7
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.1401bf7b0
lea r14d, [r12 + 0xc]
lea esi, [rbx - 0x30]
lea r12d, [rbx - 0x5e]
test eax, eax
je 0x14001f517
cmp eax, r14d
je 0x14001f511
cmp eax, 0x16
je 0x14001f50b
cmp eax, r12d
je 0x14001f50b
cmp eax, esi
je 0x14001f517
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c013c
test eax, eax
je 0x14001f553
cmp eax, r14d
je 0x14001f54d
cmp eax, 0x16
je 0x14001f547
cmp eax, r12d
je 0x14001f547
cmp eax, esi
je 0x14001f553
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
lea r8, str.Required_Categories
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c013c
test eax, eax
je 0x14001f58f
cmp eax, r14d
je 0x14001f589
cmp eax, 0x16
je 0x14001f583
cmp eax, r12d
je 0x14001f583
cmp eax, esi
je 0x14001f58f
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
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.1400085b8
test eax, eax
jne 0x14001f645
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 0x14001f61e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
test rdi, rdi
jne 0x14001f640
cmp dword [rsp + 0x60], r13d
jne 0x14001f640
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.1401bf7b0
test eax, eax
je 0x14001f681
cmp eax, r14d
je 0x14001f67b
cmp eax, 0x16
je 0x14001f675
cmp eax, r12d
je 0x14001f675
cmp eax, esi
je 0x14001f681
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c013c
test eax, eax
je 0x14001f6bd
cmp eax, r14d
je 0x14001f6b7
cmp eax, 0x16
je 0x14001f6b1
cmp eax, r12d
je 0x14001f6b1
cmp eax, esi
je 0x14001f6bd
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
lea r8, str.Implemented_Categories
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.1401c013c
test eax, eax
je 0x14001f6f9
cmp eax, r14d
je 0x14001f6f3
cmp eax, 0x16
je 0x14001f6ed
cmp eax, r12d
je 0x14001f6ed
cmp eax, esi
je 0x14001f6f9
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.1400085b8
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x14001f78c
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 0x14001f76f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
test rdi, rdi
jne 0x14001f78c
cmp dword [rsp + 0x60], r13d
jne 0x14001f78c
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x14001f79a
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 0x14001f7b7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401bea40
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