Function at 0x1021539
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1028058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
push 0x1002964
push 1
xor edi, edi
push edi
push 0x1002974
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10217fc
cmp dword [ebp + 0x20], edi
je 0x10215c6
push dword [ebp + 0x20]
lea eax, [ebp - 0x20c]
push 0x1002490
push 0x104
push eax
call fcn.0101ff8b
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push 0x1002460
push eax
call dword [ecx + 0x24]
push 0x29
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x10216a3
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x210]
push edx
push 0x1002450
push eax
call dword [ecx]
mov ebx, eax
cmp ebx, edi
jl 0x10216a2
cmp esi, edi
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
je 0x1021647
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.01020ac0
test eax, eax
jl 0x1021694
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x230]
push edx
push 0x100293c
push eax
call dword [ecx + 0x18]
mov ebx, eax
lea eax, [ebp - 0x230]
push eax
call edi
test ebx, ebx
jl 0x1021694
push 0xb
pop eax
mov word [ebp - 0x230], ax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
lea edx, [ebp - 0x230]
push edx
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push 0x1002950
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x102168b
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x230]
push eax
call edi
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
pop ebx
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x10217f0
cmp dword [ebp - 0x21c], edi
je 0x10216df
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x21c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x10217f0
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x100292c
push eax
call dword [ecx]
test eax, eax
jl 0x10217f0
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x218]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10217e4
push 0x25
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102173f
push dword [ebp + 0x1c]
push 0x1002410
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
jmp 0x10217e4
push edi
push edi
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x218]
mov dword [ebp - 0x210], edi
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
jl 0x10217e4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1002400
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], edi
call dword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
jl 0x10217d8
mov eax, dword [0x102837c]
cmp eax, edi
jne 0x102179a
call fcn.0101f864
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x20c]
push edx
push dword [ebp - 0x21c]
push edi
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01023ead
leave
ret 0x1c