Function at 0x4ea070
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x592884]
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 0x54ed90
push 1
push 0
push 0x54edd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jl 0x4ea0c6
cmp dword [ebp - 0x210], 0
jne 0x4ea0cd
xor al, al
jmp 0x4ea34e
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x214]
push ecx
push 0x54edb0
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 0x4ea10e
cmp dword [ebp - 0x214], 0
jne 0x4ea129
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 0x4ea34e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00415450
add esp, 4
movzx edx, al
test edx, edx
je 0x4ea15b
push 2
mov ecx, dword [ebp + 0xc]
call fcn.0040df90
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.004f9c00
add esp, 0xc
push 0x103
mov ecx, dword [ebp + 8]
call fcn.0040df90
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.0040df90
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.0040df80
movzx ecx, al
test ecx, ecx
jne 0x4ea1fd
mov ecx, dword [ebp + 0x10]
call fcn.0040df90
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.0040df90
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.004f77bd
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.004f9c00
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040df90
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 0x4ea2c0
cmp dword [ebp - 0x21c], 0
jbe 0x4ea2c0
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.004f77b8
add esp, 4
push 1
mov ecx, dword [ebp + 0xc]
call fcn.0040df90
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 0x4ea30a
mov dword [ebp - 0x228], 1
jmp 0x4ea314
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.004f6f55
mov esp, ebp
pop ebp
ret 0xc