Does it only crash when Tibia is already running, or all the time?
Also, which AV do you use? It's rootkit might be interfering with the way I duplicate the handles and close them.