Function at 0x40ae40
Capabilities:
Create shortcut via ishelllink
Delete file
Get common file path
Move file
Persist via lnk shortcut

Disassembly:
push 0xffffffffffffffff
push 0x50e084
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x8c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8d8]
xor ebx, ebx
push 0x206
mov dword [esp + 0x8d4], ebx
lea eax, [esp + 0x4ba]
push ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x4c0], bx
call fcn.004f1960
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x14]
push ecx
push 0x5178cc
push 1
push ebx
push 0x5178dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b157
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x18]
push ecx
push 0x51790c
push eax
call edx
cmp eax, ebx
jl 0x40b157
mov edi, 7
mov eax, ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40af10
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x28]
call fcn.00407330
mov eax, esi
push eax
lea esi, [esp + 0x40]
mov byte [esp + 0x8d4], 1
call fcn.00449590
add esp, 4
mov byte [esp + 0x8d0], 2
cmp dword [eax + 0x18], 8
jb 0x40af54
mov eax, dword [eax + 4]
jmp 0x40af57
add eax, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp dword [esp + 0x54], 8
mov esi, eax
jb 0x40af7b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004e7d7e
add esp, 4
mov byte [esp + 0x8d0], bl
cmp dword [esp + 0x38], 8
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40afa3
mov edx, dword [esp + 0x24]
push edx
call fcn.004e7d7e
add esp, 4
cmp esi, ebx
jl 0x40b157
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 4
lea edx, [esp + 0x60]
push edx
push 0x104
lea edx, [esp + 0x4c0]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40b157
lea eax, [esp + 0x88]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40afe0
sub eax, edx
sar eax, 1
je 0x40b157
lea edi, [esp + 0x88]
call fcn.0040ada0
cmp eax, 0xffffffff
je 0x40b157
push 1
push 0x15
lea ecx, [esp + 0x6c4]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b157
mov edx, edi
push edx
lea eax, [esp + 0x6c0]
push eax
lea ecx, [esp + 0x2b4]
push str._s_s.lnk
push ecx
call fcn.004e89fd
mov ecx, dword [esp + 0x8f0]
add esp, 0x10
cmp dword [esp + 0x8f4], 8
jae 0x40b05d
lea ecx, [esp + 0x8e0]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp eax, ebx
jl 0x40b157
lea eax, [esp + 0x2ac]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b090
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2b0]
push ecx
lea esi, [esp + 0x28]
call fcn.00407330
mov edx, esi
push edx
lea esi, [esp + 0x40]
mov byte [esp + 0x8d4], 3
call fcn.00449590
add esp, 4
mov edi, 8
mov byte [esp + 0x8d0], 4
cmp dword [eax + 0x18], edi
jb 0x40b0df
mov eax, dword [eax + 4]
jmp 0x40b0e2
add eax, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
cmp dword [esp + 0x54], edi
mov esi, eax
jb 0x40b106
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004e7d7e
add esp, 4
mov byte [esp + 0x8d0], bl
cmp dword [esp + 0x38], edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40b131
mov edx, dword [esp + 0x24]
push edx
call fcn.004e7d7e
add esp, 4
cmp esi, ebx
jl 0x40b157
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40b157
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40b167
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b177
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x8f4], 8
jb 0x40b191
mov eax, dword [esp + 0x8e0]
push eax
call fcn.004e7d7e
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x8c0
ret