Function at 0x406da0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4247ce
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x43100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push 0x4262e0
push 1
push ebx
push 0x4262f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x406f95
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x426300
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x406f8c
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x406e1f
mov edx, 0x42bd98
cmp dword [edi + 0x24], ebx
je 0x406e1f
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x406e48
cmp word [edx], ax
sete al
jmp 0x406e4f
cmp dword [ecx + 0x24], 2
setle al
test eax, eax
jne 0x406e6e
test edx, edx
jne 0x406e64
mov edx, 0x42bd98
cmp dword [ecx + 0x24], ebx
je 0x406e64
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x406e82
cmp word [edx], ax
sete al
jmp 0x406e89
cmp dword [ecx + 0x24], 2
setle al
test eax, eax
jne 0x406ea8
test edx, edx
jne 0x406e9e
mov edx, 0x42bd98
cmp dword [ecx + 0x24], ebx
je 0x406e9e
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x406ebc
cmp word [edx], ax
sete al
jmp 0x406ec3
cmp dword [ecx + 0x24], 2
setle al
test eax, eax
jne 0x406ee2
test edx, edx
jne 0x406ed8
mov edx, 0x42bd98
cmp dword [ecx + 0x24], ebx
je 0x406ed8
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x406ef6
mov eax, 0x42bd98
cmp dword [esi + 0x24], ebx
je 0x406ef6
mov eax, dword [esi + 0x1c]
push 0x2e
push eax
call fcn.0040ff47
add esp, 8
test eax, eax
je 0x406f1d
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x406f54
cmp dword [esi + 0x24], ebx
jne 0x406f18
mov edx, 0x42bd98
jmp 0x406f54
mov edx, dword [esi + 0x1c]
jmp 0x406f54
push str..lnk
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.0040ec50
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x14], eax
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x406f54
cmp dword [ecx + 0x24], edx
mov edx, 0x42bd98
je 0x406f54
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor ebx, ebx
test eax, eax
setns bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test al, 1
je 0x406f83
and eax, 0xfffffffe
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
call fcn.00403450
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc