RtlCaptureStackBackTrace. Use it on all architectures, as it’s more portable than fiddling with frame pointers in assembly.