Function at 0x670c18d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x671461db
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [edi], vtable.QWinSettingsPrivate.0
cmp byte [edi + 0x7c], 0
mov dword [esp + 0x34], 1
je 0x670c1ab0
mov eax, dword [edi + 0x78]
cmp dword [eax + 8], 0
je 0x670c1ab0
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670bdf10
test eax, eax
je 0x670c1ab0
cmp byte [esi + 0xc], 0
jne 0x670c1ab0
mov ecx, esi
call fcn.670bdf10
test eax, eax
je 0x670c1ab0
mov dword [esp + 0x14], 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 + 0x78]
cmp dword [eax + 8], 0
mov byte [esp + 0x34], 2
je 0x670c1990
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670bdf10
test eax, eax
je 0x670c1990
cmp byte [esi + 0xc], 0
jne 0x670c1990
mov ecx, esi
call fcn.670bdf10
mov esi, eax
jmp 0x670c1992
xor esi, esi
lea ecx, [esp + 0x14]
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 0x670c1a91
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.670bdff0
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 + 0x78]
lea edx, [esp + 0x20]
add ecx, 0x10
push edx
call fcn.670be120
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 0x670c1a30
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 0x670c1a4f
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 0x670c1a6e
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 0x670c1a8d
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 + 0x18]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x34], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c1ab0
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [edi + 0x78]
lea esi, [edi + 0x78]
xor ebp, ebp
cmp dword [edx + 8], ebp
jle 0x670c1b05
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x670c1ad9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.670be730
mov eax, dword [esi]
lea edi, [eax + ebx + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x670c1aed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 4], 0
mov ecx, dword [esi]
add ebp, 1
add ebx, 0x10
cmp ebp, dword [ecx + 8]
jl 0x670c1abf
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x34], 0
je 0x670c1b23
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670c1b23
mov eax, dword [esi]
push eax
mov ecx, esi
call fcn.670be6e0
mov ecx, edi
mov dword [esp + 0x34], 0xffffffff
call fcn.670b44c0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret