Function at 0x40d70e
Capabilities:
Check if file exists
Create process on windows
Create shortcut via ishelllink
Delete file
Get file attributes

Disassembly:
push 0xcc
mov eax, 0x5550cc
call fcn.00527c18
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
push 0x1a
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], eax
call fcn.0040e66c
and dword [ebp - 4], 0
mov ebx, 0x585004
push ebx
push eax
lea eax, [ebp - 0x84]
call fcn.0040adbd
push esi
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.0040adbd
push str..lnk
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040adbd
add esp, 0x18
push 1
xor edi, edi
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.00409659
push 1
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.00409659
push 1
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00409659
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x40d7cd
mov eax, 0x585d54
push eax
lea esi, [ebp - 0x4c]
call fcn.0040829d
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40d7fa
lea ecx, [eax - 1]
mov eax, esi
call fcn.0041a1ec
cmp word [eax], 0x5c
je 0x40d7fa
push ebx
mov eax, esi
push eax
call fcn.004082e5
cmp dword [ebp - 0xc0], 0
je 0x40d809
mov ebx, dword [ebp - 0xc0]
push ebx
lea eax, [ebp - 0x68]
push eax
lea ebx, [ebp - 0x4c]
call fcn.0040ae0a
pop ecx
pop ecx
lea eax, [ebp - 0xc0]
push eax
push 0x583850
xor ebx, ebx
inc ebx
push ebx
xor esi, esi
push esi
push 0x583b50
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 8
pop edi
cmp eax, esi
jl 0x40d8f7
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x40d856
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
cmp dword [ebp - 0xc8], esi
je 0x40d87d
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xcc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xd4]
push edx
push 0x583bb0
push eax
call dword [ecx]
cmp eax, esi
jl 0x40d99a
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40d8cb
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xd0], ebx
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40d902
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d960
cmp dword [ebp + 8], esi
je 0x40d92e
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40d91e
lea eax, [ebp - 0x30]
push esi
push esi
push esi
push eax
push str.taskbarpin
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0xc], esi
je 0x40d94e
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40d93e
lea eax, [ebp - 0x30]
push esi
push esi
push esi
push eax
push str.startpin
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40d959
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], edi
push ebx
xor edi, edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00409659
push ebx
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00409659
or dword [ebp - 4], 0xffffffff
push ebx
lea esi, [ebp - 0x30]
call fcn.00409659
mov eax, dword [ebp - 0xd0]
call fcn.00527c74
ret 0x14
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d8f7