Function at 0x40c613
Capabilities:
Delete registry key

Disassembly:
push 0x470
mov eax, 0x47c662
call fcn.004267c5
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004558f0
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004558f0
push str._shellexContextMenuHandlers_
mov esi, 0x481278
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0040a7e5
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0040a7e5
add esp, 0x30
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
push 0x4819a8
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], ebx
call fcn.00407a3e
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x47c]
call fcn.00409dc5
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.0040782f
push 0x4819ac
lea ecx, [ebp - 0x438]
call fcn.00407a3e
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x47c]
call fcn.00409dc5
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.0040782f
push str.Directory
lea ecx, [ebp - 0x438]
call fcn.00407a3e
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x47c]
call fcn.00409dc5
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.0040782f
push str.Drive
lea ecx, [ebp - 0x438]
call fcn.00407a3e
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x47c]
call fcn.00409dc5
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.0040782f
push str.lnkfile
lea ecx, [ebp - 0x438]
call fcn.00407a3e
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x47c]
call fcn.00409dc5
lea ecx, [ebp - 0x438]
call fcn.0040782f
xor eax, eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov esi, dword [ebp - 0x47c]
mov byte [ebp - 4], 6
cmp esi, dword [ebp - 0x478]
je 0x40c905
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c7c6
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x468]
call fcn.00407a3e
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
call fcn.00458389
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.00407868
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c800
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x450]
call fcn.00407a3e
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 8
push eax
call fcn.00458389
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00407868
xor edx, edx
lea ecx, [ebp - 0x46c]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push edx
cmovae eax, dword [ebp - 0x468]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push bind
mov dword [ebp - 0x46c], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c886
push 0x480424
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x46c]
call ebx
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 0x40c8dc
push 0x480424
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x470]
call ebx
lea ecx, [ebp - 0x450]
call fcn.0040782f
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 6
call fcn.0040782f
add esi, 0x18
cmp esi, dword [ebp - 0x478]
jne 0x40c7bc
lea ecx, [ebp - 0x438]
call fcn.0040782f
lea ecx, [ebp - 0x47c]
call fcn.004089c5
call fcn.00426780
ret