Function at 0x1400e5720
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 + 0xb8], r12b
je 0x1400e5975
mov rcx, qword [rcx + 0xb0]
cmp dword [rcx + 4], r12d
je 0x1400e5975
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400e78a0
nop
test rax, rax
je 0x1400e5975
cmp byte [rbx + 0x18], r12b
jne 0x1400e5975
mov rcx, rbx
call fcn.1400e78a0
nop
test rax, rax
je 0x1400e5975
lea rax, [0x14018c220]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call fcn.140025d00
nop
mov rbx, rax
mov rcx, r15
call fcn.1400e9970
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
je 0x1400e593f
mov rdx, qword [r15 + 0xb0]
mov rdi, qword [rdx + 0x10]
add rdi, rdx
mov qword [rsp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rcx, [0x1402c02b8]
mov qword [rsp + 0x50], rcx
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400e7450
nop
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140034570
nop
mov rcx, rax
call fcn.14001fc20
nop
mov rbx, rax
lea rdx, [rsp + 0xb8]
mov rcx, rdi
call fcn.1400e7af0
nop
mov rcx, rax
lea rdx, [rsp + 0xb0]
call fcn.140034570
nop
mov rcx, rax
call fcn.14001fc20
nop
mov r8, rax
mov r9, rbx
lea rdx, str.QSettings:_Failed_to_delete_key___s_:__s
lea rcx, [rsp + 0x38]
call fcn.140019630
nop
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx]
test eax, eax
je 0x1400e589a
cmp eax, r14d
je 0x1400e58a9
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e58a9
mov rcx, qword [rsp + 0xb0]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx]
test eax, eax
je 0x1400e58d0
cmp eax, 0xffffffff
je 0x1400e58df
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e58df
mov rcx, qword [rsp + 0xb8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400e5900
cmp eax, 0xffffffff
je 0x1400e590f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e590f
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400e5930
cmp eax, 0xffffffff
je 0x1400e593f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e593f
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
test eax, eax
je 0x1400e5966
cmp eax, 0xffffffff
je 0x1400e5975
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e5975
mov rcx, qword [rsp + 0xa8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov esi, r12d
lea rdi, [r15 + 0xb0]
mov rax, qword [rdi]
cmp dword [rax + 4], r12d
jle 0x1400e5a04
mov rbp, r12
nop dword [rax + rax]
mov rax, qword [rdi]
cmp dword [rax], 1
jbe 0x1400e59d5
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1400e59be
lea r9d, [r8 + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.140030890
nop
mov qword [rdi], rax
jmp 0x1400e59d5
mov dword [rsp + 0xa0], r12d
mov r9d, r12d
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.1400e8700
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 0x1400e59f2
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 0x1400e5990
mov rax, qword [rdi]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400e5a1d
cmp ecx, 0xffffffff
je 0x1400e5a29
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x1400e5a29
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400e7720
nop
mov rcx, r15
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400c2c50