Function at 0x404570
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d80d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov ecx, 0x5100a3
mov dword [ebp - 4], 2
call fcn.004b532d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
or esi, 0xffffffff
test eax, eax
js 0x4045cf
lea eax, [ebp - 0x10]
push eax
push 0x4e03bc
push 1
push 0
push 0x4e5ec0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40463e
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4045ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40460d
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], esi
dec esi
test esi, esi
jg 0x40462c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push 0x5c
push dword [ebp + 8]
call fcn.004b8718
add esp, 8
test eax, eax
jne 0x404660
or eax, 0xffffffff
jmp 0x404665
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.004057c0
mov ecx, dword [ebp - 0x10]
push dword [eax]
mov byte [ebp - 4], 3
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 0x40469f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x4e03cc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x404705
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4046fc
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 0x4046fc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push 0x4e5ed0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x4046f2
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 0x4e03dc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x404735
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
xor bl, 1
jmp 0x4045d1