Function at 0x67149220
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67288070
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi + 0x58], 0
mov dword [edi], vtable.QWinSettingsPrivate.0
je 0x67149382
mov eax, dword [edi + 0x54]
cmp dword [eax + 4], 0
je 0x67149382
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.67148300
test eax, eax
je 0x67149382
cmp byte [esi + 0xc], 0
jne 0x67149382
mov ecx, esi
call fcn.67148300
test eax, eax
je 0x67149382
cmp dword [0x674c7ce0], 0x10
mov esi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x14], esi
je 0x671492bc
mov eax, dword [0x674c7cd8]
lea ecx, [ebp - 0x14]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x54]
mov ebx, dword [esi + 0xc]
add ebx, esi
cmp dword [eax + 4], 0
je 0x671492ef
mov edi, dword [eax + 0xc]
add edi, eax
mov ecx, edi
call fcn.67148300
test eax, eax
je 0x671492ec
cmp byte [edi + 0xc], 0
jne 0x671492ec
mov ecx, edi
call fcn.67148300
mov edi, dword [ebp - 0x18]
jmp 0x671492f1
mov edi, dword [ebp - 0x18]
xor eax, eax
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test ebx, ebx
je 0x67149354
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 0x6714931a
cmp eax, 0xffffffff
je 0x6714931a
lock inc dword [ecx]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0x10
je 0x67149335
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, eax
push ecx
push str.QSettings:_Failed_to_delete_key___ls_
push ebx
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
add esp, 0xc
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x67149371
cmp ecx, 0xffffffff
je 0x67149382
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67149382
cmp eax, 0x674c7cb4
je 0x67149382
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [edi + 0x54]
lea esi, [edi + 0x54]
xor ebx, ebx
cmp dword [eax + 4], ebx
jle 0x671493fc
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
cmp eax, 1
je 0x671493ce
test eax, eax
je 0x671493ce
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x671493bd
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 [esi], eax
jmp 0x671493ce
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6714ab40
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
add edi, dword [ebp - 0x14]
add edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x671493e6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 0x14], 0x14
inc ebx
mov dword [edi + 4], 0
mov eax, dword [esi]
cmp ebx, dword [eax + 4]
jl 0x67149392
mov edi, dword [ebp - 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x67149416
cmp ecx, 0xffffffff
je 0x67149442
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149442
mov esi, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
add eax, esi
push eax
lea eax, [ecx + esi]
push eax
call fcn.6714acc0
cmp esi, 0x674c7cb4
je 0x67149442
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, edi
call sym.Qt5Core.dll_public_virtual:_void___thiscall_QSettingsPrivate::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret