Function at 0x409d2e
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 0x40a0bc
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 0x40a0bc
cmp dword [ebp + 0x1c], 0
je 0x409ddb
push dword [ebp + 0x1c]
lea eax, [ebp - 0x210]
push 0x402450
push 0x104
push eax
call fcn.00408514
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 0x409ddb
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 0x409e03
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 0x409e2f
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x409fa7
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x409ea0
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 0x409f84
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 0x409e91
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 0x409f84
call fcn.0040c712
push 0xb
pop ecx
test al, al
je 0x409f09
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 0x409ef7
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 0x409f84
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 0x409f50
mov ecx, 4
int 0x29
test eax, eax
js 0x409f77
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 0x409f77
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 0x409fa7
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 0x409fd0
mov ecx, 4
int 0x29
test eax, eax
js 0x40a099
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x40a00e
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 0x40a006
mov ecx, 4
int 0x29
test eax, eax
js 0x40a099
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 0x40a03a
mov ecx, 4
int 0x29
test eax, eax
js 0x40a099
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 0x40a063
mov ecx, 4
int 0x29
test eax, eax
js 0x40a076
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 0x40a099
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 0x40a0bc
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423440
mov esp, ebp
pop ebp
ret 0x18