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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9f55
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4ff080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x14], 0
test dl, dl
je 0x471612
cmp byte [0x512008], 0
je 0x471609
cmp byte [ebp + 0xc], 0
je 0x471609
mov dword [ebp - 0x1c], 0x20119
jmp 0x47162f
mov dword [ebp - 0x1c], 0x20019
jmp 0x47162f
cmp byte [0x512008], 0
je 0x471628
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x1c], 0x20106
jne 0x47162f
mov dword [ebp - 0x1c], 0x20006
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x471957
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x471957
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
push 0x5c
push dword [ebp + 8]
call fcn.004abb9e
mov ecx, eax
add esp, 8
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
test ecx, ecx
je 0x4717bf
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x34], ecx
cmp ecx, ebx
je 0x4717bf
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0047af00
mov byte [ebp - 4], 5
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x2c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x28], eax
cmp eax, ecx
je 0x471707
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4716f8
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4716f8
push dword [ebp - 0x28]
call fcn.00461190
mov dword [ebp - 0x28], eax
add esp, 4
mov eax, ebx
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4716ed
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x28]
add edi, 0x10
mov dword [ebp - 0x20], edi
jmp 0x471707
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.00461270
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471725
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x34]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047b070
mov byte [ebp - 4], 7
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x30], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x34], eax
cmp eax, ecx
je 0x47179f
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x471790
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x471790
push dword [ebp - 0x34]
call fcn.00461190
mov dword [ebp - 0x34], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x471785
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x47179f
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00461270
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47181c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47181c
lea ecx, [eax - 0x10]
lea edx, [esi - 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
cmp ecx, edx
je 0x47181c
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x47180d
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x47180d
push dword [ebp - 0x34]
call fcn.00461190
mov dword [ebp - 0x34], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x471802
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x47181c
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.00461270
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
cmp eax, 0x80000001
jne 0x471859
cmp dword [esi - 0xc], 0
jl 0x471847
push 0x4e8858
push esi
call fcn.004ab6e8
add esp, 8
test eax, eax
je 0x471847
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x471856
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
jmp 0x47186a
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x1c]
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4718ed
push esi
push dword [ebp - 0x14]
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x4718dd
nop
cmp eax, 2
je 0x4718cd
cmp eax, 5
jne 0x4718e1
test bl, bl
jne 0x4718e1
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x34], esp
mov ebx, esp
push eax
mov dword [ebp - 0x30], ebx
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
call fcn.00471b80
add esp, 4
mov bl, 1
push esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x471880
jmp 0x4718dd
push esi
push 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x4718e1
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x471908
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x471923
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x471942
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00456c80
int3