Function at 0x40864e
Capabilities:
Delete registry key

Disassembly:
push 0x474
mov eax, 0x596f3a
call fcn.00410ff3
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.00431720
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00431720
push str._shellexContextMenuHandlers_
mov esi, 0x59bb7c
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00402189
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00402189
add esp, 0x30
call fcn.0041555d
test al, al
je 0x4086cc
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.004155a2
test al, al
je 0x4086ec
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.00415968
test al, al
je 0x408708
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x478], ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov esi, 0x59c330
mov dword [ebp - 0x424], 7
push esi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x480]
call fcn.0040784b
xor edi, edi
mov byte [ebp - 4], bl
push ebx
inc edi
lea ecx, [ebp - 0x438]
push edi
call fcn.00401bfd
xor eax, eax
mov dword [ebp - 0x424], 7
mov esi, 0x59c334
mov dword [ebp - 0x428], ebx
push esi
mov word [ebp - 0x438], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x480]
call fcn.0040784b
push ebx
push edi
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.00401bfd
xor eax, eax
mov dword [ebp - 0x424], 7
mov esi, 0x59c344
mov dword [ebp - 0x428], ebx
push esi
mov word [ebp - 0x438], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x480]
call fcn.0040784b
push ebx
push edi
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.00401bfd
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
mov esi, str.Drive
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x480]
call fcn.0040784b
push ebx
push edi
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.00401bfd
xor eax, eax
mov dword [ebp - 0x424], 7
mov esi, str.lnkfile
mov dword [ebp - 0x428], ebx
push esi
mov word [ebp - 0x438], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x480]
call fcn.0040784b
push ebx
push edi
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.00401bfd
call fcn.004156b6
test al, al
je 0x4088f8
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.00415b06
test al, al
je 0x408914
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0041580f
test al, al
je 0x40893b
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
and dword [ebp - 0x458], 0
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov ebx, dword [ebp - 0x480]
mov byte [ebp - 4], 6
jmp 0x408ca3
call fcn.004155a2
test al, al
je 0x40897f
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.00415a37
test al, al
je 0x40899e
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
mov ebx, dword [ebp - 0x46c]
cmp dword [ebx + 0x14], 8
jb 0x4089a8
mov eax, dword [ebx]
jmp 0x4089aa
mov eax, ebx
push eax
lea ecx, [ebp - 0x450]
call fcn.0040135f
cmp word [ebp - 0x218], 0
mov byte [ebp - 4], 7
jne 0x4089c8
xor eax, eax
jmp 0x4089d5
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.00401cf3
call fcn.00415671
test al, al
je 0x408a06
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.00415ac1
test al, al
je 0x408a29
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.0041555d
test al, al
je 0x408a4e
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
mov ebx, dword [ebp - 0x46c]
call fcn.00415a37
test al, al
je 0x408a6c
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
cmp dword [ebx + 0x14], 8
jb 0x408a74
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x438]
call fcn.0040135f
cmp word [ebp - 0x420], 0
mov byte [ebp - 4], 8
jne 0x408a92
xor eax, eax
jmp 0x408a9f
lea eax, [ebp - 0x420]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401cf3
call fcn.004158de
test al, al
je 0x408ad6
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.00415923
test al, al
je 0x408af6
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0041562c
test al, al
je 0x408b14
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
xor edx, edx
lea ecx, [ebp - 0x470]
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
push edx
cmovae eax, dword [ebp - 0x450]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push bind
mov dword [ebp - 0x470], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408b6e
push 0x59baf0
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004156b6
test al, al
je 0x408b8d
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.00415785
test al, al
je 0x408bb2
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.004156b6
test al, al
je 0x408bd2
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
xor ebx, ebx
lea ecx, [ebp - 0x474]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ebx
cmovae eax, dword [ebp - 0x438]
push ecx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push eax
push bind
mov dword [ebp - 0x474], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408c7a
call fcn.004158de
test al, al
je 0x408c37
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.00415899
test al, al
je 0x408c5d
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
xor ebx, ebx
push 0x59baf0
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00401bfd
push ebx
push 1
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.00401bfd
mov ebx, dword [ebp - 0x46c]
add ebx, 0x18
mov dword [ebp - 0x46c], ebx
cmp ebx, dword [ebp - 0x47c]
jne 0x408964
push 0
push 1
lea ecx, [ebp - 0x468]
call fcn.00401bfd
lea ecx, [ebp - 0x480]
call fcn.0040774d
call fcn.00410fae
ret