Part identification, 38 pins IC with HCT38540A marking
The little bits of copper not quite sticking out from the IC are just part of the &quot;lead frame&quot; Here's a picture of some assorted lead frames. Once the chip is attached to the lead frame, and the wires bonded, and the epoxy poured over the chip, the lead frame and the connection leads are cut off, the little exposed bits will usually be connected to the most negative terminal (substrate) , usually the &quot;gnd&quot; pin.
The 244 would normally be a date code, but these are 4 digits usually, possibly it's a factory code. It appears to be from Texas instruments, and part of their high speed Cmos interface range.
A part 74HC385 exists, but is obsolete, can't find data sheet.
Most likely your part is a factory special intended for the aerospace market or some other defense application (although most MILSPEC parts are in ceramic packages).