Function at 0x670d6480
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x67157a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], vtable.QWinSettingsPrivate.0
cmp byte [edi + 0x78], 0
mov dword [esp + 0x34], 1
je 0x670d6660
mov eax, dword [edi + 0x74]
cmp dword [eax + 8], 0
je 0x670d6660
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d2a90
test eax, eax
je 0x670d6660
cmp byte [esi + 0xc], 0
jne 0x670d6660
mov ecx, esi
call fcn.670d2a90
test eax, eax
je 0x670d6660
mov dword [esp + 0x18], sym.QtCore_Ad_4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore_Ad_4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x74]
cmp dword [eax + 8], 0
mov byte [esp + 0x34], 2
je 0x670d6540
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d2a90
test eax, eax
je 0x670d6540
cmp byte [esi + 0xc], 0
jne 0x670d6540
mov ecx, esi
call fcn.670d2a90
mov esi, eax
jmp 0x670d6542
xor esi, esi
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x670d6641
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.670d2b40
add esp, 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 3
call sym.QtCore_Ad_4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
mov ecx, dword [edi + 0x74]
lea edx, [esp + 0x20]
add ecx, 0x10
push edx
call fcn.670d2c70
lea ecx, [esp + 0x1c]
push ecx
mov bl, 5
mov ecx, eax
mov byte [esp + 0x38], bl
call sym.QtCore_Ad_4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov edi, eax
mov ecx, esi
mov byte [esp + 0x34], 6
call sym.QtCore_Ad_4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
mov ecx, edi
call sym.QtCore_Ad_4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
push str.QSettings:_Failed_to_delete_key___s_:__s
call sym.QtCore_Ad_4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x28]
add esp, 0xc
mov byte [esp + 0x34], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d65e0
mov ecx, dword [esp + 0x1c]
push ecx
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x20]
mov byte [esp + 0x34], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d65ff
mov ecx, dword [esp + 0x20]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [esp + 0x34], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d661e
mov ecx, dword [esp + 0x24]
push ecx
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x28]
mov byte [esp + 0x34], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d663d
mov ecx, dword [esp + 0x28]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x34], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d6660
mov ecx, dword [esp + 0x18]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [edi + 0x74]
lea esi, [edi + 0x74]
xor ebp, ebp
cmp dword [edx + 8], ebp
jle 0x670d66b3
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x670d6689
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.670d2fe0
mov eax, dword [esi]
lea edi, [eax + ebx + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x670d669d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 4], 0
mov ecx, dword [esi]
inc ebp
add ebx, 0x10
cmp ebp, dword [ecx + 8]
jl 0x670d666f
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov byte [esp + 0x34], 0
test eax, eax
je 0x670d670e
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670d670e
mov esi, dword [esi]
mov edi, dword [esi + 8]
lea ebx, [esi + 0x10]
shl edi, 4
add edi, ebx
cmp edi, ebx
je 0x670d66ff
jmp 0x670d66e0
mov eax, dword [edi - 8]
sub edi, 0x10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d66fb
mov edx, dword [edi + 8]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp edi, ebx
jne 0x670d66e0
push 4
push esi
call sym.QtCore_Ad_4.dll_public:_static_void___cdecl_QVectorData::free_struct_QVectorData___int_
mov edi, dword [esp + 0x1c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x34], 0xffffffff
call sym.QtCore_Ad_4.dll_public_virtual:_void___thiscall_QSettingsPrivate::destructor_void_
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret