Help diagnosing finicky system

Hello, I have been having BSOD issues with my system for a few years now. I mostly chocked it up to a bad overclock, but recently have spent more time diagnosing the issue.

## Specs:

os: Windows 11

cpu: Ryzen 5800x

Ram: 32GB corsair vengeance.

Mobo: x570 Aorus PRO wifi

boot drive: Samsung 980 pro. Latest firmware. No smart errors.

GPU: Gigabyte 3070ti OC

PSU: 750w. Unknown brand will have to check if asked.

## checks:

All drivers and bios are up to date.

chkdsk is good.

Components that are known good: cpu(Still had bsod on 9700x3d), ram(Completes 4 tests of memtest86)

overclocking: stock except for running xmp on the ram. Still bsod with stock speeds.

Prior bsods that no longer happen were related to unstable cpu undervolt(PBO negative offsets) or new ram kit that was highly unstable in my system, but is stable in friends system.

## Current issues:

Playing Modern Warfare 2019(On boot drive) or Assetta Corsa (On other drives. Issues occurred on sata HDD and nvme drive) causes bsod. Bsod also rarely occurs at idle. Prior to moving memdump location off of C to a harddrive there would be no information recorded about the bsod because writing to the C drive failed and bsod would only show for less than a second. Setting pci speeds to gen3 reduced the error rate greatly, but still occurs.

After moving the dump location to another drive I see that the bsod is CRITICAL_PROCCESS_DIED on ntdll.dll

|| || |ntdll.dll(ntdll!RtlWow64GetCurrentCpuArea+0x808)ntdll.dll (ntdll!RtlWow64GetCurrentCpuArea+0x808)|

Current guess is faulty hardware, or drivers. For hardware I'm guessing mobo or boot drive because of the failure to write bsod information to disk.

At this point I'm about to replace the mobo, boot drive, and re-install windows because it has been so hard to track down what is actually wrong. Let me know what information is needed to help me figure this out.