Function at 0x4e7530
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4e7830
lea edi, [ebp - 0x28]
mov dword [esp + 0xc], 0x78fce0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x78f974
mov dword [esp + 0x10], edi
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
call ebx
sub esp, 0x14
cmp eax, 0x800401f0
mov byte [ebp - 0x39], 0
je 0x4e78a0
test eax, eax
lea ebx, [ebp - 0x1c]
js 0x4e7907
mov eax, dword [esi]
mov ecx, ebx
mov dword [esp + 4], 3
mov dword [esp], esi
call dword [eax + 0x60]
sub esp, 8
mov edi, 0x5c
mov eax, 0x2f
mov dword [esp + 8], 1
mov word [esp + 4], di
mov ecx, ebx
mov word [esp], ax
call fcn.005ae770
mov edx, dword [eax]
sub esp, 0xc
mov dword [ebp - 0x24], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4e7840
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4e77a2
cmp edx, 0xffffffff
je 0x4e7610
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
je 0x4e77a2
nop
lea esi, [esi]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x40], eax
call fcn.00665e50
mov dword [esp + 4], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x40]
call eax
sub esp, 8
test eax, eax
js 0x4e7801
mov eax, dword [esi]
mov ecx, ebx
mov dword [esp + 4], 4
mov dword [esp], esi
call dword [eax + 0x60]
sub esp, 8
mov ecx, 0x2f
mov edx, 0x5c
mov word [esp], cx
mov dword [esp + 8], 1
mov ecx, ebx
mov word [esp + 4], dx
call fcn.005ae770
mov edx, dword [eax]
sub esp, 0xc
mov dword [ebp - 0x20], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4e78e1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4e76a0
cmp edx, 0xffffffff
je 0x4e76b8
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
jne 0x4e76b8
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x44], eax
call fcn.00665e50
lea ecx, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
call eax
sub esp, 8
test eax, eax
js 0x4e7900
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x78fcd0
mov dword [ebp - 0x40], eax
call dword [edx]
sub esp, 0xc
xor edi, edi
test eax, eax
jns 0x4e7850
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
je 0x4e7810
cmp edx, 0xffffffff
je 0x4e7740
lock sub dword [eax], 1
mov eax, dword [ebp - 0x20]
je 0x4e7810
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4e77e4
cmp edx, 0xffffffff
je 0x4e7769
lock sub dword [eax], 1
mov eax, dword [ebp - 0x24]
je 0x4e77e4
mov eax, edi
test al, al
je 0x4e7907
cmp byte [ebp - 0x39], 0
je 0x4e777f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
test edx, edx
je 0x4e77c0
cmp edx, 0xffffffff
je 0x4e7796
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2c]
je 0x4e77c0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x4e7610
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x4e7769
xor edi, edi
jmp 0x4e7740
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x4e7740
lock add dword [edx], 1
jmp 0x4e7551
lock add dword [edx], 1
jmp 0x4e75e9
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x2c]
mov ecx, eax
mov dword [ebp - 0x40], eax
call fcn.00665e50
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp], edi
mov eax, dword [ebp - 0x44]
call eax
not eax
sub esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x1c]
shr edi, 0x1f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x4e7717
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x78fce0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x78f974
call ebx
sub esp, 0x14
mov byte [ebp - 0x39], 1
jmp 0x4e7591
lock add dword [edx], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x4e7690
jmp 0x4e76a0
xor edi, edi
jmp 0x4e7717
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call fcn.00720b94
mov dword [esp + 4], ebx
mov dword [esp], 0xa
mov ecx, esi
call fcn.00553fe0
push eax
push eax
mov ecx, ebx
xor edi, edi
call fcn.005b1050
jmp 0x4e7773