Function at 0x1400e9df0
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 0x1400ea03b
mov rcx, qword [rcx + 0xa8]
cmp dword [rcx + 4], r12d
je 0x1400ea03b
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400ebdb0
nop
test rax, rax
je 0x1400ea03b
cmp byte [rbx + 0x18], r12b
jne 0x1400ea03b
mov rcx, rbx
call fcn.1400ebdb0
nop
test rax, rax
je 0x1400ea03b
lea rax, [0x14017f600]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call fcn.140021a50
nop
mov rbx, rax
mov rcx, r15
call fcn.1400ede50
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
je 0x1400ea005
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140040790
nop
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400131c0
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.1400945d0
nop
mov rcx, rax
lea rdx, [rsp + 0xb0]
call fcn.1400131c0
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, [0x1402be910]
mov qword [rsp + 0x50], rax
mov r9, rbx
lea rdx, str.QSettings:_Failed_to_delete_key___s_:__s
lea rcx, [rsp + 0x38]
call fcn.1400132c0
nop
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx]
test eax, eax
je 0x1400e9f60
cmp eax, r14d
je 0x1400e9f6f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e9f6f
mov rcx, qword [rsp + 0xb0]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002c3b0
nop
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx]
test eax, eax
je 0x1400e9f96
cmp eax, 0xffffffff
je 0x1400e9fa5
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e9fa5
mov rcx, qword [rsp + 0xb8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400e9fc6
cmp eax, 0xffffffff
je 0x1400e9fd5
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e9fd5
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002c3b0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400e9ff6
cmp eax, 0xffffffff
je 0x1400ea005
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ea005
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
test eax, eax
je 0x1400ea02c
cmp eax, 0xffffffff
je 0x1400ea03b
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ea03b
mov rcx, qword [rsp + 0xa8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
mov esi, r12d
lea rdi, [r15 + 0xa8]
mov rax, qword [rdi]
cmp dword [rax + 4], r12d
jle 0x1400ea0c5
mov rbp, r12
mov rax, qword [rdi]
cmp dword [rax], 1
jbe 0x1400ea096
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1400ea07f
lea r9d, [r8 + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.14002c290
nop
mov qword [rdi], rax
jmp 0x1400ea096
mov dword [rsp + 0xa0], r12d
mov r9d, r12d
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.1400ecbe0
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 0x1400ea0b3
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 0x1400ea051
mov rax, qword [rdi]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ea0de
cmp ecx, 0xffffffff
je 0x1400ea0ea
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x1400ea0ea
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400ebc30
nop
mov rcx, r15
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400c3240