Function at 0x4d2370
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x644]
sub esp, 0x644
push 0xffffffffffffffff
push 0x559886
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bc9cc]
xor eax, ebp
mov dword [ebp + 0x640], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x64c]
mov edi, dword [ebp + 0x654]
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
push 0x56a790
push 1
push ebx
push 0x56a800
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4d23f5
mov dword [ebp - 0x28], eax
push 0x596ea0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00530358
mov byte [ebp], bl
lea edx, [ebp]
push edx
push esi
call sym.RtHDVCpl.exe_char____cdecl_wvFM::GetNativePathAsString_class_WTPathType__const__struct_wvFM::WTPathString__
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
push str.Shortcut_to
lea ecx, [ebp + 0x400]
call fcn.0049cbc0
mov byte [ebp - 4], 1
lea ecx, [ebp]
push ecx
push esi
call sym.RtHDVCpl.exe_char____cdecl_wvFM::GetLeaf_class_WTPathType__const__struct_wvFM::WTPathString__
add esp, 8
lea edx, [ebp + 0x400]
push edx
mov edx, eax
call fcn.004a06d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x56a7c0
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jge 0x4d247a
mov dword [ebp - 0x30], eax
push 0x596ea0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00530358
lea edx, [ebp]
push edx
mov eax, dword [edi]
push eax
call sym.RtHDVCpl.exe_char____cdecl_wvFM::GetNativePathAsString_class_WTPathType__const__struct_wvFM::WTPathString__
add esp, 8
push eax
lea ecx, [ebp + 0x41c]
call fcn.0049cbc0
mov byte [ebp - 4], 2
lea ecx, [ebp]
push ecx
mov edx, dword [edi]
push edx
call sym.RtHDVCpl.exe_char____cdecl_wvFM::GetExtension_class_WTPathType__const__struct_wvFM::WTPathString__
add esp, 8
lea ecx, [ebp]
mov edi, 0x5c366c
call fcn.004a3e50
test al, al
jne 0x4d250d
lea eax, [ebp + 0x41c]
push eax
mov edx, 0x585474
call fcn.004a06d0
push ebx
push edi
or eax, 0xffffffff
lea esi, [ebp + 0x41c]
call fcn.004a0770
mov dword [ebp - 0x20], ebx
cmp dword [ebp + 0x434], 0x10
mov eax, dword [ebp + 0x420]
jae 0x4d24f2
lea eax, [ebp + 0x420]
lea ecx, [ebp - 0x20]
push ecx
push eax
call sym.RtHDVCpl.exe_long_int___cdecl_wvFM::CreatePathRefFromString_char_const___class_WTPathType___
mov esi, dword [ebp - 0x24]
push esi
call sym.RtHDVCpl.exe_long_int___cdecl_wvFM::DisposePathRef_class_WTPathType___
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov dword [esi], edx
cmp dword [ebp + 0x434], 0x10
mov eax, dword [ebp + 0x420]
jae 0x4d2522
lea eax, [ebp + 0x420]
push 0x104
lea ecx, [ebp + 0x438]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push 1
lea ecx, [ebp + 0x438]
push ecx
push eax
mov edx, dword [edx + 0x18]
call edx
cmp eax, ebx
jge 0x4d2562
mov dword [ebp - 0x2c], eax
push 0x596ea0
lea eax, [ebp - 0x2c]
push eax
call fcn.00530358
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x41c]
call fcn.0049cc30
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x400]
call fcn.0049cc30
mov dword [ebp - 4], 0xffffffff
jmp 0x4d25b3
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4d25c2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4d25d1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x640]
xor ecx, ebp
call fcn.0052944d
add ebp, 0x644
mov esp, ebp
pop ebp
ret