Discovered problem with asm part of the application. Program stucks somewhere over there.