Function at 0x4cb9b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 2
push esi
push eax
call fcn.004cafd0
add esp, 0xc
mov eax, dword [ebp - 0x14]
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x4cbb25
mov edx, dword [ebp + 0xc]
or edx, 0x2001f
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x4cba30
cmp eax, 0xffffffff
je 0x4cba30
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push edx
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0
call fcn.0040d690
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cbb80
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4cbb80
push dword [ebp + 0xc]
push esi
call fcn.004cb9b0
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.0040d690
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x4cbb83
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
test eax, eax
je 0x4cbaab
cmp eax, 0xffffffff
je 0x4cbaab
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040d690
push eax
push str.QSettings:_RegDeleteKey_failed_on_subkey___ls_
push esi
call fcn.00427810
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x4cbae5
cmp eax, 0xffffffff
je 0x4cbaf4
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cbaf4
push 4
push 2
push dword [ebp - 0x18]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4cbb13
cmp eax, 0xffffffff
je 0x4cbb22
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cbb22
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 4], 3
test eax, eax
je 0x4cbb46
cmp eax, 0xffffffff
je 0x4cbb6e
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x4cbb6e
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.004028a0
push esi
call fcn.0040e830
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4cbb9f
cmp eax, 0xffffffff
je 0x4cbbae
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cbbae
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jge 0x4cbb25
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
jmp 0x4cba13