Function at 0x40e363
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xf0
mov eax, 0x554f1b
call fcn.00527c18
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov esi, ecx
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xdc], eax
call fcn.0040e66c
mov ebx, 0x585004
push ebx
push eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.0040adbd
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.0040adbd
pop ecx
pop ecx
push str..lnk
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040adbd
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00409659
push 1
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.00409659
push 1
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00409659
cmp dword [ebp - 0xdc], 2
je 0x40e44a
cmp dword [ebp - 0xdc], 0x17
jne 0x40e55f
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x4c]
call fcn.0040e66c
push ebx
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.0040adbd
pop ecx
pop ecx
push dword [ebp - 0xf4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x84]
call fcn.0040adbd
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00409383
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.00409659
push ebx
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.00409659
push ebx
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00409659
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x40e4c9
lea eax, [ebp - 0x30]
push 2
push eax
call fcn.00522f0f
pop ecx
pop ecx
test eax, eax
je 0x40e4e8
lea eax, [ebp - 0x30]
push eax
call fcn.0040e71f
test eax, eax
je 0x40e635
push 0x585004
lea esi, [ebp - 0x84]
call fcn.0040829d
push dword [ebp - 0xf8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x68]
call fcn.0040adbd
pop ecx
pop ecx
push str..lnk
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.0040adbd
pop ecx
pop ecx
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00409c4f
push ebx
xor edi, edi
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.00409659
push ebx
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00409659
push ebx
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00409659
lea eax, [ebp - 0xe0]
push eax
push 0x583850
xor ebx, ebx
inc ebx
push ebx
push 0
push 0x583b50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40e635
mov eax, dword [ebp - 0xe0]
push dword [ebp - 0xf0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0xe0]
push dword [ebp - 0xec]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0xe8], 0
je 0x40e5c3
mov eax, dword [ebp - 0xe0]
push dword [ebp - 0xe8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xe0]
push dword [ebp - 0xe4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
lea edx, [ebp - 0xdc]
push edx
push 0x583bb0
push eax
call dword [ecx]
test eax, eax
js 0x40e629
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x40e5fc
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00409659
mov eax, ebx
jmp 0x40e646
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00409659
xor eax, eax
call fcn.00527c74
ret 0x18