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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d8ec
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10044bd0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push 0x1005f934
push str._shellexContextMenuHandlers_
push str._s_s
push eax
call esi
push 0x1005f934
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push str._s_s
push eax
call esi
add esp, 0x38
mov dword [ebp - 0x454], 7
xor eax, eax
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x468]
mov word [ebp - 0x468], ax
push 6
push str.CLSID_
call fcn.10008730
push 0x26
push str.99DBFBB4_9D93_4F50_94F7_74A39CBBEE52
lea ecx, [ebp - 0x468]
mov dword [ebp - 4], 0
call fcn.1000d6c0
xor eax, eax
mov dword [ebp - 0x43c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x450], ax
lea ecx, [ebp - 0x450]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x440], 0
push eax
call fcn.10008610
push 0xf
push str.InprocServer32
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 1
call fcn.1000d6c0
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmovae eax, dword [ebp - 0x450]
push eax
push 0x80000000
call edi
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
push 0x80000000
call edi
lea eax, [ebp - 0x484]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10025ba7
push str.99DBFBB4_9D93_4F50_94F7_74A39CBBEE52
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10025250
mov ebx, eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x10025dfd
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x10025bca
mov edx, dword [esi]
jmp 0x10025bcc
mov edx, esi
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [edx], ax
jne 0x10025bf2
xor ecx, ecx
jmp 0x10025c0c
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025bf7
sub ecx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x480]
call fcn.10008730
cmp word [ebp - 0x218], 0
mov byte [ebp - 4], 2
jne 0x10025c2b
xor ecx, ecx
jmp 0x10025c43
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025c34
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.1000d6c0
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
cmovae eax, dword [ebp - 0x480]
push eax
push 0x80000000
call edi
cmp dword [esi + 0x14], 8
jb 0x10025c7c
mov edx, dword [esi]
jmp 0x10025c7e
mov edx, esi
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [edx], ax
jne 0x10025ca4
xor ecx, ecx
jmp 0x10025cc5
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025cb0
sub ecx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.10008730
cmp word [ebp - 0x420], 0
mov byte [ebp - 4], 3
jne 0x10025ce4
xor eax, eax
jmp 0x10025cff
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10025cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.1000d6c0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x80000000
call edi
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x10025d8b
mov ecx, dword [ebp - 0x438]
inc eax
cmp eax, 0x7fffffff
ja 0x10025e16
add eax, eax
cmp eax, 0x1000
jb 0x10025d82
test cl, 0x1f
jne 0x10025e16
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10025e16
sub ecx, eax
cmp ecx, 4
jb 0x10025e16
cmp ecx, 0x23
ja 0x10025e16
mov ecx, eax
push ecx
call fcn.1002c8e3
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x428], 0
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x10025df1
mov ecx, dword [ebp - 0x480]
inc eax
cmp eax, 0x7fffffff
ja 0x10025e16
add eax, eax
cmp eax, 0x1000
jb 0x10025de8
test cl, 0x1f
jne 0x10025e16
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10025e16
sub ecx, eax
cmp ecx, 4
jb 0x10025e16
cmp ecx, 0x23
ja 0x10025e16
mov ecx, eax
push ecx
call fcn.1002c8e3
add esp, 4
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x10025bc0
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x10025e5f
mov ecx, dword [ebp - 0x450]
inc eax
cmp eax, 0x7fffffff
jbe 0x10025e1b
call fcn.10047451
add eax, eax
cmp eax, 0x1000
jb 0x10025e56
test byte [ebp - 0x450], 0x1f
je 0x10025e32
call fcn.10047451
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10025e3e
call fcn.10047451
sub ecx, eax
cmp ecx, 4
jae 0x10025e4a
call fcn.10047451
cmp ecx, 0x23
jbe 0x10025e54
call fcn.10047451
mov ecx, eax
push ecx
call fcn.1002c8e3
add esp, 4
xor eax, eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x440], 0
cmp eax, 8
jb 0x10025ede
mov ecx, dword [ebp - 0x468]
inc eax
cmp eax, 0x7fffffff
jbe 0x10025e9a
call fcn.10047451
add eax, eax
cmp eax, 0x1000
jb 0x10025ed5
test byte [ebp - 0x468], 0x1f
je 0x10025eb1
call fcn.10047451
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10025ebd
call fcn.10047451
sub ecx, eax
cmp ecx, 4
jae 0x10025ec9
call fcn.10047451
cmp ecx, 0x23
jbe 0x10025ed3
call fcn.10047451
mov ecx, eax
push ecx
call fcn.1002c8e3
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret