New to assembly, question about function


I’m new to assembly and have been playing around with it. While i was analyzing malware, I realised that there are multiple function named sub_xxxxxx. How does one determine if this sub_xxxxxx is created by a user, or if it is a function that is automatically created.