Function at 0x670dad30
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x6715f7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x74]
xor ebx, ebx
cmp dword [eax + 8], ebx
je 0x670dad81
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670dad81
cmp byte [esi + 0xc], bl
jne 0x670dad81
mov ecx, esi
call fcn.670d7bf0
cmp eax, ebx
jne 0x670dad8f
push 1
mov ecx, ebp
call fcn.670c5d50
jmp 0x670db1d9
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [esp + 0x48], esp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x18]
push edx
call fcn.670d7f70
add esp, 8
lea edi, [esp + 0x14]
lea esi, [esp + 0x20]
mov dword [esp + 0x50], ebx
call fcn.670d7c50
mov edi, eax
mov eax, dword [ebp + 0x74]
mov byte [esp + 0x50], 1
cmp dword [eax + 8], ebx
je 0x670dadf3
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670dadf3
cmp byte [esi + 0xc], 0
jne 0x670dadf3
mov ecx, esi
call fcn.670d7bf0
mov esi, eax
jmp 0x670dadf5
xor esi, esi
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push ebx
mov ecx, edi
mov dword [esp + 0x28], ebx
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x1c]
mov byte [esp + 0x50], 0
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670dae40
mov eax, dword [esp + 0x20]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test esi, esi
je 0x670dae8f
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x18]
call fcn.670d8530
add esp, 4
mov ecx, eax
mov byte [esp + 0x50], 2
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x50], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dae88
mov ecx, dword [esp + 0x24]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
je 0x670daeb7
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670daeb7
cmp byte [esi + 0xc], 0
jne 0x670daeb7
mov ecx, esi
call fcn.670d7bf0
mov esi, eax
jmp 0x670daeb9
xor esi, esi
lea edx, [esp + 0x28]
push edx
push 0x2001f
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push esi
call ebx
test eax, eax
jne 0x670db1b7
mov eax, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x44], esi
test eax, eax
je 0x670db1b7
push eax
call fcn.670daa70
mov eax, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 8], 0
jne 0x670db0b4
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, esi
call fcn.670da2d0
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
xor ebx, ebx
test edx, edx
jle 0x670db08f
jmp 0x670daf36
mov esi, dword [esp + 0x44]
mov ecx, dword [eax + 8]
add ecx, ebx
lea eax, [eax + ecx*4 + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 4
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x670db05d
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670d7ca0
add esp, 8
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov byte [esp + 0x54], 5
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 6
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [esp + 0x50], 7
cmp eax, 1
jne 0x670dafba
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670dafc7
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, dword [esi]
mov esi, dword [ecx + 0xc]
cmp edx, 1
jne 0x670dafdf
mov eax, dword [edi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670dafec
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
mov ecx, edi
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
push esi
push eax
push str.QSettings:_RegDeleteValue_failed_on_subkey___s_:__s
call sym.QtCore4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x38]
add esp, 0xc
mov byte [esp + 0x50], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db01f
mov ecx, dword [esp + 0x2c]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x30]
mov byte [esp + 0x50], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db03e
mov ecx, dword [esp + 0x30]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x34]
mov byte [esp + 0x50], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db05d
mov ecx, dword [esp + 0x34]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x58]
mov byte [esp + 0x50], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db07c
mov ecx, dword [esp + 0x58]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ebx
cmp ebx, edx
jl 0x670daf32
mov byte [esp + 0x50], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670db1ac
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x1c]
call fcn.67019690
jmp 0x670db1ac
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
je 0x670db0dc
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670db0dc
cmp byte [esi + 0xc], 0
jne 0x670db0dc
mov ecx, esi
call fcn.670d7bf0
mov esi, eax
jmp 0x670db0de
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 0x670db1ac
push eax
lea eax, [esp + 0x44]
push eax
call fcn.670d7ca0
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x54], 8
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
lea edx, [esp + 0x38]
mov bl, 9
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], bl
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov edi, eax
mov ecx, esi
mov byte [esp + 0x50], 0xa
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:_RegDeleteKey_failed_on_key___s_:__s
call sym.QtCore4.dll_void___cdecl_qWarning_char_const__
mov eax, dword [esp + 0x44]
add esp, 0xc
mov byte [esp + 0x50], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670db16e
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x50], 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670db18d
mov edx, dword [esp + 0x3c]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x40]
mov byte [esp + 0x50], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670db1ac
mov edx, dword [esp + 0x40]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670db1d9
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4