Function at 0x408dd1
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x479d6a
call fcn.00459afc
sub esp, 0x38
push ebx
push esi
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
mov esi, ecx
call fcn.0045c74b
pop ecx
pop ecx
test eax, eax
jne 0x408feb
xor ebx, ebx
test dword [ebp - 0x3e], 0x4000
je 0x408e09
mov dword [ebp - 0x14], ebx
jmp 0x408e1d
test dword [ebp - 0x3e], 0x8000
je 0x408fe4
mov dword [ebp - 0x14], 1
mov edi, 0x104
push edi
push ebx
push dword [esi]
call fcn.0045a2c0
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
push edi
push dword [esi]
call fcn.0045cd47
add esp, 0x24
cmp dword [ebp + 0x20], ebx
je 0x408e4b
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00408aee
lea eax, [ebp - 0x10]
push eax
push 0x48dd90
push 1
push ebx
push 0x48dda0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x408fdd
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x48dd40
push eax
call dword [ecx]
cmp eax, ebx
jl 0x408fcf
push 0x208
call fcn.004347c8
mov dword [ebp + 0xc], eax
mov dword [esp], 0x208
call fcn.004347c8
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x20], eax
push ebx
push eax
push dword [ebp + 8]
call fcn.0045d34c
push 0x483f80
push dword [ebp + 0xc]
call fcn.0045d0fa
add esp, 0x20
test eax, eax
je 0x408ef6
push dword [ebp + 0xc]
jmp 0x408f1d
push 0x483f80
push dword [ebp + 0x20]
call fcn.0045d0fa
pop ecx
pop ecx
test eax, eax
je 0x408f28
mov eax, dword [ebp + 0x20]
mov ax, word [eax]
mov word [ebp + 8], ax
xor eax, eax
mov word [ebp + 0xa], ax
lea eax, [ebp + 8]
push eax
push edi
push dword [esi]
call fcn.0045cb26
add esp, 0xc
push dword [ebp + 0x20]
call fcn.004347bd
push dword [ebp + 0xc]
call fcn.004347bd
push str..lnk
push edi
push dword [esi]
call fcn.0045cb26
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x14
push 1
push dword [esi]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0x1c]
lea ecx, [ebp + 0xc]
call fcn.004092ae
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
setg byte [ebp + 0xb]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004208c9
cmp byte [ebp + 0xb], bl
je 0x408fcf
push ebx
push dword [esi]
push ebx
call fcn.0045d0e0
lea edi, [eax + 1]
push edi
call fcn.004347c8
push edi
push dword [esi]
mov dword [ebp + 8], eax
push eax
call fcn.0045d0e0
push ebx
push dword [ebp + 0x1c]
push ebx
call fcn.0045d0e0
lea esi, [eax + 1]
push esi
call fcn.004347c8
push esi
push dword [ebp + 0x1c]
mov edi, eax
push edi
call fcn.0045d0e0
push edi
push dword [ebp + 8]
call fcn.0045ce6b
add esp, 0x40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x408ff9
push str.CoCreateInstance_Error
jmp 0x408ff0
push str.Not_file__device__or_folder
jmp 0x408ff0
push str.Path_not_found
mov ecx, esi
call fcn.004088d2
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c