I think you're flight numbers and routings are all mixed up - if you were on EK384 departing 14:05 you were heading to HKG anyway, not DXB. EK380 is the flight that lands in HKG at 18:05, but it comes from DXB, not BKK.
Despite that, if Emirates have made the booking and it's on one ticket then it'll comply with minimum connection times, they're happy you can make it and they'll be responsible for getting you to where you should be if you don't. Might not have much lounge time though.