> what kind of investigation they can do, if the messages are end-to-end encrypted?
When a user flags a conversation/user, it sends a number of historical messages with the report. End-to-end encryption doesn't prevent the end user from forwarding the messages to a third party.