Function at 0x40bc50
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66116d
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x714f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x10
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [ebp - 0x114]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40bca0
mov ax, word [0x687b0c]
mov word [edi], ax
lea eax, [ebp + 0x10]
push str..lnk
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00406fc0
add esp, 0xc
mov edx, dword [eax]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x40bcd0
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40bce0
mov ecx, edx
or ebx, 0xffffffff
shr ecx, 2
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x320]
and ecx, 3
add edx, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bd16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00623b65
add esp, 8
cmp eax, 0xffffffff
jne 0x40beb1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40beb1
lea eax, [ebp - 0x324]
push eax
push 0x68c038
push 1
push 0
push 0x68fe98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40beab
mov eax, dword [ebp + 0x10]
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [esi - 4]
test ecx, ecx
cmovns edx, ecx
mov dword [ebp - 0x328], edx
cmp edx, 0x7ffffffb
jg 0x40bf2f
mov edi, esi
lea ecx, [edx + 4]
sub edi, edx
cmp ecx, esi
jle 0x40bd9c
mov ebx, edi
test ebx, ebx
jle 0x40be1c
jmp 0x40bda1
mov ebx, 4
sub edi, ebx
sub esi, ebx
inc edi
cmp dword [eax - 4], 1
jle 0x40bdc0
push dword [eax - 0xc]
lea ecx, [ebp + 0x10]
call fcn.00402a60
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x328]
add eax, edx
lea ecx, [eax + ebx]
test edi, edi
je 0x40bdf3
test eax, eax
jne 0x40bde4
call fcn.00611c89
mov dword [eax], 0x16
call fcn.00611b62
mov eax, 0x16
jmp 0x40bdf5
test ecx, ecx
je 0x40bdcd
push edi
push ecx
push eax
call fcn.006056e0
add esp, 0xc
xor eax, eax
push eax
call fcn.0040b6b0
add esp, 4
test esi, esi
js 0x40bf39
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40bf39
mov dword [eax - 0xc], esi
mov eax, dword [ebp + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x324]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x324]
lea edx, [ebp - 0x320]
push edx
push 0x68d2c8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40be9c
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00605c60
add esp, 0xc
lea eax, [ebp - 0x31c]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x320]
lea edx, [ebp - 0x31c]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or ebx, 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40becf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40beed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40bf0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060249b
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.004020e0
push 0x80070057
call fcn.004020e0
int3