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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rdi, rdx
lea r14, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x39], r14
lea r12, vtable.CVolObject.0
mov qword [rbp - 0x39], r12
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r15
lea rax, vtable.CWString.0
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x19], r13
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], 0x40
mov qword [rbp - 0x21], r15
mov qword [rbp + 0x17], 0xfe
mov rbx, qword [rdx + 0x18]
test rbx, rbx
jne 0x14001418d
cmp qword [rdx + 0x48], rbx
lea rbx, [0x140059b98]
je 0x14001418d
mov rbx, qword [rdx + 0x38]
mov edx, 0x5c
mov rcx, rbx
call fcn.1400389e8
mov rsi, rax
test rax, rax
je 0x1400141bb
mov r8, rax
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.14002a8d0
lea rbx, [rsi + 2]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rcx, vtable.CWString.0
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x79]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], 0x40
mov qword [rsp + 0x48], r15
mov qword [rbp - 0x49], 0xfe
mov qword [rsp + 0x30], rcx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14002a730
nop
mov rax, qword [rbp - 0x21]
test rax, rax
jne 0x140014245
lea rax, [0x140059b98]
cmp qword [rbp + 0xf], 0
cmovne rax, qword [rbp - 1]
mov esi, 1
mov r14d, esi
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142ad
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14001428e
lea rax, [0x140059b98]
cmp qword [rbp - 0x51], 0
cmovne rax, qword [rbp - 0x61]
mov rdx, rax
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
setne r14b
lea rax, [rbp - 0x79]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x79], r13
mov rdx, qword [rbp - 0x61]
test rdx, rdx
je 0x1400142cd
lea rcx, [rbp - 0x79]
mov rax, qword [rbp - 0x79]
call qword [rax + 0x18]
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x79], r12
mov qword [rsp + 0x30], r12
test r14b, r14b
je 0x140014317
mov rdx, qword [rdi + 0x18]
test rdx, rdx
jne 0x140014301
cmp qword [rdi + 0x48], rdx
lea rdx, [0x140059b98]
je 0x140014301
mov rdx, qword [rdi + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, r15d
test eax, eax
sete sil
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x19], r13
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x140014338
lea rcx, [rbp - 0x19]
mov r8, qword [rbp - 0x19]
call qword [r8 + 0x18]
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 7], r15
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x39], r12
mov eax, esi
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret