Function at 0x14000f8d0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140053100]
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 0x14000f971
mov eax, dword [0x140040870]
cmp dword [rcx], eax
jne 0x14000f939
mov eax, dword [0x140040874]
cmp dword [rcx + 4], eax
jne 0x14000f939
mov eax, dword [0x140040878]
cmp dword [rcx + 8], eax
jne 0x14000f939
mov eax, dword [0x14004087c]
cmp dword [rcx + 0xc], eax
je 0x14000f971
xor edx, edx
lea rax, [rsp + 0x68]
lea r9, [0x140045008]
lea r8d, [rdx + 1]
lea rcx, [0x140040890]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000f978
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f971
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x14000fe3a
mov qword [rsp + 0x270], rsi
cmp dword [rbx], r13d
je 0x14000fa05
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 r12d, r12d
je 0x14000f9ef
cmp dword [rbx], r8d
jne 0x14000f9cf
call qword [rax + 0x28]
jmp 0x14000f9d2
call qword [rax + 0x38]
mov esi, eax
test eax, eax
jns 0x14000f9fc
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f9e8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x14000fe32
cmp dword [rbx], 1
jne 0x14000f9f9
call qword [rax + 0x30]
jmp 0x14000f9fc
call qword [rax + 0x40]
add rbx, 0x10
cmp dword [rbx], r13d
jne 0x14000f990
test r12d, r12d
jne 0x14000fe20
lea r8d, [r12 + 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.140026f94
test eax, eax
je 0x14000fa71
cmp eax, 0xc
je 0x14000fa66
cmp eax, 0x16
je 0x14000fa5b
cmp eax, 0x22
je 0x14000fa5b
cmp eax, 0x50
je 0x14000fa71
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.140026f0c
test eax, eax
je 0x14000fabf
cmp eax, 0xc
je 0x14000fab4
cmp eax, 0x16
je 0x14000faa9
cmp eax, 0x22
je 0x14000faa9
cmp eax, 0x50
je 0x14000fabf
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
int3
lea r8, str.Required_Categories
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.140026f0c
test eax, eax
je 0x14000fb0d
cmp eax, 0xc
je 0x14000fb02
cmp eax, 0x16
je 0x14000faf7
cmp eax, 0x22
je 0x14000faf7
cmp eax, 0x50
je 0x14000fb0d
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
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.1400035b0
test eax, eax
jne 0x14000fc1f
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 0x14000fb9c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
test rdi, rdi
jne 0x14000fc1f
cmp dword [rsp + 0x60], r13d
jne 0x14000fc1f
cmp byte [0x1400587c8], r13b
jne 0x14000fbf8
lea rcx, [0x1400431c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fbe8
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400587c8], 1
mov qword [0x1400587d0], rax
jmp 0x14000fbff
mov rax, qword [0x1400587d0]
mov byte [0x1400587c8], 1
jmp 0x14000fbff
mov rax, qword [0x1400587d0]
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x14000fc19
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x14000fc1f
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.140026f94
test eax, eax
je 0x14000fc6d
cmp eax, 0xc
je 0x14000fc62
cmp eax, 0x16
je 0x14000fc57
cmp eax, 0x22
je 0x14000fc57
cmp eax, 0x50
je 0x14000fc6d
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
int3
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.140026f0c
test eax, eax
je 0x14000fcbb
cmp eax, 0xc
je 0x14000fcb0
cmp eax, 0x16
je 0x14000fca5
cmp eax, 0x22
je 0x14000fca5
cmp eax, 0x50
je 0x14000fcbb
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
int3
lea r8, str.Implemented_Categories
lea rcx, [rbp - 0x60]
mov edx, 0x80
call fcn.140026f0c
test eax, eax
je 0x14000fd09
cmp eax, 0xc
je 0x14000fcfe
cmp eax, 0x16
je 0x14000fcf3
cmp eax, 0x22
je 0x14000fcf3
cmp eax, 0x50
je 0x14000fd09
mov ecx, 0x80004005
call fcn.1400030f0
int3
mov ecx, 0x80070057
call fcn.1400030f0
int3
mov ecx, 0x8007000e
call fcn.1400030f0
int3
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x70]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.1400035b0
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x14000fe01
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 0x14000fd83
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
test rdi, rdi
jne 0x14000fe01
cmp dword [rsp + 0x60], r13d
jne 0x14000fe01
cmp byte [0x1400587c8], r13b
jne 0x14000fdda
lea rcx, [0x1400431c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fdca
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400587c8], 1
mov qword [0x1400587d0], rax
jmp 0x14000fde1
mov rax, qword [0x1400587d0]
mov byte [0x1400587c8], 1
jmp 0x14000fde1
mov rax, qword [0x1400587d0]
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x14000fdfb
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x14000fe01
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x14000fe0f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000fe30
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140025aa0
add rsp, 0x230
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret