VMware is a proprietary hypervisor and not open source. You may need to contact vmware developers for an answer.
With that said. it may be possible to expand the virtual disk with something like gparted on the host when the virtual VM is powered off.
I am assuming that /dev/sda5 is the partition you wish to expand, but that cannot be altered AFAIK when the VM is running. The fact you are using an msdos partition table complicates things a lot.
as you already extended the lun, create a snapshot! You can rollback to this snapshot anytime if things go south.
You need to change the extended partition /dev/sda4 and then either do the same with sda5 or create a new partition, it depends on the setup.
One way is to edit the partition table and change the end sector.
Assuming sda5 is a LVM pv, you can then extend the pv with pvresize /dev/sdX and extend the logical volumes with lvextend
It’s maybe easier to boot a gparted ISO and resize/extend the partitions.
you have to resize /dev/sda4 first. Then you should be able to either extend /dev/sda5 or create a new partition inside the extended partition /dev/sda4 (similar to /dev/sda5 ) .
Maybe you can extend /dev/sda5 right away, and the extended partition will be updated automatically by gparted. Or you should be able to create a new extended partition /dev/sda6.
It’s not possible to create a new primary partition in a MBR disk format. It supports only 4 primary partitions.