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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7655
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x88], 0
je 0x52cd48
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.0052b530
test eax, eax
je 0x52cd48
cmp byte [edi + 0x14], 0
jne 0x52cd48
mov ecx, edi
call fcn.0052b530
test eax, eax
je 0x52cd48
mov ecx, dword [ebp + 8]
sub esp, 0xc
mov edx, esp
mov edi, dword [ecx]
mov dword [edx], edi
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
test edi, edi
je 0x52caba
mov eax, 1
lock xadd dword [edi], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0052b1a0
mov ebx, dword [esi + 0x90]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.0052bb50
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x88], 0
mov byte [ebp - 4], 1
je 0x52cb12
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.0052b530
test eax, eax
je 0x52cb12
cmp byte [edi + 0x14], 0
jne 0x52cb12
mov ecx, edi
call fcn.0052b530
mov edi, eax
jmp 0x52cb14
xor edi, edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
or ebx, 0x2001f
mov dword [ebp - 0x10], 0
push ebx
push 0
call fcn.00496d70
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x2c]
xor edi, edi
test eax, eax
mov byte [ebp - 4], 0
cmove edi, dword [ebp - 0x10]
or ebx, 0xffffffff
test ecx, ecx
je 0x52cb6d
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52cb6d
push 4
push 2
push dword [ebp - 0x2c]
call fcn.0045fe90
add esp, 0xc
test edi, edi
je 0x52cbc5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0052ba00
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00496d70
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x52cbbe
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52cbbe
push 4
push 2
push dword [ebp - 0x38]
call fcn.0045fe90
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x88], 0
mov eax, dword [esi + 0x90]
mov dword [ebp - 0x10], eax
je 0x52cbff
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.0052b530
test eax, eax
je 0x52cbfc
cmp byte [edi + 0x14], 0
jne 0x52cbfc
mov ecx, edi
call fcn.0052b530
mov edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x52cc01
mov eax, dword [ebp - 0x10]
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
or eax, 0x2001f
lea ecx, [ebp - 0x20]
push eax
push 0
call fcn.00496d70
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52cd15
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x52cd12
push dword [esi + 0x90]
push ebx
call fcn.0052aea0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x52ccb1
push 1
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0052a220
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 3
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x52cca7
mov ecx, esi
call fcn.00496d70
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x52cc9d
mov ecx, esi
call fcn.00496d70
push eax
push str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
push ebx
call fcn.0049f850
add esp, 0xc
mov ebx, dword [ebp - 0x14]
add esi, 0xc
cmp esi, edi
jne 0x52cc72
lea ecx, [ebp - 0x2c]
call fcn.00477570
jmp 0x52cd0b
lea ecx, [ebp - 0x20]
call fcn.00496d70
cmp dword [esi + 0x88], 0
mov edi, eax
je 0x52cce4
mov esi, dword [esi + 0x84]
mov ecx, esi
call fcn.0052b530
test eax, eax
je 0x52cce4
cmp byte [esi + 0x14], 0
jne 0x52cce4
mov ecx, esi
call fcn.0052b530
jmp 0x52cce6
xor eax, eax
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x52cd0b
lea ecx, [ebp - 0x20]
call fcn.00496d70
push eax
push str.QSettings:_RegDeleteKey_failed_on_key___ls_
push esi
call fcn.0049f850
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x52cd51
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x52cd51
push 4
push 2
push dword [ebp - 0x20]
call fcn.0045fe90
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
mov ecx, esi
call fcn.004df260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4