Function at 0x670db5e0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x6715f89b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
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 0x670db7c0
mov eax, dword [edi + 0x74]
cmp dword [eax + 8], 0
je 0x670db7c0
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670db7c0
cmp byte [esi + 0xc], 0
jne 0x670db7c0
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670db7c0
mov dword [esp + 0x18], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.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 0x670db6a0
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670db6a0
cmp byte [esi + 0xc], 0
jne 0x670db6a0
mov ecx, esi
call fcn.670d7bf0
mov esi, eax
jmp 0x670db6a2
xor esi, esi
lea ecx, [esp + 0x18]
call sym.QtCore4.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 0x670db7a1
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.670d7ca0
add esp, 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 3
call sym.QtCore4.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.670d7dd0
lea ecx, [esp + 0x1c]
push ecx
mov bl, 5
mov ecx, eax
mov byte [esp + 0x38], bl
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov edi, eax
mov ecx, esi
mov byte [esp + 0x34], 6
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
mov ecx, edi
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
push str.QSettings:_Failed_to_delete_key___s_:__s
call sym.QtCore4.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 0x670db740
mov ecx, dword [esp + 0x1c]
push ecx
call sym.QtCore4.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 0x670db75f
mov ecx, dword [esp + 0x20]
push ecx
call sym.QtCore4.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 0x670db77e
mov ecx, dword [esp + 0x24]
push ecx
call sym.QtCore4.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 0x670db79d
mov ecx, dword [esp + 0x28]
push ecx
call sym.QtCore4.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 0x670db7c0
mov ecx, dword [esp + 0x18]
push ecx
call sym.QtCore4.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 0x670db813
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x670db7e9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.670d8140
mov eax, dword [esi]
lea edi, [eax + ebx + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x670db7fd
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 0x670db7cf
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov byte [esp + 0x34], 0
test eax, eax
je 0x670db86e
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670db86e
mov esi, dword [esi]
mov edi, dword [esi + 8]
lea ebx, [esi + 0x10]
shl edi, 4
add edi, ebx
cmp edi, ebx
je 0x670db85f
jmp 0x670db840
mov eax, dword [edi - 8]
sub edi, 0x10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670db85b
mov edx, dword [edi + 8]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp edi, ebx
jne 0x670db840
push 4
push esi
call sym.QtCore4.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 fcn.670caeb0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret