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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x424004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a0ac
lea eax, [ebp - 0x214]
push eax
push 0x4033d0
push 1
push 0
push 0x4012a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40a0ac
cmp dword [ebp + 0x1c], 0
je 0x409dcb
push dword [ebp + 0x1c]
lea eax, [ebp - 0x210]
push 0x402450
push 0x104
push eax
call fcn.00408504
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
add esp, 0x10
mov edi, esp
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0x1c]
call dword [0x4255c0]
call dword [esi + 0x1c]
cmp edi, esp
je 0x409dcb
mov ecx, 4
int 0x29
mov eax, dword [ebp - 0x214]
mov edi, esp
push 0x4024a0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x409df3
mov ecx, 4
int 0x29
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
mov edi, esp
push ecx
push 0x402cbc
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x4255c0]
call dword [esi]
cmp edi, esp
je 0x409e1f
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x409f97
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x409e90
push 0x1f
pop ecx
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
js 0x409f74
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x230]
mov edi, esp
push ecx
push 0x403428
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x18]
call dword [0x4255c0]
call dword [esi + 0x18]
cmp edi, esp
je 0x409e81
mov ecx, 4
int 0x29
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
test esi, esi
js 0x409f74
call fcn.0040c702
push 0xb
pop ecx
test al, al
je 0x409ef9
mov eax, dword [ebp + 0x14]
mov edi, esp
neg eax
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
sbb eax, eax
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x218]
push ecx
push 0x403414
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
call dword [0x4255c0]
call dword [esi + 0x18]
cmp edi, esp
je 0x409ee7
mov ecx, 4
int 0x29
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
push 0xb
pop ecx
test esi, esi
js 0x409f74
mov eax, dword [ebp + 0x10]
mov edi, esp
neg eax
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
sbb eax, eax
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x218]
push ecx
push 0x403400
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
call dword [0x4255c0]
call dword [esi + 0x18]
cmp edi, esp
je 0x409f40
mov ecx, 4
int 0x29
test eax, eax
js 0x409f67
mov eax, dword [ebp - 0x218]
mov edi, esp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x409f67
mov ecx, 4
int 0x29
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x218]
mov edi, esp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x409f97
mov ecx, 4
int 0x29
mov eax, dword [ebp - 0x214]
mov edi, esp
push dword [ebp - 0x234]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x409fc0
mov ecx, 4
int 0x29
test eax, eax
js 0x40a089
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x409ffe
mov eax, dword [ebp - 0x214]
mov edi, esp
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x409ff6
mov ecx, 4
int 0x29
test eax, eax
js 0x40a089
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x21c]
mov edi, esp
push ecx
push 0x4012e4
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x4255c0]
call dword [esi]
cmp edi, esp
je 0x40a02a
mov ecx, 4
int 0x29
test eax, eax
js 0x40a089
mov eax, dword [ebp - 0x21c]
mov edi, esp
push 1
push ebx
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
call dword [0x4255c0]
call dword [esi + 0x18]
cmp edi, esp
je 0x40a053
mov ecx, 4
int 0x29
test eax, eax
js 0x40a066
push dword [ebp + 0x18]
push 0x4024cc
push ebx
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
mov eax, dword [ebp - 0x21c]
mov edi, esp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x40a089
mov ecx, 4
int 0x29
mov eax, dword [ebp - 0x214]
mov edi, esp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x40a0ac
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423360
mov esp, ebp
pop ebp
ret 0x18