Function at 0x40b920
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get file attributes

Disassembly:
sub esp, 0x220
mov eax, dword [0x446050]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
push ebp
mov ebp, dword [esp + 0x230]
push esi
xor esi, esi
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b975
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40b97f
test bl, 0x10
je 0x40b97f
mov esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x40b9a4
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0041f826
add esp, 0x220
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x4344c0
push 1
push 0
push 0x434500
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x40bb0a
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test edi, edi
je 0x40ba07
cmp byte [edi], 0
je 0x40ba07
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40ba23
cmp byte [ecx], 0
je 0x40ba23
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x434510
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x40bafe
cmp dword [esp + 0x238], 0
je 0x40baa8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4344f0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40baa8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x40baa8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
or eax, 0x2000
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004249d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
lea ecx, [esp + 0x24]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jge 0x40baf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041f826
add esp, 0x220
ret