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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x74]
cmp dword [eax + 8], 0
push ebp
push esi
push edi
mov dword [esp + 0x3c], ebx
je 0x4c8925
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.004c5f40
test eax, eax
je 0x4c8925
cmp byte [esi + 0xc], 0
jne 0x4c8925
mov ecx, esi
call fcn.004c5f40
test eax, eax
jne 0x4c8938
push 1
mov ecx, ebx
call fcn.004864b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edi, [esp + 0x14]
call fcn.004c6150
add esp, 4
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov edx, 0x5c
mov ecx, edi
mov word [eax], dx
call fcn.004811d0
cmp eax, 0xffffffff
jne 0x4c898b
mov dword [esp + 0x44], 0x6510b4
mov eax, 0x6510b4
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x4c899b
inc eax
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
call fcn.00481220
mov eax, dword [ebx + 0x74]
cmp dword [eax + 8], 0
je 0x4c89c3
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.004c5f40
test eax, eax
je 0x4c89c3
cmp byte [esi + 0xc], 0
jne 0x4c89c3
mov ecx, esi
call fcn.004c5f40
mov esi, eax
jmp 0x4c89c5
xor esi, esi
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], 0
call fcn.004818a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x44]
mov ebp, eax
neg ebp
sbb ebp, ebp
not ebp
and ebp, dword [esp + 0x1c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c8a12
mov eax, dword [esp + 0x44]
push eax
call fcn.0047fb60
add esp, 4
test ebp, ebp
je 0x4c8a53
lea edi, [esp + 0x10]
lea esi, [esp + 0x20]
call fcn.004c6080
mov ecx, eax
call fcn.004818a0
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c8a4c
mov eax, dword [esp + 0x20]
push eax
call fcn.0047fb60
add esp, 4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x74]
cmp dword [eax + 8], 0
je 0x4c8a7f
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.004c5f40
test eax, eax
je 0x4c8a7f
cmp byte [esi + 0xc], 0
jne 0x4c8a7f
mov ecx, esi
call fcn.004c5f40
mov esi, eax
jmp 0x4c8a81
xor esi, esi
lea ecx, [esp + 0x24]
push ecx
push 0x2001f
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.004818a0
push eax
push esi
call ebx
test eax, eax
jne 0x4c8d09
mov eax, dword [esp + 0x24]
mov ebx, eax
test eax, eax
je 0x4c8d09
push eax
call fcn.004c8450
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4c8c54
push 1
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004c7d60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
add esp, 0xc
xor ebp, ebp
test ecx, ecx
jle 0x4c8c1d
mov edx, dword [eax + 8]
add edx, ebp
mov eax, dword [eax + edx*4 + 0x14]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.004818a0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4c8bf0
lea edx, [esp + 0x2c]
push edx
lea esi, [esp + 0x34]
call fcn.004c61e0
mov ecx, eax
call fcn.00481460
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
jne 0x4c8b4c
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4c8b59
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call fcn.0047d580
mov ecx, dword [esi]
mov edi, dword [ecx + 0xc]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.00481460
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
jne 0x4c8b81
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4c8b8e
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call fcn.0047d580
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push edi
push edx
push str.QSettings:_RegDeleteValue_failed_on_subkey___s_:__s
call fcn.00479080
mov eax, dword [esp + 0x34]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8bbc
mov edx, dword [esp + 0x28]
push edx
call fcn.00486210
add esp, 4
mov eax, dword [esp + 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8bd6
mov edx, dword [esp + 0x2c]
push edx
call fcn.00486210
add esp, 4
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8bf0
mov edx, dword [esp + 0x30]
push edx
call fcn.0047fb60
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8c0a
mov edx, dword [esp + 0x14]
push edx
call fcn.0047fb60
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc ebp
cmp ebp, ecx
jl 0x4c8af3
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c8d02
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00402e00
push esi
call fcn.00486210
jmp 0x4c8cff
lea ecx, [esp + 0x10]
call fcn.004818a0
push eax
mov ecx, edi
call fcn.004c6280
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4c8d02
lea ecx, [esp + 0x38]
push ecx
lea esi, [esp + 0x40]
call fcn.004c61e0
mov ecx, eax
call fcn.00481460
mov ecx, eax
call fcn.00452150
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.00481460
mov ecx, eax
call fcn.00452150
push eax
push str.QSettings:_RegDeleteKey_failed_on_key___s_:__s
call fcn.00479080
mov eax, dword [esp + 0x40]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8cce
mov edx, dword [esp + 0x34]
push edx
call fcn.00486210
add esp, 4
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8ce8
mov edx, dword [esp + 0x38]
push edx
call fcn.00486210
add esp, 4
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8d02
mov edx, dword [esp + 0x3c]
push edx
call fcn.0047fb60
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8d23
mov edx, dword [esp + 0x10]
push edx
call fcn.0047fb60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4