Function at 0x18000a5b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x220
mov rax, qword [0x18005a960]
xor rax, rsp
mov qword [rsp + 0x210], rax
xor r12d, r12d
mov ebp, r8d
mov rbx, rdx
cmp rdx, r12
mov rdi, rcx
mov qword [rsp + 0x68], r12
je 0x18000aa6f
mov eax, dword [0x180045800]
cmp dword [rcx], eax
jne 0x18000a624
mov eax, dword [0x180045804]
cmp dword [rcx + 4], eax
jne 0x18000a624
mov eax, dword [0x180045808]
cmp dword [rcx + 8], eax
jne 0x18000a624
mov eax, dword [0x18004580c]
cmp dword [rcx + 0xc], eax
je 0x18000aa6f
lea rax, [rsp + 0x68]
mov r13d, 1
lea r9, [0x180042310]
lea rcx, [0x180045820]
xor edx, edx
mov r8d, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r12d
jl 0x18000aa5f
cmp dword [rbx], r12d
je 0x18000a6c5
cmp ebp, r12d
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, r13d
mov rdx, rdi
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x80], xmm0
mov rax, qword [rcx]
je 0x18000a6b2
cmp dword [rbx], r13d
jne 0x18000a691
call qword [rax + 0x28]
jmp 0x18000a694
call qword [rax + 0x38]
cmp eax, r12d
mov esi, eax
jge 0x18000a6bf
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x18000a6ab
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
jmp 0x18000aa71
cmp dword [rbx], r13d
jne 0x18000a6bc
call qword [rax + 0x30]
jmp 0x18000a6bf
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x18000a656
cmp ebp, r12d
jne 0x18000aa5f
lea rdx, [rsp + 0x190]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [0x18005a778]
mov ebx, 0x80
lea r8, str.CLSID_
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.180027160
lea esi, [rbx - 0x74]
lea ebp, [rbx - 0x30]
cmp eax, r12d
lea r13d, [rbx - 0x6a]
je 0x18000a749
cmp eax, esi
je 0x18000a73e
cmp eax, r13d
je 0x18000a733
cmp eax, 0x22
je 0x18000a733
cmp eax, ebp
je 0x18000a749
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.180027330
cmp eax, r12d
je 0x18000a799
cmp eax, esi
je 0x18000a78e
cmp eax, r13d
je 0x18000a783
cmp eax, 0x22
je 0x18000a783
cmp eax, ebp
je 0x18000a799
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea r8, str.Required_Categories
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.180027330
cmp eax, r12d
je 0x18000a7e8
cmp eax, esi
je 0x18000a7dd
cmp eax, r13d
je 0x18000a7d2
cmp eax, 0x22
je 0x18000a7d2
cmp eax, ebp
je 0x18000a7e8
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea rax, [rsp + 0x78]
mov r15, 0xffffffff80000000
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
mov rbx, r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x78], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x18000a899
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp rbx, r12
movsxd rdi, eax
je 0x18000a87c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x18000a899
cmp dword [rsp + 0x60], r12d
jne 0x18000a899
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x80
lea r8, str.CLSID_
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.180027160
cmp eax, r12d
je 0x18000a8ed
cmp eax, esi
je 0x18000a8e2
cmp eax, r13d
je 0x18000a8d7
cmp eax, 0x22
je 0x18000a8d7
cmp eax, ebp
je 0x18000a8ed
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.180027330
cmp eax, r12d
je 0x18000a93d
cmp eax, esi
je 0x18000a932
cmp eax, r13d
je 0x18000a927
cmp eax, 0x22
je 0x18000a927
cmp eax, ebp
je 0x18000a93d
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea r8, str.Implemented_Categories
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.180027330
cmp eax, r12d
je 0x18000a98c
cmp eax, esi
je 0x18000a981
cmp eax, r13d
je 0x18000a976
cmp eax, 0x22
je 0x18000a976
cmp eax, ebp
je 0x18000a98c
mov ecx, 0x80004005
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x8007000e
call fcn.180001000
int3
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x18000aa48
cmp rbx, r12
mov eax, r12d
je 0x18000a9cf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, r12d
mov rbx, qword [rsp + 0x70]
jne 0x18000aa48
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp rbx, r12
movsxd rdi, eax
je 0x18000aa2b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x18000aa48
cmp dword [rsp + 0x60], r12d
jne 0x18000aa48
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp rbx, r12
je 0x18000aa56
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x18000aa6f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.180026960
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret