Function at 0x407490
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcd95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov ecx, 0x510279
mov dword [ebp - 4], 1
call fcn.004b781d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x4e5758
push 1
push 0
push 0x4e57c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
or esi, 0xffffffff
test eax, eax
jne 0x407644
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x4e5778
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x40763b
lea eax, [ebp - 0x14]
push eax
call fcn.00408730
push 0x2e
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004bab98
add esp, 0xc
test eax, eax
jne 0x407524
or eax, esi
jmp 0x407529
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.004061a0
mov ecx, dword [ebp - 0x10]
push dword [eax]
mov byte [ebp - 4], 3
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407563
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push dword [ebp + 8]
call fcn.004bab98
add esp, 8
test eax, eax
jne 0x407579
or eax, 0xffffffff
jmp 0x40757e
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.004061a0
mov ecx, dword [ebp - 0x10]
push dword [eax]
mov byte [ebp - 4], 4
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4075b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004042e0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push 1
push dword [eax]
mov byte [ebp - 4], 5
mov edx, dword [ecx]
push ecx
call dword [edx + 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407607
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407625
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
jmp 0x407646
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407664
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x407683
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret