Function at 0x405a6a
Capabilities:
Delete registry key

Disassembly:
push 0x678
mov eax, 0x58b200
call fcn.0055f097
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.00561510
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00561510
push str._shellexContextMenuHandlers_
mov esi, 0x58f94c
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00402c17
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00402c17
add esp, 0x30
mov dword [ebp - 0x684], ebx
mov dword [ebp - 0x680], ebx
mov dword [ebp - 0x67c], ebx
push 0x590130
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], ebx
call fcn.00401302
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x684]
call fcn.00403d9e
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], bl
call fcn.004014e8
push 0x590134
lea ecx, [ebp - 0x640]
call fcn.00401302
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x684]
call fcn.00403d9e
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], bl
call fcn.004014e8
push 0x590144
lea ecx, [ebp - 0x640]
call fcn.00401302
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x684]
call fcn.00403d9e
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], bl
call fcn.004014e8
push str.Drive
lea ecx, [ebp - 0x640]
call fcn.00401302
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x684]
call fcn.00403d9e
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], bl
call fcn.004014e8
push str.lnkfile
lea ecx, [ebp - 0x640]
call fcn.00401302
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x684]
call fcn.00403d9e
lea ecx, [ebp - 0x640]
call fcn.004014e8
xor eax, eax
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
push edi
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 6
push ebx
push eax
call fcn.00561510
mov esi, dword [ebp - 0x684]
add esp, 0xc
cmp esi, dword [ebp - 0x680]
je 0x405d86
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x405c34
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x670]
call fcn.00401302
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x670]
call fcn.0040255e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x405c6e
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x658]
call fcn.00401302
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 8
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x658]
call fcn.0040255e
xor edx, edx
lea ecx, [ebp - 0x674]
cmp dword [ebp - 0x65c], 8
lea eax, [ebp - 0x670]
push edx
cmovae eax, dword [ebp - 0x670]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push closesocket
mov dword [ebp - 0x674], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405d0b
push 0x58f9c4
lea eax, [ebp - 0x628]
push 0x590174
push eax
call fcn.0040543e
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x674]
call edi
push dword [ebp - 0x674]
call ebx
xor edx, edx
lea ecx, [ebp - 0x678]
cmp dword [ebp - 0x644], 8
lea eax, [ebp - 0x658]
push edx
cmovae eax, dword [ebp - 0x658]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push closesocket
mov dword [ebp - 0x678], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405d5d
push 0x58f9c4
push dword [ebp - 0x678]
call edi
push dword [ebp - 0x678]
call ebx
lea ecx, [ebp - 0x658]
call fcn.004014e8
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 6
call fcn.004014e8
add esi, 0x18
cmp esi, dword [ebp - 0x680]
jne 0x405c2a
lea ecx, [ebp - 0x640]
call fcn.004014e8
lea ecx, [ebp - 0x684]
call fcn.00404f3f
call fcn.0055f052
ret