Function at 0x415ff0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path
Get file attributes
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4404c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x620
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x638], ebx
mov dword [esp + 0x14], ebx
push ebx
mov byte [esp + 0x63c], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
lea eax, [esp + 0x224]
push 0x1a
push eax
push ebx
call ebp
test eax, eax
jne 0x416080
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
cmp eax, ebx
je 0x41605c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x416215
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x4162b4
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [esp + 0x220]
push eax
push 0x45f1b0
lea ecx, [esp + 0x20]
push 0x104
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call edi
cmp eax, 0xffffffff
jne 0x416115
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push 0x45f10c
push 0x104
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call edi
cmp eax, 0xffffffff
jne 0x416115
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
cmp eax, ebx
je 0x4160f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x416215
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x4162b4
push ebx
lea eax, [esp + 0x224]
push 0x26
push eax
push ebx
call ebp
test eax, eax
jne 0x416160
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
cmp eax, ebx
je 0x41613c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x416215
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x4162b4
lea eax, [esp + 0x220]
lea ecx, [esp + 0x428]
push eax
push 0x45f0c8
push 0x104
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x444904
push 1
push ebx
push 0x444924
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4161d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
cmp eax, ebx
je 0x4161b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x416215
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x4162b4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x444934
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x41621c
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
cmp eax, ebx
je 0x4161fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x416215
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x4162b4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x428]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push 0x45f094
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
push 0x45f064
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x428]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ecx, ecx
cmp eax, ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x638], bl
setge cl
cmp eax, ebx
mov esi, ecx
je 0x416299
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x638], 0xffffffff
cmp eax, ebx
je 0x4162b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [esp + 0x630]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x62c
ret