Function at 0x404d70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov ecx, 0x56c279
mov dword [ebp - 4], 2
call fcn.00500c8d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
or esi, 0xffffffff
test eax, eax
js 0x404dcf
lea eax, [ebp - 0x10]
push eax
push 0x536a6c
push 1
push 0
push 0x541818
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x404e3e
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 0x404def
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 0x404e0d
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 0x404e2c
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.00504238
add esp, 8
test eax, eax
jne 0x404e60
or eax, 0xffffffff
jmp 0x404e65
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00405cc0
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 0x404e9f
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 0x536a7c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x404f05
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x404efc
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 0x404efc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push 0x541828
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x404ef2
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 0x536a8c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x404f35
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 0x404dd1