Convert below format to CSV
Audit : Site \BaseObje
Disabled
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\AuditBaseObjects
DCOM: Machine Launch Restrictions
Not defined
HKEY_LOCAL_MACHINE\Software\policies\Microsoft\windows NT\DCOM\Machine Launch Restriction
to
Audit : Site \BaseObje, Disabled, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\AuditBaseObjects
DCOM: Machine Launch Restrictions, Not defined, HKEY_LOCAL_MACHINE\Software\policies\Microsoft\windows NT\DCOM\Machine Launch Restriction
after HKEY_LOCAL_MACHINE line every record is new line