Function at 0x180024330
Capabilities:
Delete registry key

Disassembly:
jmp 0x180024330
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor esi, esi
mov rdi, rcx
mov r14d, r8d
mov ecx, esi
mov rbx, rdx
mov qword [rsp + 0x68], rcx
test rdx, rdx
je 0x1800243cd
mov eax, dword [0x18007a458]
cmp dword [rdi], eax
jne 0x1800243a0
mov eax, dword [0x18007a45c]
cmp dword [rdi + 4], eax
jne 0x1800243a0
mov eax, dword [0x18007a460]
cmp dword [rdi + 8], eax
jne 0x1800243a0
mov eax, dword [0x18007a464]
cmp dword [rdi + 0xc], eax
je 0x1800243cd
xor edx, edx
lea rax, [rsp + 0x68]
lea r9, [0x180074838]
lea r8d, [rdx + 1]
lea rcx, [0x18007b268]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x180024405
mov rcx, qword [rsp + 0x68]
mov eax, esi
mov esi, eax
test rcx, rcx
je 0x1800243dc
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, esi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18003f5a0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp dword [rbx], esi
je 0x180024475
nop dword [rax]
mov rcx, qword [rbx + 8]
lea r9, [rbp - 0x78]
mov r8d, 1
mov eax, dword [rcx]
mov rdx, rdi
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + 4]
mov dword [rbp - 0x74], eax
mov eax, dword [rcx + 8]
mov dword [rbp - 0x70], eax
mov eax, dword [rcx + 0xc]
mov rcx, qword [rsp + 0x68]
mov dword [rbp - 0x6c], eax
mov rax, qword [rcx]
test r14d, r14d
je 0x180024460
cmp dword [rbx], r8d
jne 0x18002444f
call qword [rax + 0x28]
jmp 0x180024452
call qword [rax + 0x38]
test eax, eax
jns 0x18002446d
mov rcx, qword [rsp + 0x68]
jmp 0x1800243cf
cmp dword [rbx], 1
jne 0x18002446a
call qword [rax + 0x30]
jmp 0x18002446d
call qword [rax + 0x40]
add rbx, 0x10
cmp dword [rbx], esi
jne 0x180024410
test r14d, r14d
jne 0x180024756
lea r8d, [r14 + 0x40]
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r8, str.CLSID_
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003fed4
test eax, eax
je 0x1800244cf
cmp eax, 0xc
je 0x180024776
cmp eax, 0x16
je 0x18002476b
cmp eax, 0x22
je 0x18002476b
cmp eax, 0x50
jne 0x180024760
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003f3ec
test eax, eax
je 0x18002450c
cmp eax, 0xc
je 0x180024797
cmp eax, 0x16
je 0x18002478c
cmp eax, 0x22
je 0x18002478c
cmp eax, 0x50
jne 0x180024781
lea r8, str.Required_Categories
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003f3ec
test eax, eax
je 0x180024549
cmp eax, 0xc
je 0x1800247b8
cmp eax, 0x16
je 0x1800247ad
cmp eax, 0x22
je 0x1800247ad
cmp eax, 0x50
jne 0x1800247a2
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x60], esi
call fcn.180002982
test eax, eax
jne 0x1800245f2
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x1800245d2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
test rdi, rdi
jne 0x1800245f2
cmp dword [rsp + 0x60], esi
jne 0x1800245f2
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003fed4
test eax, eax
je 0x18002462f
cmp eax, 0xc
je 0x1800247d9
cmp eax, 0x16
je 0x1800247ce
cmp eax, 0x22
je 0x1800247ce
cmp eax, 0x50
jne 0x1800247c3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003f3ec
test eax, eax
je 0x18002466c
cmp eax, 0xc
je 0x1800247fa
cmp eax, 0x16
je 0x1800247ef
cmp eax, 0x22
je 0x1800247ef
cmp eax, 0x50
jne 0x1800247e4
lea r8, str.Implemented_Categories
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.18003f3ec
test eax, eax
je 0x1800246a9
cmp eax, 0xc
je 0x18002481b
cmp eax, 0x16
je 0x180024810
cmp eax, 0x22
je 0x180024810
cmp eax, 0x50
jne 0x180024805
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.180002982
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x18002473b
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x18002471f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rdi, rdi
jne 0x18002473b
cmp dword [rsp + 0x60], esi
jne 0x18002473b
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x180024749
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]
jmp 0x1800243d1
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3
mov ecx, 0x80004005
call fcn.180003c79
int3
mov ecx, 0x80070057
call fcn.180003c79
int3
mov ecx, 0x8007000e
call fcn.180003c79
int3