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

Disassembly:
push 0xffffffffffffffff
push 0x44f288
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x314], eax
push esi
push edi
mov eax, dword [0x46b9d8]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
push 0
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [esp + 0x33c], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x14]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4093e0
mov cx, word [0x454a74]
push str..lnk
lea edx, [esp + 0x340]
push edx
lea eax, [esp + 0x14]
push eax
mov word [edi], cx
call fcn.004053d0
mov eax, dword [eax]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x409412
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x409426
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xc]
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 0x40945e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.004384ae
mov esi, dword [esp + 0x33c]
add esp, 8
cmp eax, 0xffffffff
jne 0x409563
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x409563
lea edx, [esp + 0x10]
push edx
push 0x457660
push 1
push 0
push 0x457670
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40955d
mov eax, dword [esp + 0x33c]
mov eax, dword [eax - 0xc]
push 4
add eax, 0xfffffffc
push eax
lea ecx, [esp + 0x344]
call fcn.00407850
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4576b0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x409551
push 0x206
lea ecx, [esp + 0x11e]
push 0
push ecx
mov word [esp + 0x124], 0
call fcn.00438170
add esp, 0xc
push 0x104
lea edx, [esp + 0x11c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x11c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov byte [esp + 0x32c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x338]
add eax, 0xfffffff0
mov byte [esp + 0x32c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x33c]
add eax, 0xfffffff0
mov dword [esp + 0x32c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00437a5c
add esp, 0x324
ret 0xc