Function at 0x40e0a0
Capabilities:
Create shortcut via ishelllink
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push esi
mov dword [ebp - 4], 3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x23e]
push eax
call fcn.004486f0
mov eax, dword [0x476478]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
push 0
push 0x104
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
lea ecx, [ebp - 0x24]
mov esi, dword [ebp + 8]
call fcn.00414150
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
or ebx, 0xffffffff
test eax, eax
jne 0x40e133
mov byte [ebp - 4], 3
jmp 0x40e454
mov eax, dword [0x476478]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0xc]
test esi, esi
js 0x40e2b6
mov eax, dword [0x476478]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
cmp dword [eax - 8], 0
je 0x40e176
cmp dword [eax - 0x20], 0
lea ecx, [ebp - 0x10]
jl 0x40e16c
call fcn.00427ff0
jmp 0x40e176
push 0x46155c
call fcn.00409040
push 1
push esi
lea eax, [ebp - 0x240]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409040
lea eax, [ebp - 0x240]
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409040
push 0x461514
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409410
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x10]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004093a0
mov byte [ebp - 4], 8
push str..lnk
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409410
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
push eax
call fcn.00408f00
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e22d
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e22d
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e25c
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e25c
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e28b
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e28b
mov eax, dword [ebp - 0x18]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e2c2
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e2c2
push ecx
call fcn.004471aa
add esp, 4
jmp 0x40e2c2
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00408f00
mov eax, dword [0x476478]
push edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00416da0
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [esi - 8]
add eax, eax
mov dword [esi - 4], eax
call fcn.0040df70
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x4661e0
push 1
push 0
push 0x466210
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [ebp - 0x20]
test eax, eax
js 0x40e3fd
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0x466200
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40e3ca
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40e3ca
mov eax, 0xb
lea edx, [ebp - 0x38]
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 0x20]
neg eax
push edx
sbb eax, eax
neg eax
dec eax
mov word [ebp - 0x30], ax
mov eax, dword [ecx]
push 0x4614a4
push ecx
call dword [eax + 0x18]
mov eax, 0x13
lea edx, [ebp - 0x38]
mov word [ebp - 0x38], ax
xor eax, eax
cmp dword [ebp + 0x1c], eax
push edx
setne al
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
push 0x4614e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push 0x4661f0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40e3f4
mov eax, dword [ebp - 0x1c]
push 1
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 5
lea eax, [esi - 0x20]
cmp eax, dword [0x476474]
je 0x40e429
add esi, 0xffffffe0
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x40e429
push esi
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 4
lea eax, [edi - 0x20]
cmp eax, dword [0x476474]
je 0x40e44f
add edi, 0xffffffe0
mov eax, ebx
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e44f
push edi
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 3
pop edi
mov eax, dword [ebp - 0x24]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e479
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e479
push ecx
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e4a8
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e4a8
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e4d7
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e4d7
mov eax, dword [ebp + 0x10]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e506
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40e506
mov eax, dword [ebp + 0x14]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40e536
add eax, 0xffffffe0
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40e536
mov eax, dword [ebp + 0x18]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret