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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586565
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x54]
cmp dword [eax + 4], 0
je 0x4fc111
mov edi, dword [eax + 0xc]
add edi, eax
mov ecx, edi
call fcn.004fae10
test eax, eax
je 0x4fc111
cmp byte [edi + 0xc], 0
jne 0x4fc111
mov ecx, edi
call fcn.004fae10
test eax, eax
je 0x4fc111
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4fbd6c
cmp ecx, 0xffffffff
je 0x4fbd6c
lock inc dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004faaf0
add esp, 8
mov ebx, dword [esi + 0x5c]
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [ebp - 4], 0
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [ebp - 0x10]
call fcn.0042b070
cmp eax, 0xffffffff
jne 0x4fbda7
mov dword [ebp + 8], 0x71f078
jmp 0x4fbdb5
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042b110
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 4], 0
je 0x4fbde3
mov edi, dword [eax + 0xc]
add edi, eax
mov ecx, edi
call fcn.004fae10
test eax, eax
je 0x4fbde3
cmp byte [edi + 0xc], 0
jne 0x4fbde3
mov ecx, edi
call fcn.004fae10
mov edi, eax
jmp 0x4fbde5
xor edi, edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
or ebx, 0x2001f
lea ecx, [ebp + 8]
push ebx
push 0
call fcn.0042f930
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
mov byte [ebp - 4], 0
test eax, eax
mov eax, dword [ebp + 8]
cmove edi, dword [ebp - 0x14]
or ebx, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x4fbe36
cmp eax, ebx
je 0x4fbe45
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fbe45
push 4
push 2
push dword [ebp + 8]
call fcn.00425140
add esp, 0xc
test edi, edi
je 0x4fbea5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004faf40
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042f930
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4fbe8f
cmp eax, 0xffffffff
je 0x4fbe9e
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fbe9e
push 4
push 2
push dword [ebp - 0x18]
call fcn.00425140
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x5c]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x54]
cmp dword [eax + 4], 0
je 0x4fbed5
mov edi, dword [eax + 0xc]
add edi, eax
mov ecx, edi
call fcn.004fae10
test eax, eax
je 0x4fbed5
cmp byte [edi + 0xc], 0
jne 0x4fbed5
mov ecx, edi
call fcn.004fae10
mov edi, eax
jmp 0x4fbed7
xor edi, edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
or eax, 0x2001f
push eax
push 0
call fcn.0042f930
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fc040
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4fc03d
push dword [esi + 0x5c]
push ebx
call fcn.004fa800
mov eax, dword [ebp - 0x10]
add esp, 8
cmp dword [eax + 4], 0
jne 0x4fc088
push 1
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004f9e20
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
add esi, 4
add edi, 4
lea esi, [eax + esi*4]
lea edi, [eax + edi*4]
cmp esi, edi
je 0x4fbfea
mov dword [ebp - 0x18], ebx
nop
mov ecx, esi
call fcn.0042f930
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x4fbfd9
mov ecx, dword [esi]
mov dword [ebp + 8], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4fbf8b
cmp ecx, 0xffffffff
je 0x4fbf8b
mov eax, dword [ebp + 8]
lock inc dword [eax]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0042f930
push eax
push str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
push ebx
call fcn.00455420
mov eax, dword [ebp + 8]
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x4fbfca
cmp eax, 0xffffffff
je 0x4fbfd9
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fbfd9
push 4
push 2
push dword [ebp + 8]
call fcn.00425140
add esp, 0xc
mov ebx, dword [ebp - 0x18]
add esi, 4
cmp esi, edi
jne 0x4fbf60
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x4fc00b
cmp eax, 0xffffffff
je 0x4fc033
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc033
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.004037e0
push esi
call fcn.00430ae0
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4fc065
cmp eax, 0xffffffff
je 0x4fc11a
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x4fc11a
push 4
push 2
push dword [ebp - 0x10]
call fcn.00425140
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
lea ecx, [ebp - 0x10]
call fcn.0042f930
mov ecx, dword [esi + 0x54]
mov edi, eax
cmp dword [ecx + 4], 0
je 0x4fc0ba
mov esi, dword [ecx + 0xc]
add esi, ecx
mov ecx, esi
call fcn.004fae10
test eax, eax
je 0x4fc0ba
cmp byte [esi + 0xc], 0
jne 0x4fc0ba
mov ecx, esi
call fcn.004fae10
jmp 0x4fc0bc
xor eax, eax
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, ebx
test esi, esi
je 0x4fc036
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4fc0e7
cmp ecx, 0xffffffff
je 0x4fc0e7
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.0042f930
push eax
push str.QSettings:_RegDeleteKey_failed_on_key___ls_
push esi
call fcn.00455420
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00406190
mov ecx, ebx
jmp 0x4fc036
push 1
mov ecx, esi
call fcn.004cdf30
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