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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a40d
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x71cf78]
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 0x40be30
mov ax, word [0x690b6c]
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 0x40be60
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40be70
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 0x40bea6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0062c96b
add esp, 8
cmp eax, 0xffffffff
jne 0x40c041
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40c041
lea eax, [ebp - 0x324]
push eax
push 0x695110
push 1
push 0
push 0x699050
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c03b
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 0x40c0bf
mov edi, esi
lea ecx, [edx + 4]
sub edi, edx
cmp ecx, esi
jle 0x40bf2c
mov ebx, edi
test ebx, ebx
jle 0x40bfac
jmp 0x40bf31
mov ebx, 4
sub edi, ebx
sub esi, ebx
inc edi
cmp dword [eax - 4], 1
jle 0x40bf50
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 0x40bf83
test eax, eax
jne 0x40bf74
call fcn.0061240c
mov dword [eax], 0x16
call fcn.006122ab
mov eax, 0x16
jmp 0x40bf85
test ecx, ecx
je 0x40bf5d
push edi
push ecx
push eax
call fcn.00605a30
add esp, 0xc
xor eax, eax
push eax
call fcn.0040b840
add esp, 4
test esi, esi
js 0x40c0c9
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40c0c9
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 0x6963c0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40c02c
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00605fb0
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 0x40c05f
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 0x40c07d
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 0x40c09c
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.006027d7
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.004020e0
push 0x80070057
call fcn.004020e0
int3