Function at 0x14000aff4
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.1401c0340
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov edi, ecx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x60], ecx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp + 0x2230]
mov dword [rbp - 0x50], ecx
mov rcx, rax
call fcn.140009300
mov ebx, eax
test eax, eax
jns 0x14000b067
jmp 0x14000b72f
cmp word [rsi], 0x7d
je 0x14000b71f
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rsp + 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000b0b3
test ebx, ebx
je 0x14000b18d
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b71f
cmp dword [rsp + 0x74], edx
je 0x14000b18d
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000b0fb
cmp ax, 0x5c
je 0x14000b102
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000b0e9
jmp 0x14000b10b
test rcx, rcx
jne 0x14000b6a8
lea rbx, str._bD__
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000b152
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x14000b112
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
xor ebx, ebx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400096d0
jmp 0x14000b154
xor ebx, ebx
cmp dword [rsp + 0x60], ebx
je 0x14000b18f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
test eax, eax
js 0x14000b71f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009480
mov ebx, eax
test eax, eax
js 0x14000b71f
jmp 0x14000b3b3
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000b1c0
mov dword [rsp + 0x70], ebx
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
test eax, eax
js 0x14000b71f
xor ebx, ebx
lea rdx, [0x140224458]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000b2d6
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
test eax, eax
js 0x14000b71f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b71f
cmp word [rsi], 0x3d
jne 0x14000b6d9
cmp dword [rsp + 0x74], edx
je 0x14000b253
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9, rsi
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.14000ab6c
mov ebx, eax
test eax, eax
js 0x14000b6bd
jmp 0x14000b3b3
cmp dword [rbp + 0x2230], edx
jne 0x14000b2ba
cmp dword [rsp + 0x70], edx
je 0x14000b2ba
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.140008f94
test eax, eax
jne 0x14000b6bf
lea rdx, [rbp + 0x1d0]
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14000b2ac
cmp eax, 2
jne 0x14000b6bf
test rbx, rbx
je 0x14000b2ba
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009480
mov ebx, eax
test eax, eax
js 0x14000b71f
jmp 0x14000b067
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000b2f0
cmp ax, 0x5c
je 0x14000b2f7
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000b2de
jmp 0x14000b300
test rcx, rcx
jne 0x14000b6db
cmp dword [rsp + 0x74], ebx
je 0x14000b40a
mov r9d, 0x2001f
mov r8, rsi
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008f94
xor edi, edi
test eax, eax
je 0x14000b373
mov r9d, 0x20019
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008f94
test eax, eax
je 0x14000b373
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008ea8
test eax, eax
jne 0x14000b6dd
mov rdx, rsi
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140009300
mov ebx, eax
test eax, eax
js 0x14000b6f1
cmp word [rsi], 0x3d
jne 0x14000b3af
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.14000ab6c
mov ebx, eax
test eax, eax
js 0x14000b6f1
mov rdi, qword [rbp - 0x68]
cmp word [rsi], 0x7b
jne 0x14000b067
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000b067
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000aff4
mov ebx, eax
test eax, eax
js 0x14000b71f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
jmp 0x14000b2c7
mov ebx, dword [rbp + 0x2230]
test ebx, ebx
jne 0x14000b431
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.140008f94
mov rdi, qword [rbp - 0x68]
jmp 0x14000b436
mov eax, 2
mov dword [rsp + 0x60], eax
test eax, eax
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x2230], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1401c0220
test eax, eax
je 0x14000b487
cmp eax, 0xc
je 0x14000b703
cmp eax, 0x16
je 0x14000b6fd
cmp eax, 0x22
je 0x14000b6fd
cmp eax, 0x50
jne 0x14000b6f7
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
test eax, eax
js 0x14000b71f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009480
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b71f
cmp word [rsi], 0x7b
jne 0x14000b51d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000b51b
mov eax, dword [rbp + 0x2230]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000aff4
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x14000b500
cmp dword [rbp + 0x2230], edx
je 0x14000b71f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009300
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b71f
jmp 0x14000b51d
xor edx, edx
mov ecx, dword [rbp - 0x50]
mov dword [rbp + 0x2230], ecx
mov eax, dword [rsp + 0x60]
cmp eax, 2
je 0x14000b067
test eax, eax
je 0x14000b544
test ecx, ecx
je 0x14000b709
jmp 0x14000b067
test ecx, ecx
je 0x14000b5fe
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x14000b5fe
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
test eax, eax
je 0x14000b5fe
lea rax, str._bD__
mov qword [rsp + 0x60], rax
mov rdx, qword [rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x14000b067
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x60], rax
lea rcx, str.RegOpenKeyTransactedW
cmp rax, rcx
jl 0x14000b5ad
cmp dword [rsp + 0x70], edx
je 0x14000b067
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400096d0
mov rdi, qword [rbp - 0x68]
jmp 0x14000b067
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
je 0x14000b64c
mov dword [rsp + 0x60], edx
jmp 0x14000b659
mov ecx, edx
cmp dword [rsp + 0x60], edx
seta cl
mov dword [rsp + 0x60], ecx
mov eax, edx
test rdi, rdi
je 0x14000b671
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov edi, edx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
test eax, eax
jne 0x14000b714
cmp dword [rsp + 0x70], edx
je 0x14000b067
cmp dword [rsp + 0x60], edx
jne 0x14000b067
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14000b709
jmp 0x14000b067
test rdi, rdi
je 0x14000b6b6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000b72f
jmp 0x14000b71f
mov ecx, eax
call fcn.140008bf4
mov ebx, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000b71f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000b71f
jmp 0x14000b6a8
jmp 0x14000b6a8
mov ecx, eax
call fcn.140008bf4
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000b72d
jmp 0x14000b727
mov rdi, qword [rbp - 0x68]
jmp 0x14000b71f
call fcn.14006619c
int3
call fcn.14006619c
int3
call fcn.140066154
int3
mov ecx, eax
call fcn.140008bf4
mov ebx, eax
jmp 0x14000b71f
mov ecx, eax
call fcn.140008bf4
mov ebx, eax
jmp 0x14000b71f
test rdi, rdi
je 0x14000b72d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.1401be840
add rsp, 0x22e8
pop rdi
pop rsi
pop rbx
pop rbp
ret