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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d882d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.SoftwareClasses_s_shellopencommand
push eax
call fcn.00463910
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ecx
push eax
push SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.00408b70
mov byte [ebp - 4], 1
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x463dd4
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x4ec684
call fcn.00403700
test al, al
jne 0x463a50
push 0
push 0x4ec684
lea ecx, [ebp - 0x10]
call fcn.00403890
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x463a66
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 1
or ebx, 0xffffffff
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463a90
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
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 - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x463acd
cmp dword [ebp - 0x10], eax
jne 0x463acd
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463adf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463b13
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463b40
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.SoftwareClasses_s_shellopen
push eax
call fcn.00463910
mov dword [ebp - 4], 8
push eax
call fcn.00463820
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463b8b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.SoftwareClasses_s_shell
push eax
call fcn.00463910
mov dword [ebp - 4], 0xa
push eax
call fcn.00463820
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463bd6
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.SoftwareClasses_s
push eax
call fcn.00463910
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push ecx
push eax
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00408b70
mov byte [ebp - 4], 0xd
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x463dd4
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
push 0x4ec684
call fcn.00403700
test al, al
jne 0x463c4e
push 0
push 0x4ec684
lea ecx, [ebp - 0x10]
call fcn.00403890
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x463c64
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0xd
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463c8b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x463dd4
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10]
push str.URL_Protocol
call fcn.00403700
test al, al
jne 0x463cd5
push 0xc
push str.URL_Protocol
lea ecx, [ebp - 0x10]
call fcn.00403890
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x463ceb
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0xd
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463d12
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
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 - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x463d4f
cmp dword [ebp - 0x14], eax
jne 0x463d4f
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x463d61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463d95
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x463dc0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402720
int3