BonziBuddy Leaked Source Code by NixButterPlay
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

188 lines
5.7 KiB

  1. VERSION 1.0 CLASS
  2. BEGIN
  3. MultiUse = -1 'True
  4. Persistable = 0 'NotPersistable
  5. DataBindingBehavior = 0 'vbNone
  6. DataSourceBehavior = 0 'vbNone
  7. MTSTransactionMode = 0 'NotAnMTSObject
  8. END
  9. Attribute VB_Name = "CPeriod"
  10. Attribute VB_GlobalNameSpace = False
  11. Attribute VB_Creatable = True
  12. Attribute VB_PredeclaredId = False
  13. Attribute VB_Exposed = True
  14. Public Property Get Name(Index As Integer) '5FAAE0
  15. loc_005FAAE0: push ebp
  16. loc_005FAAE1: mov ebp, esp
  17. loc_005FAAE3: sub esp, 0000000Ch
  18. loc_005FAAE6: push 00412856h ; __vbaExceptHandler
  19. loc_005FAAEB: mov eax, fs:[00000000h]
  20. loc_005FAAF1: push eax
  21. loc_005FAAF2: mov fs:[00000000h], esp
  22. loc_005FAAF9: sub esp, 0000000Ch
  23. loc_005FAAFC: push ebx
  24. loc_005FAAFD: push esi
  25. loc_005FAAFE: push edi
  26. loc_005FAAFF: mov var_C, esp
  27. loc_005FAB02: mov var_8, 00403D38h
  28. loc_005FAB09: xor edi, edi
  29. loc_005FAB0B: mov var_4, edi
  30. loc_005FAB0E: mov esi, Me
  31. loc_005FAB11: push esi
  32. loc_005FAB12: mov eax, [esi]
  33. loc_005FAB14: call [eax+00000004h]
  34. loc_005FAB17: mov ecx, Index
  35. loc_005FAB1A: mov var_18, edi
  36. loc_005FAB1D: mov [ecx], edi
  37. loc_005FAB1F: mov edx, [esi+00000038h]
  38. loc_005FAB22: lea ecx, var_18
  39. loc_005FAB25: call [00401310h] ; __vbaStrCopy
  40. loc_005FAB2B: push 005FAB3Dh
  41. loc_005FAB30: jmp 005FAB3Ch
  42. loc_005FAB32: lea ecx, var_18
  43. loc_005FAB35: call [00401430h] ; __vbaFreeStr
  44. loc_005FAB3B: ret
  45. loc_005FAB3C: ret
  46. loc_005FAB3D: mov eax, Me
  47. loc_005FAB40: push eax
  48. loc_005FAB41: mov edx, [eax]
  49. loc_005FAB43: call [edx+00000008h]
  50. loc_005FAB46: mov eax, Index
  51. loc_005FAB49: mov ecx, var_18
  52. loc_005FAB4C: mov [eax], ecx
  53. loc_005FAB4E: mov eax, var_4
  54. loc_005FAB51: mov ecx, var_14
  55. loc_005FAB54: pop edi
  56. loc_005FAB55: pop esi
  57. loc_005FAB56: mov fs:[00000000h], ecx
  58. loc_005FAB5D: pop ebx
  59. loc_005FAB5E: mov esp, ebp
  60. loc_005FAB60: pop ebp
  61. loc_005FAB61: retn 0008h
  62. End Sub
  63. Public Property Let Name(sName) '5FAB70
  64. loc_005FAB70: push ebp
  65. loc_005FAB71: mov ebp, esp
  66. loc_005FAB73: sub esp, 0000000Ch
  67. loc_005FAB76: push 00412856h ; __vbaExceptHandler
  68. loc_005FAB7B: mov eax, fs:[00000000h]
  69. loc_005FAB81: push eax
  70. loc_005FAB82: mov fs:[00000000h], esp
  71. loc_005FAB89: sub esp, 0000000Ch
  72. loc_005FAB8C: push ebx
  73. loc_005FAB8D: push esi
  74. loc_005FAB8E: push edi
  75. loc_005FAB8F: mov var_C, esp
  76. loc_005FAB92: mov var_8, 00403D48h
  77. loc_005FAB99: xor edi, edi
  78. loc_005FAB9B: mov var_4, edi
  79. loc_005FAB9E: mov esi, Me
  80. loc_005FABA1: push esi
  81. loc_005FABA2: mov eax, [esi]
  82. loc_005FABA4: call [eax+00000004h]
  83. loc_005FABA7: mov edx, sName
  84. loc_005FABAA: mov var_18, edi
  85. loc_005FABAD: mov edi, [00401310h] ; __vbaStrCopy
  86. loc_005FABB3: lea ecx, var_18
  87. loc_005FABB6: call edi
  88. loc_005FABB8: mov edx, var_18
  89. loc_005FABBB: lea ecx, [esi+00000038h]
  90. loc_005FABBE: call edi
  91. loc_005FABC0: push 005FABCFh
  92. loc_005FABC5: lea ecx, var_18
  93. loc_005FABC8: call [00401430h] ; __vbaFreeStr
  94. loc_005FABCE: ret
  95. loc_005FABCF: mov eax, Me
  96. loc_005FABD2: push eax
  97. loc_005FABD3: mov ecx, [eax]
  98. loc_005FABD5: call [ecx+00000008h]
  99. loc_005FABD8: mov eax, var_4
  100. loc_005FABDB: mov ecx, var_14
  101. loc_005FABDE: pop edi
  102. loc_005FABDF: pop esi
  103. loc_005FABE0: mov fs:[00000000h], ecx
  104. loc_005FABE7: pop ebx
  105. loc_005FABE8: mov esp, ebp
  106. loc_005FABEA: pop ebp
  107. loc_005FABEB: retn 0008h
  108. End Sub
  109. Public Property Get NumberOfWeeks(arg_C) '5FABF0
  110. loc_005FABF0: push ebp
  111. loc_005FABF1: mov ebp, esp
  112. loc_005FABF3: sub esp, 0000000Ch
  113. loc_005FABF6: push 00412856h ; __vbaExceptHandler
  114. loc_005FABFB: mov eax, fs:[00000000h]
  115. loc_005FAC01: push eax
  116. loc_005FAC02: mov fs:[00000000h], esp
  117. loc_005FAC09: sub esp, 0000000Ch
  118. loc_005FAC0C: push ebx
  119. loc_005FAC0D: push esi
  120. loc_005FAC0E: push edi
  121. loc_005FAC0F: mov var_C, esp
  122. loc_005FAC12: mov var_8, 00403D58h
  123. loc_005FAC19: xor edi, edi
  124. loc_005FAC1B: mov var_4, edi
  125. loc_005FAC1E: mov esi, Me
  126. loc_005FAC21: push esi
  127. loc_005FAC22: mov eax, [esi]
  128. loc_005FAC24: call [eax+00000004h]
  129. loc_005FAC27: mov cx, [esi+00000034h]
  130. loc_005FAC2B: mov var_18, edi
  131. loc_005FAC2E: mov var_18, ecx
  132. loc_005FAC31: mov eax, Me
  133. loc_005FAC34: push eax
  134. loc_005FAC35: mov edx, [eax]
  135. loc_005FAC37: call [edx+00000008h]
  136. loc_005FAC3A: mov eax, arg_C
  137. loc_005FAC3D: mov cx, var_18
  138. loc_005FAC41: mov [eax], cx
  139. loc_005FAC44: mov eax, var_4
  140. loc_005FAC47: mov ecx, var_14
  141. loc_005FAC4A: pop edi
  142. loc_005FAC4B: pop esi
  143. loc_005FAC4C: mov fs:[00000000h], ecx
  144. loc_005FAC53: pop ebx
  145. loc_005FAC54: mov esp, ebp
  146. loc_005FAC56: pop ebp
  147. loc_005FAC57: retn 0008h
  148. End Sub
  149. Public Property Let NumberOfWeeks(nNumberOfWeeks) '5FAC60
  150. loc_005FAC60: push ebp
  151. loc_005FAC61: mov ebp, esp
  152. loc_005FAC63: sub esp, 0000000Ch
  153. loc_005FAC66: push 00412856h ; __vbaExceptHandler
  154. loc_005FAC6B: mov eax, fs:[00000000h]
  155. loc_005FAC71: push eax
  156. loc_005FAC72: mov fs:[00000000h], esp
  157. loc_005FAC79: sub esp, 00000008h
  158. loc_005FAC7C: push ebx
  159. loc_005FAC7D: push esi
  160. loc_005FAC7E: push edi
  161. loc_005FAC7F: mov var_C, esp
  162. loc_005FAC82: mov var_8, 00403D60h
  163. loc_005FAC89: mov var_4, 00000000h
  164. loc_005FAC90: mov esi, Me
  165. loc_005FAC93: push esi
  166. loc_005FAC94: mov eax, [esi]
  167. loc_005FAC96: call [eax+00000004h]
  168. loc_005FAC99: mov cx, nNumberOfWeeks
  169. loc_005FAC9D: mov [esi+00000034h], cx
  170. loc_005FACA1: mov eax, Me
  171. loc_005FACA4: push eax
  172. loc_005FACA5: mov edx, [eax]
  173. loc_005FACA7: call [edx+00000008h]
  174. loc_005FACAA: mov eax, var_4
  175. loc_005FACAD: mov ecx, var_14
  176. loc_005FACB0: pop edi
  177. loc_005FACB1: pop esi
  178. loc_005FACB2: mov fs:[00000000h], ecx
  179. loc_005FACB9: pop ebx
  180. loc_005FACBA: mov esp, ebp
  181. loc_005FACBC: pop ebp
  182. loc_005FACBD: retn 0008h
  183. End Sub