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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a67ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
push str.SoftwareClasses_s_shellopencommand
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00455460
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ecx
push eax
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.00407920
mov byte [ebp - 4], 1
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x455370
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x4bc000
call fcn.004031b0
test al, al
jne 0x455078
push 0
push 0x4bc000
lea ecx, [ebp - 0x10]
call fcn.00403320
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x455090
push esi
push eax
call ebx
mov byte [ebp - 4], 1
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4550ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4550eb
cmp dword [ebp - 0x10], eax
jne 0x4550eb
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4550fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455125
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.SoftwareClasses_s_shellopen
push eax
mov ecx, esi
call fcn.00455460
mov dword [ebp - 4], 8
push eax
call fcn.00455380
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455187
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftwareClasses_s_shell
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00455460
mov dword [ebp - 4], 0xa
push eax
call fcn.00455380
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4551c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftwareClasses_s
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00455460
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push ecx
push eax
push SysReAllocString
lea ecx, [ebp - 0x28]
call fcn.00407920
mov byte [ebp - 4], 0xd
call fcn.00404130
test eax, eax
je 0x455370
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
push 0x4bc000
call fcn.004031b0
test al, al
jne 0x455230
push 0
push 0x4bc000
lea ecx, [ebp - 0x10]
call fcn.00403320
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x455242
push esi
push eax
call ebx
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45525d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404130
test eax, eax
je 0x455370
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10]
push str.URL_Protocol
call fcn.004031b0
test al, al
jne 0x45529b
push 0xc
push str.URL_Protocol
lea ecx, [ebp - 0x10]
call fcn.00403320
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x4552ad
push esi
push eax
call ebx
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4552c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x455305
cmp dword [ebp - 0x14], eax
jne 0x455305
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x455317
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45533f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45535e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004022e0
int3