Function at 0x4888fc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecda7
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0059b4a0
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x221c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488efe
push 0x7d
pop eax
cmp word [edi], ax
je 0x488ef3
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2234], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x63c2a0
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2224], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4889b1
test esi, esi
je 0x488a6c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x488a6e
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
call fcn.00488112
test eax, eax
jne 0x488eee
push edi
call fcn.0048872f
test eax, eax
je 0x488a24
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2250]
push edi
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], esi
call fcn.0042ee4e
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
cmp dword [ebp - 0x2224], esi
je 0x488a64
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004886ca
mov esi, eax
test esi, esi
js 0x488ef3
and dword [ebp - 0x224c], 0
jmp 0x488e68
mov dword [ebp - 0x224c], esi
jmp 0x488a6e
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x488a9a
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], esi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
push 0x63c298
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x488be5
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
push 0x3d
pop eax
cmp word [edi], ax
jne 0x488eee
cmp dword [ebp + 0x10], 0
je 0x488b58
mov ecx, dword [ebp - 0x221c]
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2258], 0
and dword [ebp - 0x2254], 0
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x225c]
push eax
call fcn.00488299
mov esi, eax
xor eax, eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
test esi, esi
js 0x488ef3
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x488e68
cmp dword [ebp + 0x14], 0
jne 0x488bd4
cmp dword [ebp - 0x2234], 0
je 0x488bd4
xor eax, eax
lea ecx, [ebp - 0x2240]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
call fcn.00412998
test eax, eax
jne 0x488ebd
mov esi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x488bbb
cmp eax, 2
jne 0x488ebd
test esi, esi
je 0x488bcd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2240], 0
and dword [ebp - 0x223c], 0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004886ca
jmp 0x488eb2
push 0x5c
pop edx
mov ecx, edi
call fcn.00488112
test eax, eax
jne 0x488eee
cmp dword [ebp + 0x10], eax
je 0x488c90
mov ebx, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push ebx
call fcn.00412998
test eax, eax
je 0x488c4a
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2230]
call fcn.00412998
test eax, eax
je 0x488c4a
sub esp, 0x14
lea ecx, [ebp - 0x2230]
push edi
push ebx
call fcn.004881bf
test eax, eax
jne 0x488edd
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ee6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x488c85
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.00488299
mov esi, eax
test esi, esi
js 0x488ee6
mov ebx, dword [ebp - 0x2230]
jmp 0x488e68
cmp dword [ebp + 0x14], 0
jne 0x488cb5
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
call fcn.00412998
mov ebx, dword [ebp - 0x2230]
jmp 0x488cb8
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2224], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2244], ecx
call fcn.005c48ad
push eax
call fcn.0043b6eb
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004886ca
mov esi, eax
test esi, esi
js 0x488ef3
push 0x7b
pop eax
cmp word [edi], ax
jne 0x488d6a
push edi
call fcn.005c2f90
pop ecx
cmp eax, 1
jne 0x488d6a
push dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x221c]
push 0
push ebx
push edi
call fcn.004888fc
mov esi, eax
test esi, esi
jns 0x488d54
cmp dword [ebp - 0x2244], 0
je 0x488ef3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
mov eax, dword [ebp - 0x2224]
cmp eax, 2
je 0x48896d
test eax, eax
je 0x488d95
cmp dword [ebp + 0x14], 0
jne 0x48896d
mov ecx, eax
call fcn.00488793
mov esi, eax
jmp 0x488ef3
cmp dword [ebp + 0x14], 0
je 0x488de3
push ebx
call fcn.0048875e
test eax, eax
je 0x488de3
lea eax, [ebp - 0x218]
push eax
call fcn.0048872f
test eax, eax
je 0x48896d
cmp dword [ebp - 0x2234], 0
je 0x48896d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0042ee4e
mov ebx, dword [ebp - 0x2230]
jmp 0x48896d
push ebx
call fcn.0048875e
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2224], ecx
test ebx, ebx
je 0x488e0c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
xor ebx, ebx
mov dword [ebp - 0x2230], ebx
and dword [ebp - 0x222c], 0
test eax, eax
jne 0x488d87
cmp dword [ebp - 0x2234], eax
je 0x48896d
test ecx, ecx
jne 0x48896d
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2264], ecx
and dword [ebp - 0x2260], ecx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042edd5
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x488d87
cmp dword [ebp + 0x10], 0
je 0x48896d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x48896d
push edi
call fcn.005c2f90
pop ecx
cmp eax, 1
jne 0x48896d
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.004888fc
mov esi, eax
test esi, esi
js 0x488ef3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004887a1
mov esi, eax
test esi, esi
js 0x488ef3
jmp 0x48896d
mov ecx, eax
call fcn.00488793
cmp dword [ebp - 0x2240], 0
mov esi, eax
je 0x488ef3
push dword [ebp - 0x2240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x488ef3
mov ecx, eax
call fcn.00488793
mov esi, eax
mov ebx, dword [ebp - 0x2230]
jmp 0x488ef3
mov esi, 0x80020009
test ebx, ebx
je 0x488efe
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a7a2
leave
ret 0x10