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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d48c
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.10044800
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10044800
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.1000d6b0
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.1000d6b0
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 0x10025747
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.10024df0
mov ebx, eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x1002599d
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x1002576a
mov edx, dword [esi]
jmp 0x1002576c
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 0x10025792
xor ecx, ecx
jmp 0x100257ac
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025797
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 0x100257cb
xor ecx, ecx
jmp 0x100257e3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100257d4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.1000d6b0
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 0x1002581c
mov edx, dword [esi]
jmp 0x1002581e
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 0x10025844
xor ecx, ecx
jmp 0x10025865
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025850
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 0x10025884
xor eax, eax
jmp 0x1002589f
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10025890
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.1000d6b0
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 0x1002592b
mov ecx, dword [ebp - 0x438]
inc eax
cmp eax, 0x7fffffff
ja 0x100259b6
add eax, eax
cmp eax, 0x1000
jb 0x10025922
test cl, 0x1f
jne 0x100259b6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100259b6
sub ecx, eax
cmp ecx, 4
jb 0x100259b6
cmp ecx, 0x23
ja 0x100259b6
mov ecx, eax
push ecx
call fcn.1002c495
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 0x10025991
mov ecx, dword [ebp - 0x480]
inc eax
cmp eax, 0x7fffffff
ja 0x100259b6
add eax, eax
cmp eax, 0x1000
jb 0x10025988
test cl, 0x1f
jne 0x100259b6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100259b6
sub ecx, eax
cmp ecx, 4
jb 0x100259b6
cmp ecx, 0x23
ja 0x100259b6
mov ecx, eax
push ecx
call fcn.1002c495
add esp, 4
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x10025760
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x100259ff
mov ecx, dword [ebp - 0x450]
inc eax
cmp eax, 0x7fffffff
jbe 0x100259bb
call fcn.10047054
add eax, eax
cmp eax, 0x1000
jb 0x100259f6
test byte [ebp - 0x450], 0x1f
je 0x100259d2
call fcn.10047054
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100259de
call fcn.10047054
sub ecx, eax
cmp ecx, 4
jae 0x100259ea
call fcn.10047054
cmp ecx, 0x23
jbe 0x100259f4
call fcn.10047054
mov ecx, eax
push ecx
call fcn.1002c495
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 0x10025a7e
mov ecx, dword [ebp - 0x468]
inc eax
cmp eax, 0x7fffffff
jbe 0x10025a3a
call fcn.10047054
add eax, eax
cmp eax, 0x1000
jb 0x10025a75
test byte [ebp - 0x468], 0x1f
je 0x10025a51
call fcn.10047054
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10025a5d
call fcn.10047054
sub ecx, eax
cmp ecx, 4
jae 0x10025a69
call fcn.10047054
cmp ecx, 0x23
jbe 0x10025a73
call fcn.10047054
mov ecx, eax
push ecx
call fcn.1002c495
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.1002c484
mov esp, ebp
pop ebp
ret