Function at 0x670e75b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
lea rax, vtable.QWinSettingsPrivate.0
mov qword [rcx], rax
xor r13d, r13d
cmp byte [rcx + 0xd0], r13b
je 0x670e777a
mov rbx, qword [rcx + 0xc8]
cmp dword [rbx + 8], r13d
je 0x670e777a
lea rcx, [rbx + 0x10]
call fcn.670e3b20
test rax, rax
je 0x670e777a
cmp byte [rbx + 0x28], r13b
jne 0x670e777a
lea rcx, [rbx + 0x10]
call fcn.670e3b20
test rax, rax
je 0x670e777a
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rsp + 0x88], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov rbx, qword [r12 + 0xc8]
cmp dword [rbx + 8], r13d
je 0x670e766c
lea rcx, [rbx + 0x10]
call fcn.670e3b20
test rax, rax
je 0x670e766c
cmp byte [rbx + 0x28], r13b
jne 0x670e766c
lea rcx, [rbx + 0x10]
call fcn.670e3b20
mov rbx, rax
jmp 0x670e766f
mov rbx, r13
lea rcx, [rsp + 0x88]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x670e7760
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.670e3c30
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_class_QByteArray___cdecl_QString::toLatin1_void____ptr64
mov rbx, rax
mov rcx, qword [r12 + 0xc8]
add rcx, 0x10
lea rdx, [rsp + 0x98]
call fcn.670e3cc0
nop
lea rdx, [rsp + 0x90]
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_class_QByteArray___cdecl_QString::toLatin1_void____ptr64
mov rdi, rax
mov rcx, rbx
call sym.QtCoreVBox4.dll_public:_char____ptr64___cdecl_QByteArray::begin_void____ptr64
mov rbx, rax
mov rcx, rdi
call sym.QtCoreVBox4.dll_public:_char____ptr64___cdecl_QByteArray::begin_void____ptr64
mov rdx, rax
mov r8, rbx
lea rcx, str.QSettings:_Failed_to_delete_key___s_:__s
call sym.QtCoreVBox4.dll_void___cdecl_qWarning_char_const____ptr64_
nop
mov rax, qword [rsp + 0x90]
lock dec dword [rax]
jne 0x670e771b
mov rcx, qword [rsp + 0x90]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rsp + 0x98]
lock dec dword [rax]
jne 0x670e7736
mov rcx, qword [rsp + 0x98]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x20]
lock dec dword [rax]
jne 0x670e774b
mov rcx, qword [rsp + 0x20]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rsp + 0x28]
lock dec dword [rax]
jne 0x670e7760
mov rcx, qword [rsp + 0x28]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x88]
lock dec dword [rax]
jne 0x670e777a
mov rcx, qword [rsp + 0x88]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov esi, r13d
mov rax, qword [r12 + 0xc8]
cmp dword [rax + 8], r13d
jle 0x670e77eb
mov rdi, r13
nop
mov rax, qword [r12 + 0xc8]
mov ecx, dword [rax]
cmp ecx, 1
je 0x670e77bb
mov rax, qword [r12 + 0xc8]
mov r8d, dword [rax + 4]
mov edx, dword [rax + 8]
lea rcx, [r12 + 0xc8]
call fcn.670e3fc0
mov rbp, qword [r12 + 0xc8]
mov rcx, qword [rdi + rbp + 0x18]
test rcx, rcx
je 0x670e77d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + rbp + 0x18], r13
inc esi
add rdi, 0x20
mov rax, qword [r12 + 0xc8]
cmp esi, dword [rax + 8]
jl 0x670e7790
mov rcx, qword [r12 + 0xc8]
test rcx, rcx
je 0x670e7849
lock dec dword [rcx]
jne 0x670e7849
mov rsi, qword [r12 + 0xc8]
lea rdi, [rsi + 0x10]
movsxd rbx, dword [rsi + 8]
shl rbx, 5
add rbx, rdi
cmp rbx, rdi
je 0x670e783b
nop dword [rax]
sub rbx, 0x20
mov rdx, qword [rbx + 0x10]
lock dec dword [rdx]
jne 0x670e7836
mov rcx, qword [rbx + 0x10]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rbx, rdi
jne 0x670e7820
mov edx, 8
mov rcx, rsi
call sym.QtCoreVBox4.dll_public:_static_void___cdecl_QVectorData::free_struct_QVectorData____ptr64__int_
nop
mov rcx, r12
add rsp, 0x48
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.670d56d0