Function at 0x40c360
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf6f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x40c3a1
mov eax, dword [esi]
jmp 0x40c3a3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [ebp - 0x2c]
push eax
push 0x4a6bf0
push 1
push 0
push 0x4a6c40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40c3e7
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40c50d
cmp dword [edi + 0x14], 8
jb 0x40c3f1
mov edx, dword [edi]
jmp 0x40c3f3
mov edx, edi
mov eax, dword [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [edi + 0x14], 8
jb 0x40c405
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x28]
call fcn.00405720
push 1
push ecx
push 0x4b38a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040da10
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405690
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x40c46d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c450
mov ecx, dword [ebp - 0x28]
inc edx
push 2
call fcn.004044e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040ddf0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x40c487
mov ecx, dword [ebp - 0x48]
inc edx
push 2
call fcn.004044e0
add esp, 4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x4a6c30
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40c4d7
cmp dword [esi + 0x14], 8
jb 0x40c4b9
mov esi, dword [esi]
mov eax, dword [ebp - 0x30]
push 2
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c4f9
mov ecx, dword [ebp - 0x28]
inc edx
push 2
call fcn.004044e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov edx, dword [ebp + 0x28]
cmp edx, 8
jb 0x40c523
mov ecx, dword [ebp + 0x14]
inc edx
push 2
call fcn.004044e0
add esp, 4
mov edx, dword [ebp + 0x40]
xor eax, eax
mov dword [ebp + 0x28], 7
mov dword [ebp + 0x24], 0
mov word [ebp + 0x14], ax
cmp edx, 8
jb 0x40c54d
mov ecx, dword [ebp + 0x2c]
inc edx
push 2
call fcn.004044e0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049abdf
mov esp, ebp
pop ebp
ret 0x3c