Function at 0x407a30
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x428
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x423568
push 1
push 0
push 0x423578
mov dword [esp + 0x38], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407d1c
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x440]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea edx, [esp + 0x12c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407a80
lea edx, [esp + 0x12c]
push 0x5c
push edx
call fcn.0041a7b0
add esp, 8
test eax, eax
je 0x407ab5
mov byte [eax], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x12c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x448]
test eax, eax
je 0x407ad0
cmp byte [eax], 0
je 0x407ad0
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edx, dword [esp + 0x450]
mov eax, dword [esp + 0x44c]
test edx, edx
jne 0x407aeb
test eax, eax
je 0x407b02
cmp byte [eax], 0
je 0x407b02
test eax, eax
je 0x407af4
cmp byte [eax], 0
jne 0x407af6
mov eax, esi
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov esi, dword [ecx]
call dword [esi + 0x44]
mov eax, dword [esp + 0x454]
mov ecx, 1
dec eax
je 0x407b1b
dec eax
jne 0x407b20
mov ecx, 3
jmp 0x407b20
mov ecx, 7
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x423588
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ebx, dword [esp + 0x444]
mov ebp, eax
test ebp, ebp
jl 0x407c83
lea eax, [esp + 0x230]
push 0x104
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x230]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
jl 0x407c79
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jl 0x407c71
mov eax, dword [esp + 0x20]
test eax, eax
je 0x407c71
push 0
push 0
lea ecx, [esp + 0x30]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x14]
push edx
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jl 0x407be9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x407bff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
push 0x2e
push ebx
call fcn.0041a7b0
lea edx, [esp + 0x30]
push 0x2e
push edx
mov esi, eax
call fcn.0041a7b0
add esp, 0x10
mov edx, eax
test esi, esi
je 0x407c50
test edx, edx
je 0x407c50
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
ja 0x407c4c
mov eax, edx
sub esi, edx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x407c42
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x43c]
test edx, edx
je 0x407c79
lea ecx, [esp + 0x28]
lea eax, [esp + 0x28]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407c65
jmp 0x407c79
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x407d1a
push 0
push ebx
call fcn.004010e0
add esp, 8
cmp eax, 0xffffffff
jne 0x407d11
or ecx, eax
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, 4
js 0x407d1a
lea esi, [ecx + ebx]
push str..lnk
push esi
call fcn.0041a590
add esp, 8
test eax, eax
jne 0x407d1a
mov eax, str..pif
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407cd7
push 0
push ebx
call fcn.004010e0
add esp, 8
cmp eax, 0xffffffff
jne 0x407d11
mov eax, str..lnk
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407cfa
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x428
ret
push eax
call fcn.00401360
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret