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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0508
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4c2100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x4a2400
mov dword [ebp - 0xe4], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x40e12e
xor bl, bl
jmp 0x40e2de
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004786f0
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00410e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0xe4]
call fcn.00417410
mov edx, 0x4bb120
mov ecx, eax
call fcn.00417410
cmp dword [ebp + 0x1c], 7
lea edx, [ebp + 8]
push dword [ebp + 0x18]
cmova edx, dword [ebp + 8]
mov ecx, eax
call fcn.0041a6d0
add esp, 4
mov edx, str..lnk
mov ecx, eax
call fcn.00417750
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00410cf0
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40e283
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push 0x4a2410
push 0x17
push 0
push 0x4a2440
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40e283
mov edx, dword [ebp - 0xdc]
cmp dword [ebp + 0x34], 7
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push eax
push edx
call ecx
mov edx, dword [ebp - 0xdc]
cmp dword [ebp + 0x34], 7
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x44]
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push eax
push edx
call ecx
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0xe0]
push edx
mov dword [ebp - 0xe0], 0
push 0x4a2430
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
js 0x40e283
mov edx, dword [ebp - 0xe0]
cmp dword [ebp - 0x14], 7
push 1
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push edx
call ecx
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0xe4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov bl, 1
jmp 0x40e285
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40e2bf
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e2b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e37a
push ecx
push edx
call fcn.00476bd7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040dae0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x40e314
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e30a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e37a
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x40e35e
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e354
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e37a
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476631
mov esp, ebp
pop ebp
ret
call fcn.0047fa03
int3