Function at 0x67134390
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6726bb30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x58], 0
mov dword [edi], vtable.QWinSettingsPrivate.0
je 0x671344dd
mov eax, dword [edi + 0x54]
cmp dword [eax + 4], 0
je 0x671344dd
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.67135b00
test eax, eax
je 0x671344dd
cmp byte [esi + 0xc], 0
jne 0x671344dd
mov ecx, esi
call fcn.67135b00
test eax, eax
je 0x671344dd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
mov ecx, dword [edi + 0x54]
mov ebx, eax
cmp dword [ecx + 4], 0
je 0x6713443d
mov esi, dword [ecx + 0xc]
add esi, ecx
mov ecx, esi
call fcn.67135b00
test eax, eax
je 0x6713443d
cmp byte [esi + 0xc], 0
jne 0x6713443d
mov ecx, esi
call fcn.67135b00
jmp 0x6713443f
xor eax, eax
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x671344ae
mov edx, dword [edi + 0x54]
mov ecx, dword [edx + 0xc]
mov ecx, dword [ecx + edx + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
test eax, eax
je 0x67134468
cmp eax, 0xffffffff
je 0x67134468
lock inc dword [ecx]
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push str.QSettings:_Failed_to_delete_key___ls_
push esi
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x6713449f
cmp eax, 0xffffffff
je 0x671344ae
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671344ae
push 4
push 2
push dword [ebp - 0x10]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x671344ce
cmp eax, 0xffffffff
je 0x671344dd
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671344dd
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [edi + 0x54]
xor ebx, ebx
cmp dword [eax + 4], ebx
jle 0x6713455c
mov dword [ebp - 0x14], ebx
nop word [eax + eax]
mov eax, dword [eax]
cmp eax, 1
je 0x6713452f
test eax, eax
je 0x6713452f
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x6713451d
push 2
push ecx
push 4
push 0x14
call sym.Qt5Core.dll_public:_static_struct_QArrayData____cdecl_QArrayData::allocate_unsigned_int__unsigned_int__unsigned_int__class_QFlags_enum_QArrayData::AllocationOption__
add esp, 0x10
mov dword [edi + 0x54], eax
jmp 0x6713452f
push ecx
mov eax, esp
push ecx
lea ecx, [edi + 0x54]
mov dword [eax], 0
call fcn.67136820
mov eax, dword [edi + 0x54]
mov esi, dword [eax + 0xc]
add esi, eax
add esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x67134548
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 0x14], 0x14
inc ebx
mov dword [esi + 4], 0
mov eax, dword [edi + 0x54]
cmp ebx, dword [eax + 4]
jl 0x671344f0
mov ecx, dword [eax]
test ecx, ecx
je 0x67134576
cmp ecx, 0xffffffff
je 0x671345a1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671345a1
mov esi, dword [edi + 0x54]
lea ecx, [edi + 0x54]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
add eax, esi
push eax
lea eax, [edx + esi]
push eax
call fcn.67135790
push 4
push 0x14
push esi
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov ecx, edi
call fcn.67129550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret