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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f036
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x1c]
push esi
push str.FileName:__s
mov dword [ebp - 0x22c], eax
call fcn.00413860
push dword [ebp - 0x224]
push str.WorkingDir:__s
call fcn.00413860
push ebx
push str.ShortcutPath:__s
call fcn.00413860
push edi
push str.Argument:__s
call fcn.00413860
push dword [ebp - 0x228]
push str.IconPath:__s
call fcn.00413860
add esp, 0x28
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x410ddf
mov esi, 0x80004005
jmp 0x410fbb
lea eax, [ebp - 0x21c]
push eax
push 0x4baa1c
push 1
push 0
push 0x4baaec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x410fae
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0
test eax, eax
je 0x410e42
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x4a6cf0
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x21c]
cmovs ecx, edx
mov dword [ebp - 0x220], ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
jns 0x410e63
push str.ipShellLink__SetPath_failed
jmp 0x410f5c
mov eax, dword [ebp - 0x21c]
push dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
jns 0x410e85
push str.ipShellLink__SetWorkingDirectory_failed
jmp 0x410f5c
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410e90
sub ecx, edx
sar ecx, 1
je 0x410ebe
mov eax, dword [ebp - 0x21c]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
jns 0x410ebe
push str.ipShellLink__SetArguments_failed
jmp 0x410f5c
mov esi, dword [ebp - 0x22c]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410ed0
sub ecx, edx
sar ecx, 1
je 0x410efb
mov eax, dword [ebp - 0x21c]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x410efb
push str.ipShellLink__SetDescription_failed
jmp 0x410f5c
mov esi, dword [ebp - 0x228]
mov ecx, 0x4a1b98
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410f2e
test dx, dx
je 0x410f2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410f2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x410f08
xor eax, eax
jmp 0x410f33
sbb eax, eax
or eax, 1
test eax, eax
je 0x410f7a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f7a
mov eax, dword [ebp - 0x21c]
push 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
jns 0x410f7a
push str.ipShellLink__SetIconLocation_failed
call fcn.00413860
add esp, 4
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0
test eax, eax
je 0x410fbb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x410fbb
mov eax, dword [ebp - 0x220]
push 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18]
mov esi, eax
push ebx
test esi, esi
js 0x410f9f
push str.ipPersistFile__Save_succeeded__s_
call fcn.00413860
add esp, 8
jmp 0x410f64
push str.ipPersistFile__Save_failed__s_
call fcn.00413860
add esp, 8
jmp 0x410f64
push str.CoCreateInstance::CLSID_ShellLink_failed
call fcn.00413860
add esp, 4
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x410fd2
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret