Function at 0x1400f7610
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r15, rcx
lea rax, vtable.QWinSettingsPrivate.0
mov qword [rcx], rax
xor r12d, r12d
or r14d, 0xffffffff
cmp byte [rcx + 0xb0], r12b
je 0x1400f785b
mov rcx, qword [rcx + 0xa8]
cmp dword [rcx + 4], r12d
je 0x1400f785b
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400f9580
nop
test rax, rax
je 0x1400f785b
cmp byte [rbx + 0x18], r12b
jne 0x1400f785b
mov rcx, rbx
call fcn.1400f9580
nop
test rax, rax
je 0x1400f785b
lea rax, [0x140193080]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call fcn.140022410
nop
mov rbx, rax
mov rcx, r15
call fcn.1400fb600
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
je 0x1400f7825
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140041f90
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140013320
nop
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, qword [r15 + 0xa8]
add rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0xb8]
call fcn.1400f97d0
nop
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.140013320
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rsp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rax, [0x1402dd7d0]
mov qword [rsp + 0x50], rax
mov r9, rbx
lea rdx, str.QSettings:_Failed_to_delete_key___s_:__s
lea rcx, [rsp + 0x38]
call fcn.140013420
nop
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx]
test eax, eax
je 0x1400f7780
cmp eax, r14d
je 0x1400f778f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f778f
mov rcx, qword [rsp + 0xb0]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx]
test eax, eax
je 0x1400f77b6
cmp eax, 0xffffffff
je 0x1400f77c5
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f77c5
mov rcx, qword [rsp + 0xb8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400f77e6
cmp eax, 0xffffffff
je 0x1400f77f5
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f77f5
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400f7816
cmp eax, 0xffffffff
je 0x1400f7825
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f7825
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
test eax, eax
je 0x1400f784c
cmp eax, 0xffffffff
je 0x1400f785b
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f785b
mov rcx, qword [rsp + 0xa8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov esi, r12d
lea rdi, [r15 + 0xa8]
mov rax, qword [rdi]
cmp dword [rax + 4], r12d
jle 0x1400f78e5
mov rbp, r12
mov rax, qword [rdi]
cmp dword [rax], 1
jbe 0x1400f78b6
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1400f789f
lea r9d, [r8 + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.14002d450
nop
mov qword [rdi], rax
jmp 0x1400f78b6
mov dword [rsp + 0xa0], r12d
mov r9d, r12d
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.1400fa3e0
nop
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
add rbx, rbp
add rbx, rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400f78d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rbx + 8], r12
inc esi
add rbp, 0x20
mov rax, qword [rdi]
cmp esi, dword [rax + 4]
jl 0x1400f7871
mov rax, qword [rdi]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400f78fe
cmp ecx, 0xffffffff
je 0x1400f790a
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x1400f790a
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400f9410
nop
mov rcx, r15
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400c9ab0