Function at 0x487e4f
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x611c57
call fcn.0060b6e8
mov eax, 0x2250
call fcn.0060ad50
mov eax, ecx
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882fa
push ebx
push 0x7d
pop eax
cmp word [edi], ax
je 0x4882f9
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x6940b0
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x487ec9
test ebx, ebx
je 0x487f6c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x487f6e
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00487646
test eax, eax
jne 0x4882ec
push edi
call fcn.00487b1a
test eax, eax
je 0x487f2a
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00487b49
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
test ebx, ebx
je 0x487f62
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882e7
push edi
mov ecx, ebx
call fcn.00487ac7
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004165ef
test esi, esi
js 0x4882f9
jmp 0x488298
lea ecx, [ebp - 0x20]
call fcn.004165ef
jmp 0x487f6e
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x10]
test eax, eax
jne 0x487f96
push edi
mov ecx, ebx
mov dword [ebp + 8], esi
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
push 0x6940a8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48808f
lea eax, [ebp - 0x225c]
mov ecx, ebx
push eax
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
push edi
mov ecx, ebx
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4882f4
cmp dword [ebp + 0x10], 0
je 0x48802d
xor eax, eax
mov ecx, ebx
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x225c]
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0048774c
mov esi, eax
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
test esi, esi
js 0x488322
mov byte [ebp - 4], al
jmp 0x488293
cmp dword [ebp + 0x14], 0
jne 0x488082
cmp dword [ebp + 8], 0
je 0x488082
xor eax, eax
lea ecx, [ebp - 0x54]
push 0x20006
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00416598
test eax, eax
jne 0x488316
lea eax, [ebp - 0x225c]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x48807a
cmp eax, 2
jne 0x488316
lea ecx, [ebp - 0x54]
call fcn.004165ef
push edi
mov ecx, ebx
call fcn.00487ac7
jmp 0x4882dc
push 0x5c
pop edx
mov ecx, edi
call fcn.00487646
test eax, eax
jne 0x4882f4
cmp dword [ebp + 0x10], eax
je 0x488117
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push 0x2001f
push edi
push esi
call fcn.00416598
test eax, eax
je 0x4880e4
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416598
test eax, eax
je 0x4880e4
sub esp, 0x14
lea ecx, [ebp - 0x2c]
push edi
push esi
call fcn.0041660e
test eax, eax
jne 0x4881e5
push edi
mov ecx, ebx
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
push 0x3d
pop eax
cmp word [edi], ax
jne 0x488298
push edi
push 0
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0048774c
mov esi, eax
jmp 0x487f55
cmp dword [ebp + 0x14], 0
jne 0x488130
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00416598
jmp 0x488133
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x14], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x25c]
push edi
push 0x104
push eax
mov dword [ebp - 0x30], ecx
call fcn.005f363d
push eax
call fcn.00404ada
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
push edi
mov ecx, ebx
call fcn.00487ac7
mov esi, eax
test esi, esi
js 0x4882f9
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4881cb
push edi
call fcn.005efad8
pop ecx
cmp eax, 1
jne 0x4881cb
push dword [ebp - 0x30]
mov ecx, ebx
push 0
push dword [ebp - 0x2c]
push edi
call fcn.00487e4f
mov esi, eax
test esi, esi
jns 0x4881b9
cmp dword [ebp - 0x30], 0
je 0x4882f9
push edi
mov ecx, ebx
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x487e8e
test eax, eax
je 0x4881f3
cmp dword [ebp + 0x14], 0
jne 0x487e8e
mov ecx, eax
call fcn.00488ad7
mov esi, eax
jmp 0x4882f9
cmp dword [ebp + 0x14], 0
je 0x488237
push dword [ebp - 0x2c]
call fcn.00487bf7
test eax, eax
je 0x488237
lea eax, [ebp - 0x25c]
push eax
call fcn.00487b1a
test eax, eax
je 0x487e8e
cmp dword [ebp + 8], 0
je 0x487e8e
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00487b49
jmp 0x487e8e
push dword [ebp - 0x2c]
call fcn.00487bf7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.004165ef
test eax, eax
jne 0x4881e5
cmp dword [ebp + 8], eax
je 0x487e8e
cmp dword [ebp - 0x14], eax
jne 0x487e8e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
and dword [ebp - 0x44], 0
and dword [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00487c80
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x488329
lea ecx, [ebp - 0x48]
call fcn.004165ef
cmp dword [ebp + 0x10], 0
je 0x487e8e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x487e8e
push edi
call fcn.005efad8
pop ecx
cmp eax, 1
jne 0x487e8e
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2c]
push edi
call fcn.00487e4f
mov esi, eax
test esi, esi
js 0x4882f9
push edi
mov ecx, ebx
call fcn.00487cf9
mov esi, eax
test esi, esi
js 0x4882f9
jmp 0x487e8e
lea ecx, [ebp - 0x20]
jmp 0x488322
lea ecx, [ebp - 0x20]
call fcn.004165ef
mov esi, 0x80020009
pop ebx
lea ecx, [ebp - 0x2c]
call fcn.004165ef
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.00488ad7
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.004165ef
jmp 0x4882f9
mov ecx, eax
call fcn.00488ad7
lea ecx, [ebp - 0x48]
jmp 0x488320