Function at 0x670c3df0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x6713db5b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
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 0x670c3fd0
mov eax, dword [edi + 0x78]
cmp dword [eax + 8], 0
je 0x670c3fd0
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670c03c0
test eax, eax
je 0x670c3fd0
cmp byte [esi + 0xc], 0
jne 0x670c3fd0
mov ecx, esi
call fcn.670c03c0
test eax, eax
je 0x670c3fd0
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 0x670c3eb0
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670c03c0
test eax, eax
je 0x670c3eb0
cmp byte [esi + 0xc], 0
jne 0x670c3eb0
mov ecx, esi
call fcn.670c03c0
mov esi, eax
jmp 0x670c3eb2
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 0x670c3fb1
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.670c0450
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.670c0580
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 0x670c3f50
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 0x670c3f6f
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 0x670c3f8e
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 0x670c3fad
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 0x670c3fd0
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 0x670c4023
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x670c3ff9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.670c0ba0
mov eax, dword [esi]
lea edi, [eax + ebx + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x670c400d
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 0x670c3fdf
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
mov byte [esp + 0x34], 0
test eax, eax
je 0x670c4041
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670c4041
mov eax, dword [esi]
push eax
mov ecx, esi
call fcn.670c0b50
mov ecx, edi
mov dword [esp + 0x34], 0xffffffff
call fcn.670b6ac0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret