After a month's break, Rory McIlroy is two shots off the lead after the second round of the Korea Open.