Function at 0x408d95
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x41e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408fdb
lea eax, [ebp - 0x214]
push eax
push 0x402e34
push 1
push 0
push 0x401074
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408fdb
cmp dword [ebp + 0x1c], 0
je 0x408e2c
push dword [ebp + 0x1c]
lea eax, [ebp - 0x210]
push 0x401fe8
push 0x104
push eax
call fcn.00407674
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
add esp, 0x10
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x214]
push 0x402038
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x218]
push edx
push 0x40284c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x408f55
test ebx, ebx
mov ebx, dword [sym.imp.ole32.dll_PropVariantClear]
je 0x408eb0
push 0x1f
pop eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
js 0x408f49
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x230]
push edx
push 0x402e8c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call ebx
test esi, esi
js 0x408f49
call fcn.0040b22d
push 0xb
pop ecx
test al, al
je 0x408eff
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x230]
neg eax
mov word [ebp - 0x230], cx
push edx
sbb eax, eax
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x218]
push 0x402e78
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call ebx
push 0xb
pop ecx
test esi, esi
js 0x408f49
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x230]
neg eax
mov word [ebp - 0x230], cx
push edx
sbb eax, eax
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x218]
push 0x402e64
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x408f40
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x230]
push eax
call ebx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x234]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x408fcf
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x408f86
mov eax, dword [ebp - 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x408fcf
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x21c]
push edx
push 0x4010b4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x408fcf
mov eax, dword [ebp - 0x21c]
push 1
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x408fc3
push dword [ebp + 0x18]
push 0x402064
push edi
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ce8b
mov esp, ebp
pop ebp
ret 0x18