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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cab55
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x502054]
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 0x471652
cmp byte [0x514fa8], 0
je 0x471649
cmp byte [ebp + 0xc], 0
je 0x471649
mov dword [ebp - 0x1c], 0x20119
jmp 0x47166f
mov dword [ebp - 0x1c], 0x20019
jmp 0x47166f
cmp byte [0x514fa8], 0
je 0x471668
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x1c], 0x20106
jne 0x47166f
mov dword [ebp - 0x1c], 0x20006
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x471997
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x471997
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.004aba4e
mov ecx, eax
add esp, 8
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
test ecx, ecx
je 0x4717ff
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x34], ecx
cmp ecx, ebx
je 0x4717ff
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0047ae10
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 0x471747
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x471738
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x471738
push dword [ebp - 0x28]
call fcn.00461130
mov dword [ebp - 0x28], eax
add esp, 4
mov eax, ebx
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47172d
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 0x471747
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.00461210
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 0x471765
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.0047af80
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 0x4717df
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4717d0
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4717d0
push dword [ebp - 0x34]
call fcn.00461130
mov dword [ebp - 0x34], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4717c5
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 0x4717df
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00461210
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 0x47185c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47185c
lea ecx, [eax - 0x10]
lea edx, [esi - 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
cmp ecx, edx
je 0x47185c
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x47184d
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x47184d
push dword [ebp - 0x34]
call fcn.00461130
mov dword [ebp - 0x34], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x471842
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 0x47185c
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.00461210
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
cmp eax, 0x80000001
jne 0x471899
cmp dword [esi - 0xc], 0
jl 0x471887
push 0x4ec208
push esi
call fcn.004ab595
add esp, 8
test eax, eax
je 0x471887
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x471896
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
jmp 0x4718aa
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 0x47192d
push esi
push dword [ebp - 0x14]
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x47191d
nop
cmp eax, 2
je 0x47190d
cmp eax, 5
jne 0x471921
test bl, bl
jne 0x471921
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x34], esp
mov ebx, esp
push eax
mov dword [ebp - 0x30], ebx
call fcn.00461130
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.00471bc0
add esp, 4
mov bl, 1
push esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x4718c0
jmp 0x47191d
push esi
push 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x471921
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 0x471948
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 0x471963
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 0x471982
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.00456c70
int3