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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005136c
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1006e090]
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.1002da90
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1002da90
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push str.WinAssist
push str._shellexContextMenuHandlers_
push str._s_s
push eax
call esi
push str.WinAssist
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push str._s_s
push eax
call esi
add esp, 0x38
mov dword [ebp - 0x440], 0
xor eax, eax
mov dword [ebp - 0x43c], 7
lea ecx, [ebp - 0x450]
mov word [ebp - 0x450], ax
push 6
push str.CLSID_
call fcn.10002af0
push 0x26
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0
call fcn.10002630
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x480]
call fcn.10002df0
push 0xf
push str.InprocServer32
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 1
call fcn.10002630
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmovae eax, dword [ebp - 0x480]
push eax
push 0x80000000
call ebx
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push 0x80000000
call ebx
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 0x10013d17
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10012dd0
mov ebx, eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x10013f23
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10013d3a
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x458], 0
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013d60
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x468]
call fcn.10002af0
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013d90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.10002630
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10013ddc
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov eax, edx
mov dword [ebp - 0x424], 7
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10013e00
sub eax, edi
lea ecx, [ebp - 0x438]
sar eax, 1
push eax
push edx
call fcn.10002af0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013e30
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.10002630
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10013eb6
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013eac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013fdd
push edx
push ecx
call fcn.100162e0
add esp, 8
mov edx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10013f17
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013fdd
push edx
push ecx
call fcn.100162e0
add esp, 8
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x10013d30
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x10013f63
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013fdd
push edx
push ecx
call fcn.100162e0
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
cmp edx, 8
jb 0x10013fbc
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013fe2
push edx
push ecx
call fcn.100162e0
add esp, 8
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.1001689f
mov esp, ebp
pop ebp
ret
call fcn.10031bb9
call fcn.10031bb9
int3