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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0xa8]
cmp dword [rcx + 4], 0
je 0x1400fac4f
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400f9580
test rax, rax
je 0x1400fac4f
cmp byte [rbx + 0x18], 0
jne 0x1400fac4f
mov rcx, rbx
call fcn.1400f9580
test rax, rax
je 0x1400fac4f
mov rcx, qword [rsi]
mov qword [rbp + 0x7f], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1400fa765
lock inc dword [rcx]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 0x67]
call fcn.1400f91d0
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x71]
call fcn.1400f9960
mov r14, rax
mov rcx, qword [rdi + 0xa8]
xor r15d, r15d
cmp dword [rcx + 4], r15d
je 0x1400fa7ba
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400f9580
test rax, rax
je 0x1400fa7ba
cmp byte [rbx + 0x18], r15b
jne 0x1400fa7ba
mov rcx, rbx
call fcn.1400f9580
mov rsi, rax
jmp 0x1400fa7bd
mov rsi, r15
mov ebx, dword [rdi + 0xb4]
mov qword [rbp - 0x79], r15
or ebx, 0x2001f
mov rcx, r14
call fcn.140022410
mov rdx, rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, r15
test eax, eax
cmove rbx, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x71]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x1400fa81a
cmp eax, esi
je 0x1400fa828
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa828
mov rcx, qword [rbp - 0x71]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
test rbx, rbx
je 0x1400fa885
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1400f9800
nop
mov rcx, rax
call fcn.140022410
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rbp - 0x69]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa86e
cmp eax, 0xffffffff
je 0x1400fa87c
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa87c
mov rcx, qword [rbp - 0x69]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 0xa8]
cmp dword [rcx + 4], 0
je 0x1400fa8b9
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400f9580
test rax, rax
je 0x1400fa8b9
cmp byte [rbx + 0x18], 0
jne 0x1400fa8b9
mov rcx, rbx
call fcn.1400f9580
mov r14, rax
jmp 0x1400fa8bc
mov r14, r15
mov ebx, dword [rdi + 0xb4]
mov qword [rbp - 0x61], r15
or ebx, 0x2001f
lea rcx, [rbp + 0x67]
call fcn.140022410
mov rdx, rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400fac23
mov r14, qword [rbp - 0x61]
test r14, r14
je 0x1400fac23
mov edx, dword [rdi + 0xb4]
mov rcx, r14
call fcn.1400f8dc0
mov rax, qword [rbp + 0x67]
cmp dword [rax + 4], 0
jne 0x1400fab02
mov r8d, 1
mov rdx, r14
lea rcx, [rbp + 0x77]
call fcn.1400f7ed0
nop
mov rcx, qword [rbp + 0x77]
lea r13, [rcx + 8]
movsxd rbx, dword [r13]
add rbx, 2
lea rbx, [rcx + rbx*8]
lea rdx, [rcx + 0xc]
mov qword [rbp - 0x29], rdx
movsxd r15, dword [rdx]
add r15, 2
lea r15, [rcx + r15*8]
cmp rbx, r15
je 0x1400faa88
lea r12, [0x1402dd7d0]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140022410
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400faa73
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.140041f90
nop
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.140013320
mov rdi, rax
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.140013320
nop
mov rdx, qword [rdi]
mov r9, qword [rdx + 0x10]
add r9, rdx
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___s_:__s
lea rcx, [rbp - 0x21]
call fcn.140013420
nop
mov rcx, qword [rbp - 0x59]
mov eax, dword [rcx]
test eax, eax
je 0x1400faa0b
cmp eax, 0xffffffff
je 0x1400faa1a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400faa1a
mov rcx, qword [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
test eax, eax
je 0x1400faa38
cmp eax, 0xffffffff
je 0x1400faa47
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400faa47
mov rcx, qword [rbp - 0x51]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x1400faa65
cmp eax, 0xffffffff
je 0x1400faa73
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400faa73
mov rcx, qword [rbp - 0x49]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
add rbx, 8
cmp rbx, r15
jne 0x1400fa970
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x1400faaa2
cmp eax, 0xffffffff
je 0x1400faafd
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400faafd
mov rcx, qword [rbp + 0x77]
movsxd rbx, dword [rdx]
add rbx, 2
lea rbx, [rcx + rbx*8]
movsxd rdi, dword [r13]
add rdi, 2
lea rdi, [rcx + rdi*8]
cmp rdi, rbx
je 0x1400faaf7
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400faadd
cmp eax, 0xffffffff
je 0x1400faaee
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400faaee
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002d570
cmp rbx, rdi
jne 0x1400faac0
mov rcx, qword [rbp + 0x77]
call fcn.14010bca0
nop
jmp 0x1400fac19
lea rcx, [rbp + 0x67]
call fcn.140022410
mov rbx, rax
mov rcx, rdi
call fcn.1400fb600
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400fac19
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.140041f90
nop
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.140013320
mov rbx, rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x67]
call fcn.140013320
nop
mov rdx, qword [rbx]
mov r9, qword [rdx + 0x10]
add r9, rdx
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 1], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
lea r12, [0x1402dd7d0]
mov qword [rbp + 0x17], r12
lea rdx, str.QSettings:_RegDeleteKey_failed_on_key___s_:__s
lea rcx, [rbp - 1]
call fcn.140013420
nop
mov rcx, qword [rbp - 0x41]
mov eax, dword [rcx]
test eax, eax
je 0x1400fabb1
cmp eax, 0xffffffff
je 0x1400fabc0
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fabc0
mov rcx, qword [rbp - 0x41]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x1400fabde
cmp eax, 0xffffffff
je 0x1400fabed
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fabed
mov rcx, qword [rbp - 0x39]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x1400fac0b
cmp eax, 0xffffffff
je 0x1400fac19
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fac19
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x67]
mov eax, dword [rcx]
test eax, eax
je 0x1400fac3f
cmp eax, 0xffffffff
je 0x1400fac5c
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400fac5c
mov rcx, qword [rbp + 0x67]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
jmp 0x1400fac5c
mov edx, 1
mov rcx, rdi
call fcn.1400d0750
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret