Function at 0x1400e6f50
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov rbx, rcx
mov r8d, 2
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.1400e6020
nop
xor esi, esi
mov rax, qword [rbp - 0x29]
lea r8, [rax + 0xc]
mov qword [rbp - 0x19], r8
lea rdx, [rax + 8]
mov qword [rbp - 0x21], rdx
mov eax, dword [r8]
sub eax, dword [rdx]
test eax, eax
jle 0x1400e7221
xor edi, edi
mov eax, dword [rbp + 0x6f]
or eax, 0x2001f
mov dword [rbp + 0x77], eax
nop word [rax + rax]
movsxd rcx, dword [rdx]
add rcx, rdi
mov rax, qword [rbp - 0x29]
mov rax, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x7f], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x1400e6fdf
lock inc dword [rax]
mov qword [rbp - 0x11], 0
lea rcx, [rbp + 0x7f]
call fcn.140025d00
mov rdx, rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x77]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e7050
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x1400e704c
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1400e6f50
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.140025d00
mov rdx, rax
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400e709d
jmp 0x1400e7050
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400e706f
cmp eax, 0xffffffff
je 0x1400e707e
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e707e
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1400309b0
inc esi
inc rdi
mov r8, qword [rbp - 0x19]
mov eax, dword [r8]
mov rdx, qword [rbp - 0x21]
sub eax, dword [rdx]
cmp esi, eax
jge 0x1400e7221
jmp 0x1400e6fc0
mov edx, eax
lea rcx, [rbp + 7]
call fcn.1400e7450
nop
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.140034570
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x7f]
call fcn.140019540
mov rdi, rax
mov rcx, qword [rbx]
mov esi, 1
cmp dword [rcx], esi
ja 0x1400e70db
cmp qword [rcx + 0x10], 0x18
je 0x1400e70f6
xor r8d, r8d
cmp dword [rcx + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rcx + 4]
inc edx
mov rcx, rbx
call fcn.1400335a0
mov rcx, qword [rbx]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rax, qword [rdi]
cmp dword [rax], esi
ja 0x1400e710e
cmp qword [rax + 0x10], 0x18
je 0x1400e7129
xor r8d, r8d
cmp dword [rax + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rax + 4]
inc edx
mov rcx, rdi
call fcn.1400335a0
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp + 0xf], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
lea rax, [0x1402c02b8]
mov qword [rbp + 0x27], rax
mov r9, rbx
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___s_:__s
lea rcx, [rbp + 0xf]
call fcn.140019630
nop
mov rcx, qword [rbp - 9]
mov eax, dword [rcx]
test eax, eax
je 0x1400e7181
cmp eax, 0xffffffff
je 0x1400e7190
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e7190
mov rcx, qword [rbp - 9]
mov r8d, 8
mov rdx, rsi
call fcn.1400309b0
nop
mov rcx, qword [rbp - 1]
mov eax, dword [rcx]
test eax, eax
je 0x1400e71af
cmp eax, 0xffffffff
je 0x1400e71be
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e71be
mov rcx, qword [rbp - 1]
mov r8d, 8
mov rdx, rsi
call fcn.1400309b0
nop
mov rcx, qword [rbp + 7]
mov eax, dword [rcx]
test eax, eax
je 0x1400e71dd
cmp eax, 0xffffffff
je 0x1400e71ec
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e71ec
mov rcx, qword [rbp + 7]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400e720b
cmp eax, 0xffffffff
je 0x1400e7219
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e7219
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400e723c
cmp ecx, 0xffffffff
je 0x1400e729e
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400e729e
movsxd rbx, dword [r8]
mov rax, qword [rbp - 0x29]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdi, dword [rdx]
add rdi, 2
lea rdi, [rax + rdi*8]
cmp rdi, rbx
je 0x1400e7294
nop dword [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400e727e
cmp eax, 0xffffffff
je 0x1400e728f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e728f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400309b0
cmp rbx, rdi
jne 0x1400e7260
mov rcx, qword [rbp - 0x29]
call fcn.140123330
nop
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret