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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae01
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4086ca
lea eax, [ebp - 0x84c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4086be
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x84c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4086ac
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x840], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408693
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
jmp 0x4086ef
mov eax, dword [ebp - 0x850]
push dword [ebp - 0x84c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x850]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0
push 0
movups xmmword [ebp - 0x840], xmm0
mov dword [ebp - 0x82c], 0
push 0x5d1068
lea ecx, [ebp - 0x840]
call fcn.00403b60
mov dword [ebp - 4], 0
cmp dword [ebp - 0x830], 0
jne 0x408716
mov byte [ebp - 0x851], 0
jmp 0x408a64
push 1
push 0x5d1044
lea ecx, [ebp - 0x840]
call fcn.004036e0
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
xor eax, eax
mov dword [ebp - 0x814], 7
movups xmmword [ebp - 0x828], xmm0
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 1
mov eax, SysReAllocString
mov edx, dword [ebp - 0x830]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x408ac1
cmp dword [ebp - 0x82c], 7
lea eax, [ebp - 0x840]
cmova eax, dword [ebp - 0x840]
cmp dword [esi + 0x14], 7
jbe 0x408787
mov esi, dword [esi]
push ecx
push esi
push edx
push eax
push ecx
push dword [ebp - 0x844]
lea ecx, [ebp - 0x884]
call fcn.00404fd0
mov ecx, dword [ebp - 0x814]
cmp ecx, 7
jbe 0x4087dd
mov edx, dword [ebp - 0x828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4087d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408acb
push ecx
push edx
call fcn.004234d3
add esp, 8
movups xmm0, xmmword [ebp - 0x884]
push 4
push str..lnk
movups xmmword [ebp - 0x828], xmm0
lea ecx, [ebp - 0x828]
movq xmm0, qword [ebp - 0x874]
movq qword [ebp - 0x818], xmm0
call fcn.004036e0
cmp dword [ebp - 0x814], 7
lea edx, [ebp - 0x828]
xorps xmm0, xmm0
mov dword [ebp - 0x874], 0
cmova edx, dword [ebp - 0x828]
mov ecx, edx
mov dword [ebp - 0x870], 0
movups xmmword [ebp - 0x884], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408844
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x884]
call fcn.00403b60
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 7
jbe 0x40886c
mov edi, dword [edi]
mov ecx, edi
mov dword [ebp - 0x85c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x858], 0
movups xmmword [ebp - 0x86c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408890
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x86c]
call fcn.00403b60
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x848]
push eax
push 0x581800
push 1
push 0
push 0x581810
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4088e3
mov byte [ebp - 0x851], 0
jmp 0x40896a
mov eax, dword [ebp - 0x848]
lea edx, [ebp - 0x86c]
cmp dword [ebp - 0x858], 7
cmova edx, dword [ebp - 0x86c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x848]
lea edx, [ebp - 0x844]
push edx
push 0x581830
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x408928
mov byte [ebp - 0x851], 0
jmp 0x40896a
mov eax, dword [ebp - 0x844]
lea edx, [ebp - 0x884]
cmp dword [ebp - 0x870], 7
push 2
cmova edx, dword [ebp - 0x884]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x844]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x848]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0x851], 1
mov ecx, dword [ebp - 0x858]
cmp ecx, 7
jbe 0x4089aa
mov edx, dword [ebp - 0x86c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ac6
push ecx
push edx
call fcn.004234d3
add esp, 8
mov ecx, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 7
mov word [ebp - 0x86c], ax
cmp ecx, 7
jbe 0x408a07
mov edx, dword [ebp - 0x884]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ac6
push ecx
push edx
call fcn.004234d3
add esp, 8
mov ecx, dword [ebp - 0x814]
cmp ecx, 7
jbe 0x408a47
mov edx, dword [ebp - 0x828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408acb
push ecx
push edx
call fcn.004234d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
mov ecx, dword [ebp - 0x82c]
cmp ecx, 7
jbe 0x408aa0
mov edx, dword [ebp - 0x840]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408acb
push ecx
push edx
call fcn.004234d3
add esp, 8
mov al, byte [ebp - 0x851]
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.00423495
mov esp, ebp
pop ebp
ret
call fcn.00401370
call fcn.0054d06c
call fcn.0054d06c
int3