This sounds like a child that's a bit behind with socialisation and my guess is that this is more to do with pandemic/lockdown etc than any disorder.
I think, to start i would get a board game or two suited to her age (or any game where you need to sit and take a turn ) if her sibling can play, so much the better.
Just try to build up skills of turn taking, listening and patience. Get her practised at coping with the feelings of losing and winning . Essentially, an adult MUST stay and play too, to ensure it all runs well and can deal with hashing, pushing, tantrumming etc. I'd put the game away out of reach between times so this is a special thing.
Keep working on manners and turntaking skills at home - and big praise for helping you round the house - just give her one important job to do that is special to her and not too demanding but needs a bit of care - setting the table is a good one if you eat at the table.
When this is all going well, i'd have the friend round to tea. (She will be soooo proud to set the table!) Try to keep your other child out of the way, so competition and showing off behaviour is reduced.
Is she up to speed with language skills? Sometimes, where speech, language and listening are behind, frustration comes out with snatchy and pushy behaviour. By being around just to facilitate the play a little bit, you can help her manage the difficult turn taking parts of play.
Have a word with her teachers - see if they have observed anything.
One key handy tip to look for in ASD (autistic) children is a lack of pretend play. By 5, children who play well typically chunter on to themselves when playing, making up little stories and scenes (toys that are good to check this out are little figures and accessorie s - dolls house type.
Autistic girls typically tend to tidy up the house, re arrange, that sort of thing.
Play involves creating a little scene "oh, no dolly, you've fallen down, let me make you better! There! Now you're ok"
Even 5 yr olds playing on their own, you can hear this kind of monologue.
A 5 yr old that shows no interest or starts bashing the toys around - that is more likely due to delayed play skills due to either lack of appropriate stimulation/slow development.