could be anything, well i usually suspect, shotty programing, hard drive, video card, ram, cpu then mobo
to rule out memory go download memtest86, run it a few runs see if you get any errors if not then your clear on ram i've had random lockups few years back which was caused by shot ram after...