Function at 0x404b50
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcc25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov ecx, 0x510279
mov dword [ebp - 4], 2
call fcn.004b782d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
or edi, 0xffffffff
test eax, eax
js 0x404bb0
lea eax, [ebp - 0x10]
push eax
push 0x4e493c
push 1
push 0
push 0x4e57c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x404c20
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404bee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x404c0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x5c
push dword [ebp + 8]
call fcn.004baba8
add esp, 8
test eax, eax
jne 0x404c36
or eax, 0xffffffff
jmp 0x404c3b
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.004061b0
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x4e494c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x404ccb
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x404cc2
mov ecx, 0x1f
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
js 0x404cc2
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push 0x4e57d8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x404cb8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x4e495c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x404cfb
mov eax, dword [ebp - 0x18]
push 1
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
shr ebx, 0x1f
add esi, 0xfffffff0
xor bl, 1
mov byte [ebp - 4], 2
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404bb2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x404bb2