Function at 0x18000a2f0
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 [0x180057b40]
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 0x18000a7af
mov eax, dword [0x180044140]
cmp dword [rcx], eax
jne 0x18000a364
mov eax, dword [0x180044144]
cmp dword [rcx + 4], eax
jne 0x18000a364
mov eax, dword [0x180044148]
cmp dword [rcx + 8], eax
jne 0x18000a364
mov eax, dword [0x18004414c]
cmp dword [rcx + 0xc], eax
je 0x18000a7af
lea rax, [rsp + 0x68]
mov r13d, 1
lea r9, [0x180042370]
lea rcx, [0x180044160]
xor edx, edx
mov r8d, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r12d
jl 0x18000a79f
cmp dword [rbx], r12d
je 0x18000a405
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 0x18000a3f2
cmp dword [rbx], r13d
jne 0x18000a3d1
call qword [rax + 0x28]
jmp 0x18000a3d4
call qword [rax + 0x38]
cmp eax, r12d
mov esi, eax
jge 0x18000a3ff
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x18000a3eb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
jmp 0x18000a7b1
cmp dword [rbx], r13d
jne 0x18000a3fc
call qword [rax + 0x30]
jmp 0x18000a3ff
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x18000a396
cmp ebp, r12d
jne 0x18000a79f
lea rdx, [rsp + 0x190]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [0x180057950]
mov ebx, 0x80
lea r8, str.CLSID_
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.1800274f0
lea esi, [rbx - 0x74]
lea ebp, [rbx - 0x30]
cmp eax, r12d
lea r13d, [rbx - 0x6a]
je 0x18000a489
cmp eax, esi
je 0x18000a47e
cmp eax, r13d
je 0x18000a473
cmp eax, 0x22
je 0x18000a473
cmp eax, ebp
je 0x18000a489
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.1800276c0
cmp eax, r12d
je 0x18000a4d9
cmp eax, esi
je 0x18000a4ce
cmp eax, r13d
je 0x18000a4c3
cmp eax, 0x22
je 0x18000a4c3
cmp eax, ebp
je 0x18000a4d9
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.1800276c0
cmp eax, r12d
je 0x18000a528
cmp eax, esi
je 0x18000a51d
cmp eax, r13d
je 0x18000a512
cmp eax, 0x22
je 0x18000a512
cmp eax, ebp
je 0x18000a528
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 0x18000a5d9
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 0x18000a5bc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x18000a5d9
cmp dword [rsp + 0x60], r12d
jne 0x18000a5d9
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.1800274f0
cmp eax, r12d
je 0x18000a62d
cmp eax, esi
je 0x18000a622
cmp eax, r13d
je 0x18000a617
cmp eax, 0x22
je 0x18000a617
cmp eax, ebp
je 0x18000a62d
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.1800276c0
cmp eax, r12d
je 0x18000a67d
cmp eax, esi
je 0x18000a672
cmp eax, r13d
je 0x18000a667
cmp eax, 0x22
je 0x18000a667
cmp eax, ebp
je 0x18000a67d
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.1800276c0
cmp eax, r12d
je 0x18000a6cc
cmp eax, esi
je 0x18000a6c1
cmp eax, r13d
je 0x18000a6b6
cmp eax, 0x22
je 0x18000a6b6
cmp eax, ebp
je 0x18000a6cc
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 0x18000a788
cmp rbx, r12
mov eax, r12d
je 0x18000a70f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, r12d
mov rbx, qword [rsp + 0x70]
jne 0x18000a788
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 0x18000a76b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x18000a788
cmp dword [rsp + 0x60], r12d
jne 0x18000a788
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp rbx, r12
je 0x18000a796
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 0x18000a7af
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.180026cf0
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