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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0xf8], rbx
je 0x14015d330
mov rsi, qword [rcx + 0xf0]
mov rcx, rsi
call fcn.14015b940
test rax, rax
je 0x14015d330
cmp byte [rsi + 0x28], bl
jne 0x14015d330
mov rcx, rsi
call fcn.14015b940
test rax, rax
je 0x14015d330
mov rcx, qword [r14]
mov qword [rbp - 0x49], rcx
mov rax, qword [r14 + 8]
mov qword [rbp - 0x41], rax
mov rax, qword [r14 + 0x10]
mov qword [rbp - 0x39], rax
test rcx, rcx
je 0x14015cf92
lock inc dword [rcx]
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x49]
mov qword [rbp + 0x67], rax
test rcx, rcx
je 0x14015cfa6
mov eax, dword [rcx]
cmp eax, 1
jle 0x14015cfb9
mov r8d, 1
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.140090940
mov r8, qword [rbp - 0x41]
movsxd rdx, dword [rbp - 0x39]
mov r10d, 0x5c
test rdx, rdx
jle 0x14015cff7
mov rax, rbx
nop
movzx ecx, word [r8 + rax*2]
cmp cx, r10w
jne 0x14015cfe4
mov word [r8 + rax*2], 0x2f
jmp 0x14015cfef
cmp cx, 0x2f
jne 0x14015cfef
mov word [r8 + rax*2], r10w
inc rax
cmp rax, rdx
jl 0x14015cfd0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x31], xmm0
movsd xmm1, qword [rbp - 0x39]
movsd qword [rbp - 0x21], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rbx
mov r15d, dword [rdi + 0x104]
mov r9d, 1
mov r14, 0xffffffffffffffff
mov r8, r14
movzx edx, r10w
lea rcx, [rbp - 0x31]
call fcn.14008f060
nop
cmp eax, r14d
jne 0x14015d04d
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
jmp 0x14015d060
inc eax
movsxd r8, eax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.14008f0f0
nop
cmp qword [rdi + 0xf8], 0
je 0x14015d091
mov rsi, qword [rdi + 0xf0]
mov rcx, rsi
call fcn.14015b940
test rax, rax
je 0x14015d091
cmp byte [rsi + 0x28], 0
jne 0x14015d091
mov rcx, rsi
call fcn.14015b940
mov rsi, rax
jmp 0x14015d094
mov rsi, rbx
mov qword [rbp + 0x67], rbx
or r15d, 0x2001f
lea rcx, [rbp - 1]
call fcn.140094f50
mov rdx, rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rsi, rbx
test eax, eax
cmove rsi, qword [rbp + 0x67]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14015d0eb
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d0eb
mov rcx, qword [rbp - 1]
call fcn.14021b810
test rsi, rsi
je 0x14015d13a
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x17]
call fcn.14015bda0
nop
mov rcx, rax
call fcn.140094f50
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14015d131
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d131
mov rcx, qword [rbp + 0x17]
call fcn.14021b810
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15d, dword [rdi + 0x104]
cmp qword [rdi + 0xf8], 0
je 0x14015d172
mov rsi, qword [rdi + 0xf0]
mov rcx, rsi
call fcn.14015b940
test rax, rax
je 0x14015d172
cmp byte [rsi + 0x28], 0
jne 0x14015d172
mov rcx, rsi
call fcn.14015b940
mov rsi, rax
jmp 0x14015d175
mov rsi, rbx
mov qword [rbp + 0x77], rbx
or r15d, 0x2001f
lea rcx, [rbp - 0x31]
call fcn.140094f50
mov rdx, rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015d311
mov r15, qword [rbp + 0x77]
test r15, r15
je 0x14015d311
mov edx, dword [rdi + 0x104]
mov rcx, r15
call fcn.14015b2f0
cmp qword [rbp - 0x21], 0
jne 0x14015d2a0
mov r8d, 1
mov rdx, r15
lea rcx, [rbp - 0x19]
call fcn.14015a490
nop
mov rax, qword [rbp - 9]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x11]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x14015d23c
nop word [rax + rax]
mov rcx, rbx
call fcn.140094f50
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x14015d233
mov rcx, rbx
call fcn.140094f50
mov r8, rax
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
mov ecx, esi
call fcn.14010c580
add rbx, 0x18
cmp rbx, rdi
jne 0x14015d200
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14015d307
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d307
mov rax, qword [rbp - 9]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x11]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x14015d295
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14015d28c
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d28c
mov rcx, qword [rbx]
call fcn.14021b810
add rbx, 0x18
cmp rbx, rdi
jne 0x14015d270
mov rcx, qword [rbp - 0x19]
call fcn.14021b810
jmp 0x14015d307
lea rcx, [rbp - 0x31]
call fcn.140094f50
mov rsi, rax
cmp qword [rdi + 0xf8], 0
je 0x14015d2db
mov rdi, qword [rdi + 0xf0]
mov rcx, rdi
call fcn.14015b940
test rax, rax
je 0x14015d2db
cmp byte [rdi + 0x28], 0
jne 0x14015d2db
mov rcx, rdi
call fcn.14015b940
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
je 0x14015d307
lea rcx, [rbp - 0x31]
call fcn.140094f50
mov r8, rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_key___ls_
mov ecx, ebx
call fcn.14010c580
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x14015d33d
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x14015d33d
mov rcx, qword [rbp - 0x31]
call fcn.14021b810
jmp 0x14015d33d
mov edx, 1
mov rcx, rdi
call fcn.1400c9960
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret