Function at 0x405180
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x46b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x54], eax
mov edi, ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x58], edx
push eax
push 0x44055c
push 1
push 0
push 0x4405ac
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x405348
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
push ecx
push 0x44057c
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x44026c]
call esi
test eax, eax
js 0x405348
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
push ecx
push 0x44058c
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x44026c]
call esi
test eax, eax
js 0x4052b8
mov ecx, ebx
call fcn.004069e0
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], eax
add esi, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, 0x1f
mov word [ebp - 0x50], ax
lea eax, [esi + 2]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x405288
lea ecx, [esi + 2]
push ecx
push 0
push eax
call fcn.00422210
add esp, 0xc
push esi
push ebx
push dword [ebp - 0x48]
call fcn.00423850
mov eax, dword ds:[ebp - 0x38]
lea ecx, [ebp - 0x50]
add esp, 0xc
mov esi, dword [eax]
push ecx
push 0x4640c0
push eax
mov esi, dword [esi + 0x18]
mov ecx, esi
call dword [0x44026c]
call esi
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x44026c]
call esi
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x44026c]
call esi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x44026c]
call esi
mov eax, dword ds:[ebp - 0x34]
mov ebx, dword [ebp - 0x58]
push 0
push ebx
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x44026c]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x44026c]
call esi
lea esp, [esp]
test eax, eax
js 0x405348
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.00411040
test eax, eax
jns 0x405327
cmp eax, 0xc0000043
je 0x405327
lea esp, [esp]
cmp eax, 0xc0000022
jne 0x40532e
mov ecx, edi
call fcn.00411110
mov eax, dword ds:[ebp - 0x3c]
push 1
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x44026c]
call esi
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40535f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x44026c]
call esi
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x405376
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x44026c]
call esi
push 0
push edi
push 5
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420701
mov esp, ebp
pop ebp
ret 8