Function at 0x4eb660
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
push 0x54fdf8
push 1
push 0
push 0x54fe38
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jl 0x4eb6b6
cmp dword [ebp - 0x210], 0
jne 0x4eb6bd
xor al, al
jmp 0x4eb93e
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x214]
push ecx
push 0x54fe18
mov edx, dword [ebp - 0x210]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jl 0x4eb6fe
cmp dword [ebp - 0x214], 0
jne 0x4eb719
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ecx + 8]
call eax
xor al, al
jmp 0x4eb93e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00415500
add esp, 4
movzx edx, al
test edx, edx
je 0x4eb74b
push 2
mov ecx, dword [ebp + 0xc]
call fcn.0040e040
push eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ecx + 0x14]
call eax
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004fb1f0
add esp, 0xc
push 0x103
mov ecx, dword [ebp + 8]
call fcn.0040e040
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp + 8]
call fcn.0040e040
push eax
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [edx + 0x50]
call ecx
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [ebp + 0x10]
call fcn.0040e030
movzx ecx, al
test ecx, ecx
jne 0x4eb7ed
mov ecx, dword [ebp + 0x10]
call fcn.0040e040
push eax
mov edx, dword [ebp - 0x210]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [eax + 0x2c]
call edx
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f8dad
add esp, 4
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x21c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x220]
push eax
call fcn.004fb1f0
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4eb8b0
cmp dword [ebp - 0x21c], 0
jbe 0x4eb8b0
push 0
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x210]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.004f8da8
add esp, 4
push 1
mov ecx, dword [ebp + 0xc]
call fcn.0040e040
push eax
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [eax + 0x18]
call edx
test eax, eax
jne 0x4eb8fa
mov dword [ebp - 0x228], 1
jmp 0x4eb904
mov dword [ebp - 0x228], 0
mov al, byte [ebp - 0x228]
mov byte [ebp - 0x215], al
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x210]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [eax + 8]
call edx
mov al, byte [ebp - 0x215]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret 0xc