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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fe58
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x58deec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x10
lea eax, [ebp - 0x114]
push eax
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [ebp - 0x114]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x409fc0
mov cx, word [0x541364]
push str..lnk
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x320]
push eax
mov word [edi], cx
call fcn.00405750
mov eax, dword [eax]
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x409ff0
lea edi, [ebp - 0x114]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a002
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x320]
and ecx, 3
add eax, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a03a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x114]
push 0
push ecx
call fcn.00516375
add esp, 8
cmp eax, 0xffffffff
jne 0x40a140
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40a140
lea edx, [ebp - 0x324]
push edx
push 0x544330
push 1
push 0
push 0x5443e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40a13a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
push 4
add eax, 0xfffffffc
push eax
lea ecx, [ebp + 0x10]
call fcn.00408050
mov eax, dword [ebp - 0x324]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 0x324]
mov ecx, dword [eax]
lea edx, [ebp - 0x320]
push edx
push 0x544370
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x40a12c
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x31a]
push edx
mov word [ebp - 0x31c], cx
call fcn.005160e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x114]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x320]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 0
lea ecx, [ebp - 0x31c]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x324]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a163
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005156a7
mov esp, ebp
pop ebp
ret 0xc