Function at 0x670daa70
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x6715f748
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 esi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push 2
push eax
mov ecx, esi
call fcn.670da2d0
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
xor edi, edi
mov dword [esp + 0x34], edi
test ecx, ecx
jle 0x670dab71
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [eax + 8]
add edx, edi
lea eax, [eax + edx*4 + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x1c]
push edx
push 0x2001f
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
mov dword [esp + 0x28], 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 0x670dab3f
mov eax, dword [esp + 0x1c]
mov ebp, eax
test eax, eax
je 0x670dab3f
push eax
call fcn.670daa70
add esp, 4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
jne 0x670dabdb
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
mov byte [esp + 0x34], 0
lock xadd dword [eax], ecx
jne 0x670dab5e
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc edi
cmp edi, ecx
jl 0x670daaca
mov dword [esp + 0x34], 0xffffffff
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670dabc7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x670dabbe
lea ebx, [ebx]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670dabba
mov edx, dword [esi]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp esi, edi
jne 0x670daba0
push ebx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
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], 2
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
lea edx, [esp + 0x20]
mov bl, 3
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
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 + 0x34], 4
cmp eax, 1
jne 0x670dac2a
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670dac37
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 0x670dac4f
mov eax, dword [edi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670dac5c
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:_RegDeleteKey_failed_on_subkey___s_:__s
call sym.QtCore4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov byte [esp + 0x34], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dac8e
mov ecx, dword [esp + 0x20]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [esp + 0x34], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dacad
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], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670daccc
mov ecx, dword [esp + 0x28]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x14]
mov byte [esp + 0x34], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670daceb
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 [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dabc7
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c]
call fcn.67019690
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret