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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x697efd
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x75f140]
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 0x40dae0
mov ax, word [0x6c1a10]
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 0x40db10
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40db20
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 0x40db56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00657e20
add esp, 8
cmp eax, 0xffffffff
jne 0x40dcf5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40dcf5
lea eax, [ebp - 0x324]
push eax
push 0x6c6434
push 1
push 0
push 0x6ca384
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40dcef
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 0x40dd73
lea ecx, [edx + 4]
cmp ecx, esi
jle 0x40dbdc
mov ebx, esi
sub ebx, edx
mov edi, ebx
test ebx, ebx
jle 0x40dc60
jmp 0x40dbe5
mov edi, esi
mov ebx, 4
sub edi, edx
sub edi, ebx
sub esi, ebx
inc edi
cmp dword [eax - 4], 1
jle 0x40dc04
push dword [eax - 0xc]
lea ecx, [ebp + 0x10]
call fcn.00402aa0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x328]
add eax, edx
lea ecx, [eax + ebx]
test edi, edi
je 0x40dc37
test eax, eax
jne 0x40dc28
call fcn.0063dccb
mov dword [eax], 0x16
call fcn.0063db6a
mov eax, 0x16
jmp 0x40dc39
test ecx, ecx
je 0x40dc11
push edi
push ecx
push eax
call fcn.0062fb30
add esp, 0xc
xor eax, eax
push eax
call fcn.0040d920
add esp, 4
test esi, esi
js 0x40dd7d
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40dd7d
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 0x6c76f4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40dce0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.006300b0
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 0x40dd13
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 0x40dd31
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 0x40dd50
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.00609c1d
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.00402130
push 0x80070057
call fcn.00402130
int3