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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x88], 0
je 0x5266b8
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x5266b8
cmp byte [edi + 0x14], 0
jne 0x5266b8
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x5266b8
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 0x52642a
mov eax, 1
lock xadd dword [edi], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00524b10
mov ebx, dword [esi + 0x90]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.005254c0
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x88], 0
mov byte [ebp - 4], 1
je 0x526482
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x526482
cmp byte [edi + 0x14], 0
jne 0x526482
mov ecx, edi
call fcn.00524ea0
mov edi, eax
jmp 0x526484
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.004906d0
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 0x5264dd
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x5264dd
push 4
push 2
push dword [ebp - 0x2c]
call fcn.004597e0
add esp, 0xc
test edi, edi
je 0x526535
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00525370
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004906d0
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 0x52652e
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52652e
push 4
push 2
push dword [ebp - 0x38]
call fcn.004597e0
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 0x52656f
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x52656c
cmp byte [edi + 0x14], 0
jne 0x52656c
mov ecx, edi
call fcn.00524ea0
mov edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x526571
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.004906d0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x526685
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x526682
push dword [esi + 0x90]
push ebx
call fcn.00524810
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x526621
push 1
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00523b90
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 0x526617
mov ecx, esi
call fcn.004906d0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x52660d
mov ecx, esi
call fcn.004906d0
push eax
push str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
push ebx
call fcn.004991a0
add esp, 0xc
mov ebx, dword [ebp - 0x14]
add esi, 0xc
cmp esi, edi
jne 0x5265e2
lea ecx, [ebp - 0x2c]
call fcn.00470ec0
jmp 0x52667b
lea ecx, [ebp - 0x20]
call fcn.004906d0
cmp dword [esi + 0x88], 0
mov edi, eax
je 0x526654
mov esi, dword [esi + 0x84]
mov ecx, esi
call fcn.00524ea0
test eax, eax
je 0x526654
cmp byte [esi + 0x14], 0
jne 0x526654
mov ecx, esi
call fcn.00524ea0
jmp 0x526656
xor eax, eax
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x52667b
lea ecx, [ebp - 0x20]
call fcn.004906d0
push eax
push str.QSettings:_RegDeleteKey_failed_on_key___ls_
push esi
call fcn.004991a0
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5266c1
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x5266c1
push 4
push 2
push dword [ebp - 0x20]
call fcn.004597e0
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.004d8bb0
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