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.

4320 lines
139 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 = "CDraw"
  10. Attribute VB_GlobalNameSpace = False
  11. Attribute VB_Creatable = True
  12. Attribute VB_PredeclaredId = False
  13. Attribute VB_Exposed = False
  14. Private Type UDT_1_0043CAB4
  15. bStruc(16) As Byte ' String fields: 0
  16. End Type
  17. Private Type UDT_2_0043CAC0
  18. bStruc(8) As Byte ' String fields: 0
  19. End Type
  20. Private Type UDT_3_0043CAC0
  21. bStruc(8) As Byte ' String fields: 0
  22. End Type
  23. Public Property Get CurrentX(Index As Integer) '7070C0
  24. loc_007070C0: push ebp
  25. loc_007070C1: mov ebp, esp
  26. loc_007070C3: sub esp, 0000000Ch
  27. loc_007070C6: push 00412856h ; __vbaExceptHandler
  28. loc_007070CB: mov eax, fs:[00000000h]
  29. loc_007070D1: push eax
  30. loc_007070D2: mov fs:[00000000h], esp
  31. loc_007070D9: sub esp, 00000010h
  32. loc_007070DC: push ebx
  33. loc_007070DD: push esi
  34. loc_007070DE: push edi
  35. loc_007070DF: mov var_C, esp
  36. loc_007070E2: mov var_8, 00410640h
  37. loc_007070E9: xor edi, edi
  38. loc_007070EB: mov var_4, edi
  39. loc_007070EE: mov esi, Me
  40. loc_007070F1: push esi
  41. loc_007070F2: mov eax, [esi]
  42. loc_007070F4: call [eax+00000004h]
  43. loc_007070F7: mov ecx, [esi]
  44. loc_007070F9: lea edx, var_1C
  45. loc_007070FC: push edx
  46. loc_007070FD: push esi
  47. loc_007070FE: mov var_18, edi
  48. loc_00707101: mov var_1C, edi
  49. loc_00707104: call [ecx+000000B0h]
  50. loc_0070710A: mov eax, var_1C
  51. loc_0070710D: mov var_18, eax
  52. loc_00707110: mov eax, Me
  53. loc_00707113: push eax
  54. loc_00707114: mov ecx, [eax]
  55. loc_00707116: call [ecx+00000008h]
  56. loc_00707119: mov edx, Index
  57. loc_0070711C: mov eax, var_18
  58. loc_0070711F: mov [edx], eax
  59. loc_00707121: mov eax, var_4
  60. loc_00707124: mov ecx, var_14
  61. loc_00707127: pop edi
  62. loc_00707128: pop esi
  63. loc_00707129: mov fs:[00000000h], ecx
  64. loc_00707130: pop ebx
  65. loc_00707131: mov esp, ebp
  66. loc_00707133: pop ebp
  67. loc_00707134: retn 0008h
  68. End Sub
  69. Public Property Let CurrentX(x) '707140
  70. loc_00707140: push ebp
  71. loc_00707141: mov ebp, esp
  72. loc_00707143: sub esp, 00000018h
  73. loc_00707146: push 00412856h ; __vbaExceptHandler
  74. loc_0070714B: mov eax, fs:[00000000h]
  75. loc_00707151: push eax
  76. loc_00707152: mov fs:[00000000h], esp
  77. loc_00707159: mov eax, 00000020h
  78. loc_0070715E: call 00412850h ; __vbaChkstk
  79. loc_00707163: push ebx
  80. loc_00707164: push esi
  81. loc_00707165: push edi
  82. loc_00707166: mov var_18, esp
  83. loc_00707169: mov var_14, 00410648h
  84. loc_00707170: mov var_10, 00000000h
  85. loc_00707177: mov var_C, 00000000h
  86. loc_0070717E: mov eax, Me
  87. loc_00707181: mov ecx, [eax]
  88. loc_00707183: mov edx, Me
  89. loc_00707186: push edx
  90. loc_00707187: call [ecx+00000004h]
  91. loc_0070718A: mov var_4, 00000001h
  92. loc_00707191: mov var_4, 00000002h
  93. loc_00707198: push FFFFFFFFh
  94. loc_0070719A: call [00401124h] ; __vbaOnError
  95. loc_007071A0: mov var_4, 00000003h
  96. loc_007071A7: lea eax, var_28
  97. loc_007071AA: push eax
  98. loc_007071AB: mov ecx, Me
  99. loc_007071AE: mov edx, [ecx+00000048h]
  100. loc_007071B1: push edx
  101. loc_007071B2: GetCurrentPositionEx(%x1v, %x2v)
  102. loc_007071B7: mov var_2C, eax
  103. loc_007071BA: call [004010BCh] ; __vbaSetSystemError
  104. loc_007071C0: mov eax, Me
  105. loc_007071C3: mov ecx, var_2C
  106. loc_007071C6: mov [eax+0000004Ch], ecx
  107. loc_007071C9: mov var_4, 00000004h
  108. loc_007071D0: mov edx, Me
  109. loc_007071D3: cmp [edx+0000004Ch], 00000000h
  110. loc_007071D7: jz 0070720Ah
  111. loc_007071D9: mov var_4, 00000005h
  112. loc_007071E0: lea eax, var_28
  113. loc_007071E3: push eax
  114. loc_007071E4: mov ecx, var_24
  115. loc_007071E7: push ecx
  116. loc_007071E8: mov edx, x
  117. loc_007071EB: push edx
  118. loc_007071EC: mov eax, Me
  119. loc_007071EF: mov ecx, [eax+00000048h]
  120. loc_007071F2: push ecx
  121. loc_007071F3: MoveToEx(%x1v, %x2v, %x3v, %x4v)
  122. loc_007071F8: mov var_2C, eax
  123. loc_007071FB: call [004010BCh] ; __vbaSetSystemError
  124. loc_00707201: mov edx, Me
  125. loc_00707204: mov eax, var_2C
  126. loc_00707207: mov [edx+0000004Ch], eax
  127. loc_0070720A: mov var_4, 00000007h
  128. loc_00707211: mov ecx, Me
  129. loc_00707214: cmp [ecx+0000004Ch], 00000000h
  130. loc_00707218: jz 0070722Dh
  131. loc_0070721A: mov var_4, 00000008h
  132. loc_00707221: mov edx, Me
  133. loc_00707224: mov [edx+0000004Ch], 00000000h
  134. loc_0070722B: jmp 0070724Bh
  135. loc_0070722D: mov var_4, 0000000Ah
  136. loc_00707234: GetLastError()
  137. loc_00707239: mov var_2C, eax
  138. loc_0070723C: call [004010BCh] ; __vbaSetSystemError
  139. loc_00707242: mov eax, Me
  140. loc_00707245: mov ecx, var_2C
  141. loc_00707248: mov [eax+0000004Ch], ecx
  142. loc_0070724B: mov edx, Me
  143. loc_0070724E: mov eax, [edx]
  144. loc_00707250: mov ecx, Me
  145. loc_00707253: push ecx
  146. loc_00707254: call [eax+00000008h]
  147. loc_00707257: mov eax, var_10
  148. loc_0070725A: mov ecx, var_20
  149. loc_0070725D: mov fs:[00000000h], ecx
  150. loc_00707264: pop edi
  151. loc_00707265: pop esi
  152. loc_00707266: pop ebx
  153. loc_00707267: mov esp, ebp
  154. loc_00707269: pop ebp
  155. loc_0070726A: retn 0008h
  156. End Sub
  157. Public Property Get CurrentY(arg_C) '707270
  158. loc_00707270: push ebp
  159. loc_00707271: mov ebp, esp
  160. loc_00707273: sub esp, 0000000Ch
  161. loc_00707276: push 00412856h ; __vbaExceptHandler
  162. loc_0070727B: mov eax, fs:[00000000h]
  163. loc_00707281: push eax
  164. loc_00707282: mov fs:[00000000h], esp
  165. loc_00707289: sub esp, 00000010h
  166. loc_0070728C: push ebx
  167. loc_0070728D: push esi
  168. loc_0070728E: push edi
  169. loc_0070728F: mov var_C, esp
  170. loc_00707292: mov var_8, 00410698h
  171. loc_00707299: xor edi, edi
  172. loc_0070729B: mov var_4, edi
  173. loc_0070729E: mov esi, Me
  174. loc_007072A1: push esi
  175. loc_007072A2: mov eax, [esi]
  176. loc_007072A4: call [eax+00000004h]
  177. loc_007072A7: mov ecx, [esi]
  178. loc_007072A9: lea edx, var_1C
  179. loc_007072AC: push edx
  180. loc_007072AD: push esi
  181. loc_007072AE: mov var_18, edi
  182. loc_007072B1: mov var_1C, edi
  183. loc_007072B4: call [ecx+000000B4h]
  184. loc_007072BA: mov eax, var_1C
  185. loc_007072BD: mov var_18, eax
  186. loc_007072C0: mov eax, Me
  187. loc_007072C3: push eax
  188. loc_007072C4: mov ecx, [eax]
  189. loc_007072C6: call [ecx+00000008h]
  190. loc_007072C9: mov edx, arg_C
  191. loc_007072CC: mov eax, var_18
  192. loc_007072CF: mov [edx], eax
  193. loc_007072D1: mov eax, var_4
  194. loc_007072D4: mov ecx, var_14
  195. loc_007072D7: pop edi
  196. loc_007072D8: pop esi
  197. loc_007072D9: mov fs:[00000000h], ecx
  198. loc_007072E0: pop ebx
  199. loc_007072E1: mov esp, ebp
  200. loc_007072E3: pop ebp
  201. loc_007072E4: retn 0008h
  202. End Sub
  203. Public Property Let CurrentY(y) '7072F0
  204. loc_007072F0: push ebp
  205. loc_007072F1: mov ebp, esp
  206. loc_007072F3: sub esp, 00000018h
  207. loc_007072F6: push 00412856h ; __vbaExceptHandler
  208. loc_007072FB: mov eax, fs:[00000000h]
  209. loc_00707301: push eax
  210. loc_00707302: mov fs:[00000000h], esp
  211. loc_00707309: mov eax, 00000020h
  212. loc_0070730E: call 00412850h ; __vbaChkstk
  213. loc_00707313: push ebx
  214. loc_00707314: push esi
  215. loc_00707315: push edi
  216. loc_00707316: mov var_18, esp
  217. loc_00707319: mov var_14, 004106A0h
  218. loc_00707320: mov var_10, 00000000h
  219. loc_00707327: mov var_C, 00000000h
  220. loc_0070732E: mov eax, Me
  221. loc_00707331: mov ecx, [eax]
  222. loc_00707333: mov edx, Me
  223. loc_00707336: push edx
  224. loc_00707337: call [ecx+00000004h]
  225. loc_0070733A: mov var_4, 00000001h
  226. loc_00707341: mov var_4, 00000002h
  227. loc_00707348: push FFFFFFFFh
  228. loc_0070734A: call [00401124h] ; __vbaOnError
  229. loc_00707350: mov var_4, 00000003h
  230. loc_00707357: lea eax, var_28
  231. loc_0070735A: push eax
  232. loc_0070735B: mov ecx, Me
  233. loc_0070735E: mov edx, [ecx+00000048h]
  234. loc_00707361: push edx
  235. loc_00707362: GetCurrentPositionEx(%x1v, %x2v)
  236. loc_00707367: mov var_2C, eax
  237. loc_0070736A: call [004010BCh] ; __vbaSetSystemError
  238. loc_00707370: mov eax, Me
  239. loc_00707373: mov ecx, var_2C
  240. loc_00707376: mov [eax+0000004Ch], ecx
  241. loc_00707379: mov var_4, 00000004h
  242. loc_00707380: lea edx, var_28
  243. loc_00707383: push edx
  244. loc_00707384: mov eax, y
  245. loc_00707387: push eax
  246. loc_00707388: mov ecx, var_28
  247. loc_0070738B: push ecx
  248. loc_0070738C: mov edx, Me
  249. loc_0070738F: mov eax, [edx+00000048h]
  250. loc_00707392: push eax
  251. loc_00707393: MoveToEx(%x1v, %x2v, %x3v, %x4v)
  252. loc_00707398: mov var_2C, eax
  253. loc_0070739B: call [004010BCh] ; __vbaSetSystemError
  254. loc_007073A1: mov ecx, Me
  255. loc_007073A4: mov edx, var_2C
  256. loc_007073A7: mov [ecx+0000004Ch], edx
  257. loc_007073AA: mov var_4, 00000005h
  258. loc_007073B1: mov eax, Me
  259. loc_007073B4: cmp [eax+0000004Ch], 00000000h
  260. loc_007073B8: jz 007073CDh
  261. loc_007073BA: mov var_4, 00000006h
  262. loc_007073C1: mov ecx, Me
  263. loc_007073C4: mov [ecx+0000004Ch], 00000000h
  264. loc_007073CB: jmp 007073EBh
  265. loc_007073CD: mov var_4, 00000008h
  266. loc_007073D4: GetLastError()
  267. loc_007073D9: mov var_2C, eax
  268. loc_007073DC: call [004010BCh] ; __vbaSetSystemError
  269. loc_007073E2: mov edx, Me
  270. loc_007073E5: mov eax, var_2C
  271. loc_007073E8: mov [edx+0000004Ch], eax
  272. loc_007073EB: mov ecx, Me
  273. loc_007073EE: mov edx, [ecx]
  274. loc_007073F0: mov eax, Me
  275. loc_007073F3: push eax
  276. loc_007073F4: call [edx+00000008h]
  277. loc_007073F7: mov eax, var_10
  278. loc_007073FA: mov ecx, var_20
  279. loc_007073FD: mov fs:[00000000h], ecx
  280. loc_00707404: pop edi
  281. loc_00707405: pop esi
  282. loc_00707406: pop ebx
  283. loc_00707407: mov esp, ebp
  284. loc_00707409: pop ebp
  285. loc_0070740A: retn 0008h
  286. End Sub
  287. Public Property Get ErrNumber(arg_C) '707410
  288. loc_00707410: push ebp
  289. loc_00707411: mov ebp, esp
  290. loc_00707413: sub esp, 0000000Ch
  291. loc_00707416: push 00412856h ; __vbaExceptHandler
  292. loc_0070741B: mov eax, fs:[00000000h]
  293. loc_00707421: push eax
  294. loc_00707422: mov fs:[00000000h], esp
  295. loc_00707429: sub esp, 0000000Ch
  296. loc_0070742C: push ebx
  297. loc_0070742D: push esi
  298. loc_0070742E: push edi
  299. loc_0070742F: mov var_C, esp
  300. loc_00707432: mov var_8, 004106E8h
  301. loc_00707439: xor edi, edi
  302. loc_0070743B: mov var_4, edi
  303. loc_0070743E: mov esi, Me
  304. loc_00707441: push esi
  305. loc_00707442: mov eax, [esi]
  306. loc_00707444: call [eax+00000004h]
  307. loc_00707447: mov ecx, [esi+0000004Ch]
  308. loc_0070744A: mov var_18, edi
  309. loc_0070744D: mov var_18, ecx
  310. loc_00707450: mov eax, Me
  311. loc_00707453: push eax
  312. loc_00707454: mov edx, [eax]
  313. loc_00707456: call [edx+00000008h]
  314. loc_00707459: mov eax, arg_C
  315. loc_0070745C: mov ecx, var_18
  316. loc_0070745F: mov [eax], ecx
  317. loc_00707461: mov eax, var_4
  318. loc_00707464: mov ecx, var_14
  319. loc_00707467: pop edi
  320. loc_00707468: pop esi
  321. loc_00707469: mov fs:[00000000h], ecx
  322. loc_00707470: pop ebx
  323. loc_00707471: mov esp, ebp
  324. loc_00707473: pop ebp
  325. loc_00707474: retn 0008h
  326. End Sub
  327. Public Property Get hdc(arg_C) '7075E0
  328. loc_007075E0: push ebp
  329. loc_007075E1: mov ebp, esp
  330. loc_007075E3: sub esp, 0000000Ch
  331. loc_007075E6: push 00412856h ; __vbaExceptHandler
  332. loc_007075EB: mov eax, fs:[00000000h]
  333. loc_007075F1: push eax
  334. loc_007075F2: mov fs:[00000000h], esp
  335. loc_007075F9: sub esp, 0000000Ch
  336. loc_007075FC: push ebx
  337. loc_007075FD: push esi
  338. loc_007075FE: push edi
  339. loc_007075FF: mov var_C, esp
  340. loc_00707602: mov var_8, 00410738h
  341. loc_00707609: xor edi, edi
  342. loc_0070760B: mov var_4, edi
  343. loc_0070760E: mov esi, Me
  344. loc_00707611: push esi
  345. loc_00707612: mov eax, [esi]
  346. loc_00707614: call [eax+00000004h]
  347. loc_00707617: mov ecx, [esi+00000048h]
  348. loc_0070761A: mov var_18, edi
  349. loc_0070761D: mov var_18, ecx
  350. loc_00707620: mov eax, Me
  351. loc_00707623: push eax
  352. loc_00707624: mov edx, [eax]
  353. loc_00707626: call [edx+00000008h]
  354. loc_00707629: mov eax, arg_C
  355. loc_0070762C: mov ecx, var_18
  356. loc_0070762F: mov [eax], ecx
  357. loc_00707631: mov eax, var_4
  358. loc_00707634: mov ecx, var_14
  359. loc_00707637: pop edi
  360. loc_00707638: pop esi
  361. loc_00707639: mov fs:[00000000h], ecx
  362. loc_00707640: pop ebx
  363. loc_00707641: mov esp, ebp
  364. loc_00707643: pop ebp
  365. loc_00707644: retn 0008h
  366. End Sub
  367. Public Property Let hdc(lhdc) '707650
  368. loc_00707650: push ebp
  369. loc_00707651: mov ebp, esp
  370. loc_00707653: sub esp, 0000000Ch
  371. loc_00707656: push 00412856h ; __vbaExceptHandler
  372. loc_0070765B: mov eax, fs:[00000000h]
  373. loc_00707661: push eax
  374. loc_00707662: mov fs:[00000000h], esp
  375. loc_00707669: sub esp, 00000010h
  376. loc_0070766C: push ebx
  377. loc_0070766D: push esi
  378. loc_0070766E: push edi
  379. loc_0070766F: mov var_C, esp
  380. loc_00707672: mov var_8, 00410740h
  381. loc_00707679: mov var_4, 00000000h
  382. loc_00707680: mov esi, Me
  383. loc_00707683: push esi
  384. loc_00707684: mov eax, [esi]
  385. loc_00707686: call [eax+00000004h]
  386. loc_00707689: mov ecx, lhdc
  387. loc_0070768C: mov edx, [esi]
  388. loc_0070768E: push 00000000h
  389. loc_00707690: push esi
  390. loc_00707691: mov [esi+00000048h], ecx
  391. loc_00707694: call [edx+00000020h]
  392. loc_00707697: test eax, eax
  393. loc_00707699: jge 007076AAh
  394. loc_0070769B: push 00000020h
  395. loc_0070769D: push 0043CA28h
  396. loc_007076A2: push esi
  397. loc_007076A3: push eax
  398. loc_007076A4: call [004010CCh] ; __vbaHresultCheckObj
  399. loc_007076AA: mov eax, [esi]
  400. loc_007076AC: push 00000000h
  401. loc_007076AE: push esi
  402. loc_007076AF: call [eax+00000028h]
  403. loc_007076B2: test eax, eax
  404. loc_007076B4: jge 007076C5h
  405. loc_007076B6: push 00000028h
  406. loc_007076B8: push 0043CA28h
  407. loc_007076BD: push esi
  408. loc_007076BE: push eax
  409. loc_007076BF: call [004010CCh] ; __vbaHresultCheckObj
  410. loc_007076C5: mov ecx, [esi+00000048h]
  411. loc_007076C8: push ecx
  412. loc_007076C9: CreateHalftonePalette(%x1v)
  413. loc_007076CE: mov edi, eax
  414. loc_007076D0: call [004010BCh] ; __vbaSetSystemError
  415. loc_007076D6: mov [esi+00000034h], edi
  416. loc_007076D9: mov eax, Me
  417. loc_007076DC: push eax
  418. loc_007076DD: mov edx, [eax]
  419. loc_007076DF: call [edx+00000008h]
  420. loc_007076E2: mov eax, var_4
  421. loc_007076E5: mov ecx, var_14
  422. loc_007076E8: pop edi
  423. loc_007076E9: pop esi
  424. loc_007076EA: mov fs:[00000000h], ecx
  425. loc_007076F1: pop ebx
  426. loc_007076F2: mov esp, ebp
  427. loc_007076F4: pop ebp
  428. loc_007076F5: retn 0008h
  429. End Sub
  430. Public Sub LineFromTo(x, y, XEnd, YEnd) '707700
  431. loc_00707700: push ebp
  432. loc_00707701: mov ebp, esp
  433. loc_00707703: sub esp, 0000000Ch
  434. loc_00707706: push 00412856h ; __vbaExceptHandler
  435. loc_0070770B: mov eax, fs:[00000000h]
  436. loc_00707711: push eax
  437. loc_00707712: mov fs:[00000000h], esp
  438. loc_00707719: sub esp, 00000010h
  439. loc_0070771C: push ebx
  440. loc_0070771D: push esi
  441. loc_0070771E: push edi
  442. loc_0070771F: mov var_C, esp
  443. loc_00707722: mov var_8, 00410748h
  444. loc_00707729: mov var_4, 00000000h
  445. loc_00707730: mov esi, Me
  446. loc_00707733: push esi
  447. loc_00707734: mov eax, [esi]
  448. loc_00707736: call [eax+00000004h]
  449. loc_00707739: mov edx, x
  450. loc_0070773C: mov ecx, [esi]
  451. loc_0070773E: push edx
  452. loc_0070773F: push esi
  453. loc_00707740: call [ecx+00000020h]
  454. loc_00707743: test eax, eax
  455. loc_00707745: jge 00707756h
  456. loc_00707747: push 00000020h
  457. loc_00707749: push 0043CA28h
  458. loc_0070774E: push esi
  459. loc_0070774F: push eax
  460. loc_00707750: call [004010CCh] ; __vbaHresultCheckObj
  461. loc_00707756: mov ecx, y
  462. loc_00707759: mov eax, [esi]
  463. loc_0070775B: push ecx
  464. loc_0070775C: push esi
  465. loc_0070775D: call [eax+00000028h]
  466. loc_00707760: test eax, eax
  467. loc_00707762: jge 00707773h
  468. loc_00707764: push 00000028h
  469. loc_00707766: push 0043CA28h
  470. loc_0070776B: push esi
  471. loc_0070776C: push eax
  472. loc_0070776D: call [004010CCh] ; __vbaHresultCheckObj
  473. loc_00707773: mov edx, YEnd
  474. loc_00707776: mov eax, XEnd
  475. loc_00707779: mov ecx, [esi+00000048h]
  476. loc_0070777C: push edx
  477. loc_0070777D: push eax
  478. loc_0070777E: push ecx
  479. loc_0070777F: LineTo(%x1v, %x2v, %x3v)
  480. loc_00707784: mov ebx, [004010BCh] ; __vbaSetSystemError
  481. loc_0070778A: mov edi, eax
  482. loc_0070778C: call ebx
  483. loc_0070778E: test edi, edi
  484. loc_00707790: mov [esi+0000004Ch], edi
  485. loc_00707793: jz 0070779Eh
  486. loc_00707795: mov [esi+0000004Ch], 00000000h
  487. loc_0070779C: jmp 007077AAh
  488. loc_0070779E: GetLastError()
  489. loc_007077A3: mov edi, eax
  490. loc_007077A5: call ebx
  491. loc_007077A7: mov [esi+0000004Ch], edi
  492. loc_007077AA: mov eax, Me
  493. loc_007077AD: push eax
  494. loc_007077AE: mov edx, [eax]
  495. loc_007077B0: call [edx+00000008h]
  496. loc_007077B3: mov eax, var_4
  497. loc_007077B6: mov ecx, var_14
  498. loc_007077B9: pop edi
  499. loc_007077BA: pop esi
  500. loc_007077BB: mov fs:[00000000h], ecx
  501. loc_007077C2: pop ebx
  502. loc_007077C3: mov esp, ebp
  503. loc_007077C5: pop ebp
  504. loc_007077C6: retn 0014h
  505. End Sub
  506. Public Sub LineTo(XEnd, YEnd, clrLineColor) '7077D0
  507. loc_007077D0: push ebp
  508. loc_007077D1: mov ebp, esp
  509. loc_007077D3: sub esp, 0000000Ch
  510. loc_007077D6: push 00412856h ; __vbaExceptHandler
  511. loc_007077DB: mov eax, fs:[00000000h]
  512. loc_007077E1: push eax
  513. loc_007077E2: mov fs:[00000000h], esp
  514. loc_007077E9: sub esp, 00000014h
  515. loc_007077EC: push ebx
  516. loc_007077ED: push esi
  517. loc_007077EE: push edi
  518. loc_007077EF: mov var_C, esp
  519. loc_007077F2: mov var_8, 00410750h
  520. loc_007077F9: xor esi, esi
  521. loc_007077FB: mov var_4, esi
  522. loc_007077FE: mov edi, Me
  523. loc_00707801: push edi
  524. loc_00707802: mov eax, [edi]
  525. loc_00707804: call [eax+00000004h]
  526. loc_00707807: mov ebx, clrLineColor
  527. loc_0070780A: mov var_18, esi
  528. loc_0070780D: cmp ebx, FFFFFFFFh
  529. loc_00707810: jz 00707861h
  530. loc_00707812: test ebx, 80000000h
  531. loc_00707818: jz 00707832h
  532. loc_0070781A: and ebx, 000000FFh
  533. loc_00707820: push ebx
  534. loc_00707821: GetSysColor(%x1v)
  535. loc_00707826: mov esi, [004010BCh] ; __vbaSetSystemError
  536. loc_0070782C: mov ebx, eax
  537. loc_0070782E: call __vbaSetSystemError
  538. loc_00707830: jmp 00707838h
  539. loc_00707832: mov esi, [004010BCh] ; __vbaSetSystemError
  540. loc_00707838: push ebx
  541. loc_00707839: push 00000000h
  542. loc_0070783B: push 00000000h
  543. loc_0070783D: CreatePen(%x1v, %x2v, %x3v)
  544. loc_00707842: mov var_20, eax
  545. loc_00707845: call __vbaSetSystemError
  546. loc_00707847: mov ecx, var_20
  547. loc_0070784A: mov edx, [edi+00000048h]
  548. loc_0070784D: push ecx
  549. loc_0070784E: push edx
  550. loc_0070784F: SelectObject(%x1v, %x2v)
  551. loc_00707854: mov var_20, eax
  552. loc_00707857: call __vbaSetSystemError
  553. loc_00707859: mov eax, var_20
  554. loc_0070785C: mov var_18, eax
  555. loc_0070785F: jmp 00707867h
  556. loc_00707861: mov esi, [004010BCh] ; __vbaSetSystemError
  557. loc_00707867: mov ecx, YEnd
  558. loc_0070786A: mov edx, XEnd
  559. loc_0070786D: mov eax, [edi+00000048h]
  560. loc_00707870: push ecx
  561. loc_00707871: push edx
  562. loc_00707872: push eax
  563. loc_00707873: LineTo(%x1v, %x2v, %x3v)
  564. loc_00707878: mov var_20, eax
  565. loc_0070787B: call __vbaSetSystemError
  566. loc_0070787D: mov eax, var_20
  567. loc_00707880: test eax, eax
  568. loc_00707882: mov [edi+0000004Ch], eax
  569. loc_00707885: jz 00707890h
  570. loc_00707887: mov [edi+0000004Ch], 00000000h
  571. loc_0070788E: jmp 007078A0h
  572. loc_00707890: GetLastError()
  573. loc_00707895: mov var_20, eax
  574. loc_00707898: call __vbaSetSystemError
  575. loc_0070789A: mov ecx, var_20
  576. loc_0070789D: mov [edi+0000004Ch], ecx
  577. loc_007078A0: cmp ebx, FFFFFFFFh
  578. loc_007078A3: jz 007078BEh
  579. loc_007078A5: mov edx, var_18
  580. loc_007078A8: mov eax, [edi+00000048h]
  581. loc_007078AB: push edx
  582. loc_007078AC: push eax
  583. loc_007078AD: SelectObject(%x1v, %x2v)
  584. loc_007078B2: mov edi, eax
  585. loc_007078B4: call __vbaSetSystemError
  586. loc_007078B6: push edi
  587. loc_007078B7: DeleteObject(%x1v)
  588. loc_007078BC: call __vbaSetSystemError
  589. loc_007078BE: mov eax, Me
  590. loc_007078C1: push eax
  591. loc_007078C2: mov ecx, [eax]
  592. loc_007078C4: call [ecx+00000008h]
  593. loc_007078C7: mov eax, var_4
  594. loc_007078CA: mov ecx, var_14
  595. loc_007078CD: pop edi
  596. loc_007078CE: pop esi
  597. loc_007078CF: mov fs:[00000000h], ecx
  598. loc_007078D6: pop ebx
  599. loc_007078D7: mov esp, ebp
  600. loc_007078D9: pop ebp
  601. loc_007078DA: retn 0010h
  602. End Sub
  603. Public Sub Rectangle(rctLeft, rctTop, rctWidth, rctHeight, clrBorderColor, clrFillColor, EllipseWidth) '7078E0
  604. loc_007078E0: push ebp
  605. loc_007078E1: mov ebp, esp
  606. loc_007078E3: sub esp, 0000000Ch
  607. loc_007078E6: push 00412856h ; __vbaExceptHandler
  608. loc_007078EB: mov eax, fs:[00000000h]
  609. loc_007078F1: push eax
  610. loc_007078F2: mov fs:[00000000h], esp
  611. loc_007078F9: sub esp, 00000030h
  612. loc_007078FC: push ebx
  613. loc_007078FD: push esi
  614. loc_007078FE: push edi
  615. loc_007078FF: mov var_C, esp
  616. loc_00707902: mov var_8, 00410758h
  617. loc_00707909: xor esi, esi
  618. loc_0070790B: mov var_4, esi
  619. loc_0070790E: mov edi, Me
  620. loc_00707911: push edi
  621. loc_00707912: mov eax, [edi]
  622. loc_00707914: call [eax+00000004h]
  623. loc_00707917: mov eax, clrBorderColor
  624. loc_0070791A: mov var_20, esi
  625. loc_0070791D: cmp eax, FFFFFFFFh
  626. loc_00707920: mov var_24, esi
  627. loc_00707923: jz 0070796Fh
  628. loc_00707925: test eax, 80000000h
  629. loc_0070792A: jz 00707948h
  630. loc_0070792C: and eax, 000000FFh
  631. loc_00707931: push eax
  632. loc_00707932: GetSysColor(%x1v)
  633. loc_00707937: mov esi, [004010BCh] ; __vbaSetSystemError
  634. loc_0070793D: mov ebx, eax
  635. loc_0070793F: call __vbaSetSystemError
  636. loc_00707941: mov clrBorderColor, ebx
  637. loc_00707944: mov eax, ebx
  638. loc_00707946: jmp 0070794Eh
  639. loc_00707948: mov esi, [004010BCh] ; __vbaSetSystemError
  640. loc_0070794E: push eax
  641. loc_0070794F: push 00000000h
  642. loc_00707951: push 00000000h
  643. loc_00707953: CreatePen(%x1v, %x2v, %x3v)
  644. loc_00707958: mov ebx, eax
  645. loc_0070795A: call __vbaSetSystemError
  646. loc_0070795C: mov ecx, [edi+00000048h]
  647. loc_0070795F: push ebx
  648. loc_00707960: push ecx
  649. loc_00707961: SelectObject(%x1v, %x2v)
  650. loc_00707966: mov ebx, eax
  651. loc_00707968: call __vbaSetSystemError
  652. loc_0070796A: mov var_20, ebx
  653. loc_0070796D: jmp 00707975h
  654. loc_0070796F: mov esi, [004010BCh] ; __vbaSetSystemError
  655. loc_00707975: mov eax, clrFillColor
  656. loc_00707978: cmp eax, FFFFFFFFh
  657. loc_0070797B: jz 007079B3h
  658. loc_0070797D: test eax, 80000000h
  659. loc_00707982: jz 00707998h
  660. loc_00707984: and eax, 000000FFh
  661. loc_00707989: push eax
  662. loc_0070798A: GetSysColor(%x1v)
  663. loc_0070798F: mov ebx, eax
  664. loc_00707991: call __vbaSetSystemError
  665. loc_00707993: mov clrFillColor, ebx
  666. loc_00707996: mov eax, ebx
  667. loc_00707998: push eax
  668. loc_00707999: CreateSolidBrush(%x1v)
  669. loc_0070799E: mov ebx, eax
  670. loc_007079A0: call __vbaSetSystemError
  671. loc_007079A2: mov edx, [edi+00000048h]
  672. loc_007079A5: push ebx
  673. loc_007079A6: push edx
  674. loc_007079A7: SelectObject(%x1v, %x2v)
  675. loc_007079AC: mov ebx, eax
  676. loc_007079AE: call __vbaSetSystemError
  677. loc_007079B0: mov var_24, ebx
  678. loc_007079B3: mov eax, EllipseWidth
  679. loc_007079B6: test eax, eax
  680. loc_007079B8: jle 007079EBh
  681. loc_007079BA: mov ebx, rctHeight
  682. loc_007079BD: push eax
  683. loc_007079BE: push eax
  684. loc_007079BF: mov eax, rctTop
  685. loc_007079C2: mov ecx, eax
  686. loc_007079C4: add ecx, ebx
  687. loc_007079C6: mov ebx, rctWidth
  688. loc_007079C9: jo 00707A95h
  689. loc_007079CF: push ecx
  690. loc_007079D0: mov ecx, rctLeft
  691. loc_007079D3: mov edx, ecx
  692. loc_007079D5: add edx, ebx
  693. loc_007079D7: jo 00707A95h
  694. loc_007079DD: push edx
  695. loc_007079DE: push eax
  696. loc_007079DF: mov eax, [edi+00000048h]
  697. loc_007079E2: push ecx
  698. loc_007079E3: push eax
  699. loc_007079E4: CreateRoundRectRgn(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v)
  700. loc_007079E9: jmp 00707A18h
  701. loc_007079EB: mov eax, rctTop
  702. loc_007079EE: mov ebx, rctHeight
  703. loc_007079F1: mov ecx, eax
  704. loc_007079F3: add ecx, ebx
  705. loc_007079F5: mov ebx, rctWidth
  706. loc_007079F8: jo 00707A95h
  707. loc_007079FE: push ecx
  708. loc_007079FF: mov ecx, rctLeft
  709. loc_00707A02: mov edx, ecx
  710. loc_00707A04: add edx, ebx
  711. loc_00707A06: jo 00707A95h
  712. loc_00707A0C: push edx
  713. loc_00707A0D: push eax
  714. loc_00707A0E: mov eax, [edi+00000048h]
  715. loc_00707A11: push ecx
  716. loc_00707A12: push eax
  717. loc_00707A13: Rectangle(%x1v, %x2v, %x3v, %x4v, %x5v)
  718. loc_00707A18: mov ebx, eax
  719. loc_00707A1A: call __vbaSetSystemError
  720. loc_00707A1C: test ebx, ebx
  721. loc_00707A1E: mov [edi+0000004Ch], ebx
  722. loc_00707A21: jz 00707A2Ch
  723. loc_00707A23: mov [edi+0000004Ch], 00000000h
  724. loc_00707A2A: jmp 00707A38h
  725. loc_00707A2C: GetLastError()
  726. loc_00707A31: mov ebx, eax
  727. loc_00707A33: call __vbaSetSystemError
  728. loc_00707A35: mov [edi+0000004Ch], ebx
  729. loc_00707A38: cmp clrBorderColor, FFFFFFFFh
  730. loc_00707A3C: jz 00707A57h
  731. loc_00707A3E: mov ecx, var_20
  732. loc_00707A41: mov edx, [edi+00000048h]
  733. loc_00707A44: push ecx
  734. loc_00707A45: push edx
  735. loc_00707A46: SelectObject(%x1v, %x2v)
  736. loc_00707A4B: mov ebx, eax
  737. loc_00707A4D: call __vbaSetSystemError
  738. loc_00707A4F: push ebx
  739. loc_00707A50: DeleteObject(%x1v)
  740. loc_00707A55: call __vbaSetSystemError
  741. loc_00707A57: cmp clrFillColor, FFFFFFFFh
  742. loc_00707A5B: jz 00707A76h
  743. loc_00707A5D: mov eax, var_24
  744. loc_00707A60: mov ecx, [edi+00000048h]
  745. loc_00707A63: push eax
  746. loc_00707A64: push ecx
  747. loc_00707A65: SelectObject(%x1v, %x2v)
  748. loc_00707A6A: mov edi, eax
  749. loc_00707A6C: call __vbaSetSystemError
  750. loc_00707A6E: push edi
  751. loc_00707A6F: DeleteObject(%x1v)
  752. loc_00707A74: call __vbaSetSystemError
  753. loc_00707A76: mov eax, Me
  754. loc_00707A79: push eax
  755. loc_00707A7A: mov edx, [eax]
  756. loc_00707A7C: call [edx+00000008h]
  757. loc_00707A7F: mov eax, var_4
  758. loc_00707A82: mov ecx, var_14
  759. loc_00707A85: pop edi
  760. loc_00707A86: pop esi
  761. loc_00707A87: mov fs:[00000000h], ecx
  762. loc_00707A8E: pop ebx
  763. loc_00707A8F: mov esp, ebp
  764. loc_00707A91: pop ebp
  765. loc_00707A92: retn 0020h
  766. End Sub
  767. Public Sub TextOut(sText, x, y) '707AA0
  768. loc_00707AA0: push ebp
  769. loc_00707AA1: mov ebp, esp
  770. loc_00707AA3: sub esp, 0000000Ch
  771. loc_00707AA6: push 00412856h ; __vbaExceptHandler
  772. loc_00707AAB: mov eax, fs:[00000000h]
  773. loc_00707AB1: push eax
  774. loc_00707AB2: mov fs:[00000000h], esp
  775. loc_00707AB9: sub esp, 00000010h
  776. loc_00707ABC: push ebx
  777. loc_00707ABD: push esi
  778. loc_00707ABE: push edi
  779. loc_00707ABF: mov var_C, esp
  780. loc_00707AC2: mov var_8, 00410760h
  781. loc_00707AC9: xor edi, edi
  782. loc_00707ACB: mov var_4, edi
  783. loc_00707ACE: mov esi, Me
  784. loc_00707AD1: push esi
  785. loc_00707AD2: mov eax, [esi]
  786. loc_00707AD4: call [eax+00000004h]
  787. loc_00707AD7: mov var_18, edi
  788. loc_00707ADA: mov edi, sText
  789. loc_00707ADD: mov ecx, [edi]
  790. loc_00707ADF: push ecx
  791. loc_00707AE0: call [00401044h] ; __vbaLenBstr
  792. loc_00707AE6: mov edx, [edi]
  793. loc_00707AE8: push eax
  794. loc_00707AE9: lea eax, var_18
  795. loc_00707AEC: push edx
  796. loc_00707AED: push eax
  797. loc_00707AEE: call [00401370h] ; __vbaStrToAnsi
  798. loc_00707AF4: mov ecx, y
  799. loc_00707AF7: mov edx, x
  800. loc_00707AFA: push eax
  801. loc_00707AFB: mov eax, [esi+00000048h]
  802. loc_00707AFE: push ecx
  803. loc_00707AFF: push edx
  804. loc_00707B00: push eax
  805. loc_00707B01: ExtTextOut(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v, %x7v, %x8v)
  806. loc_00707B06: mov ebx, eax
  807. loc_00707B08: call [004010BCh] ; __vbaSetSystemError
  808. loc_00707B0E: mov ecx, var_18
  809. loc_00707B11: push ecx
  810. loc_00707B12: push edi
  811. loc_00707B13: call [00401260h] ; __vbaStrToUnicode
  812. loc_00707B19: lea ecx, var_18
  813. loc_00707B1C: mov [esi+0000004Ch], ebx
  814. loc_00707B1F: call [00401430h] ; __vbaFreeStr
  815. loc_00707B25: mov eax, [esi+0000004Ch]
  816. loc_00707B28: test eax, eax
  817. loc_00707B2A: jz 00707B35h
  818. loc_00707B2C: mov [esi+0000004Ch], 00000000h
  819. loc_00707B33: jmp 00707B45h
  820. loc_00707B35: GetLastError()
  821. loc_00707B3A: mov edi, eax
  822. loc_00707B3C: call [004010BCh] ; __vbaSetSystemError
  823. loc_00707B42: mov [esi+0000004Ch], edi
  824. loc_00707B45: push 00707B57h
  825. loc_00707B4A: jmp 00707B56h
  826. loc_00707B4C: lea ecx, var_18
  827. loc_00707B4F: call [00401430h] ; __vbaFreeStr
  828. loc_00707B55: ret
  829. loc_00707B56: ret
  830. loc_00707B57: mov eax, Me
  831. loc_00707B5A: push eax
  832. loc_00707B5B: mov edx, [eax]
  833. loc_00707B5D: call [edx+00000008h]
  834. loc_00707B60: mov eax, var_4
  835. loc_00707B63: mov ecx, var_14
  836. loc_00707B66: pop edi
  837. loc_00707B67: pop esi
  838. loc_00707B68: mov fs:[00000000h], ecx
  839. loc_00707B6F: pop ebx
  840. loc_00707B70: mov esp, ebp
  841. loc_00707B72: pop ebp
  842. loc_00707B73: retn 0010h
  843. End Sub
  844. Public Property Get TextAlignment(arg_C) '707B80
  845. loc_00707B80: push ebp
  846. loc_00707B81: mov ebp, esp
  847. loc_00707B83: sub esp, 0000000Ch
  848. loc_00707B86: push 00412856h ; __vbaExceptHandler
  849. loc_00707B8B: mov eax, fs:[00000000h]
  850. loc_00707B91: push eax
  851. loc_00707B92: mov fs:[00000000h], esp
  852. loc_00707B99: sub esp, 0000000Ch
  853. loc_00707B9C: push ebx
  854. loc_00707B9D: push esi
  855. loc_00707B9E: push edi
  856. loc_00707B9F: mov var_C, esp
  857. loc_00707BA2: mov var_8, 00410770h
  858. loc_00707BA9: xor edi, edi
  859. loc_00707BAB: mov var_4, edi
  860. loc_00707BAE: mov esi, Me
  861. loc_00707BB1: push esi
  862. loc_00707BB2: mov eax, [esi]
  863. loc_00707BB4: call [eax+00000004h]
  864. loc_00707BB7: movsx ecx, [esi+00000060h]
  865. loc_00707BBB: mov var_18, edi
  866. loc_00707BBE: mov var_18, ecx
  867. loc_00707BC1: mov eax, Me
  868. loc_00707BC4: push eax
  869. loc_00707BC5: mov edx, [eax]
  870. loc_00707BC7: call [edx+00000008h]
  871. loc_00707BCA: mov eax, arg_C
  872. loc_00707BCD: mov ecx, var_18
  873. loc_00707BD0: mov [eax], ecx
  874. loc_00707BD2: mov eax, var_4
  875. loc_00707BD5: mov ecx, var_14
  876. loc_00707BD8: pop edi
  877. loc_00707BD9: pop esi
  878. loc_00707BDA: mov fs:[00000000h], ecx
  879. loc_00707BE1: pop ebx
  880. loc_00707BE2: mov esp, ebp
  881. loc_00707BE4: pop ebp
  882. loc_00707BE5: retn 0008h
  883. End Sub
  884. Public Property Let TextAlignment(nTextAlignment) '707BF0
  885. loc_00707BF0: push ebp
  886. loc_00707BF1: mov ebp, esp
  887. loc_00707BF3: sub esp, 0000000Ch
  888. loc_00707BF6: push 00412856h ; __vbaExceptHandler
  889. loc_00707BFB: mov eax, fs:[00000000h]
  890. loc_00707C01: push eax
  891. loc_00707C02: mov fs:[00000000h], esp
  892. loc_00707C09: sub esp, 0000000Ch
  893. loc_00707C0C: push ebx
  894. loc_00707C0D: push esi
  895. loc_00707C0E: push edi
  896. loc_00707C0F: mov var_C, esp
  897. loc_00707C12: mov var_8, 00410778h
  898. loc_00707C19: mov var_4, 00000000h
  899. loc_00707C20: mov esi, Me
  900. loc_00707C23: push esi
  901. loc_00707C24: mov eax, [esi]
  902. loc_00707C26: call [eax+00000004h]
  903. loc_00707C29: mov edi, nTextAlignment
  904. loc_00707C2C: mov ecx, edi
  905. loc_00707C2E: call [004011E4h] ; __vbaI2I4
  906. loc_00707C34: mov ecx, [esi+00000048h]
  907. loc_00707C37: push edi
  908. loc_00707C38: push ecx
  909. loc_00707C39: mov [esi+00000060h], ax
  910. loc_00707C3D: SetTextAlign(%x1v, %x2v)
  911. loc_00707C42: mov ebx, [004010BCh] ; __vbaSetSystemError
  912. loc_00707C48: mov edi, eax
  913. loc_00707C4A: call ebx
  914. loc_00707C4C: test edi, edi
  915. loc_00707C4E: mov [esi+0000004Ch], edi
  916. loc_00707C51: jz 00707C5Ch
  917. loc_00707C53: mov [esi+0000004Ch], 00000000h
  918. loc_00707C5A: jmp 00707C68h
  919. loc_00707C5C: GetLastError()
  920. loc_00707C61: mov edi, eax
  921. loc_00707C63: call ebx
  922. loc_00707C65: mov [esi+0000004Ch], edi
  923. loc_00707C68: mov eax, Me
  924. loc_00707C6B: push eax
  925. loc_00707C6C: mov edx, [eax]
  926. loc_00707C6E: call [edx+00000008h]
  927. loc_00707C71: mov eax, var_4
  928. loc_00707C74: mov ecx, var_14
  929. loc_00707C77: pop edi
  930. loc_00707C78: pop esi
  931. loc_00707C79: mov fs:[00000000h], ecx
  932. loc_00707C80: pop ebx
  933. loc_00707C81: mov esp, ebp
  934. loc_00707C83: pop ebp
  935. loc_00707C84: retn 0008h
  936. End Sub
  937. Public Sub DrawBorder(brdLeft, brdTop, brdWidth, brdHeight, brdStyle, bFlat, bMono, bSoft) '707C90
  938. loc_00707C90: push ebp
  939. loc_00707C91: mov ebp, esp
  940. loc_00707C93: sub esp, 0000000Ch
  941. loc_00707C96: push 00412856h ; __vbaExceptHandler
  942. loc_00707C9B: mov eax, fs:[00000000h]
  943. loc_00707CA1: push eax
  944. loc_00707CA2: mov fs:[00000000h], esp
  945. loc_00707CA9: sub esp, 00000028h
  946. loc_00707CAC: push ebx
  947. loc_00707CAD: push esi
  948. loc_00707CAE: push edi
  949. loc_00707CAF: mov var_C, esp
  950. loc_00707CB2: mov var_8, 00410780h
  951. loc_00707CB9: mov var_4, 00000000h
  952. loc_00707CC0: mov esi, Me
  953. loc_00707CC3: push esi
  954. loc_00707CC4: mov eax, [esi]
  955. loc_00707CC6: call [eax+00000004h]
  956. loc_00707CC9: mov eax, brdLeft
  957. loc_00707CCC: mov edi, brdWidth
  958. loc_00707CCF: xor ecx, ecx
  959. loc_00707CD1: mov edx, brdHeight
  960. loc_00707CD4: mov var_28, ecx
  961. loc_00707CD7: mov var_28, eax
  962. loc_00707CDA: mov var_24, ecx
  963. loc_00707CDD: add eax, edi
  964. loc_00707CDF: mov var_20, ecx
  965. loc_00707CE2: mov var_1C, ecx
  966. loc_00707CE5: mov ecx, brdTop
  967. loc_00707CE8: mov var_24, ecx
  968. loc_00707CEB: jo 00707DA4h
  969. loc_00707CF1: add ecx, edx
  970. loc_00707CF3: mov edx, brdStyle
  971. loc_00707CF6: mov var_20, eax
  972. loc_00707CF9: lea eax, [edx-00000001h]
  973. loc_00707CFC: jo 00707DA4h
  974. loc_00707D02: cmp eax, 00000003h
  975. loc_00707D05: mov var_1C, ecx
  976. loc_00707D08: ja 00707D26h
  977. loc_00707D0A: jmp [eax*4+00707D94h]
  978. loc_00707D11: mov ecx, 00000009h
  979. loc_00707D16: jmp 00707D2Bh
  980. loc_00707D18: mov ecx, 00000006h
  981. loc_00707D1D: jmp 00707D2Bh
  982. loc_00707D1F: mov ecx, 00000005h
  983. loc_00707D24: jmp 00707D2Bh
  984. loc_00707D26: mov ecx, 0000000Ah
  985. loc_00707D2B: cmp bSoft, 0000h
  986. loc_00707D30: mov eax, 0000000Fh
  987. loc_00707D35: jz 00707D3Ch
  988. loc_00707D37: mov eax, 0000100Fh
  989. loc_00707D3C: cmp bMono, 0000h
  990. loc_00707D41: jz 00707D4Ah
  991. loc_00707D43: add eax, 00008000h
  992. loc_00707D48: jo 00707DA4h
  993. loc_00707D4A: cmp bFlat, 0000h
  994. loc_00707D4F: jz 00707D58h
  995. loc_00707D51: add eax, 00004000h
  996. loc_00707D56: jo 00707DA4h
  997. loc_00707D58: push eax
  998. loc_00707D59: push ecx
  999. loc_00707D5A: mov ecx, [esi+00000048h]
  1000. loc_00707D5D: lea eax, var_28
  1001. loc_00707D60: push eax
  1002. loc_00707D61: push ecx
  1003. loc_00707D62: DrawEdge(%x1v, %x2v, %x3v, %x4v)
  1004. loc_00707D67: mov edi, eax
  1005. loc_00707D69: call [004010BCh] ; __vbaSetSystemError
  1006. loc_00707D6F: mov [esi+0000004Ch], edi
  1007. loc_00707D72: mov eax, Me
  1008. loc_00707D75: push eax
  1009. loc_00707D76: mov edx, [eax]
  1010. loc_00707D78: call [edx+00000008h]
  1011. loc_00707D7B: mov eax, var_4
  1012. loc_00707D7E: mov ecx, var_14
  1013. loc_00707D81: pop edi
  1014. loc_00707D82: pop esi
  1015. loc_00707D83: mov fs:[00000000h], ecx
  1016. loc_00707D8A: pop ebx
  1017. loc_00707D8B: mov esp, ebp
  1018. loc_00707D8D: pop ebp
  1019. loc_00707D8E: retn 0024h
  1020. End Sub
  1021. Public Sub DrawFocusRect(rctLeft, rctTop, rctWidth, rctHeight) '707DB0
  1022. loc_00707DB0: push ebp
  1023. loc_00707DB1: mov ebp, esp
  1024. loc_00707DB3: sub esp, 0000000Ch
  1025. loc_00707DB6: push 00412856h ; __vbaExceptHandler
  1026. loc_00707DBB: mov eax, fs:[00000000h]
  1027. loc_00707DC1: push eax
  1028. loc_00707DC2: mov fs:[00000000h], esp
  1029. loc_00707DC9: sub esp, 0000001Ch
  1030. loc_00707DCC: push ebx
  1031. loc_00707DCD: push esi
  1032. loc_00707DCE: push edi
  1033. loc_00707DCF: mov var_C, esp
  1034. loc_00707DD2: mov var_8, 00410788h
  1035. loc_00707DD9: mov var_4, 00000000h
  1036. loc_00707DE0: mov esi, Me
  1037. loc_00707DE3: push esi
  1038. loc_00707DE4: mov eax, [esi]
  1039. loc_00707DE6: call [eax+00000004h]
  1040. loc_00707DE9: mov eax, rctLeft
  1041. loc_00707DEC: mov edx, rctWidth
  1042. loc_00707DEF: xor ecx, ecx
  1043. loc_00707DF1: mov ebx, rctHeight
  1044. loc_00707DF4: mov var_24, ecx
  1045. loc_00707DF7: mov var_24, eax
  1046. loc_00707DFA: mov var_20, ecx
  1047. loc_00707DFD: add eax, edx
  1048. loc_00707DFF: mov var_1C, ecx
  1049. loc_00707E02: lea edx, var_24
  1050. loc_00707E05: mov var_18, ecx
  1051. loc_00707E08: mov ecx, rctTop
  1052. loc_00707E0B: jo 00707E69h
  1053. loc_00707E0D: mov var_20, ecx
  1054. loc_00707E10: mov var_1C, eax
  1055. loc_00707E13: mov eax, [esi+00000048h]
  1056. loc_00707E16: add ecx, ebx
  1057. loc_00707E18: push edx
  1058. loc_00707E19: push eax
  1059. loc_00707E1A: jo 00707E69h
  1060. loc_00707E1C: mov var_18, ecx
  1061. loc_00707E1F: DrawFocusRect(%x1v, %x2v)
  1062. loc_00707E24: mov ebx, [004010BCh] ; __vbaSetSystemError
  1063. loc_00707E2A: mov edi, eax
  1064. loc_00707E2C: call ebx
  1065. loc_00707E2E: test edi, edi
  1066. loc_00707E30: mov [esi+0000004Ch], edi
  1067. loc_00707E33: jz 00707E3Eh
  1068. loc_00707E35: mov [esi+0000004Ch], 00000000h
  1069. loc_00707E3C: jmp 00707E4Ah
  1070. loc_00707E3E: GetLastError()
  1071. loc_00707E43: mov edi, eax
  1072. loc_00707E45: call ebx
  1073. loc_00707E47: mov [esi+0000004Ch], edi
  1074. loc_00707E4A: mov eax, Me
  1075. loc_00707E4D: push eax
  1076. loc_00707E4E: mov ecx, [eax]
  1077. loc_00707E50: call [ecx+00000008h]
  1078. loc_00707E53: mov eax, var_4
  1079. loc_00707E56: mov ecx, var_14
  1080. loc_00707E59: pop edi
  1081. loc_00707E5A: pop esi
  1082. loc_00707E5B: mov fs:[00000000h], ecx
  1083. loc_00707E62: pop ebx
  1084. loc_00707E63: mov esp, ebp
  1085. loc_00707E65: pop ebp
  1086. loc_00707E66: retn 0014h
  1087. End Sub
  1088. Public Sub DrawComponent(rctLeft, rctTop, rctWidth, rctHeight, nType, Style, State) '707E70
  1089. loc_00707E70: push ebp
  1090. loc_00707E71: mov ebp, esp
  1091. loc_00707E73: sub esp, 0000000Ch
  1092. loc_00707E76: push 00412856h ; __vbaExceptHandler
  1093. loc_00707E7B: mov eax, fs:[00000000h]
  1094. loc_00707E81: push eax
  1095. loc_00707E82: mov fs:[00000000h], esp
  1096. loc_00707E89: sub esp, 00000020h
  1097. loc_00707E8C: push ebx
  1098. loc_00707E8D: push esi
  1099. loc_00707E8E: push edi
  1100. loc_00707E8F: mov var_C, esp
  1101. loc_00707E92: mov var_8, 00410790h
  1102. loc_00707E99: mov var_4, 00000000h
  1103. loc_00707EA0: mov esi, Me
  1104. loc_00707EA3: push esi
  1105. loc_00707EA4: mov eax, [esi]
  1106. loc_00707EA6: call [eax+00000004h]
  1107. loc_00707EA9: mov eax, rctLeft
  1108. loc_00707EAC: mov ebx, rctWidth
  1109. loc_00707EAF: xor ecx, ecx
  1110. loc_00707EB1: mov edi, rctHeight
  1111. loc_00707EB4: mov var_24, ecx
  1112. loc_00707EB7: mov edx, State
  1113. loc_00707EBA: mov var_20, ecx
  1114. loc_00707EBD: mov var_24, eax
  1115. loc_00707EC0: mov var_1C, ecx
  1116. loc_00707EC3: add eax, ebx
  1117. loc_00707EC5: mov var_18, ecx
  1118. loc_00707EC8: mov ecx, rctTop
  1119. loc_00707ECB: mov var_20, ecx
  1120. loc_00707ECE: jo 00707F38h
  1121. loc_00707ED0: mov var_1C, eax
  1122. loc_00707ED3: mov eax, Style
  1123. loc_00707ED6: add ecx, edi
  1124. loc_00707ED8: jo 00707F38h
  1125. loc_00707EDA: add eax, edx
  1126. loc_00707EDC: mov edx, nType
  1127. loc_00707EDF: jo 00707F38h
  1128. loc_00707EE1: push eax
  1129. loc_00707EE2: mov var_18, ecx
  1130. loc_00707EE5: mov ecx, [esi+00000048h]
  1131. loc_00707EE8: lea eax, var_24
  1132. loc_00707EEB: push edx
  1133. loc_00707EEC: push eax
  1134. loc_00707EED: push ecx
  1135. loc_00707EEE: DrawFrameControl(%x1v, %x2v, %x3v, %x4v)
  1136. loc_00707EF3: mov ebx, [004010BCh] ; __vbaSetSystemError
  1137. loc_00707EF9: mov edi, eax
  1138. loc_00707EFB: call ebx
  1139. loc_00707EFD: test edi, edi
  1140. loc_00707EFF: mov [esi+0000004Ch], edi
  1141. loc_00707F02: jz 00707F0Dh
  1142. loc_00707F04: mov [esi+0000004Ch], 00000000h
  1143. loc_00707F0B: jmp 00707F19h
  1144. loc_00707F0D: GetLastError()
  1145. loc_00707F12: mov edi, eax
  1146. loc_00707F14: call ebx
  1147. loc_00707F16: mov [esi+0000004Ch], edi
  1148. loc_00707F19: mov eax, Me
  1149. loc_00707F1C: push eax
  1150. loc_00707F1D: mov edx, [eax]
  1151. loc_00707F1F: call [edx+00000008h]
  1152. loc_00707F22: mov eax, var_4
  1153. loc_00707F25: mov ecx, var_14
  1154. loc_00707F28: pop edi
  1155. loc_00707F29: pop esi
  1156. loc_00707F2A: mov fs:[00000000h], ecx
  1157. loc_00707F31: pop ebx
  1158. loc_00707F32: mov esp, ebp
  1159. loc_00707F34: pop ebp
  1160. loc_00707F35: retn 0020h
  1161. End Sub
  1162. Public Function DrawText(sText, rctLeft, rctTop, rctWidth, rctHeight, Format, clrForeColor) '707F40
  1163. loc_00707F40: push ebp
  1164. loc_00707F41: mov ebp, esp
  1165. loc_00707F43: sub esp, 0000000Ch
  1166. loc_00707F46: push 00412856h ; __vbaExceptHandler
  1167. loc_00707F4B: mov eax, fs:[00000000h]
  1168. loc_00707F51: push eax
  1169. loc_00707F52: mov fs:[00000000h], esp
  1170. loc_00707F59: sub esp, 0000004Ch
  1171. loc_00707F5C: push ebx
  1172. loc_00707F5D: push esi
  1173. loc_00707F5E: push edi
  1174. loc_00707F5F: mov var_C, esp
  1175. loc_00707F62: mov var_8, 00410798h
  1176. loc_00707F69: xor edi, edi
  1177. loc_00707F6B: mov var_4, edi
  1178. loc_00707F6E: mov esi, Me
  1179. loc_00707F71: push esi
  1180. loc_00707F72: mov eax, [esi]
  1181. loc_00707F74: call [eax+00000004h]
  1182. loc_00707F77: xor ecx, ecx
  1183. loc_00707F79: mov edx, sText
  1184. loc_00707F7C: mov var_38, ecx
  1185. loc_00707F7F: mov var_18, edi
  1186. loc_00707F82: mov var_34, ecx
  1187. loc_00707F85: mov var_28, edi
  1188. loc_00707F88: mov var_30, ecx
  1189. loc_00707F8B: mov var_3C, edi
  1190. loc_00707F8E: mov var_2C, ecx
  1191. loc_00707F91: lea ecx, var_18
  1192. loc_00707F94: mov var_44, edi
  1193. loc_00707F97: mov var_54, edi
  1194. loc_00707F9A: call [00401310h] ; __vbaStrCopy
  1195. loc_00707FA0: mov edx, arg_28
  1196. loc_00707FA3: mov eax, rctLeft
  1197. loc_00707FA6: mov ecx, rctTop
  1198. loc_00707FA9: mov var_38, eax
  1199. loc_00707FAC: mov [edx], edi
  1200. loc_00707FAE: mov edi, rctWidth
  1201. loc_00707FB1: mov edx, rctHeight
  1202. loc_00707FB4: add eax, edi
  1203. loc_00707FB6: mov edi, clrForeColor
  1204. loc_00707FB9: mov var_34, ecx
  1205. loc_00707FBC: jo 0070810Fh
  1206. loc_00707FC2: add ecx, edx
  1207. loc_00707FC4: mov var_30, eax
  1208. loc_00707FC7: jo 0070810Fh
  1209. loc_00707FCD: cmp edi, FFFFFFFFh
  1210. loc_00707FD0: mov var_2C, ecx
  1211. loc_00707FD3: jz 0070801Ah
  1212. loc_00707FD5: mov eax, [esi+00000048h]
  1213. loc_00707FD8: push eax
  1214. loc_00707FD9: GetTextColor(%x1v)
  1215. loc_00707FDE: mov ebx, [004010BCh] ; __vbaSetSystemError
  1216. loc_00707FE4: mov var_58, eax
  1217. loc_00707FE7: call ebx
  1218. loc_00707FE9: mov ecx, var_58
  1219. loc_00707FEC: test edi, 80000000h
  1220. loc_00707FF2: mov var_3C, ecx
  1221. loc_00707FF5: jz 00708007h
  1222. loc_00707FF7: and edi, 000000FFh
  1223. loc_00707FFD: push edi
  1224. loc_00707FFE: GetSysColor(%x1v)
  1225. loc_00708003: mov edi, eax
  1226. loc_00708005: call ebx
  1227. loc_00708007: mov edx, [esi+00000048h]
  1228. loc_0070800A: push edi
  1229. loc_0070800B: push edx
  1230. loc_0070800C: SetTextColor(%x1v, %x2v)
  1231. loc_00708011: mov edi, eax
  1232. loc_00708013: call ebx
  1233. loc_00708015: mov [esi+0000004Ch], edi
  1234. loc_00708018: jmp 00708020h
  1235. loc_0070801A: mov ebx, [004010BCh] ; __vbaSetSystemError
  1236. loc_00708020: mov eax, Format
  1237. loc_00708023: mov edx, var_18
  1238. loc_00708026: lea ecx, var_38
  1239. loc_00708029: push eax
  1240. loc_0070802A: push ecx
  1241. loc_0070802B: push edx
  1242. loc_0070802C: call [00401044h] ; __vbaLenBstr
  1243. loc_00708032: push eax
  1244. loc_00708033: mov eax, var_18
  1245. loc_00708036: lea ecx, var_44
  1246. loc_00708039: push eax
  1247. loc_0070803A: push ecx
  1248. loc_0070803B: call [00401370h] ; __vbaStrToAnsi
  1249. loc_00708041: mov edx, [esi+00000048h]
  1250. loc_00708044: push eax
  1251. loc_00708045: push edx
  1252. loc_00708046: DrawText(%x1v, %x2v, %x3v, %x4v, %x5v)
  1253. loc_0070804B: mov edi, eax
  1254. loc_0070804D: call ebx
  1255. loc_0070804F: mov eax, var_44
  1256. loc_00708052: lea ecx, var_18
  1257. loc_00708055: push eax
  1258. loc_00708056: push ecx
  1259. loc_00708057: call [00401260h] ; __vbaStrToUnicode
  1260. loc_0070805D: lea edx, var_54
  1261. loc_00708060: lea ecx, var_28
  1262. loc_00708063: mov var_4C, edi
  1263. loc_00708066: mov var_54, 00000003h
  1264. loc_0070806D: call [00401020h] ; __vbaVarMove
  1265. loc_00708073: lea ecx, var_44
  1266. loc_00708076: call [00401430h] ; __vbaFreeStr
  1267. loc_0070807C: lea eax, var_54
  1268. loc_0070807F: lea edx, var_3C
  1269. loc_00708082: push eax
  1270. loc_00708083: mov var_4C, edx
  1271. loc_00708086: mov var_54, 00004003h
  1272. loc_0070808D: call [004010FCh] ; rtcIsMissing
  1273. loc_00708093: test ax, ax
  1274. loc_00708096: jnz 007080ACh
  1275. loc_00708098: mov ecx, var_3C
  1276. loc_0070809B: mov edx, [esi+00000048h]
  1277. loc_0070809E: push ecx
  1278. loc_0070809F: push edx
  1279. loc_007080A0: SetTextColor(%x1v, %x2v)
  1280. loc_007080A5: mov edi, eax
  1281. loc_007080A7: call ebx
  1282. loc_007080A9: mov [esi+0000004Ch], edi
  1283. loc_007080AC: push 007080D6h
  1284. loc_007080B1: jmp 007080CCh
  1285. loc_007080B3: test var_4, 04h
  1286. loc_007080B7: jz 007080C2h
  1287. loc_007080B9: lea ecx, var_28
  1288. loc_007080BC: call [00401030h] ; __vbaFreeVar
  1289. loc_007080C2: lea ecx, var_44
  1290. loc_007080C5: call [00401430h] ; __vbaFreeStr
  1291. loc_007080CB: ret
  1292. loc_007080CC: lea ecx, var_18
  1293. loc_007080CF: call [00401430h] ; __vbaFreeStr
  1294. loc_007080D5: ret
  1295. loc_007080D6: mov eax, Me
  1296. loc_007080D9: push eax
  1297. loc_007080DA: mov ecx, [eax]
  1298. loc_007080DC: call [ecx+00000008h]
  1299. loc_007080DF: mov edx, arg_28
  1300. loc_007080E2: mov eax, var_28
  1301. loc_007080E5: mov ecx, var_24
  1302. loc_007080E8: mov [edx], eax
  1303. loc_007080EA: mov eax, var_20
  1304. loc_007080ED: mov [edx+00000004h], ecx
  1305. loc_007080F0: mov ecx, var_1C
  1306. loc_007080F3: mov [edx+00000008h], eax
  1307. loc_007080F6: mov [edx+0000000Ch], ecx
  1308. loc_007080F9: mov eax, var_4
  1309. loc_007080FC: mov ecx, var_14
  1310. loc_007080FF: pop edi
  1311. loc_00708100: pop esi
  1312. loc_00708101: mov fs:[00000000h], ecx
  1313. loc_00708108: pop ebx
  1314. loc_00708109: mov esp, ebp
  1315. loc_0070810B: pop ebp
  1316. loc_0070810C: retn 0024h
  1317. End Function
  1318. Public Sub ShadeRect(rctLeft, rctTop, rctWidth, rctHeight) '708120
  1319. loc_00708120: push ebp
  1320. loc_00708121: mov ebp, esp
  1321. loc_00708123: sub esp, 0000000Ch
  1322. loc_00708126: push 00412856h ; __vbaExceptHandler
  1323. loc_0070812B: mov eax, fs:[00000000h]
  1324. loc_00708131: push eax
  1325. loc_00708132: mov fs:[00000000h], esp
  1326. loc_00708139: sub esp, 00000090h
  1327. loc_0070813F: push ebx
  1328. loc_00708140: push esi
  1329. loc_00708141: push edi
  1330. loc_00708142: mov var_C, esp
  1331. loc_00708145: mov var_8, 004107A8h
  1332. loc_0070814C: xor esi, esi
  1333. loc_0070814E: mov var_4, esi
  1334. loc_00708151: mov edi, Me
  1335. loc_00708154: push edi
  1336. loc_00708155: mov eax, [edi]
  1337. loc_00708157: call [eax+00000004h]
  1338. loc_0070815A: xor ecx, ecx
  1339. loc_0070815C: xor edx, edx
  1340. loc_0070815E: mov var_68, ecx
  1341. loc_00708161: mov var_8C, edx
  1342. loc_00708167: mov var_64, ecx
  1343. loc_0070816A: mov var_88, edx
  1344. loc_00708170: push 00000002h
  1345. loc_00708172: lea eax, var_40
  1346. loc_00708175: mov var_60, ecx
  1347. loc_00708178: mov var_84, edx
  1348. loc_0070817E: push 00474704h
  1349. loc_00708183: push eax
  1350. loc_00708184: mov var_5C, ecx
  1351. loc_00708187: mov var_80, edx
  1352. loc_0070818A: mov var_90, esi
  1353. loc_00708190: call [004011BCh] ; __vbaAryConstruct2
  1354. loc_00708196: mov ecx, rctLeft
  1355. loc_00708199: mov ebx, rctWidth
  1356. loc_0070819C: mov eax, rctTop
  1357. loc_0070819F: mov edx, rctHeight
  1358. loc_007081A2: mov var_68, ecx
  1359. loc_007081A5: add ecx, ebx
  1360. loc_007081A7: mov var_64, eax
  1361. loc_007081AA: mov var_98, 00000002h
  1362. loc_007081B4: jo 007084C3h
  1363. loc_007081BA: add eax, edx
  1364. loc_007081BC: mov var_60, ecx
  1365. loc_007081BF: jo 007084C3h
  1366. loc_007081C5: mov var_5C, eax
  1367. loc_007081C8: mov edx, 00000006h
  1368. loc_007081CD: cmp si, dx
  1369. loc_007081D0: jg 00708227h
  1370. loc_007081D2: movsx ebx, si
  1371. loc_007081D5: cmp ebx, 00000008h
  1372. loc_007081D8: jb 007081E0h
  1373. loc_007081DA: call [004011A8h] ; __vbaGenerateBoundsError
  1374. loc_007081E0: mov ecx, var_34
  1375. loc_007081E3: mov dx, si
  1376. loc_007081E6: add dx, 0001h
  1377. loc_007081EA: mov [ecx+ebx*2], 0055h
  1378. loc_007081F0: jo 007084C3h
  1379. loc_007081F6: movsx ebx, dx
  1380. loc_007081F9: cmp ebx, 00000008h
  1381. loc_007081FC: jb 00708204h
  1382. loc_007081FE: call [004011A8h] ; __vbaGenerateBoundsError
  1383. loc_00708204: mov cx, var_98
  1384. loc_0070820B: mov eax, var_34
  1385. loc_0070820E: add cx, si
  1386. loc_00708211: jo 007084C3h
  1387. loc_00708217: mov [eax+ebx*2], 00AAh
  1388. loc_0070821D: mov eax, var_5C
  1389. loc_00708220: mov esi, ecx
  1390. loc_00708222: mov ecx, var_60
  1391. loc_00708225: jmp 007081C8h
  1392. loc_00708227: mov edx, var_64
  1393. loc_0070822A: sub eax, edx
  1394. loc_0070822C: mov edx, var_34
  1395. loc_0070822F: jo 007084C3h
  1396. loc_00708235: mov ebx, eax
  1397. loc_00708237: mov eax, var_68
  1398. loc_0070823A: push edx
  1399. loc_0070823B: push 00000001h
  1400. loc_0070823D: sub ecx, eax
  1401. loc_0070823F: push 00000001h
  1402. loc_00708241: push 00000008h
  1403. loc_00708243: push 00000008h
  1404. loc_00708245: jo 007084C3h
  1405. loc_0070824B: mov var_4C, ebx
  1406. loc_0070824E: mov var_74, ecx
  1407. loc_00708251: CreateBitmap(%x1v, %x2v, %x3v, %x4v, %x5v)
  1408. loc_00708256: mov esi, [004010BCh] ; __vbaSetSystemError
  1409. loc_0070825C: mov var_90, eax
  1410. loc_00708262: call __vbaSetSystemError
  1411. loc_00708264: mov eax, var_90
  1412. loc_0070826A: push eax
  1413. loc_0070826B: mov var_1C, eax
  1414. loc_0070826E: CreatePatternBrush(%x1v)
  1415. loc_00708273: mov var_90, eax
  1416. loc_00708279: call __vbaSetSystemError
  1417. loc_0070827B: mov ecx, var_74
  1418. loc_0070827E: mov edx, [edi+00000048h]
  1419. loc_00708281: mov eax, var_90
  1420. loc_00708287: push ebx
  1421. loc_00708288: push ecx
  1422. loc_00708289: push edx
  1423. loc_0070828A: mov var_54, eax
  1424. loc_0070828D: CreateCompatibleBitmap(%x1v, %x2v, %x3v)
  1425. loc_00708292: mov var_90, eax
  1426. loc_00708298: call __vbaSetSystemError
  1427. loc_0070829A: mov ecx, [edi+00000048h]
  1428. loc_0070829D: mov eax, var_90
  1429. loc_007082A3: push ecx
  1430. loc_007082A4: mov var_58, eax
  1431. loc_007082A7: CreateCompatibleDC(%x1v)
  1432. loc_007082AC: mov var_90, eax
  1433. loc_007082B2: call __vbaSetSystemError
  1434. loc_007082B4: mov edx, var_58
  1435. loc_007082B7: mov ebx, var_90
  1436. loc_007082BD: push edx
  1437. loc_007082BE: push ebx
  1438. loc_007082BF: SelectObject(%x1v, %x2v)
  1439. loc_007082C4: mov var_90, eax
  1440. loc_007082CA: call __vbaSetSystemError
  1441. loc_007082CC: mov eax, var_90
  1442. loc_007082D2: mov ecx, var_74
  1443. loc_007082D5: mov edx, var_4C
  1444. loc_007082D8: mov var_6C, eax
  1445. loc_007082DB: mov eax, var_54
  1446. loc_007082DE: mov var_84, ecx
  1447. loc_007082E4: lea ecx, var_8C
  1448. loc_007082EA: push eax
  1449. loc_007082EB: push ecx
  1450. loc_007082EC: push ebx
  1451. loc_007082ED: mov var_80, edx
  1452. loc_007082F0: FillRect(%x1v, %x2v, %x3v)
  1453. loc_007082F5: mov var_90, eax
  1454. loc_007082FB: call __vbaSetSystemError
  1455. loc_007082FD: mov edx, var_64
  1456. loc_00708300: mov eax, var_68
  1457. loc_00708303: mov ecx, [edi+00000048h]
  1458. loc_00708306: push 008800C6h
  1459. loc_0070830B: push edx
  1460. loc_0070830C: mov edx, var_4C
  1461. loc_0070830F: push eax
  1462. loc_00708310: mov eax, var_74
  1463. loc_00708313: push ecx
  1464. loc_00708314: push edx
  1465. loc_00708315: push eax
  1466. loc_00708316: push 00000000h
  1467. loc_00708318: push 00000000h
  1468. loc_0070831A: push ebx
  1469. loc_0070831B: BitBlt(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v, %x7v, %x8v, %x9v)
  1470. loc_00708320: mov var_90, eax
  1471. loc_00708326: call __vbaSetSystemError
  1472. loc_00708328: push 00000000h
  1473. loc_0070832A: mov ecx, [edi+00000048h]
  1474. loc_0070832D: push ecx
  1475. loc_0070832E: SetTextColor(%x1v, %x2v)
  1476. loc_00708333: mov var_90, eax
  1477. loc_00708339: call __vbaSetSystemError
  1478. loc_0070833B: mov edx, var_90
  1479. loc_00708341: push 00000000h
  1480. loc_00708343: push 00000000h
  1481. loc_00708345: push 00000000h
  1482. loc_00708347: mov var_70, edx
  1483. loc_0070834A: call [00401034h] ; rtcRgb
  1484. loc_00708350: push eax
  1485. loc_00708351: mov eax, [edi+00000048h]
  1486. loc_00708354: push eax
  1487. loc_00708355: SetBkColor(%x1v, %x2v)
  1488. loc_0070835A: mov var_90, eax
  1489. loc_00708360: call __vbaSetSystemError
  1490. loc_00708362: mov edx, [edi+00000048h]
  1491. loc_00708365: mov ecx, var_90
  1492. loc_0070836B: push 00000002h
  1493. loc_0070836D: push edx
  1494. loc_0070836E: mov var_28, ecx
  1495. loc_00708371: SetBkMode(%x1v, %x2v)
  1496. loc_00708376: mov var_90, eax
  1497. loc_0070837C: call __vbaSetSystemError
  1498. loc_0070837E: mov eax, var_54
  1499. loc_00708381: mov ecx, [edi+00000048h]
  1500. loc_00708384: push eax
  1501. loc_00708385: push ecx
  1502. loc_00708386: SelectObject(%x1v, %x2v)
  1503. loc_0070838B: mov var_90, eax
  1504. loc_00708391: call __vbaSetSystemError
  1505. loc_00708393: mov edx, var_90
  1506. loc_00708399: mov eax, var_54
  1507. loc_0070839C: mov var_50, edx
  1508. loc_0070839F: mov edx, [edi+00000048h]
  1509. loc_007083A2: lea ecx, var_68
  1510. loc_007083A5: push eax
  1511. loc_007083A6: push ecx
  1512. loc_007083A7: push edx
  1513. loc_007083A8: FillRect(%x1v, %x2v, %x3v)
  1514. loc_007083AD: mov var_90, eax
  1515. loc_007083B3: call __vbaSetSystemError
  1516. loc_007083B5: mov eax, var_4C
  1517. loc_007083B8: mov ecx, var_74
  1518. loc_007083BB: mov edx, var_64
  1519. loc_007083BE: push 00EE0086h
  1520. loc_007083C3: push 00000000h
  1521. loc_007083C5: push 00000000h
  1522. loc_007083C7: push ebx
  1523. loc_007083C8: push eax
  1524. loc_007083C9: mov eax, var_68
  1525. loc_007083CC: push ecx
  1526. loc_007083CD: mov ecx, [edi+00000048h]
  1527. loc_007083D0: push edx
  1528. loc_007083D1: push eax
  1529. loc_007083D2: push ecx
  1530. loc_007083D3: BitBlt(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v, %x7v, %x8v, %x9v)
  1531. loc_007083D8: mov var_90, eax
  1532. loc_007083DE: call __vbaSetSystemError
  1533. loc_007083E0: mov edx, [edi+00000048h]
  1534. loc_007083E3: xor eax, eax
  1535. loc_007083E5: push eax
  1536. loc_007083E6: push edx
  1537. loc_007083E7: SetBkMode(%x1v, %x2v)
  1538. loc_007083EC: mov var_90, eax
  1539. loc_007083F2: call __vbaSetSystemError
  1540. loc_007083F4: mov eax, var_28
  1541. loc_007083F7: mov ecx, [edi+00000048h]
  1542. loc_007083FA: push eax
  1543. loc_007083FB: push ecx
  1544. loc_007083FC: SetBkColor(%x1v, %x2v)
  1545. loc_00708401: mov var_90, eax
  1546. loc_00708407: call __vbaSetSystemError
  1547. loc_00708409: mov edx, var_70
  1548. loc_0070840C: mov eax, [edi+00000048h]
  1549. loc_0070840F: push edx
  1550. loc_00708410: push eax
  1551. loc_00708411: SetTextColor(%x1v, %x2v)
  1552. loc_00708416: mov var_90, eax
  1553. loc_0070841C: call __vbaSetSystemError
  1554. loc_0070841E: mov ecx, var_6C
  1555. loc_00708421: push ecx
  1556. loc_00708422: push ebx
  1557. loc_00708423: SelectObject(%x1v, %x2v)
  1558. loc_00708428: mov var_90, eax
  1559. loc_0070842E: call __vbaSetSystemError
  1560. loc_00708430: mov edx, var_58
  1561. loc_00708433: push edx
  1562. loc_00708434: DeleteObject(%x1v)
  1563. loc_00708439: mov var_90, eax
  1564. loc_0070843F: call __vbaSetSystemError
  1565. loc_00708441: push ebx
  1566. loc_00708442: DeleteDC(%x1v)
  1567. loc_00708447: mov var_90, eax
  1568. loc_0070844D: call __vbaSetSystemError
  1569. loc_0070844F: mov eax, var_1C
  1570. loc_00708452: push eax
  1571. loc_00708453: DeleteObject(%x1v)
  1572. loc_00708458: mov var_90, eax
  1573. loc_0070845E: call __vbaSetSystemError
  1574. loc_00708460: mov ecx, var_50
  1575. loc_00708463: mov edx, [edi+00000048h]
  1576. loc_00708466: push ecx
  1577. loc_00708467: push edx
  1578. loc_00708468: SelectObject(%x1v, %x2v)
  1579. loc_0070846D: mov var_90, eax
  1580. loc_00708473: call __vbaSetSystemError
  1581. loc_00708475: mov eax, var_54
  1582. loc_00708478: push eax
  1583. loc_00708479: DeleteObject(%x1v)
  1584. loc_0070847E: mov var_90, eax
  1585. loc_00708484: call __vbaSetSystemError
  1586. loc_00708486: push 007084A4h
  1587. loc_0070848B: lea edx, var_90
  1588. loc_00708491: lea ecx, var_40
  1589. loc_00708494: push edx
  1590. loc_00708495: push 00000000h
  1591. loc_00708497: mov var_90, ecx
  1592. loc_0070849D: call [004010F0h] ; __vbaAryDestruct
  1593. loc_007084A3: ret
  1594. loc_007084A4: mov eax, Me
  1595. loc_007084A7: push eax
  1596. loc_007084A8: mov ecx, [eax]
  1597. loc_007084AA: call [ecx+00000008h]
  1598. loc_007084AD: mov eax, var_4
  1599. loc_007084B0: mov ecx, var_14
  1600. loc_007084B3: pop edi
  1601. loc_007084B4: pop esi
  1602. loc_007084B5: mov fs:[00000000h], ecx
  1603. loc_007084BC: pop ebx
  1604. loc_007084BD: mov esp, ebp
  1605. loc_007084BF: pop ebp
  1606. loc_007084C0: retn 0014h
  1607. End Sub
  1608. Public Sub DrawImage(rctLeft, rctTop, rctWidth, rctHeight, picImage, oPalette, clrMaskColor, clrBackColor, bEnabled) '7084D0
  1609. loc_007084D0: push ebp
  1610. loc_007084D1: mov ebp, esp
  1611. loc_007084D3: sub esp, 00000018h
  1612. loc_007084D6: push 00412856h ; __vbaExceptHandler
  1613. loc_007084DB: mov eax, fs:[00000000h]
  1614. loc_007084E1: push eax
  1615. loc_007084E2: mov fs:[00000000h], esp
  1616. loc_007084E9: mov eax, 000000B4h
  1617. loc_007084EE: call 00412850h ; __vbaChkstk
  1618. loc_007084F3: push ebx
  1619. loc_007084F4: push esi
  1620. loc_007084F5: push edi
  1621. loc_007084F6: mov var_18, esp
  1622. loc_007084F9: mov var_14, 004107B8h
  1623. loc_00708500: mov var_10, 00000000h
  1624. loc_00708507: mov var_C, 00000000h
  1625. loc_0070850E: mov eax, Me
  1626. loc_00708511: mov ecx, [eax]
  1627. loc_00708513: mov edx, Me
  1628. loc_00708516: push edx
  1629. loc_00708517: call [ecx+00000004h]
  1630. loc_0070851A: mov var_4, 00000001h
  1631. loc_00708521: mov var_4, 00000002h
  1632. loc_00708528: push 00000001h
  1633. loc_0070852A: call [00401124h] ; __vbaOnError
  1634. loc_00708530: mov var_4, 00000003h
  1635. loc_00708537: mov var_68, 00000000h
  1636. loc_0070853E: mov var_4, 00000004h
  1637. loc_00708545: mov var_64, 00000000h
  1638. loc_0070854C: mov var_4, 00000005h
  1639. loc_00708553: mov eax, rctWidth
  1640. loc_00708556: mov var_60, eax
  1641. loc_00708559: mov var_4, 00000006h
  1642. loc_00708560: mov ecx, rctHeight
  1643. loc_00708563: mov var_5C, ecx
  1644. loc_00708566: mov var_4, 00000007h
  1645. loc_0070856D: mov edx, rctLeft
  1646. loc_00708570: mov eax, [edx]
  1647. loc_00708572: mov var_34, eax
  1648. loc_00708575: mov var_4, 00000008h
  1649. loc_0070857C: mov ecx, rctTop
  1650. loc_0070857F: mov var_30, ecx
  1651. loc_00708582: mov var_4, 00000009h
  1652. loc_00708589: mov edx, rctLeft
  1653. loc_0070858C: mov eax, [edx]
  1654. loc_0070858E: add eax, rctWidth
  1655. loc_00708591: jo 00708EF3h
  1656. loc_00708597: mov var_2C, eax
  1657. loc_0070859A: mov var_4, 0000000Ah
  1658. loc_007085A1: mov ecx, rctTop
  1659. loc_007085A4: add ecx, rctHeight
  1660. loc_007085A7: jo 00708EF3h
  1661. loc_007085AD: mov var_28, ecx
  1662. loc_007085B0: mov var_4, 0000000Bh
  1663. loc_007085B7: push FFFFFFFFh
  1664. loc_007085B9: call [00401124h] ; __vbaOnError
  1665. loc_007085BF: mov var_4, 0000000Ch
  1666. loc_007085C6: push 00000000h
  1667. loc_007085C8: push 00000000h
  1668. loc_007085CA: mov edx, oPalette
  1669. loc_007085CD: mov eax, [edx]
  1670. loc_007085CF: push eax
  1671. loc_007085D0: lea ecx, var_7C
  1672. loc_007085D3: push ecx
  1673. loc_007085D4: call [00401214h] ; __vbaLateIdCallLd
  1674. loc_007085DA: add esp, 00000010h
  1675. loc_007085DD: push eax
  1676. loc_007085DE: call [004010A0h] ; __vbaBoolErrVar
  1677. loc_007085E4: mov var_44, ax
  1678. loc_007085E8: lea ecx, var_7C
  1679. loc_007085EB: call [00401030h] ; __vbaFreeVar
  1680. loc_007085F1: mov var_4, 0000000Dh
  1681. loc_007085F8: call [00401340h] ; rtcErrObj
  1682. loc_007085FE: push eax
  1683. loc_007085FF: lea edx, var_6C
  1684. loc_00708602: push edx
  1685. loc_00708603: call [00401128h] ; __vbaObjSet
  1686. loc_00708609: mov var_88, eax
  1687. loc_0070860F: lea eax, var_80
  1688. loc_00708612: push eax
  1689. loc_00708613: mov ecx, var_88
  1690. loc_00708619: mov edx, [ecx]
  1691. loc_0070861B: mov eax, var_88
  1692. loc_00708621: push eax
  1693. loc_00708622: call [edx+0000001Ch]
  1694. loc_00708625: fnclex
  1695. loc_00708627: mov var_8C, eax
  1696. loc_0070862D: cmp var_8C, 00000000h
  1697. loc_00708634: jge 00708659h
  1698. loc_00708636: push 0000001Ch
  1699. loc_00708638: push 00443540h
  1700. loc_0070863D: mov ecx, var_88
  1701. loc_00708643: push ecx
  1702. loc_00708644: mov edx, var_8C
  1703. loc_0070864A: push edx
  1704. loc_0070864B: call [004010CCh] ; __vbaHresultCheckObj
  1705. loc_00708651: mov var_AC, eax
  1706. loc_00708657: jmp 00708663h
  1707. loc_00708659: mov var_AC, 00000000h
  1708. loc_00708663: xor eax, eax
  1709. loc_00708665: cmp var_80, 00000000h
  1710. loc_00708669: setnz al
  1711. loc_0070866C: neg eax
  1712. loc_0070866E: mov var_90, ax
  1713. loc_00708675: lea ecx, var_6C
  1714. loc_00708678: call [0040142Ch] ; __vbaFreeObj
  1715. loc_0070867E: movsx ecx, var_90
  1716. loc_00708685: test ecx, ecx
  1717. loc_00708687: jz 00708696h
  1718. loc_00708689: mov var_4, 0000000Eh
  1719. loc_00708690: mov var_44, 0000h
  1720. loc_00708696: mov var_4, 00000010h
  1721. loc_0070869D: call [00401340h] ; rtcErrObj
  1722. loc_007086A3: push eax
  1723. loc_007086A4: lea edx, var_6C
  1724. loc_007086A7: push edx
  1725. loc_007086A8: call [00401128h] ; __vbaObjSet
  1726. loc_007086AE: mov var_B0, eax
  1727. loc_007086B4: mov eax, var_B0
  1728. loc_007086BA: mov ecx, [eax]
  1729. loc_007086BC: mov edx, var_B0
  1730. loc_007086C2: push edx
  1731. loc_007086C3: call [ecx+00000048h]
  1732. loc_007086C6: lea ecx, var_6C
  1733. loc_007086C9: call [0040142Ch] ; __vbaFreeObj
  1734. loc_007086CF: mov var_4, 00000011h
  1735. loc_007086D6: movsx eax, var_44
  1736. loc_007086DA: test eax, eax
  1737. loc_007086DC: jz 0070876Eh
  1738. loc_007086E2: mov var_4, 00000012h
  1739. loc_007086E9: push 00000000h
  1740. loc_007086EB: push 0047471Ch ; "hPal"
  1741. loc_007086F0: mov ecx, oPalette
  1742. loc_007086F3: mov edx, [ecx]
  1743. loc_007086F5: push edx
  1744. loc_007086F6: lea eax, var_7C
  1745. loc_007086F9: push eax
  1746. loc_007086FA: call [004013A4h] ; __vbaLateMemCallLd
  1747. loc_00708700: add esp, 00000010h
  1748. loc_00708703: push eax
  1749. loc_00708704: call [0040134Ch] ; __vbaI4Var
  1750. loc_0070870A: mov var_3C, eax
  1751. loc_0070870D: lea ecx, var_7C
  1752. loc_00708710: call [00401030h] ; __vbaFreeVar
  1753. loc_00708716: mov var_4, 00000013h
  1754. loc_0070871D: cmp var_3C, 00000000h
  1755. loc_00708721: jnz 00708733h
  1756. loc_00708723: mov var_4, 00000014h
  1757. loc_0070872A: mov ecx, Me
  1758. loc_0070872D: mov edx, [ecx+00000034h]
  1759. loc_00708730: mov var_3C, edx
  1760. loc_00708733: mov var_4, 00000016h
  1761. loc_0070873A: call [00401340h] ; rtcErrObj
  1762. loc_00708740: push eax
  1763. loc_00708741: lea eax, var_6C
  1764. loc_00708744: push eax
  1765. loc_00708745: call [00401128h] ; __vbaObjSet
  1766. loc_0070874B: mov var_B4, eax
  1767. loc_00708751: mov ecx, var_B4
  1768. loc_00708757: mov edx, [ecx]
  1769. loc_00708759: mov eax, var_B4
  1770. loc_0070875F: push eax
  1771. loc_00708760: call [edx+00000048h]
  1772. loc_00708763: lea ecx, var_6C
  1773. loc_00708766: call [0040142Ch] ; __vbaFreeObj
  1774. loc_0070876C: jmp 0070877Eh
  1775. loc_0070876E: mov var_4, 00000018h
  1776. loc_00708775: mov ecx, Me
  1777. loc_00708778: mov edx, [ecx+00000034h]
  1778. loc_0070877B: mov var_3C, edx
  1779. loc_0070877E: mov var_4, 0000001Ah
  1780. loc_00708785: push 00000001h
  1781. loc_00708787: call [00401124h] ; __vbaOnError
  1782. loc_0070878D: mov var_4, 0000001Bh
  1783. loc_00708794: mov eax, Me
  1784. loc_00708797: mov ecx, [eax+00000048h]
  1785. loc_0070879A: push ecx
  1786. loc_0070879B: CreateCompatibleDC(%x1v)
  1787. loc_007087A0: mov var_80, eax
  1788. loc_007087A3: call [004010BCh] ; __vbaSetSystemError
  1789. loc_007087A9: mov edx, var_80
  1790. loc_007087AC: mov var_40, edx
  1791. loc_007087AF: mov var_4, 0000001Ch
  1792. loc_007087B6: mov eax, var_5C
  1793. loc_007087B9: push eax
  1794. loc_007087BA: mov ecx, var_60
  1795. loc_007087BD: push ecx
  1796. loc_007087BE: mov edx, Me
  1797. loc_007087C1: mov eax, [edx+00000048h]
  1798. loc_007087C4: push eax
  1799. loc_007087C5: CreateCompatibleBitmap(%x1v, %x2v, %x3v)
  1800. loc_007087CA: mov var_80, eax
  1801. loc_007087CD: call [004010BCh] ; __vbaSetSystemError
  1802. loc_007087D3: mov ecx, var_80
  1803. loc_007087D6: mov var_54, ecx
  1804. loc_007087D9: mov var_4, 0000001Dh
  1805. loc_007087E0: mov edx, var_54
  1806. loc_007087E3: push edx
  1807. loc_007087E4: mov eax, var_40
  1808. loc_007087E7: push eax
  1809. loc_007087E8: SelectObject(%x1v, %x2v)
  1810. loc_007087ED: mov var_80, eax
  1811. loc_007087F0: call [004010BCh] ; __vbaSetSystemError
  1812. loc_007087F6: mov ecx, var_80
  1813. loc_007087F9: mov var_4C, ecx
  1814. loc_007087FC: mov var_4, 0000001Eh
  1815. loc_00708803: push FFFFFFFFh
  1816. loc_00708805: mov edx, var_3C
  1817. loc_00708808: push edx
  1818. loc_00708809: mov eax, var_40
  1819. loc_0070880C: push eax
  1820. loc_0070880D: SelectPalette(%x1v, %x2v, %x3v)
  1821. loc_00708812: mov var_80, eax
  1822. loc_00708815: call [004010BCh] ; __vbaSetSystemError
  1823. loc_0070881B: mov ecx, var_80
  1824. loc_0070881E: mov var_48, ecx
  1825. loc_00708821: mov var_4, 0000001Fh
  1826. loc_00708828: mov edx, var_40
  1827. loc_0070882B: push edx
  1828. loc_0070882C: RealizePalette(%x1v)
  1829. loc_00708831: call [004010BCh] ; __vbaSetSystemError
  1830. loc_00708837: mov var_4, 00000020h
  1831. loc_0070883E: cmp clrBackColor, FFFFFFFFh
  1832. loc_00708842: jnz 00708866h
  1833. loc_00708844: mov var_4, 00000021h
  1834. loc_0070884B: mov eax, Me
  1835. loc_0070884E: mov ecx, [eax+00000048h]
  1836. loc_00708851: push ecx
  1837. loc_00708852: GetBkColor(%x1v)
  1838. loc_00708857: mov var_80, eax
  1839. loc_0070885A: call [004010BCh] ; __vbaSetSystemError
  1840. loc_00708860: mov edx, var_80
  1841. loc_00708863: mov clrBackColor, edx
  1842. loc_00708866: mov var_4, 00000023h
  1843. loc_0070886D: lea eax, var_58
  1844. loc_00708870: push eax
  1845. loc_00708871: push 00000000h
  1846. loc_00708873: mov ecx, clrBackColor
  1847. loc_00708876: push ecx
  1848. loc_00708877: OleTranslateColor(%x1v, %x2v, %x3v)
  1849. loc_0070887C: call [004010BCh] ; __vbaSetSystemError
  1850. loc_00708882: mov var_4, 00000024h
  1851. loc_00708889: mov edx, var_58
  1852. loc_0070888C: push edx
  1853. loc_0070888D: mov eax, var_40
  1854. loc_00708890: push eax
  1855. loc_00708891: SetBkColor(%x1v, %x2v)
  1856. loc_00708896: call [004010BCh] ; __vbaSetSystemError
  1857. loc_0070889C: mov var_4, 00000025h
  1858. loc_007088A3: mov ecx, var_58
  1859. loc_007088A6: push ecx
  1860. loc_007088A7: CreateSolidBrush(%x1v)
  1861. loc_007088AC: mov var_80, eax
  1862. loc_007088AF: call [004010BCh] ; __vbaSetSystemError
  1863. loc_007088B5: mov edx, var_80
  1864. loc_007088B8: mov var_50, edx
  1865. loc_007088BB: mov var_4, 00000026h
  1866. loc_007088C2: mov eax, var_50
  1867. loc_007088C5: push eax
  1868. loc_007088C6: lea ecx, var_68
  1869. loc_007088C9: push ecx
  1870. loc_007088CA: mov edx, var_40
  1871. loc_007088CD: push edx
  1872. loc_007088CE: FillRect(%x1v, %x2v, %x3v)
  1873. loc_007088D3: call [004010BCh] ; __vbaSetSystemError
  1874. loc_007088D9: mov var_4, 00000027h
  1875. loc_007088E0: push 00000000h
  1876. loc_007088E2: mov eax, picImage
  1877. loc_007088E5: mov ecx, [eax]
  1878. loc_007088E7: push ecx
  1879. loc_007088E8: call [00401238h] ; __vbaObjIs
  1880. loc_007088EE: movsx edx, ax
  1881. loc_007088F1: test edx, edx
  1882. loc_007088F3: jnz 00708CF9h
  1883. loc_007088F9: mov var_4, 00000028h
  1884. loc_00708900: push 00000000h
  1885. loc_00708902: push 00000003h
  1886. loc_00708904: mov eax, picImage
  1887. loc_00708907: mov ecx, [eax]
  1888. loc_00708909: push ecx
  1889. loc_0070890A: lea edx, var_7C
  1890. loc_0070890D: push edx
  1891. loc_0070890E: call [00401214h] ; __vbaLateIdCallLd
  1892. loc_00708914: add esp, 00000010h
  1893. loc_00708917: push eax
  1894. loc_00708918: call [004012C0h] ; __vbaI2Var
  1895. loc_0070891E: movsx eax, ax
  1896. loc_00708921: sub eax, 00000001h
  1897. loc_00708924: neg eax
  1898. loc_00708926: sbb eax, eax
  1899. loc_00708928: inc eax
  1900. loc_00708929: neg eax
  1901. loc_0070892B: mov var_88, ax
  1902. loc_00708932: lea ecx, var_7C
  1903. loc_00708935: call [00401030h] ; __vbaFreeVar
  1904. loc_0070893B: movsx ecx, var_88
  1905. loc_00708942: test ecx, ecx
  1906. loc_00708944: jz 00708960h
  1907. loc_00708946: mov var_4, 00000029h
  1908. loc_0070894D: cmp clrMaskColor, FFFFFFFFh
  1909. loc_00708951: jz 00708960h
  1910. loc_00708953: mov var_4, 0000002Ah
  1911. loc_0070895A: mov var_24, FFFFFFh
  1912. loc_00708960: mov var_4, 0000002Dh
  1913. loc_00708967: mov dx, bEnabled
  1914. loc_0070896B: not dx
  1915. loc_0070896E: movsx eax, dx
  1916. loc_00708971: test eax, eax
  1917. loc_00708973: jz 00708A58h
  1918. loc_00708979: mov var_4, 0000002Eh
  1919. loc_00708980: cmp var_38, 00000000h
  1920. loc_00708984: jnz 007089A0h
  1921. loc_00708986: lea ecx, var_38
  1922. loc_00708989: push ecx
  1923. loc_0070898A: push 00415048h
  1924. loc_0070898F: call [004012FCh] ; __vbaNew2
  1925. loc_00708995: lea edx, var_38
  1926. loc_00708998: mov var_B8, edx
  1927. loc_0070899E: jmp 007089A9h
  1928. loc_007089A0: lea eax, var_38
  1929. loc_007089A3: mov var_B8, eax
  1930. loc_007089A9: mov ecx, var_B8
  1931. loc_007089AF: mov edx, [ecx]
  1932. loc_007089B1: mov var_88, edx
  1933. loc_007089B7: mov eax, var_64
  1934. loc_007089BA: add eax, var_5C
  1935. loc_007089BD: jo 00708EF3h
  1936. loc_007089C3: mov var_84, eax
  1937. loc_007089C9: mov ecx, var_68
  1938. loc_007089CC: add ecx, var_60
  1939. loc_007089CF: jo 00708EF3h
  1940. loc_007089D5: mov var_80, ecx
  1941. loc_007089D8: lea edx, var_3C
  1942. loc_007089DB: push edx
  1943. loc_007089DC: lea eax, clrMaskColor
  1944. loc_007089DF: push eax
  1945. loc_007089E0: lea ecx, var_24
  1946. loc_007089E3: push ecx
  1947. loc_007089E4: lea edx, var_58
  1948. loc_007089E7: push edx
  1949. loc_007089E8: lea eax, var_84
  1950. loc_007089EE: push eax
  1951. loc_007089EF: lea ecx, var_80
  1952. loc_007089F2: push ecx
  1953. loc_007089F3: lea edx, var_64
  1954. loc_007089F6: push edx
  1955. loc_007089F7: lea eax, var_68
  1956. loc_007089FA: push eax
  1957. loc_007089FB: mov ecx, picImage
  1958. loc_007089FE: push ecx
  1959. loc_007089FF: lea edx, var_40
  1960. loc_00708A02: push edx
  1961. loc_00708A03: mov eax, var_88
  1962. loc_00708A09: mov ecx, [eax]
  1963. loc_00708A0B: mov edx, var_88
  1964. loc_00708A11: push edx
  1965. loc_00708A12: call [ecx+0000001Ch]
  1966. loc_00708A15: fnclex
  1967. loc_00708A17: mov var_8C, eax
  1968. loc_00708A1D: cmp var_8C, 00000000h
  1969. loc_00708A24: jge 00708A49h
  1970. loc_00708A26: push 0000001Ch
  1971. loc_00708A28: push 00447A34h
  1972. loc_00708A2D: mov eax, var_88
  1973. loc_00708A33: push eax
  1974. loc_00708A34: mov ecx, var_8C
  1975. loc_00708A3A: push ecx
  1976. loc_00708A3B: call [004010CCh] ; __vbaHresultCheckObj
  1977. loc_00708A41: mov var_BC, eax
  1978. loc_00708A47: jmp 00708A53h
  1979. loc_00708A49: mov var_BC, 00000000h
  1980. loc_00708A53: jmp 00708CF9h
  1981. loc_00708A58: mov var_4, 0000002Fh
  1982. loc_00708A5F: movsx edx, var_24
  1983. loc_00708A63: test edx, edx
  1984. loc_00708A65: jz 00708B42h
  1985. loc_00708A6B: mov var_4, 00000030h
  1986. loc_00708A72: cmp var_38, 00000000h
  1987. loc_00708A76: jnz 00708A92h
  1988. loc_00708A78: lea eax, var_38
  1989. loc_00708A7B: push eax
  1990. loc_00708A7C: push 00415048h
  1991. loc_00708A81: call [004012FCh] ; __vbaNew2
  1992. loc_00708A87: lea ecx, var_38
  1993. loc_00708A8A: mov var_C0, ecx
  1994. loc_00708A90: jmp 00708A9Bh
  1995. loc_00708A92: lea edx, var_38
  1996. loc_00708A95: mov var_C0, edx
  1997. loc_00708A9B: mov eax, var_C0
  1998. loc_00708AA1: mov ecx, [eax]
  1999. loc_00708AA3: mov var_88, ecx
  2000. loc_00708AA9: mov edx, var_64
  2001. loc_00708AAC: add edx, var_5C
  2002. loc_00708AAF: jo 00708EF3h
  2003. loc_00708AB5: mov var_84, edx
  2004. loc_00708ABB: mov eax, var_68
  2005. loc_00708ABE: add eax, var_60
  2006. loc_00708AC1: jo 00708EF3h
  2007. loc_00708AC7: mov var_80, eax
  2008. loc_00708ACA: lea ecx, var_3C
  2009. loc_00708ACD: push ecx
  2010. loc_00708ACE: lea edx, clrMaskColor
  2011. loc_00708AD1: push edx
  2012. loc_00708AD2: lea eax, var_84
  2013. loc_00708AD8: push eax
  2014. loc_00708AD9: lea ecx, var_80
  2015. loc_00708ADC: push ecx
  2016. loc_00708ADD: lea edx, var_64
  2017. loc_00708AE0: push edx
  2018. loc_00708AE1: lea eax, var_68
  2019. loc_00708AE4: push eax
  2020. loc_00708AE5: mov ecx, picImage
  2021. loc_00708AE8: push ecx
  2022. loc_00708AE9: lea edx, var_40
  2023. loc_00708AEC: push edx
  2024. loc_00708AED: mov eax, var_88
  2025. loc_00708AF3: mov ecx, [eax]
  2026. loc_00708AF5: mov edx, var_88
  2027. loc_00708AFB: push edx
  2028. loc_00708AFC: call [ecx+00000020h]
  2029. loc_00708AFF: fnclex
  2030. loc_00708B01: mov var_8C, eax
  2031. loc_00708B07: cmp var_8C, 00000000h
  2032. loc_00708B0E: jge 00708B33h
  2033. loc_00708B10: push 00000020h
  2034. loc_00708B12: push 00447A34h
  2035. loc_00708B17: mov eax, var_88
  2036. loc_00708B1D: push eax
  2037. loc_00708B1E: mov ecx, var_8C
  2038. loc_00708B24: push ecx
  2039. loc_00708B25: call [004010CCh] ; __vbaHresultCheckObj
  2040. loc_00708B2B: mov var_C4, eax
  2041. loc_00708B31: jmp 00708B3Dh
  2042. loc_00708B33: mov var_C4, 00000000h
  2043. loc_00708B3D: jmp 00708CF9h
  2044. loc_00708B42: mov var_4, 00000032h
  2045. loc_00708B49: push 00000000h
  2046. loc_00708B4B: push 00000003h
  2047. loc_00708B4D: mov edx, picImage
  2048. loc_00708B50: mov eax, [edx]
  2049. loc_00708B52: push eax
  2050. loc_00708B53: lea ecx, var_7C
  2051. loc_00708B56: push ecx
  2052. loc_00708B57: call [00401214h] ; __vbaLateIdCallLd
  2053. loc_00708B5D: add esp, 00000010h
  2054. loc_00708B60: push eax
  2055. loc_00708B61: call [004012C0h] ; __vbaI2Var
  2056. loc_00708B67: movsx edx, ax
  2057. loc_00708B6A: sub edx, 00000001h
  2058. loc_00708B6D: neg edx
  2059. loc_00708B6F: sbb edx, edx
  2060. loc_00708B71: inc edx
  2061. loc_00708B72: neg edx
  2062. loc_00708B74: mov var_88, dx
  2063. loc_00708B7B: lea ecx, var_7C
  2064. loc_00708B7E: call [00401030h] ; __vbaFreeVar
  2065. loc_00708B84: movsx eax, var_88
  2066. loc_00708B8B: test eax, eax
  2067. loc_00708B8D: jz 00708C66h
  2068. loc_00708B93: mov var_4, 00000033h
  2069. loc_00708B9A: cmp var_38, 00000000h
  2070. loc_00708B9E: jnz 00708BBAh
  2071. loc_00708BA0: lea ecx, var_38
  2072. loc_00708BA3: push ecx
  2073. loc_00708BA4: push 00415048h
  2074. loc_00708BA9: call [004012FCh] ; __vbaNew2
  2075. loc_00708BAF: lea edx, var_38
  2076. loc_00708BB2: mov var_C8, edx
  2077. loc_00708BB8: jmp 00708BC3h
  2078. loc_00708BBA: lea eax, var_38
  2079. loc_00708BBD: mov var_C8, eax
  2080. loc_00708BC3: mov ecx, var_C8
  2081. loc_00708BC9: mov edx, [ecx]
  2082. loc_00708BCB: mov var_88, edx
  2083. loc_00708BD1: mov eax, var_64
  2084. loc_00708BD4: add eax, var_5C
  2085. loc_00708BD7: jo 00708EF3h
  2086. loc_00708BDD: mov var_84, eax
  2087. loc_00708BE3: mov ecx, var_68
  2088. loc_00708BE6: add ecx, var_60
  2089. loc_00708BE9: jo 00708EF3h
  2090. loc_00708BEF: mov var_80, ecx
  2091. loc_00708BF2: lea edx, var_3C
  2092. loc_00708BF5: push edx
  2093. loc_00708BF6: lea eax, var_84
  2094. loc_00708BFC: push eax
  2095. loc_00708BFD: lea ecx, var_80
  2096. loc_00708C00: push ecx
  2097. loc_00708C01: lea edx, var_64
  2098. loc_00708C04: push edx
  2099. loc_00708C05: lea eax, var_68
  2100. loc_00708C08: push eax
  2101. loc_00708C09: mov ecx, picImage
  2102. loc_00708C0C: push ecx
  2103. loc_00708C0D: lea edx, var_40
  2104. loc_00708C10: push edx
  2105. loc_00708C11: mov eax, var_88
  2106. loc_00708C17: mov ecx, [eax]
  2107. loc_00708C19: mov edx, var_88
  2108. loc_00708C1F: push edx
  2109. loc_00708C20: call [ecx+00000024h]
  2110. loc_00708C23: fnclex
  2111. loc_00708C25: mov var_8C, eax
  2112. loc_00708C2B: cmp var_8C, 00000000h
  2113. loc_00708C32: jge 00708C57h
  2114. loc_00708C34: push 00000024h
  2115. loc_00708C36: push 00447A34h
  2116. loc_00708C3B: mov eax, var_88
  2117. loc_00708C41: push eax
  2118. loc_00708C42: mov ecx, var_8C
  2119. loc_00708C48: push ecx
  2120. loc_00708C49: call [004010CCh] ; __vbaHresultCheckObj
  2121. loc_00708C4F: mov var_CC, eax
  2122. loc_00708C55: jmp 00708C61h
  2123. loc_00708C57: mov var_CC, 00000000h
  2124. loc_00708C61: jmp 00708CF9h
  2125. loc_00708C66: mov var_4, 00000034h
  2126. loc_00708C6D: push 00000000h
  2127. loc_00708C6F: push 00000003h
  2128. loc_00708C71: mov edx, picImage
  2129. loc_00708C74: mov eax, [edx]
  2130. loc_00708C76: push eax
  2131. loc_00708C77: lea ecx, var_7C
  2132. loc_00708C7A: push ecx
  2133. loc_00708C7B: call [00401214h] ; __vbaLateIdCallLd
  2134. loc_00708C81: add esp, 00000010h
  2135. loc_00708C84: push eax
  2136. loc_00708C85: call [004012C0h] ; __vbaI2Var
  2137. loc_00708C8B: movsx edx, ax
  2138. loc_00708C8E: xor eax, eax
  2139. loc_00708C90: cmp edx, 00000003h
  2140. loc_00708C93: setz al
  2141. loc_00708C96: neg eax
  2142. loc_00708C98: mov var_88, ax
  2143. loc_00708C9F: lea ecx, var_7C
  2144. loc_00708CA2: call [00401030h] ; __vbaFreeVar
  2145. loc_00708CA8: movsx ecx, var_88
  2146. loc_00708CAF: test ecx, ecx
  2147. loc_00708CB1: jz 00708CF9h
  2148. loc_00708CB3: mov var_4, 00000035h
  2149. loc_00708CBA: push 00000000h
  2150. loc_00708CBC: push 00000000h
  2151. loc_00708CBE: mov edx, picImage
  2152. loc_00708CC1: mov eax, [edx]
  2153. loc_00708CC3: push eax
  2154. loc_00708CC4: lea ecx, var_7C
  2155. loc_00708CC7: push ecx
  2156. loc_00708CC8: call [00401214h] ; __vbaLateIdCallLd
  2157. loc_00708CCE: add esp, 00000010h
  2158. loc_00708CD1: push eax
  2159. loc_00708CD2: call [0040134Ch] ; __vbaI4Var
  2160. loc_00708CD8: push eax
  2161. loc_00708CD9: mov edx, var_64
  2162. loc_00708CDC: push edx
  2163. loc_00708CDD: mov eax, var_68
  2164. loc_00708CE0: push eax
  2165. loc_00708CE1: mov ecx, var_40
  2166. loc_00708CE4: push ecx
  2167. loc_00708CE5: DrawIcon(%x1v, %x2v, %x3v, %x4v)
  2168. loc_00708CEA: call [004010BCh] ; __vbaSetSystemError
  2169. loc_00708CF0: lea ecx, var_7C
  2170. loc_00708CF3: call [00401030h] ; __vbaFreeVar
  2171. loc_00708CF9: mov var_4, 0000003Ah
  2172. loc_00708D00: push 00CC0020h
  2173. loc_00708D05: push 00000000h
  2174. loc_00708D07: push 00000000h
  2175. loc_00708D09: mov edx, var_40
  2176. loc_00708D0C: push edx
  2177. loc_00708D0D: mov eax, var_28
  2178. loc_00708D10: push eax
  2179. loc_00708D11: mov ecx, var_2C
  2180. loc_00708D14: push ecx
  2181. loc_00708D15: mov edx, var_30
  2182. loc_00708D18: push edx
  2183. loc_00708D19: mov eax, var_34
  2184. loc_00708D1C: push eax
  2185. loc_00708D1D: mov ecx, Me
  2186. loc_00708D20: mov edx, [ecx+00000048h]
  2187. loc_00708D23: push edx
  2188. loc_00708D24: BitBlt(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v, %x7v, %x8v, %x9v)
  2189. loc_00708D29: call [004010BCh] ; __vbaSetSystemError
  2190. loc_00708D2F: mov var_4, 0000003Ch
  2191. loc_00708D36: mov eax, var_50
  2192. loc_00708D39: push eax
  2193. loc_00708D3A: DeleteObject(%x1v)
  2194. loc_00708D3F: call [004010BCh] ; __vbaSetSystemError
  2195. loc_00708D45: mov var_4, 0000003Dh
  2196. loc_00708D4C: push FFFFFFFFh
  2197. loc_00708D4E: mov ecx, var_48
  2198. loc_00708D51: push ecx
  2199. loc_00708D52: mov edx, var_40
  2200. loc_00708D55: push edx
  2201. loc_00708D56: SelectPalette(%x1v, %x2v, %x3v)
  2202. loc_00708D5B: call [004010BCh] ; __vbaSetSystemError
  2203. loc_00708D61: mov var_4, 0000003Eh
  2204. loc_00708D68: mov eax, var_40
  2205. loc_00708D6B: push eax
  2206. loc_00708D6C: RealizePalette(%x1v)
  2207. loc_00708D71: call [004010BCh] ; __vbaSetSystemError
  2208. loc_00708D77: mov var_4, 0000003Fh
  2209. loc_00708D7E: mov ecx, var_4C
  2210. loc_00708D81: push ecx
  2211. loc_00708D82: mov edx, var_40
  2212. loc_00708D85: push edx
  2213. loc_00708D86: SelectObject(%x1v, %x2v)
  2214. loc_00708D8B: mov var_80, eax
  2215. loc_00708D8E: call [004010BCh] ; __vbaSetSystemError
  2216. loc_00708D94: mov eax, var_80
  2217. loc_00708D97: push eax
  2218. loc_00708D98: DeleteObject(%x1v)
  2219. loc_00708D9D: call [004010BCh] ; __vbaSetSystemError
  2220. loc_00708DA3: mov var_4, 00000040h
  2221. loc_00708DAA: mov ecx, var_40
  2222. loc_00708DAD: push ecx
  2223. loc_00708DAE: DeleteDC(%x1v)
  2224. loc_00708DB3: call [004010BCh] ; __vbaSetSystemError
  2225. loc_00708DB9: jmp 00708EA7h
  2226. loc_00708DBE: mov var_4, 00000043h
  2227. loc_00708DC5: call [00401340h] ; rtcErrObj
  2228. loc_00708DCB: push eax
  2229. loc_00708DCC: lea edx, var_6C
  2230. loc_00708DCF: push edx
  2231. loc_00708DD0: call [00401128h] ; __vbaObjSet
  2232. loc_00708DD6: mov var_88, eax
  2233. loc_00708DDC: lea eax, var_80
  2234. loc_00708DDF: push eax
  2235. loc_00708DE0: mov ecx, var_88
  2236. loc_00708DE6: mov edx, [ecx]
  2237. loc_00708DE8: mov eax, var_88
  2238. loc_00708DEE: push eax
  2239. loc_00708DEF: call [edx+0000001Ch]
  2240. loc_00708DF2: fnclex
  2241. loc_00708DF4: mov var_8C, eax
  2242. loc_00708DFA: cmp var_8C, 00000000h
  2243. loc_00708E01: jge 00708E26h
  2244. loc_00708E03: push 0000001Ch
  2245. loc_00708E05: push 00443540h
  2246. loc_00708E0A: mov ecx, var_88
  2247. loc_00708E10: push ecx
  2248. loc_00708E11: mov edx, var_8C
  2249. loc_00708E17: push edx
  2250. loc_00708E18: call [004010CCh] ; __vbaHresultCheckObj
  2251. loc_00708E1E: mov var_D0, eax
  2252. loc_00708E24: jmp 00708E30h
  2253. loc_00708E26: mov var_D0, 00000000h
  2254. loc_00708E30: mov eax, var_80
  2255. loc_00708E33: mov var_94, eax
  2256. loc_00708E39: lea ecx, var_6C
  2257. loc_00708E3C: call [0040142Ch] ; __vbaFreeObj
  2258. loc_00708E42: mov ecx, var_94
  2259. loc_00708E48: mov var_D4, ecx
  2260. loc_00708E4E: cmp var_D4, 0000005Bh
  2261. loc_00708E55: jz 00708E67h
  2262. loc_00708E57: cmp var_D4, 000001E1h
  2263. loc_00708E61: jz 00708E7Dh
  2264. loc_00708E63: jmp 00708E93h
  2265. loc_00708E65: jmp 00708EA7h
  2266. loc_00708E67: mov var_4, 00000045h
  2267. loc_00708E6E: push 00000000h
  2268. loc_00708E70: call [00401090h] ; __vbaResume
  2269. loc_00708E76: jmp 00708CF9h
  2270. loc_00708E7B: jmp 00708EA7h
  2271. loc_00708E7D: mov var_4, 00000047h
  2272. loc_00708E84: push 00000000h
  2273. loc_00708E86: call [00401090h] ; __vbaResume
  2274. loc_00708E8C: jmp 00708CF9h
  2275. loc_00708E91: jmp 00708EA7h
  2276. loc_00708E93: mov var_4, 00000049h
  2277. loc_00708E9A: push 00000000h
  2278. loc_00708E9C: call [00401090h] ; __vbaResume
  2279. loc_00708EA2: jmp 00708D2Fh
  2280. loc_00708EA7: call [00401114h] ; __vbaExitProc
  2281. loc_00708EAD: push 00708ED1h
  2282. loc_00708EB2: jmp 00708EC7h
  2283. loc_00708EB4: lea ecx, var_6C
  2284. loc_00708EB7: call [0040142Ch] ; __vbaFreeObj
  2285. loc_00708EBD: lea ecx, var_7C
  2286. loc_00708EC0: call [00401030h] ; __vbaFreeVar
  2287. loc_00708EC6: ret
  2288. loc_00708EC7: lea ecx, var_38
  2289. loc_00708ECA: call [0040142Ch] ; __vbaFreeObj
  2290. loc_00708ED0: ret
  2291. loc_00708ED1: mov edx, Me
  2292. loc_00708ED4: mov eax, [edx]
  2293. loc_00708ED6: mov ecx, Me
  2294. loc_00708ED9: push ecx
  2295. loc_00708EDA: call [eax+00000008h]
  2296. loc_00708EDD: mov eax, var_10
  2297. loc_00708EE0: mov ecx, var_20
  2298. loc_00708EE3: mov fs:[00000000h], ecx
  2299. loc_00708EEA: pop edi
  2300. loc_00708EEB: pop esi
  2301. loc_00708EEC: pop ebx
  2302. loc_00708EED: mov esp, ebp
  2303. loc_00708EEF: pop ebp
  2304. loc_00708EF0: retn 0028h
  2305. End Sub
  2306. Public Sub TileBitmap(picSource, lLeft, lTop, lWidth, lHeight, lDestLeft, lDestTop, lDestWidth, lDestHeight) '709000
  2307. loc_00709000: push ebp
  2308. loc_00709001: mov ebp, esp
  2309. loc_00709003: sub esp, 0000000Ch
  2310. loc_00709006: push 00412856h ; __vbaExceptHandler
  2311. loc_0070900B: mov eax, fs:[00000000h]
  2312. loc_00709011: push eax
  2313. loc_00709012: mov fs:[00000000h], esp
  2314. loc_00709019: sub esp, 00000014h
  2315. loc_0070901C: push ebx
  2316. loc_0070901D: push esi
  2317. loc_0070901E: push edi
  2318. loc_0070901F: mov var_C, esp
  2319. loc_00709022: mov var_8, 00410928h
  2320. loc_00709029: xor ebx, ebx
  2321. loc_0070902B: mov var_4, ebx
  2322. loc_0070902E: mov esi, Me
  2323. loc_00709031: push esi
  2324. loc_00709032: mov eax, [esi]
  2325. loc_00709034: call [eax+00000004h]
  2326. loc_00709037: lea ecx, var_18
  2327. loc_0070903A: mov var_18, ebx
  2328. loc_0070903D: push ecx
  2329. loc_0070903E: push 00415048h
  2330. loc_00709043: call [004012FCh] ; __vbaNew2
  2331. loc_00709049: lea ecx, [esi+00000034h]
  2332. loc_0070904C: mov eax, var_18
  2333. loc_0070904F: push ecx
  2334. loc_00709050: mov ecx, lDestHeight
  2335. loc_00709053: push ecx
  2336. loc_00709054: mov ecx, lDestWidth
  2337. loc_00709057: push ecx
  2338. loc_00709058: mov ecx, lDestTop
  2339. loc_0070905B: push ecx
  2340. loc_0070905C: mov ecx, lDestLeft
  2341. loc_0070905F: push ecx
  2342. loc_00709060: mov ecx, lHeight
  2343. loc_00709063: push ecx
  2344. loc_00709064: mov ecx, lWidth
  2345. loc_00709067: push ecx
  2346. loc_00709068: mov ecx, lTop
  2347. loc_0070906B: mov edx, [eax]
  2348. loc_0070906D: push ecx
  2349. loc_0070906E: mov ecx, lLeft
  2350. loc_00709071: add esi, 00000048h
  2351. loc_00709074: push ecx
  2352. loc_00709075: mov ecx, picSource
  2353. loc_00709078: push ecx
  2354. loc_00709079: push esi
  2355. loc_0070907A: push eax
  2356. loc_0070907B: mov edi, eax
  2357. loc_0070907D: call [edx+00000028h]
  2358. loc_00709080: cmp eax, ebx
  2359. loc_00709082: fnclex
  2360. loc_00709084: jge 00709095h
  2361. loc_00709086: push 00000028h
  2362. loc_00709088: push 00447A34h
  2363. loc_0070908D: push edi
  2364. loc_0070908E: push eax
  2365. loc_0070908F: call [004010CCh] ; __vbaHresultCheckObj
  2366. loc_00709095: push 007090A4h
  2367. loc_0070909A: lea ecx, var_18
  2368. loc_0070909D: call [0040142Ch] ; __vbaFreeObj
  2369. loc_007090A3: ret
  2370. loc_007090A4: mov eax, Me
  2371. loc_007090A7: push eax
  2372. loc_007090A8: mov edx, [eax]
  2373. loc_007090AA: call [edx+00000008h]
  2374. loc_007090AD: mov eax, var_4
  2375. loc_007090B0: mov ecx, var_14
  2376. loc_007090B3: pop edi
  2377. loc_007090B4: pop esi
  2378. loc_007090B5: mov fs:[00000000h], ecx
  2379. loc_007090BC: pop ebx
  2380. loc_007090BD: mov esp, ebp
  2381. loc_007090BF: pop ebp
  2382. loc_007090C0: retn 0028h
  2383. End Sub
  2384. Public Property Get BackColor(arg_C) '7090D0
  2385. loc_007090D0: push ebp
  2386. loc_007090D1: mov ebp, esp
  2387. loc_007090D3: sub esp, 0000000Ch
  2388. loc_007090D6: push 00412856h ; __vbaExceptHandler
  2389. loc_007090DB: mov eax, fs:[00000000h]
  2390. loc_007090E1: push eax
  2391. loc_007090E2: mov fs:[00000000h], esp
  2392. loc_007090E9: sub esp, 00000018h
  2393. loc_007090EC: push ebx
  2394. loc_007090ED: push esi
  2395. loc_007090EE: push edi
  2396. loc_007090EF: mov var_C, esp
  2397. loc_007090F2: mov var_8, 00410938h
  2398. loc_007090F9: xor edi, edi
  2399. loc_007090FB: mov var_4, edi
  2400. loc_007090FE: mov esi, Me
  2401. loc_00709101: push esi
  2402. loc_00709102: mov eax, [esi]
  2403. loc_00709104: call [eax+00000004h]
  2404. loc_00709107: mov eax, [esi+00000044h]
  2405. loc_0070910A: add esi, 00000044h
  2406. loc_0070910D: cmp eax, edi
  2407. loc_0070910F: mov var_18, edi
  2408. loc_00709112: mov var_1C, edi
  2409. loc_00709115: jnz 00709123h
  2410. loc_00709117: push esi
  2411. loc_00709118: push 004153C0h
  2412. loc_0070911D: call [004012FCh] ; __vbaNew2
  2413. loc_00709123: mov esi, [esi]
  2414. loc_00709125: lea edx, var_1C
  2415. loc_00709128: push edx
  2416. loc_00709129: push esi
  2417. loc_0070912A: mov ecx, [esi]
  2418. loc_0070912C: call [ecx+0000001Ch]
  2419. loc_0070912F: cmp eax, edi
  2420. loc_00709131: fnclex
  2421. loc_00709133: jge 00709144h
  2422. loc_00709135: push 0000001Ch
  2423. loc_00709137: push 00446F68h
  2424. loc_0070913C: push esi
  2425. loc_0070913D: push eax
  2426. loc_0070913E: call [004010CCh] ; __vbaHresultCheckObj
  2427. loc_00709144: mov eax, var_1C
  2428. loc_00709147: mov var_18, eax
  2429. loc_0070914A: mov eax, Me
  2430. loc_0070914D: push eax
  2431. loc_0070914E: mov ecx, [eax]
  2432. loc_00709150: call [ecx+00000008h]
  2433. loc_00709153: mov edx, arg_C
  2434. loc_00709156: mov eax, var_18
  2435. loc_00709159: mov [edx], eax
  2436. loc_0070915B: mov eax, var_4
  2437. loc_0070915E: mov ecx, var_14
  2438. loc_00709161: pop edi
  2439. loc_00709162: pop esi
  2440. loc_00709163: mov fs:[00000000h], ecx
  2441. loc_0070916A: pop ebx
  2442. loc_0070916B: mov esp, ebp
  2443. loc_0070916D: pop ebp
  2444. loc_0070916E: retn 0008h
  2445. End Sub
  2446. Public Property Let BackColor(lBackColor) '709180
  2447. loc_00709180: push ebp
  2448. loc_00709181: mov ebp, esp
  2449. loc_00709183: sub esp, 0000000Ch
  2450. loc_00709186: push 00412856h ; __vbaExceptHandler
  2451. loc_0070918B: mov eax, fs:[00000000h]
  2452. loc_00709191: push eax
  2453. loc_00709192: mov fs:[00000000h], esp
  2454. loc_00709199: sub esp, 00000018h
  2455. loc_0070919C: push ebx
  2456. loc_0070919D: push esi
  2457. loc_0070919E: push edi
  2458. loc_0070919F: mov var_C, esp
  2459. loc_007091A2: mov var_8, 00410940h
  2460. loc_007091A9: xor ebx, ebx
  2461. loc_007091AB: mov var_4, ebx
  2462. loc_007091AE: mov esi, Me
  2463. loc_007091B1: push esi
  2464. loc_007091B2: mov eax, [esi]
  2465. loc_007091B4: call [eax+00000004h]
  2466. loc_007091B7: mov edx, lBackColor
  2467. loc_007091BA: lea ecx, var_18
  2468. loc_007091BD: push ecx
  2469. loc_007091BE: push ebx
  2470. loc_007091BF: push edx
  2471. loc_007091C0: mov var_18, ebx
  2472. loc_007091C3: mov var_1C, ebx
  2473. loc_007091C6: OleTranslateColor(%x1v, %x2v, %x3v)
  2474. loc_007091CB: call [004010BCh] ; __vbaSetSystemError
  2475. loc_007091D1: mov eax, [esi+00000044h]
  2476. loc_007091D4: mov edi, var_18
  2477. loc_007091D7: add esi, 00000044h
  2478. loc_007091DA: cmp eax, ebx
  2479. loc_007091DC: jnz 007091EAh
  2480. loc_007091DE: push esi
  2481. loc_007091DF: push 004153C0h
  2482. loc_007091E4: call [004012FCh] ; __vbaNew2
  2483. loc_007091EA: mov esi, [esi]
  2484. loc_007091EC: lea ecx, var_1C
  2485. loc_007091EF: mov var_1C, edi
  2486. loc_007091F2: push ecx
  2487. loc_007091F3: mov eax, [esi]
  2488. loc_007091F5: push esi
  2489. loc_007091F6: call [eax+00000020h]
  2490. loc_007091F9: cmp eax, ebx
  2491. loc_007091FB: fnclex
  2492. loc_007091FD: jge 0070920Eh
  2493. loc_007091FF: push 00000020h
  2494. loc_00709201: push 00446F68h
  2495. loc_00709206: push esi
  2496. loc_00709207: push eax
  2497. loc_00709208: call [004010CCh] ; __vbaHresultCheckObj
  2498. loc_0070920E: mov eax, Me
  2499. loc_00709211: push eax
  2500. loc_00709212: mov edx, [eax]
  2501. loc_00709214: call [edx+00000008h]
  2502. loc_00709217: mov eax, var_4
  2503. loc_0070921A: mov ecx, var_14
  2504. loc_0070921D: pop edi
  2505. loc_0070921E: pop esi
  2506. loc_0070921F: mov fs:[00000000h], ecx
  2507. loc_00709226: pop ebx
  2508. loc_00709227: mov esp, ebp
  2509. loc_00709229: pop ebp
  2510. loc_0070922A: retn 0008h
  2511. End Sub
  2512. Public Property Get FlatLineColor(arg_C) '709230
  2513. loc_00709230: push ebp
  2514. loc_00709231: mov ebp, esp
  2515. loc_00709233: sub esp, 0000000Ch
  2516. loc_00709236: push 00412856h ; __vbaExceptHandler
  2517. loc_0070923B: mov eax, fs:[00000000h]
  2518. loc_00709241: push eax
  2519. loc_00709242: mov fs:[00000000h], esp
  2520. loc_00709249: sub esp, 0000000Ch
  2521. loc_0070924C: push ebx
  2522. loc_0070924D: push esi
  2523. loc_0070924E: push edi
  2524. loc_0070924F: mov var_C, esp
  2525. loc_00709252: mov var_8, 00410948h
  2526. loc_00709259: xor edi, edi
  2527. loc_0070925B: mov var_4, edi
  2528. loc_0070925E: mov esi, Me
  2529. loc_00709261: push esi
  2530. loc_00709262: mov eax, [esi]
  2531. loc_00709264: call [eax+00000004h]
  2532. loc_00709267: mov ecx, [esi+00000064h]
  2533. loc_0070926A: mov var_18, edi
  2534. loc_0070926D: mov var_18, ecx
  2535. loc_00709270: mov eax, Me
  2536. loc_00709273: push eax
  2537. loc_00709274: mov edx, [eax]
  2538. loc_00709276: call [edx+00000008h]
  2539. loc_00709279: mov eax, arg_C
  2540. loc_0070927C: mov ecx, var_18
  2541. loc_0070927F: mov [eax], ecx
  2542. loc_00709281: mov eax, var_4
  2543. loc_00709284: mov ecx, var_14
  2544. loc_00709287: pop edi
  2545. loc_00709288: pop esi
  2546. loc_00709289: mov fs:[00000000h], ecx
  2547. loc_00709290: pop ebx
  2548. loc_00709291: mov esp, ebp
  2549. loc_00709293: pop ebp
  2550. loc_00709294: retn 0008h
  2551. End Sub
  2552. Public Property Let FlatLineColor(lFlatLineColor) '7092A0
  2553. loc_007092A0: push ebp
  2554. loc_007092A1: mov ebp, esp
  2555. loc_007092A3: sub esp, 0000000Ch
  2556. loc_007092A6: push 00412856h ; __vbaExceptHandler
  2557. loc_007092AB: mov eax, fs:[00000000h]
  2558. loc_007092B1: push eax
  2559. loc_007092B2: mov fs:[00000000h], esp
  2560. loc_007092B9: sub esp, 0000000Ch
  2561. loc_007092BC: push ebx
  2562. loc_007092BD: push esi
  2563. loc_007092BE: push edi
  2564. loc_007092BF: mov var_C, esp
  2565. loc_007092C2: mov var_8, 00410950h
  2566. loc_007092C9: xor edi, edi
  2567. loc_007092CB: mov var_4, edi
  2568. loc_007092CE: mov esi, Me
  2569. loc_007092D1: push esi
  2570. loc_007092D2: mov eax, [esi]
  2571. loc_007092D4: call [eax+00000004h]
  2572. loc_007092D7: mov edx, lFlatLineColor
  2573. loc_007092DA: lea ecx, var_18
  2574. loc_007092DD: push ecx
  2575. loc_007092DE: push edi
  2576. loc_007092DF: push edx
  2577. loc_007092E0: mov var_18, edi
  2578. loc_007092E3: OleTranslateColor(%x1v, %x2v, %x3v)
  2579. loc_007092E8: call [004010BCh] ; __vbaSetSystemError
  2580. loc_007092EE: mov eax, var_18
  2581. loc_007092F1: mov [esi+00000064h], eax
  2582. loc_007092F4: mov eax, Me
  2583. loc_007092F7: push eax
  2584. loc_007092F8: mov ecx, [eax]
  2585. loc_007092FA: call [ecx+00000008h]
  2586. loc_007092FD: mov eax, var_4
  2587. loc_00709300: mov ecx, var_14
  2588. loc_00709303: pop edi
  2589. loc_00709304: pop esi
  2590. loc_00709305: mov fs:[00000000h], ecx
  2591. loc_0070930C: pop ebx
  2592. loc_0070930D: mov esp, ebp
  2593. loc_0070930F: pop ebp
  2594. loc_00709310: retn 0008h
  2595. End Sub
  2596. Public Property Get ForeColor(arg_C) '709320
  2597. loc_00709320: push ebp
  2598. loc_00709321: mov ebp, esp
  2599. loc_00709323: sub esp, 0000000Ch
  2600. loc_00709326: push 00412856h ; __vbaExceptHandler
  2601. loc_0070932B: mov eax, fs:[00000000h]
  2602. loc_00709331: push eax
  2603. loc_00709332: mov fs:[00000000h], esp
  2604. loc_00709339: sub esp, 00000018h
  2605. loc_0070933C: push ebx
  2606. loc_0070933D: push esi
  2607. loc_0070933E: push edi
  2608. loc_0070933F: mov var_C, esp
  2609. loc_00709342: mov var_8, 00410958h
  2610. loc_00709349: xor edi, edi
  2611. loc_0070934B: mov var_4, edi
  2612. loc_0070934E: mov esi, Me
  2613. loc_00709351: push esi
  2614. loc_00709352: mov eax, [esi]
  2615. loc_00709354: call [eax+00000004h]
  2616. loc_00709357: mov eax, [esi+00000044h]
  2617. loc_0070935A: add esi, 00000044h
  2618. loc_0070935D: cmp eax, edi
  2619. loc_0070935F: mov var_18, edi
  2620. loc_00709362: mov var_1C, edi
  2621. loc_00709365: jnz 00709373h
  2622. loc_00709367: push esi
  2623. loc_00709368: push 004153C0h
  2624. loc_0070936D: call [004012FCh] ; __vbaNew2
  2625. loc_00709373: mov esi, [esi]
  2626. loc_00709375: lea edx, var_1C
  2627. loc_00709378: push edx
  2628. loc_00709379: push esi
  2629. loc_0070937A: mov ecx, [esi]
  2630. loc_0070937C: call [ecx+00000024h]
  2631. loc_0070937F: cmp eax, edi
  2632. loc_00709381: fnclex
  2633. loc_00709383: jge 00709394h
  2634. loc_00709385: push 00000024h
  2635. loc_00709387: push 00446F68h
  2636. loc_0070938C: push esi
  2637. loc_0070938D: push eax
  2638. loc_0070938E: call [004010CCh] ; __vbaHresultCheckObj
  2639. loc_00709394: mov eax, var_1C
  2640. loc_00709397: mov var_18, eax
  2641. loc_0070939A: mov eax, Me
  2642. loc_0070939D: push eax
  2643. loc_0070939E: mov ecx, [eax]
  2644. loc_007093A0: call [ecx+00000008h]
  2645. loc_007093A3: mov edx, arg_C
  2646. loc_007093A6: mov eax, var_18
  2647. loc_007093A9: mov [edx], eax
  2648. loc_007093AB: mov eax, var_4
  2649. loc_007093AE: mov ecx, var_14
  2650. loc_007093B1: pop edi
  2651. loc_007093B2: pop esi
  2652. loc_007093B3: mov fs:[00000000h], ecx
  2653. loc_007093BA: pop ebx
  2654. loc_007093BB: mov esp, ebp
  2655. loc_007093BD: pop ebp
  2656. loc_007093BE: retn 0008h
  2657. End Sub
  2658. Public Property Let ForeColor(lForeColor) '7093D0
  2659. loc_007093D0: push ebp
  2660. loc_007093D1: mov ebp, esp
  2661. loc_007093D3: sub esp, 0000000Ch
  2662. loc_007093D6: push 00412856h ; __vbaExceptHandler
  2663. loc_007093DB: mov eax, fs:[00000000h]
  2664. loc_007093E1: push eax
  2665. loc_007093E2: mov fs:[00000000h], esp
  2666. loc_007093E9: sub esp, 00000018h
  2667. loc_007093EC: push ebx
  2668. loc_007093ED: push esi
  2669. loc_007093EE: push edi
  2670. loc_007093EF: mov var_C, esp
  2671. loc_007093F2: mov var_8, 00410960h
  2672. loc_007093F9: xor ebx, ebx
  2673. loc_007093FB: mov var_4, ebx
  2674. loc_007093FE: mov esi, Me
  2675. loc_00709401: push esi
  2676. loc_00709402: mov eax, [esi]
  2677. loc_00709404: call [eax+00000004h]
  2678. loc_00709407: mov edx, lForeColor
  2679. loc_0070940A: lea ecx, var_18
  2680. loc_0070940D: push ecx
  2681. loc_0070940E: push ebx
  2682. loc_0070940F: push edx
  2683. loc_00709410: mov var_18, ebx
  2684. loc_00709413: mov var_1C, ebx
  2685. loc_00709416: OleTranslateColor(%x1v, %x2v, %x3v)
  2686. loc_0070941B: call [004010BCh] ; __vbaSetSystemError
  2687. loc_00709421: mov eax, [esi+00000044h]
  2688. loc_00709424: mov edi, var_18
  2689. loc_00709427: add esi, 00000044h
  2690. loc_0070942A: cmp eax, ebx
  2691. loc_0070942C: jnz 0070943Ah
  2692. loc_0070942E: push esi
  2693. loc_0070942F: push 004153C0h
  2694. loc_00709434: call [004012FCh] ; __vbaNew2
  2695. loc_0070943A: mov esi, [esi]
  2696. loc_0070943C: lea ecx, var_1C
  2697. loc_0070943F: mov var_1C, edi
  2698. loc_00709442: push ecx
  2699. loc_00709443: mov eax, [esi]
  2700. loc_00709445: push esi
  2701. loc_00709446: call [eax+00000028h]
  2702. loc_00709449: cmp eax, ebx
  2703. loc_0070944B: fnclex
  2704. loc_0070944D: jge 0070945Eh
  2705. loc_0070944F: push 00000028h
  2706. loc_00709451: push 00446F68h
  2707. loc_00709456: push esi
  2708. loc_00709457: push eax
  2709. loc_00709458: call [004010CCh] ; __vbaHresultCheckObj
  2710. loc_0070945E: mov eax, Me
  2711. loc_00709461: push eax
  2712. loc_00709462: mov edx, [eax]
  2713. loc_00709464: call [edx+00000008h]
  2714. loc_00709467: mov eax, var_4
  2715. loc_0070946A: mov ecx, var_14
  2716. loc_0070946D: pop edi
  2717. loc_0070946E: pop esi
  2718. loc_0070946F: mov fs:[00000000h], ecx
  2719. loc_00709476: pop ebx
  2720. loc_00709477: mov esp, ebp
  2721. loc_00709479: pop ebp
  2722. loc_0070947A: retn 0008h
  2723. End Sub
  2724. Public Sub DrawStart(lhdc, lWidth, lHeight, bCopySourceDC) '709480
  2725. loc_00709480: push ebp
  2726. loc_00709481: mov ebp, esp
  2727. loc_00709483: sub esp, 0000000Ch
  2728. loc_00709486: push 00412856h ; __vbaExceptHandler
  2729. loc_0070948B: mov eax, fs:[00000000h]
  2730. loc_00709491: push eax
  2731. loc_00709492: mov fs:[00000000h], esp
  2732. loc_00709499: sub esp, 00000014h
  2733. loc_0070949C: push ebx
  2734. loc_0070949D: push esi
  2735. loc_0070949E: push edi
  2736. loc_0070949F: mov var_C, esp
  2737. loc_007094A2: mov var_8, 00410968h
  2738. loc_007094A9: xor edi, edi
  2739. loc_007094AB: mov var_4, edi
  2740. loc_007094AE: mov ebx, Me
  2741. loc_007094B1: push ebx
  2742. loc_007094B2: mov eax, [ebx]
  2743. loc_007094B4: call [eax+00000004h]
  2744. loc_007094B7: mov eax, [ebx+00000044h]
  2745. loc_007094BA: lea esi, [ebx+00000044h]
  2746. loc_007094BD: cmp eax, edi
  2747. loc_007094BF: mov var_18, edi
  2748. loc_007094C2: jnz 007094D0h
  2749. loc_007094C4: push esi
  2750. loc_007094C5: push 004153C0h
  2751. loc_007094CA: call [004012FCh] ; __vbaNew2
  2752. loc_007094D0: mov edx, bCopySourceDC
  2753. loc_007094D3: mov eax, lHeight
  2754. loc_007094D6: mov edi, [esi]
  2755. loc_007094D8: push edx
  2756. loc_007094D9: mov edx, lWidth
  2757. loc_007094DC: push eax
  2758. loc_007094DD: mov eax, lhdc
  2759. loc_007094E0: mov ecx, [edi]
  2760. loc_007094E2: push edx
  2761. loc_007094E3: push eax
  2762. loc_007094E4: push edi
  2763. loc_007094E5: call [ecx+00000034h]
  2764. loc_007094E8: test eax, eax
  2765. loc_007094EA: fnclex
  2766. loc_007094EC: jge 007094FDh
  2767. loc_007094EE: push 00000034h
  2768. loc_007094F0: push 00446F68h
  2769. loc_007094F5: push edi
  2770. loc_007094F6: push eax
  2771. loc_007094F7: call [004010CCh] ; __vbaHresultCheckObj
  2772. loc_007094FD: cmp [esi], 00000000h
  2773. loc_00709500: jnz 0070950Eh
  2774. loc_00709502: push esi
  2775. loc_00709503: push 004153C0h
  2776. loc_00709508: call [004012FCh] ; __vbaNew2
  2777. loc_0070950E: mov esi, [esi]
  2778. loc_00709510: lea edx, var_18
  2779. loc_00709513: push edx
  2780. loc_00709514: push esi
  2781. loc_00709515: mov ecx, [esi]
  2782. loc_00709517: call [ecx+00000040h]
  2783. loc_0070951A: test eax, eax
  2784. loc_0070951C: fnclex
  2785. loc_0070951E: jge 0070952Fh
  2786. loc_00709520: push 00000040h
  2787. loc_00709522: push 00446F68h
  2788. loc_00709527: push esi
  2789. loc_00709528: push eax
  2790. loc_00709529: call [004010CCh] ; __vbaHresultCheckObj
  2791. loc_0070952F: mov eax, var_18
  2792. loc_00709532: mov [ebx+00000048h], eax
  2793. loc_00709535: mov eax, Me
  2794. loc_00709538: push eax
  2795. loc_00709539: mov ecx, [eax]
  2796. loc_0070953B: call [ecx+00000008h]
  2797. loc_0070953E: mov eax, var_4
  2798. loc_00709541: mov ecx, var_14
  2799. loc_00709544: pop edi
  2800. loc_00709545: pop esi
  2801. loc_00709546: mov fs:[00000000h], ecx
  2802. loc_0070954D: pop ebx
  2803. loc_0070954E: mov esp, ebp
  2804. loc_00709550: pop ebp
  2805. loc_00709551: retn 0014h
  2806. End Sub
  2807. Public Sub DrawStop(lLeft, lTop, lWidth, lHeight) '709560
  2808. loc_00709560: push ebp
  2809. loc_00709561: mov ebp, esp
  2810. loc_00709563: sub esp, 0000000Ch
  2811. loc_00709566: push 00412856h ; __vbaExceptHandler
  2812. loc_0070956B: mov eax, fs:[00000000h]
  2813. loc_00709571: push eax
  2814. loc_00709572: mov fs:[00000000h], esp
  2815. loc_00709579: sub esp, 00000010h
  2816. loc_0070957C: push ebx
  2817. loc_0070957D: push esi
  2818. loc_0070957E: push edi
  2819. loc_0070957F: mov var_C, esp
  2820. loc_00709582: mov var_8, 00410970h
  2821. loc_00709589: mov var_4, 00000000h
  2822. loc_00709590: mov esi, Me
  2823. loc_00709593: push esi
  2824. loc_00709594: mov eax, [esi]
  2825. loc_00709596: call [eax+00000004h]
  2826. loc_00709599: mov eax, [esi+00000044h]
  2827. loc_0070959C: add esi, 00000044h
  2828. loc_0070959F: test eax, eax
  2829. loc_007095A1: jnz 007095AFh
  2830. loc_007095A3: push esi
  2831. loc_007095A4: push 004153C0h
  2832. loc_007095A9: call [004012FCh] ; __vbaNew2
  2833. loc_007095AF: mov edx, lHeight
  2834. loc_007095B2: mov eax, lWidth
  2835. loc_007095B5: mov esi, [esi]
  2836. loc_007095B7: push edx
  2837. loc_007095B8: mov edx, lTop
  2838. loc_007095BB: push eax
  2839. loc_007095BC: mov eax, lLeft
  2840. loc_007095BF: mov ecx, [esi]
  2841. loc_007095C1: push edx
  2842. loc_007095C2: push eax
  2843. loc_007095C3: push esi
  2844. loc_007095C4: call [ecx+00000038h]
  2845. loc_007095C7: test eax, eax
  2846. loc_007095C9: fnclex
  2847. loc_007095CB: jge 007095DCh
  2848. loc_007095CD: push 00000038h
  2849. loc_007095CF: push 00446F68h
  2850. loc_007095D4: push esi
  2851. loc_007095D5: push eax
  2852. loc_007095D6: call [004010CCh] ; __vbaHresultCheckObj
  2853. loc_007095DC: mov eax, Me
  2854. loc_007095DF: push eax
  2855. loc_007095E0: mov ecx, [eax]
  2856. loc_007095E2: call [ecx+00000008h]
  2857. loc_007095E5: mov eax, var_4
  2858. loc_007095E8: mov ecx, var_14
  2859. loc_007095EB: pop edi
  2860. loc_007095EC: pop esi
  2861. loc_007095ED: mov fs:[00000000h], ecx
  2862. loc_007095F4: pop ebx
  2863. loc_007095F5: mov esp, ebp
  2864. loc_007095F7: pop ebp
  2865. loc_007095F8: retn 0014h
  2866. End Sub
  2867. Public Sub FillRect(nLeft, nTop, nWidth, nHeight, rgbColor, sCaption, CaptionAlign, picBackground, blnPicFill) '709600
  2868. loc_00709600: push ebp
  2869. loc_00709601: mov ebp, esp
  2870. loc_00709603: sub esp, 0000000Ch
  2871. loc_00709606: push 00412856h ; __vbaExceptHandler
  2872. loc_0070960B: mov eax, fs:[00000000h]
  2873. loc_00709611: push eax
  2874. loc_00709612: mov fs:[00000000h], esp
  2875. loc_00709619: sub esp, 00000050h
  2876. loc_0070961C: push ebx
  2877. loc_0070961D: push esi
  2878. loc_0070961E: push edi
  2879. loc_0070961F: mov var_C, esp
  2880. loc_00709622: mov var_8, 00410978h
  2881. loc_00709629: xor edi, edi
  2882. loc_0070962B: mov var_4, edi
  2883. loc_0070962E: mov ebx, Me
  2884. loc_00709631: push ebx
  2885. loc_00709632: mov eax, [ebx]
  2886. loc_00709634: call [eax+00000004h]
  2887. loc_00709637: mov esi, rgbColor
  2888. loc_0070963A: xor ecx, ecx
  2889. loc_0070963C: mov var_28, ecx
  2890. loc_0070963F: xor edx, edx
  2891. loc_00709641: mov eax, [esi]
  2892. loc_00709643: mov var_24, ecx
  2893. loc_00709646: mov var_20, ecx
  2894. loc_00709649: mov var_3C, edx
  2895. loc_0070964C: cmp eax, edi
  2896. loc_0070964E: mov var_18, edi
  2897. loc_00709651: mov var_1C, ecx
  2898. loc_00709654: mov var_34, edi
  2899. loc_00709657: mov var_38, edx
  2900. loc_0070965A: mov var_40, edi
  2901. loc_0070965D: mov var_44, edi
  2902. loc_00709660: mov var_48, edi
  2903. loc_00709663: jge 0070967Bh
  2904. loc_00709665: lea ecx, var_34
  2905. loc_00709668: push ecx
  2906. loc_00709669: push edi
  2907. loc_0070966A: push eax
  2908. loc_0070966B: OleTranslateColor(%x1v, %x2v, %x3v)
  2909. loc_00709670: call [004010BCh] ; __vbaSetSystemError
  2910. loc_00709676: mov edx, var_34
  2911. loc_00709679: mov [esi], edx
  2912. loc_0070967B: mov eax, [ebx+00000044h]
  2913. loc_0070967E: add ebx, 00000044h
  2914. loc_00709681: cmp eax, edi
  2915. loc_00709683: mov var_64, ebx
  2916. loc_00709686: jnz 00709694h
  2917. loc_00709688: push ebx
  2918. loc_00709689: push 004153C0h
  2919. loc_0070968E: call [004012FCh] ; __vbaNew2
  2920. loc_00709694: mov esi, [ebx]
  2921. loc_00709696: lea ecx, var_48
  2922. loc_00709699: push ecx
  2923. loc_0070969A: push esi
  2924. loc_0070969B: mov eax, [esi]
  2925. loc_0070969D: call [eax+0000001Ch]
  2926. loc_007096A0: test eax, eax
  2927. loc_007096A2: fnclex
  2928. loc_007096A4: jge 007096B5h
  2929. loc_007096A6: push 0000001Ch
  2930. loc_007096A8: push 00446F68h
  2931. loc_007096AD: push esi
  2932. loc_007096AE: push eax
  2933. loc_007096AF: call [004010CCh] ; __vbaHresultCheckObj
  2934. loc_007096B5: mov eax, [ebx]
  2935. loc_007096B7: mov edx, var_48
  2936. loc_007096BA: test eax, eax
  2937. loc_007096BC: mov var_30, edx
  2938. loc_007096BF: jnz 007096CDh
  2939. loc_007096C1: push ebx
  2940. loc_007096C2: push 004153C0h
  2941. loc_007096C7: call [004012FCh] ; __vbaNew2
  2942. loc_007096CD: mov eax, rgbColor
  2943. loc_007096D0: mov esi, [ebx]
  2944. loc_007096D2: mov ecx, [eax]
  2945. loc_007096D4: lea eax, var_48
  2946. loc_007096D7: mov var_48, ecx
  2947. loc_007096DA: mov edx, [esi]
  2948. loc_007096DC: push eax
  2949. loc_007096DD: push esi
  2950. loc_007096DE: call [edx+00000020h]
  2951. loc_007096E1: test eax, eax
  2952. loc_007096E3: fnclex
  2953. loc_007096E5: jge 007096F6h
  2954. loc_007096E7: push 00000020h
  2955. loc_007096E9: push 00446F68h
  2956. loc_007096EE: push esi
  2957. loc_007096EF: push eax
  2958. loc_007096F0: call [004010CCh] ; __vbaHresultCheckObj
  2959. loc_007096F6: mov ecx, blnPicFill
  2960. loc_007096F9: cmp [ecx], 0000h
  2961. loc_007096FD: jz 00709771h
  2962. loc_007096FF: mov esi, picBackground
  2963. loc_00709702: lea eax, var_44
  2964. loc_00709705: mov edx, [esi]
  2965. loc_00709707: push edx
  2966. loc_00709708: push eax
  2967. loc_00709709: call [00401130h] ; __vbaObjSetAddref
  2968. loc_0070970F: push FFFFFFFFh
  2969. loc_00709711: push FFFFFFFFh
  2970. loc_00709713: lea edx, var_44
  2971. loc_00709716: push FFFFFFFFh
  2972. loc_00709718: push edx
  2973. loc_00709719: mov edx, nHeight
  2974. loc_0070971C: push esi
  2975. loc_0070971D: mov eax, Me
  2976. loc_00709720: mov edx, [edx]
  2977. loc_00709722: push edx
  2978. loc_00709723: mov edx, nWidth
  2979. loc_00709726: mov ecx, [eax]
  2980. loc_00709728: mov edx, [edx]
  2981. loc_0070972A: push edx
  2982. loc_0070972B: mov edx, nTop
  2983. loc_0070972E: mov edx, [edx]
  2984. loc_00709730: push edx
  2985. loc_00709731: mov edx, nLeft
  2986. loc_00709734: push edx
  2987. loc_00709735: push eax
  2988. loc_00709736: call [ecx+00000064h]
  2989. loc_00709739: test eax, eax
  2990. loc_0070973B: fnclex
  2991. loc_0070973D: jge 00709751h
  2992. loc_0070973F: mov ecx, Me
  2993. loc_00709742: push 00000064h
  2994. loc_00709744: push 0043CA28h
  2995. loc_00709749: push ecx
  2996. loc_0070974A: push eax
  2997. loc_0070974B: call [004010CCh] ; __vbaHresultCheckObj
  2998. loc_00709751: mov edx, var_44
  2999. loc_00709754: push 0043D9BCh
  3000. loc_00709759: push edx
  3001. loc_0070975A: call [004013C4h] ; __vbaCastObj
  3002. loc_00709760: push eax
  3003. loc_00709761: push esi
  3004. loc_00709762: call [00401128h] ; __vbaObjSet
  3005. loc_00709768: lea ecx, var_44
  3006. loc_0070976B: call [0040142Ch] ; __vbaFreeObj
  3007. loc_00709771: mov esi, sCaption
  3008. loc_00709774: mov eax, [esi]
  3009. loc_00709776: push eax
  3010. loc_00709777: call [00401044h] ; __vbaLenBstr
  3011. loc_0070977D: test eax, eax
  3012. loc_0070977F: jle 00709972h
  3013. loc_00709785: cmp [ebx], 00000000h
  3014. loc_00709788: jnz 00709796h
  3015. loc_0070978A: push ebx
  3016. loc_0070978B: push 004153C0h
  3017. loc_00709790: call [004012FCh] ; __vbaNew2
  3018. loc_00709796: mov ebx, [ebx]
  3019. loc_00709798: lea edx, var_48
  3020. loc_0070979B: push edx
  3021. loc_0070979C: push ebx
  3022. loc_0070979D: mov ecx, [ebx]
  3023. loc_0070979F: call [ecx+00000040h]
  3024. loc_007097A2: test eax, eax
  3025. loc_007097A4: fnclex
  3026. loc_007097A6: jge 007097B7h
  3027. loc_007097A8: push 00000040h
  3028. loc_007097AA: push 00446F68h
  3029. loc_007097AF: push ebx
  3030. loc_007097B0: push eax
  3031. loc_007097B1: call [004010CCh] ; __vbaHresultCheckObj
  3032. loc_007097B7: mov ecx, [esi]
  3033. loc_007097B9: lea eax, var_3C
  3034. loc_007097BC: push eax
  3035. loc_007097BD: push ecx
  3036. loc_007097BE: call [00401044h] ; __vbaLenBstr
  3037. loc_007097C4: mov edx, [esi]
  3038. loc_007097C6: push eax
  3039. loc_007097C7: lea eax, var_40
  3040. loc_007097CA: push edx
  3041. loc_007097CB: push eax
  3042. loc_007097CC: call [00401370h] ; __vbaStrToAnsi
  3043. loc_007097D2: mov ecx, var_48
  3044. loc_007097D5: push eax
  3045. loc_007097D6: push ecx
  3046. loc_007097D7: GetTextExtentPoint32(%x1v, %x2v, %x3v, %x4v)
  3047. loc_007097DC: call [004010BCh] ; __vbaSetSystemError
  3048. loc_007097E2: mov edx, var_40
  3049. loc_007097E5: push edx
  3050. loc_007097E6: push esi
  3051. loc_007097E7: call [00401260h] ; __vbaStrToUnicode
  3052. loc_007097ED: lea ecx, var_40
  3053. loc_007097F0: call [00401430h] ; __vbaFreeStr
  3054. loc_007097F6: mov eax, CaptionAlign
  3055. loc_007097F9: mov esi, [004011E4h] ; __vbaI2I4
  3056. loc_007097FF: xor ecx, ecx
  3057. loc_00709801: mov bx, [eax]
  3058. loc_00709804: call __vbaI2I4
  3059. loc_00709806: cmp bx, ax
  3060. loc_00709809: jz 0070988Fh
  3061. loc_0070980F: mov ecx, 00000003h
  3062. loc_00709814: call __vbaI2I4
  3063. loc_00709816: cmp bx, ax
  3064. loc_00709819: jz 0070988Fh
  3065. loc_0070981B: mov ecx, 00000006h
  3066. loc_00709820: call __vbaI2I4
  3067. loc_00709822: cmp bx, ax
  3068. loc_00709825: jz 0070988Fh
  3069. loc_00709827: mov ecx, 00000002h
  3070. loc_0070982C: call __vbaI2I4
  3071. loc_0070982E: cmp bx, ax
  3072. loc_00709831: jz 00709876h
  3073. loc_00709833: mov ecx, 00000005h
  3074. loc_00709838: call __vbaI2I4
  3075. loc_0070983A: cmp bx, ax
  3076. loc_0070983D: jz 00709876h
  3077. loc_0070983F: mov ecx, 00000008h
  3078. loc_00709844: call __vbaI2I4
  3079. loc_00709846: cmp bx, ax
  3080. loc_00709849: jz 00709876h
  3081. loc_0070984B: mov ecx, 00000001h
  3082. loc_00709850: call __vbaI2I4
  3083. loc_00709852: cmp bx, ax
  3084. loc_00709855: jz 0070986Fh
  3085. loc_00709857: mov ecx, 00000004h
  3086. loc_0070985C: call __vbaI2I4
  3087. loc_0070985E: cmp bx, ax
  3088. loc_00709861: jz 0070986Fh
  3089. loc_00709863: mov ecx, 00000007h
  3090. loc_00709868: call __vbaI2I4
  3091. loc_0070986A: cmp bx, ax
  3092. loc_0070986D: jnz 007098B3h
  3093. loc_0070986F: mov ecx, nLeft
  3094. loc_00709872: mov edi, [ecx]
  3095. loc_00709874: jmp 007098B3h
  3096. loc_00709876: mov edx, nWidth
  3097. loc_00709879: mov eax, nLeft
  3098. loc_0070987C: mov edi, [edx]
  3099. loc_0070987E: mov edx, var_3C
  3100. loc_00709881: mov ecx, [eax]
  3101. loc_00709883: sub edi, edx
  3102. loc_00709885: jo 00709AF5h
  3103. loc_0070988B: add edi, ecx
  3104. loc_0070988D: jmp 007098ADh
  3105. loc_0070988F: mov ecx, nWidth
  3106. loc_00709892: mov ebx, var_3C
  3107. loc_00709895: mov eax, [ecx]
  3108. loc_00709897: sub eax, ebx
  3109. loc_00709899: jo 00709AF5h
  3110. loc_0070989F: cdq
  3111. loc_007098A0: sub eax, edx
  3112. loc_007098A2: mov edx, nLeft
  3113. loc_007098A5: mov edi, eax
  3114. loc_007098A7: mov eax, [edx]
  3115. loc_007098A9: sar edi, 01h
  3116. loc_007098AB: add edi, eax
  3117. loc_007098AD: jo 00709AF5h
  3118. loc_007098B3: mov eax, CaptionAlign
  3119. loc_007098B6: xor ecx, ecx
  3120. loc_007098B8: mov bx, [eax]
  3121. loc_007098BB: call __vbaI2I4
  3122. loc_007098BD: cmp bx, ax
  3123. loc_007098C0: jz 00709947h
  3124. loc_007098C6: mov ecx, 00000002h
  3125. loc_007098CB: call __vbaI2I4
  3126. loc_007098CD: cmp bx, ax
  3127. loc_007098D0: jz 00709947h
  3128. loc_007098D2: mov ecx, 00000001h
  3129. loc_007098D7: call __vbaI2I4
  3130. loc_007098D9: cmp bx, ax
  3131. loc_007098DC: jz 00709947h
  3132. loc_007098DE: mov ecx, 00000003h
  3133. loc_007098E3: call __vbaI2I4
  3134. loc_007098E5: cmp bx, ax
  3135. loc_007098E8: jz 0070993Dh
  3136. loc_007098EA: mov ecx, 00000004h
  3137. loc_007098EF: call __vbaI2I4
  3138. loc_007098F1: cmp bx, ax
  3139. loc_007098F4: jz 0070993Dh
  3140. loc_007098F6: mov ecx, 00000005h
  3141. loc_007098FB: call __vbaI2I4
  3142. loc_007098FD: cmp bx, ax
  3143. loc_00709900: jz 0070993Dh
  3144. loc_00709902: mov ecx, 00000006h
  3145. loc_00709907: call __vbaI2I4
  3146. loc_00709909: cmp bx, ax
  3147. loc_0070990C: jz 00709926h
  3148. loc_0070990E: mov ecx, 00000007h
  3149. loc_00709913: call __vbaI2I4
  3150. loc_00709915: cmp bx, ax
  3151. loc_00709918: jz 00709926h
  3152. loc_0070991A: mov ecx, 00000008h
  3153. loc_0070991F: call __vbaI2I4
  3154. loc_00709921: cmp bx, ax
  3155. loc_00709924: jnz 0070996Ch
  3156. loc_00709926: mov ecx, nHeight
  3157. loc_00709929: mov edx, var_38
  3158. loc_0070992C: mov eax, [ecx]
  3159. loc_0070992E: sub eax, edx
  3160. loc_00709930: mov edx, nTop
  3161. loc_00709933: jo 00709AF5h
  3162. loc_00709939: add eax, [edx]
  3163. loc_0070993B: jmp 00709963h
  3164. loc_0070993D: mov eax, nTop
  3165. loc_00709940: mov ecx, [eax]
  3166. loc_00709942: mov var_18, ecx
  3167. loc_00709945: jmp 0070996Ch
  3168. loc_00709947: mov edx, nHeight
  3169. loc_0070994A: mov ecx, var_38
  3170. loc_0070994D: mov eax, [edx]
  3171. loc_0070994F: sub eax, ecx
  3172. loc_00709951: mov ecx, nTop
  3173. loc_00709954: jo 00709AF5h
  3174. loc_0070995A: cdq
  3175. loc_0070995B: sub eax, edx
  3176. loc_0070995D: mov edx, [ecx]
  3177. loc_0070995F: sar eax, 01h
  3178. loc_00709961: add eax, edx
  3179. loc_00709963: jo 00709AF5h
  3180. loc_00709969: mov var_18, eax
  3181. loc_0070996C: mov esi, sCaption
  3182. loc_0070996F: mov ebx, var_64
  3183. loc_00709972: mov edx, nLeft
  3184. loc_00709975: mov ecx, nTop
  3185. loc_00709978: mov eax, [edx]
  3186. loc_0070997A: mov edx, nWidth
  3187. loc_0070997D: mov var_28, eax
  3188. loc_00709980: mov ecx, [ecx]
  3189. loc_00709982: add eax, [edx]
  3190. loc_00709984: mov var_24, ecx
  3191. loc_00709987: jo 00709AF5h
  3192. loc_0070998D: mov var_20, eax
  3193. loc_00709990: mov eax, nHeight
  3194. loc_00709993: mov edx, [eax]
  3195. loc_00709995: mov eax, blnPicFill
  3196. loc_00709998: add edx, ecx
  3197. loc_0070999A: jo 00709AF5h
  3198. loc_007099A0: cmp [eax], 0000h
  3199. loc_007099A4: mov eax, [ebx]
  3200. loc_007099A6: mov var_1C, edx
  3201. loc_007099A9: jz 00709A04h
  3202. loc_007099AB: test eax, eax
  3203. loc_007099AD: jnz 007099BBh
  3204. loc_007099AF: push ebx
  3205. loc_007099B0: push 004153C0h
  3206. loc_007099B5: call [004012FCh] ; __vbaNew2
  3207. loc_007099BB: mov eax, [ebx]
  3208. loc_007099BD: lea edx, var_48
  3209. loc_007099C0: push edx
  3210. loc_007099C1: push eax
  3211. loc_007099C2: mov ecx, [eax]
  3212. loc_007099C4: mov var_4C, eax
  3213. loc_007099C7: call [ecx+00000040h]
  3214. loc_007099CA: test eax, eax
  3215. loc_007099CC: fnclex
  3216. loc_007099CE: jge 007099E2h
  3217. loc_007099D0: mov ecx, var_4C
  3218. loc_007099D3: push 00000040h
  3219. loc_007099D5: push 00446F68h
  3220. loc_007099DA: push ecx
  3221. loc_007099DB: push eax
  3222. loc_007099DC: call [004010CCh] ; __vbaHresultCheckObj
  3223. loc_007099E2: mov edx, [esi]
  3224. loc_007099E4: push 00000000h
  3225. loc_007099E6: push edx
  3226. loc_007099E7: call [00401044h] ; __vbaLenBstr
  3227. loc_007099ED: push eax
  3228. loc_007099EE: mov eax, [esi]
  3229. loc_007099F0: lea ecx, var_40
  3230. loc_007099F3: push eax
  3231. loc_007099F4: push ecx
  3232. loc_007099F5: call [00401370h] ; __vbaStrToAnsi
  3233. loc_007099FB: lea edx, var_28
  3234. loc_007099FE: push eax
  3235. loc_007099FF: push edx
  3236. loc_00709A00: push 00000004h
  3237. loc_00709A02: jmp 00709A5Bh
  3238. loc_00709A04: test eax, eax
  3239. loc_00709A06: jnz 00709A14h
  3240. loc_00709A08: push ebx
  3241. loc_00709A09: push 004153C0h
  3242. loc_00709A0E: call [004012FCh] ; __vbaNew2
  3243. loc_00709A14: mov eax, [ebx]
  3244. loc_00709A16: lea edx, var_48
  3245. loc_00709A19: push edx
  3246. loc_00709A1A: push eax
  3247. loc_00709A1B: mov ecx, [eax]
  3248. loc_00709A1D: mov var_4C, eax
  3249. loc_00709A20: call [ecx+00000040h]
  3250. loc_00709A23: test eax, eax
  3251. loc_00709A25: fnclex
  3252. loc_00709A27: jge 00709A3Bh
  3253. loc_00709A29: mov ecx, var_4C
  3254. loc_00709A2C: push 00000040h
  3255. loc_00709A2E: push 00446F68h
  3256. loc_00709A33: push ecx
  3257. loc_00709A34: push eax
  3258. loc_00709A35: call [004010CCh] ; __vbaHresultCheckObj
  3259. loc_00709A3B: mov edx, [esi]
  3260. loc_00709A3D: push 00000000h
  3261. loc_00709A3F: push edx
  3262. loc_00709A40: call [00401044h] ; __vbaLenBstr
  3263. loc_00709A46: push eax
  3264. loc_00709A47: mov eax, [esi]
  3265. loc_00709A49: lea ecx, var_40
  3266. loc_00709A4C: push eax
  3267. loc_00709A4D: push ecx
  3268. loc_00709A4E: call [00401370h] ; __vbaStrToAnsi
  3269. loc_00709A54: lea edx, var_28
  3270. loc_00709A57: push eax
  3271. loc_00709A58: push edx
  3272. loc_00709A59: push 00000006h
  3273. loc_00709A5B: mov eax, var_18
  3274. loc_00709A5E: mov ecx, var_48
  3275. loc_00709A61: push eax
  3276. loc_00709A62: push edi
  3277. loc_00709A63: push ecx
  3278. loc_00709A64: ExtTextOut(%x1v, %x2v, %x3v, %x4v, %x5v, %x6v, %x7v, %x8v)
  3279. loc_00709A69: call [004010BCh] ; __vbaSetSystemError
  3280. loc_00709A6F: mov edx, var_40
  3281. loc_00709A72: push edx
  3282. loc_00709A73: push esi
  3283. loc_00709A74: call [00401260h] ; __vbaStrToUnicode
  3284. loc_00709A7A: lea ecx, var_40
  3285. loc_00709A7D: call [00401430h] ; __vbaFreeStr
  3286. loc_00709A83: cmp [ebx], 00000000h
  3287. loc_00709A86: jnz 00709A94h
  3288. loc_00709A88: push ebx
  3289. loc_00709A89: push 004153C0h
  3290. loc_00709A8E: call [004012FCh] ; __vbaNew2
  3291. loc_00709A94: mov ebx, [ebx]
  3292. loc_00709A96: mov eax, var_30
  3293. loc_00709A99: lea edx, var_48
  3294. loc_00709A9C: mov var_48, eax
  3295. loc_00709A9F: mov ecx, [ebx]
  3296. loc_00709AA1: push edx
  3297. loc_00709AA2: push ebx
  3298. loc_00709AA3: call [ecx+00000020h]
  3299. loc_00709AA6: test eax, eax
  3300. loc_00709AA8: fnclex
  3301. loc_00709AAA: jge 00709ABBh
  3302. loc_00709AAC: push 00000020h
  3303. loc_00709AAE: push 00446F68h
  3304. loc_00709AB3: push ebx
  3305. loc_00709AB4: push eax
  3306. loc_00709AB5: call [004010CCh] ; __vbaHresultCheckObj
  3307. loc_00709ABB: push 00709AD6h
  3308. loc_00709AC0: jmp 00709AD5h
  3309. loc_00709AC2: lea ecx, var_40
  3310. loc_00709AC5: call [00401430h] ; __vbaFreeStr
  3311. loc_00709ACB: lea ecx, var_44
  3312. loc_00709ACE: call [0040142Ch] ; __vbaFreeObj
  3313. loc_00709AD4: ret
  3314. loc_00709AD5: ret
  3315. loc_00709AD6: mov eax, Me
  3316. loc_00709AD9: push eax
  3317. loc_00709ADA: mov ecx, [eax]
  3318. loc_00709ADC: call [ecx+00000008h]
  3319. loc_00709ADF: mov eax, var_4
  3320. loc_00709AE2: mov ecx, var_14
  3321. loc_00709AE5: pop edi
  3322. loc_00709AE6: pop esi
  3323. loc_00709AE7: mov fs:[00000000h], ecx
  3324. loc_00709AEE: pop ebx
  3325. loc_00709AEF: mov esp, ebp
  3326. loc_00709AF1: pop ebp
  3327. loc_00709AF2: retn 0028h
  3328. End Sub
  3329. Public Sub InvertRect(nLeft, nTop, nWidth, nHeight) '709B00
  3330. loc_00709B00: push ebp
  3331. loc_00709B01: mov ebp, esp
  3332. loc_00709B03: sub esp, 0000000Ch
  3333. loc_00709B06: push 00412856h ; __vbaExceptHandler
  3334. loc_00709B0B: mov eax, fs:[00000000h]
  3335. loc_00709B11: push eax
  3336. loc_00709B12: mov fs:[00000000h], esp
  3337. loc_00709B19: sub esp, 00000024h
  3338. loc_00709B1C: push ebx
  3339. loc_00709B1D: push esi
  3340. loc_00709B1E: push edi
  3341. loc_00709B1F: mov var_C, esp
  3342. loc_00709B22: mov var_8, 00410988h
  3343. loc_00709B29: xor edi, edi
  3344. loc_00709B2B: mov var_4, edi
  3345. loc_00709B2E: mov esi, Me
  3346. loc_00709B31: push esi
  3347. loc_00709B32: mov eax, [esi]
  3348. loc_00709B34: call [eax+00000004h]
  3349. loc_00709B37: mov edx, nLeft
  3350. loc_00709B3A: xor ecx, ecx
  3351. loc_00709B3C: mov var_24, ecx
  3352. loc_00709B3F: mov var_28, edi
  3353. loc_00709B42: mov eax, [edx]
  3354. loc_00709B44: mov edx, nWidth
  3355. loc_00709B47: mov var_20, ecx
  3356. loc_00709B4A: mov var_24, eax
  3357. loc_00709B4D: mov edx, [edx]
  3358. loc_00709B4F: mov var_1C, ecx
  3359. loc_00709B52: mov var_18, ecx
  3360. loc_00709B55: mov ecx, nTop
  3361. loc_00709B58: add edx, eax
  3362. loc_00709B5A: mov eax, nHeight
  3363. loc_00709B5D: mov ecx, [ecx]
  3364. loc_00709B5F: jo 00709BD9h
  3365. loc_00709B61: mov var_1C, edx
  3366. loc_00709B64: mov edx, [eax]
  3367. loc_00709B66: mov eax, [esi+00000044h]
  3368. loc_00709B69: add edx, ecx
  3369. loc_00709B6B: jo 00709BD9h
  3370. loc_00709B6D: add esi, 00000044h
  3371. loc_00709B70: cmp eax, edi
  3372. loc_00709B72: mov var_20, ecx
  3373. loc_00709B75: mov var_18, edx
  3374. loc_00709B78: jnz 00709B86h
  3375. loc_00709B7A: push esi
  3376. loc_00709B7B: push 004153C0h
  3377. loc_00709B80: call [004012FCh] ; __vbaNew2
  3378. loc_00709B86: mov esi, [esi]
  3379. loc_00709B88: lea ecx, var_28
  3380. loc_00709B8B: push ecx
  3381. loc_00709B8C: push esi
  3382. loc_00709B8D: mov eax, [esi]
  3383. loc_00709B8F: call [eax+00000040h]
  3384. loc_00709B92: cmp eax, edi
  3385. loc_00709B94: fnclex
  3386. loc_00709B96: jge 00709BA7h
  3387. loc_00709B98: push 00000040h
  3388. loc_00709B9A: push 00446F68h
  3389. loc_00709B9F: push esi
  3390. loc_00709BA0: push eax
  3391. loc_00709BA1: call [004010CCh] ; __vbaHresultCheckObj
  3392. loc_00709BA7: mov eax, var_28
  3393. loc_00709BAA: lea edx, var_24
  3394. loc_00709BAD: push edx
  3395. loc_00709BAE: push eax
  3396. loc_00709BAF: InvertRect(%x1v, %x2v)
  3397. loc_00709BB4: call [004010BCh] ; __vbaSetSystemError
  3398. loc_00709BBA: mov eax, Me
  3399. loc_00709BBD: push eax
  3400. loc_00709BBE: mov ecx, [eax]
  3401. loc_00709BC0: call [ecx+00000008h]
  3402. loc_00709BC3: mov eax, var_4
  3403. loc_00709BC6: mov ecx, var_14
  3404. loc_00709BC9: pop edi
  3405. loc_00709BCA: pop esi
  3406. loc_00709BCB: mov fs:[00000000h], ecx
  3407. loc_00709BD2: pop ebx
  3408. loc_00709BD3: mov esp, ebp
  3409. loc_00709BD5: pop ebp
  3410. loc_00709BD6: retn 0014h
  3411. End Sub
  3412. Public Property Get Font(arg_C) '709BE0
  3413. loc_00709BE0: push ebp
  3414. loc_00709BE1: mov ebp, esp
  3415. loc_00709BE3: sub esp, 0000000Ch
  3416. loc_00709BE6: push 00412856h ; __vbaExceptHandler
  3417. loc_00709BEB: mov eax, fs:[00000000h]
  3418. loc_00709BF1: push eax
  3419. loc_00709BF2: mov fs:[00000000h], esp
  3420. loc_00709BF9: sub esp, 0000001Ch
  3421. loc_00709BFC: push ebx
  3422. loc_00709BFD: push esi
  3423. loc_00709BFE: push edi
  3424. loc_00709BFF: mov var_C, esp
  3425. loc_00709C02: mov var_8, 00410990h
  3426. loc_00709C09: xor edi, edi
  3427. loc_00709C0B: mov var_4, edi
  3428. loc_00709C0E: mov esi, Me
  3429. loc_00709C11: push esi
  3430. loc_00709C12: mov eax, [esi]
  3431. loc_00709C14: call [eax+00000004h]
  3432. loc_00709C17: mov ecx, arg_C
  3433. loc_00709C1A: add esi, 00000044h
  3434. loc_00709C1D: mov var_18, edi
  3435. loc_00709C20: mov var_1C, edi
  3436. loc_00709C23: mov [ecx], edi
  3437. loc_00709C25: mov eax, [esi]
  3438. loc_00709C27: cmp eax, edi
  3439. loc_00709C29: jnz 00709C37h
  3440. loc_00709C2B: push esi
  3441. loc_00709C2C: push 004153C0h
  3442. loc_00709C31: call [004012FCh] ; __vbaNew2
  3443. loc_00709C37: mov esi, [esi]
  3444. loc_00709C39: lea eax, var_1C
  3445. loc_00709C3C: push eax
  3446. loc_00709C3D: push esi
  3447. loc_00709C3E: mov edx, [esi]
  3448. loc_00709C40: call [edx+0000002Ch]
  3449. loc_00709C43: cmp eax, edi
  3450. loc_00709C45: fnclex
  3451. loc_00709C47: jge 00709C58h
  3452. loc_00709C49: push 0000002Ch
  3453. loc_00709C4B: push 00446F68h
  3454. loc_00709C50: push esi
  3455. loc_00709C51: push eax
  3456. loc_00709C52: call [004010CCh] ; __vbaHresultCheckObj
  3457. loc_00709C58: mov eax, var_1C
  3458. loc_00709C5B: lea ecx, var_18
  3459. loc_00709C5E: push eax
  3460. loc_00709C5F: push ecx
  3461. loc_00709C60: mov var_1C, edi
  3462. loc_00709C63: call [00401128h] ; __vbaObjSet
  3463. loc_00709C69: push 00709C8Ah
  3464. loc_00709C6E: jmp 00709C89h
  3465. loc_00709C70: test var_4, 04h
  3466. loc_00709C74: jz 00709C7Fh
  3467. loc_00709C76: lea ecx, var_18
  3468. loc_00709C79: call [0040142Ch] ; __vbaFreeObj
  3469. loc_00709C7F: lea ecx, var_1C
  3470. loc_00709C82: call [0040142Ch] ; __vbaFreeObj
  3471. loc_00709C88: ret
  3472. loc_00709C89: ret
  3473. loc_00709C8A: mov eax, Me
  3474. loc_00709C8D: push eax
  3475. loc_00709C8E: mov edx, [eax]
  3476. loc_00709C90: call [edx+00000008h]
  3477. loc_00709C93: mov eax, arg_C
  3478. loc_00709C96: mov ecx, var_18
  3479. loc_00709C99: mov [eax], ecx
  3480. loc_00709C9B: mov eax, var_4
  3481. loc_00709C9E: mov ecx, var_14
  3482. loc_00709CA1: pop edi
  3483. loc_00709CA2: pop esi
  3484. loc_00709CA3: mov fs:[00000000h], ecx
  3485. loc_00709CAA: pop ebx
  3486. loc_00709CAB: mov esp, ebp
  3487. loc_00709CAD: pop ebp
  3488. loc_00709CAE: retn 0008h
  3489. End Sub
  3490. Public Property Set Font(oFont) '709CC0
  3491. loc_00709CC0: push ebp
  3492. loc_00709CC1: mov ebp, esp
  3493. loc_00709CC3: sub esp, 0000000Ch
  3494. loc_00709CC6: push 00412856h ; __vbaExceptHandler
  3495. loc_00709CCB: mov eax, fs:[00000000h]
  3496. loc_00709CD1: push eax
  3497. loc_00709CD2: mov fs:[00000000h], esp
  3498. loc_00709CD9: sub esp, 00000014h
  3499. loc_00709CDC: push ebx
  3500. loc_00709CDD: push esi
  3501. loc_00709CDE: push edi
  3502. loc_00709CDF: mov var_C, esp
  3503. loc_00709CE2: mov var_8, 004109A0h
  3504. loc_00709CE9: xor edi, edi
  3505. loc_00709CEB: mov var_4, edi
  3506. loc_00709CEE: mov esi, Me
  3507. loc_00709CF1: push esi
  3508. loc_00709CF2: mov eax, [esi]
  3509. loc_00709CF4: call [eax+00000004h]
  3510. loc_00709CF7: mov eax, [esi+00000044h]
  3511. loc_00709CFA: add esi, 00000044h
  3512. loc_00709CFD: cmp eax, edi
  3513. loc_00709CFF: mov var_18, edi
  3514. loc_00709D02: jnz 00709D10h
  3515. loc_00709D04: push esi
  3516. loc_00709D05: push 004153C0h
  3517. loc_00709D0A: call [004012FCh] ; __vbaNew2
  3518. loc_00709D10: mov ecx, oFont
  3519. loc_00709D13: mov esi, [esi]
  3520. loc_00709D15: lea eax, var_18
  3521. loc_00709D18: mov edx, [ecx]
  3522. loc_00709D1A: push edx
  3523. loc_00709D1B: push eax
  3524. loc_00709D1C: call [00401130h] ; __vbaObjSetAddref
  3525. loc_00709D22: mov ecx, [esi]
  3526. loc_00709D24: lea edx, var_18
  3527. loc_00709D27: push edx
  3528. loc_00709D28: push esi
  3529. loc_00709D29: call [ecx+00000030h]
  3530. loc_00709D2C: cmp eax, edi
  3531. loc_00709D2E: fnclex
  3532. loc_00709D30: jge 00709D41h
  3533. loc_00709D32: push 00000030h
  3534. loc_00709D34: push 00446F68h
  3535. loc_00709D39: push esi
  3536. loc_00709D3A: push eax
  3537. loc_00709D3B: call [004010CCh] ; __vbaHresultCheckObj
  3538. loc_00709D41: lea ecx, var_18
  3539. loc_00709D44: call [0040142Ch] ; __vbaFreeObj
  3540. loc_00709D4A: push 00709D5Ch
  3541. loc_00709D4F: jmp 00709D5Bh
  3542. loc_00709D51: lea ecx, var_18
  3543. loc_00709D54: call [0040142Ch] ; __vbaFreeObj
  3544. loc_00709D5A: ret
  3545. loc_00709D5B: ret
  3546. loc_00709D5C: mov eax, Me
  3547. loc_00709D5F: push eax
  3548. loc_00709D60: mov ecx, [eax]
  3549. loc_00709D62: call [ecx+00000008h]
  3550. loc_00709D65: mov eax, var_4
  3551. loc_00709D68: mov ecx, var_14
  3552. loc_00709D6B: pop edi
  3553. loc_00709D6C: pop esi
  3554. loc_00709D6D: mov fs:[00000000h], ecx
  3555. loc_00709D74: pop ebx
  3556. loc_00709D75: mov esp, ebp
  3557. loc_00709D77: pop ebp
  3558. loc_00709D78: retn 0008h
  3559. End Sub
  3560. Public Sub Draw3DRect(nLeft, nTop, nWidth, nHeight, sCaption, CaptionAlign, Appearance, picBackground, blnPicFill) '709D80
  3561. loc_00709D80: push ebp
  3562. loc_00709D81: mov ebp, esp
  3563. loc_00709D83: sub esp, 0000000Ch
  3564. loc_00709D86: push 00412856h ; __vbaExceptHandler
  3565. loc_00709D8B: mov eax, fs:[00000000h]
  3566. loc_00709D91: push eax
  3567. loc_00709D92: mov fs:[00000000h], esp
  3568. loc_00709D99: sub esp, 00000038h
  3569. loc_00709D9C: push ebx
  3570. loc_00709D9D: push esi
  3571. loc_00709D9E: push edi
  3572. loc_00709D9F: mov var_C, esp
  3573. loc_00709DA2: mov var_8, 004109B0h
  3574. loc_00709DA9: xor ebx, ebx
  3575. loc_00709DAB: mov var_4, ebx
  3576. loc_00709DAE: mov esi, Me
  3577. loc_00709DB1: push esi
  3578. loc_00709DB2: mov eax, [esi]
  3579. loc_00709DB4: call [eax+00000004h]
  3580. loc_00709DB7: mov eax, [esi+00000038h]
  3581. loc_00709DBA: mov var_18, ebx
  3582. loc_00709DBD: cmp eax, ebx
  3583. loc_00709DBF: mov var_1C, ebx
  3584. loc_00709DC2: mov var_20, ebx
  3585. loc_00709DC5: mov var_24, ebx
  3586. loc_00709DC8: mov var_28, ebx
  3587. loc_00709DCB: mov var_2C, ebx
  3588. loc_00709DCE: mov var_30, ebx
  3589. loc_00709DD1: mov var_34, ebx
  3590. loc_00709DD4: jnz 00709E12h
  3591. loc_00709DD6: push 0000000Fh
  3592. loc_00709DD8: GetSysColor(%x1v)
  3593. loc_00709DDD: mov edi, [004010BCh] ; __vbaSetSystemError
  3594. loc_00709DE3: mov var_30, eax
  3595. loc_00709DE6: call edi
  3596. loc_00709DE8: mov ecx, var_30
  3597. loc_00709DEB: push 00000014h
  3598. loc_00709DED: mov [esi+00000038h], ecx
  3599. loc_00709DF0: GetSysColor(%x1v)
  3600. loc_00709DF5: mov var_30, eax
  3601. loc_00709DF8: call edi
  3602. loc_00709DFA: mov edx, var_30
  3603. loc_00709DFD: push 00000010h
  3604. loc_00709DFF: mov [esi+0000003Ch], edx
  3605. loc_00709E02: GetSysColor(%x1v)
  3606. loc_00709E07: mov var_30, eax
  3607. loc_00709E0A: call edi
  3608. loc_00709E0C: mov eax, var_30
  3609. loc_00709E0F: mov [esi+00000040h], eax
  3610. loc_00709E12: mov ecx, Appearance
  3611. loc_00709E15: mov ecx, [ecx]
  3612. loc_00709E17: lea eax, [ecx-00000001h]
  3613. loc_00709E1A: cmp eax, 00000003h
  3614. loc_00709E1D: ja 00709E56h
  3615. loc_00709E1F: jmp [eax*4+0070A170h]
  3616. loc_00709E26: mov eax, [esi+00000064h]
  3617. loc_00709E29: mov var_1C, eax
  3618. loc_00709E2C: mov var_18, eax
  3619. loc_00709E2F: jmp 00709E56h
  3620. loc_00709E31: mov edx, [esi+00000040h]
  3621. loc_00709E34: mov eax, [esi+0000003Ch]
  3622. loc_00709E37: mov var_1C, edx
  3623. loc_00709E3A: mov var_18, eax
  3624. loc_00709E3D: jmp 00709E56h
  3625. loc_00709E3F: mov edx, [esi+0000003Ch]
  3626. loc_00709E42: mov eax, [esi+00000040h]
  3627. loc_00709E45: mov var_1C, edx
  3628. loc_00709E48: mov var_18, eax
  3629. loc_00709E4B: jmp 00709E56h
  3630. loc_00709E4D: mov edx, [esi+0000003Ch]
  3631. loc_00709E50: mov var_18, ebx
  3632. loc_00709E53: mov var_1C, edx
  3633. loc_00709E56: cmp ecx, ebx
  3634. loc_00709E58: jz 00709EEAh
  3635. loc_00709E5E: push 0043D9BCh
  3636. loc_00709E63: push ebx
  3637. loc_00709E64: mov var_2C, ebx
  3638. loc_00709E67: call [004013C4h] ; __vbaCastObj
  3639. loc_00709E6D: push eax
  3640. loc_00709E6E: lea eax, var_24
  3641. loc_00709E71: push eax
  3642. loc_00709E72: call [00401128h] ; __vbaObjSet
  3643. loc_00709E78: mov edx, 0043C9F4h
  3644. loc_00709E7D: lea ecx, var_20
  3645. loc_00709E80: mov var_28, ebx
  3646. loc_00709E83: call [00401310h] ; __vbaStrCopy
  3647. loc_00709E89: lea edx, var_2C
  3648. loc_00709E8C: lea eax, var_24
  3649. loc_00709E8F: push edx
  3650. loc_00709E90: lea edx, var_28
  3651. loc_00709E93: push eax
  3652. loc_00709E94: push edx
  3653. loc_00709E95: lea eax, var_20
  3654. loc_00709E98: mov ecx, [esi]
  3655. loc_00709E9A: lea edx, var_1C
  3656. loc_00709E9D: push eax
  3657. loc_00709E9E: push edx
  3658. loc_00709E9F: lea eax, nHeight
  3659. loc_00709EA2: lea edx, nWidth
  3660. loc_00709EA5: push eax
  3661. loc_00709EA6: push edx
  3662. loc_00709EA7: lea eax, nTop
  3663. loc_00709EAA: lea edx, nLeft
  3664. loc_00709EAD: push eax
  3665. loc_00709EAE: push edx
  3666. loc_00709EAF: push esi
  3667. loc_00709EB0: call [ecx+0000008Ch]
  3668. loc_00709EB6: cmp eax, ebx
  3669. loc_00709EB8: jge 00709ED0h
  3670. loc_00709EBA: mov ebx, [004010CCh] ; __vbaHresultCheckObj
  3671. loc_00709EC0: push 0000008Ch
  3672. loc_00709EC5: push 0043CA28h
  3673. loc_00709ECA: push esi
  3674. loc_00709ECB: push eax
  3675. loc_00709ECC: call ebx
  3676. loc_00709ECE: jmp 00709ED6h
  3677. loc_00709ED0: mov ebx, [004010CCh] ; __vbaHresultCheckObj
  3678. loc_00709ED6: lea ecx, var_20
  3679. loc_00709ED9: call [00401430h] ; __vbaFreeStr
  3680. loc_00709EDF: lea ecx, var_24
  3681. loc_00709EE2: call [0040142Ch] ; __vbaFreeObj
  3682. loc_00709EE8: jmp 00709EF0h
  3683. loc_00709EEA: mov ebx, [004010CCh] ; __vbaHresultCheckObj
  3684. loc_00709EF0: mov ecx, nWidth
  3685. loc_00709EF3: mov eax, nHeight
  3686. loc_00709EF6: mov edx, Appearance
  3687. loc_00709EF9: sub ecx, 00000001h
  3688. loc_00709EFC: jo 0070A180h
  3689. loc_00709F02: sub eax, 00000001h
  3690. loc_00709F05: mov nWidth, ecx
  3691. loc_00709F08: jo 0070A180h
  3692. loc_00709F0E: xor edi, edi
  3693. loc_00709F10: mov nHeight, eax
  3694. loc_00709F13: cmp [edx], edi
  3695. loc_00709F15: jz 00709F9Dh
  3696. loc_00709F1B: push 0043D9BCh
  3697. loc_00709F20: push edi
  3698. loc_00709F21: mov var_2C, edi
  3699. loc_00709F24: call [004013C4h] ; __vbaCastObj
  3700. loc_00709F2A: push eax
  3701. loc_00709F2B: lea eax, var_24
  3702. loc_00709F2E: push eax
  3703. loc_00709F2F: call [00401128h] ; __vbaObjSet
  3704. loc_00709F35: mov edx, 0043C9F4h
  3705. loc_00709F3A: lea ecx, var_20
  3706. loc_00709F3D: mov var_28, edi
  3707. loc_00709F40: call [00401310h] ; __vbaStrCopy
  3708. loc_00709F46: lea edx, var_2C
  3709. loc_00709F49: lea eax, var_24
  3710. loc_00709F4C: push edx
  3711. loc_00709F4D: lea edx, var_28
  3712. loc_00709F50: push eax
  3713. loc_00709F51: push edx
  3714. loc_00709F52: lea eax, var_20
  3715. loc_00709F55: mov ecx, [esi]
  3716. loc_00709F57: lea edx, var_18
  3717. loc_00709F5A: push eax
  3718. loc_00709F5B: push edx
  3719. loc_00709F5C: lea eax, nHeight
  3720. loc_00709F5F: lea edx, nWidth
  3721. loc_00709F62: push eax
  3722. loc_00709F63: push edx
  3723. loc_00709F64: lea eax, nTop
  3724. loc_00709F67: lea edx, nLeft
  3725. loc_00709F6A: push eax
  3726. loc_00709F6B: push edx
  3727. loc_00709F6C: push esi
  3728. loc_00709F6D: call [ecx+0000008Ch]
  3729. loc_00709F73: cmp eax, edi
  3730. loc_00709F75: jge 00709F85h
  3731. loc_00709F77: push 0000008Ch
  3732. loc_00709F7C: push 0043CA28h
  3733. loc_00709F81: push esi
  3734. loc_00709F82: push eax
  3735. loc_00709F83: call ebx
  3736. loc_00709F85: lea ecx, var_20
  3737. loc_00709F88: call [00401430h] ; __vbaFreeStr
  3738. loc_00709F8E: lea ecx, var_24
  3739. loc_00709F91: call [0040142Ch] ; __vbaFreeObj
  3740. loc_00709F97: mov eax, nHeight
  3741. loc_00709F9A: mov ecx, nWidth
  3742. loc_00709F9D: mov edx, nLeft
  3743. loc_00709FA0: add edx, 00000001h
  3744. loc_00709FA3: jo 0070A180h
  3745. loc_00709FA9: mov nLeft, edx
  3746. loc_00709FAC: mov edx, nTop
  3747. loc_00709FAF: add edx, 00000001h
  3748. loc_00709FB2: jo 0070A180h
  3749. loc_00709FB8: sub ecx, 00000001h
  3750. loc_00709FBB: mov nTop, edx
  3751. loc_00709FBE: jo 0070A180h
  3752. loc_00709FC4: sub eax, 00000001h
  3753. loc_00709FC7: mov nWidth, ecx
  3754. loc_00709FCA: jo 0070A180h
  3755. loc_00709FD0: mov nHeight, eax
  3756. loc_00709FD3: mov eax, blnPicFill
  3757. loc_00709FD6: cmp [eax], di
  3758. loc_00709FD9: mov eax, [esi+00000044h]
  3759. loc_00709FDC: lea edi, [esi+00000044h]
  3760. loc_00709FDF: jz 0070A067h
  3761. loc_00709FE5: test eax, eax
  3762. loc_00709FE7: jnz 00709FF5h
  3763. loc_00709FE9: push edi
  3764. loc_00709FEA: push 004153C0h
  3765. loc_00709FEF: call [004012FCh] ; __vbaNew2
  3766. loc_00709FF5: mov edi, [edi]
  3767. loc_00709FF7: lea edx, var_30
  3768. loc_00709FFA: push edx
  3769. loc_00709FFB: push edi
  3770. loc_00709FFC: mov ecx, [edi]
  3771. loc_00709FFE: call [ecx+0000001Ch]
  3772. loc_0070A001: test eax, eax
  3773. loc_0070A003: fnclex
  3774. loc_0070A005: jge 0070A012h
  3775. loc_0070A007: push 0000001Ch
  3776. loc_0070A009: push 00446F68h
  3777. loc_0070A00E: push edi
  3778. loc_0070A00F: push eax
  3779. loc_0070A010: call ebx
  3780. loc_0070A012: mov eax, var_30
  3781. loc_0070A015: lea edx, var_28
  3782. loc_0070A018: mov var_34, eax
  3783. loc_0070A01B: mov eax, picBackground
  3784. loc_0070A01E: push edx
  3785. loc_0070A01F: mov edx, CaptionAlign
  3786. loc_0070A022: push eax
  3787. loc_0070A023: mov eax, sCaption
  3788. loc_0070A026: push edx
  3789. loc_0070A027: mov ecx, [esi]
  3790. loc_0070A029: lea edx, var_34
  3791. loc_0070A02C: push eax
  3792. loc_0070A02D: push edx
  3793. loc_0070A02E: lea eax, nHeight
  3794. loc_0070A031: lea edx, nWidth
  3795. loc_0070A034: push eax
  3796. loc_0070A035: push edx
  3797. loc_0070A036: lea eax, nTop
  3798. loc_0070A039: lea edx, nLeft
  3799. loc_0070A03C: push eax
  3800. loc_0070A03D: push edx
  3801. loc_0070A03E: push esi
  3802. loc_0070A03F: mov var_28, FFFFFFFFh
  3803. loc_0070A046: call [ecx+0000008Ch]
  3804. loc_0070A04C: test eax, eax
  3805. loc_0070A04E: jge 0070A101h
  3806. loc_0070A054: push 0000008Ch
  3807. loc_0070A059: push 0043CA28h
  3808. loc_0070A05E: push esi
  3809. loc_0070A05F: push eax
  3810. loc_0070A060: call ebx
  3811. loc_0070A062: jmp 0070A101h
  3812. loc_0070A067: test eax, eax
  3813. loc_0070A069: jnz 0070A077h
  3814. loc_0070A06B: push edi
  3815. loc_0070A06C: push 004153C0h
  3816. loc_0070A071: call [004012FCh] ; __vbaNew2
  3817. loc_0070A077: mov edi, [edi]
  3818. loc_0070A079: lea ecx, var_30
  3819. loc_0070A07C: push ecx
  3820. loc_0070A07D: push edi
  3821. loc_0070A07E: mov eax, [edi]
  3822. loc_0070A080: call [eax+0000001Ch]
  3823. loc_0070A083: test eax, eax
  3824. loc_0070A085: fnclex
  3825. loc_0070A087: jge 0070A094h
  3826. loc_0070A089: push 0000001Ch
  3827. loc_0070A08B: push 00446F68h
  3828. loc_0070A090: push edi
  3829. loc_0070A091: push eax
  3830. loc_0070A092: call ebx
  3831. loc_0070A094: push 0043D9BCh
  3832. loc_0070A099: push 00000000h
  3833. loc_0070A09B: mov var_28, 00000000h
  3834. loc_0070A0A2: call [004013C4h] ; __vbaCastObj
  3835. loc_0070A0A8: lea edx, var_24
  3836. loc_0070A0AB: push eax
  3837. loc_0070A0AC: push edx
  3838. loc_0070A0AD: call [00401128h] ; __vbaObjSet
  3839. loc_0070A0B3: mov eax, var_30
  3840. loc_0070A0B6: lea edx, var_28
  3841. loc_0070A0B9: mov var_34, eax
  3842. loc_0070A0BC: push edx
  3843. loc_0070A0BD: mov edx, CaptionAlign
  3844. loc_0070A0C0: lea eax, var_24
  3845. loc_0070A0C3: push eax
  3846. loc_0070A0C4: mov eax, sCaption
  3847. loc_0070A0C7: push edx
  3848. loc_0070A0C8: mov ecx, [esi]
  3849. loc_0070A0CA: lea edx, var_34
  3850. loc_0070A0CD: push eax
  3851. loc_0070A0CE: push edx
  3852. loc_0070A0CF: lea eax, nHeight
  3853. loc_0070A0D2: lea edx, nWidth
  3854. loc_0070A0D5: push eax
  3855. loc_0070A0D6: push edx
  3856. loc_0070A0D7: lea eax, nTop
  3857. loc_0070A0DA: lea edx, nLeft
  3858. loc_0070A0DD: push eax
  3859. loc_0070A0DE: push edx
  3860. loc_0070A0DF: push esi
  3861. loc_0070A0E0: call [ecx+0000008Ch]
  3862. loc_0070A0E6: test eax, eax
  3863. loc_0070A0E8: jge 0070A0F8h
  3864. loc_0070A0EA: push 0000008Ch
  3865. loc_0070A0EF: push 0043CA28h
  3866. loc_0070A0F4: push esi
  3867. loc_0070A0F5: push eax
  3868. loc_0070A0F6: call ebx
  3869. loc_0070A0F8: lea ecx, var_24
  3870. loc_0070A0FB: call [0040142Ch] ; __vbaFreeObj
  3871. loc_0070A101: mov eax, Appearance
  3872. loc_0070A104: cmp [eax], 00000004h
  3873. loc_0070A107: jnz 0070A134h
  3874. loc_0070A109: mov ecx, [esi]
  3875. loc_0070A10B: lea edx, nHeight
  3876. loc_0070A10E: lea eax, nWidth
  3877. loc_0070A111: push edx
  3878. loc_0070A112: push eax
  3879. loc_0070A113: lea edx, nTop
  3880. loc_0070A116: lea eax, nLeft
  3881. loc_0070A119: push edx
  3882. loc_0070A11A: push eax
  3883. loc_0070A11B: push esi
  3884. loc_0070A11C: call [ecx+00000090h]
  3885. loc_0070A122: test eax, eax
  3886. loc_0070A124: jge 0070A134h
  3887. loc_0070A126: push 00000090h
  3888. loc_0070A12B: push 0043CA28h
  3889. loc_0070A130: push esi
  3890. loc_0070A131: push eax
  3891. loc_0070A132: call ebx
  3892. loc_0070A134: push 0070A14Fh
  3893. loc_0070A139: jmp 0070A14Eh
  3894. loc_0070A13B: lea ecx, var_20
  3895. loc_0070A13E: call [00401430h] ; __vbaFreeStr
  3896. loc_0070A144: lea ecx, var_24
  3897. loc_0070A147: call [0040142Ch] ; __vbaFreeObj
  3898. loc_0070A14D: ret
  3899. loc_0070A14E: ret
  3900. loc_0070A14F: mov eax, Me
  3901. loc_0070A152: push eax
  3902. loc_0070A153: mov ecx, [eax]
  3903. loc_0070A155: call [ecx+00000008h]
  3904. loc_0070A158: mov eax, var_4
  3905. loc_0070A15B: mov ecx, var_14
  3906. loc_0070A15E: pop edi
  3907. loc_0070A15F: pop esi
  3908. loc_0070A160: mov fs:[00000000h], ecx
  3909. loc_0070A167: pop ebx
  3910. loc_0070A168: mov esp, ebp
  3911. loc_0070A16A: pop ebp
  3912. loc_0070A16B: retn 0028h
  3913. End Sub
  3914. Public Property Get ThreeDFaceColor(arg_C) '70A190
  3915. loc_0070A190: push ebp
  3916. loc_0070A191: mov ebp, esp
  3917. loc_0070A193: sub esp, 0000000Ch
  3918. loc_0070A196: push 00412856h ; __vbaExceptHandler
  3919. loc_0070A19B: mov eax, fs:[00000000h]
  3920. loc_0070A1A1: push eax
  3921. loc_0070A1A2: mov fs:[00000000h], esp
  3922. loc_0070A1A9: sub esp, 0000000Ch
  3923. loc_0070A1AC: push ebx
  3924. loc_0070A1AD: push esi
  3925. loc_0070A1AE: push edi
  3926. loc_0070A1AF: mov var_C, esp
  3927. loc_0070A1B2: mov var_8, 004109C0h
  3928. loc_0070A1B9: xor edi, edi
  3929. loc_0070A1BB: mov var_4, edi
  3930. loc_0070A1BE: mov esi, Me
  3931. loc_0070A1C1: push esi
  3932. loc_0070A1C2: mov eax, [esi]
  3933. loc_0070A1C4: call [eax+00000004h]
  3934. loc_0070A1C7: mov ecx, [esi+00000038h]
  3935. loc_0070A1CA: mov var_18, edi
  3936. loc_0070A1CD: mov var_18, ecx
  3937. loc_0070A1D0: mov eax, Me
  3938. loc_0070A1D3: push eax
  3939. loc_0070A1D4: mov edx, [eax]
  3940. loc_0070A1D6: call [edx+00000008h]
  3941. loc_0070A1D9: mov eax, arg_C
  3942. loc_0070A1DC: mov ecx, var_18
  3943. loc_0070A1DF: mov [eax], ecx
  3944. loc_0070A1E1: mov eax, var_4
  3945. loc_0070A1E4: mov ecx, var_14
  3946. loc_0070A1E7: pop edi
  3947. loc_0070A1E8: pop esi
  3948. loc_0070A1E9: mov fs:[00000000h], ecx
  3949. loc_0070A1F0: pop ebx
  3950. loc_0070A1F1: mov esp, ebp
  3951. loc_0070A1F3: pop ebp
  3952. loc_0070A1F4: retn 0008h
  3953. End Sub
  3954. Public Property Get ThreeDHighlightColor(arg_C) '70A200
  3955. loc_0070A200: push ebp
  3956. loc_0070A201: mov ebp, esp
  3957. loc_0070A203: sub esp, 0000000Ch
  3958. loc_0070A206: push 00412856h ; __vbaExceptHandler
  3959. loc_0070A20B: mov eax, fs:[00000000h]
  3960. loc_0070A211: push eax
  3961. loc_0070A212: mov fs:[00000000h], esp
  3962. loc_0070A219: sub esp, 0000000Ch
  3963. loc_0070A21C: push ebx
  3964. loc_0070A21D: push esi
  3965. loc_0070A21E: push edi
  3966. loc_0070A21F: mov var_C, esp
  3967. loc_0070A222: mov var_8, 004109C8h
  3968. loc_0070A229: xor edi, edi
  3969. loc_0070A22B: mov var_4, edi
  3970. loc_0070A22E: mov esi, Me
  3971. loc_0070A231: push esi
  3972. loc_0070A232: mov eax, [esi]
  3973. loc_0070A234: call [eax+00000004h]
  3974. loc_0070A237: mov ecx, [esi+0000003Ch]
  3975. loc_0070A23A: mov var_18, edi
  3976. loc_0070A23D: mov var_18, ecx
  3977. loc_0070A240: mov eax, Me
  3978. loc_0070A243: push eax
  3979. loc_0070A244: mov edx, [eax]
  3980. loc_0070A246: call [edx+00000008h]
  3981. loc_0070A249: mov eax, arg_C
  3982. loc_0070A24C: mov ecx, var_18
  3983. loc_0070A24F: mov [eax], ecx
  3984. loc_0070A251: mov eax, var_4
  3985. loc_0070A254: mov ecx, var_14
  3986. loc_0070A257: pop edi
  3987. loc_0070A258: pop esi
  3988. loc_0070A259: mov fs:[00000000h], ecx
  3989. loc_0070A260: pop ebx
  3990. loc_0070A261: mov esp, ebp
  3991. loc_0070A263: pop ebp
  3992. loc_0070A264: retn 0008h
  3993. End Sub
  3994. Public Property Get ThreeDShadowColor(arg_C) '70A270
  3995. loc_0070A270: push ebp
  3996. loc_0070A271: mov ebp, esp
  3997. loc_0070A273: sub esp, 0000000Ch
  3998. loc_0070A276: push 00412856h ; __vbaExceptHandler
  3999. loc_0070A27B: mov eax, fs:[00000000h]
  4000. loc_0070A281: push eax
  4001. loc_0070A282: mov fs:[00000000h], esp
  4002. loc_0070A289: sub esp, 0000000Ch
  4003. loc_0070A28C: push ebx
  4004. loc_0070A28D: push esi
  4005. loc_0070A28E: push edi
  4006. loc_0070A28F: mov var_C, esp
  4007. loc_0070A292: mov var_8, 004109D0h
  4008. loc_0070A299: xor edi, edi
  4009. loc_0070A29B: mov var_4, edi
  4010. loc_0070A29E: mov esi, Me
  4011. loc_0070A2A1: push esi
  4012. loc_0070A2A2: mov eax, [esi]
  4013. loc_0070A2A4: call [eax+00000004h]
  4014. loc_0070A2A7: mov ecx, [esi+00000040h]
  4015. loc_0070A2AA: mov var_18, edi
  4016. loc_0070A2AD: mov var_18, ecx
  4017. loc_0070A2B0: mov eax, Me
  4018. loc_0070A2B3: push eax
  4019. loc_0070A2B4: mov edx, [eax]
  4020. loc_0070A2B6: call [edx+00000008h]
  4021. loc_0070A2B9: mov eax, arg_C
  4022. loc_0070A2BC: mov ecx, var_18
  4023. loc_0070A2BF: mov [eax], ecx
  4024. loc_0070A2C1: mov eax, var_4
  4025. loc_0070A2C4: mov ecx, var_14
  4026. loc_0070A2C7: pop edi
  4027. loc_0070A2C8: pop esi
  4028. loc_0070A2C9: mov fs:[00000000h], ecx
  4029. loc_0070A2D0: pop ebx
  4030. loc_0070A2D1: mov esp, ebp
  4031. loc_0070A2D3: pop ebp
  4032. loc_0070A2D4: retn 0008h
  4033. End Sub
  4034. Public Sub CopyDC(lLeft, lTop, lWidth, lHeight) '70A2E0
  4035. loc_0070A2E0: push ebp
  4036. loc_0070A2E1: mov ebp, esp
  4037. loc_0070A2E3: sub esp, 0000000Ch
  4038. loc_0070A2E6: push 00412856h ; __vbaExceptHandler
  4039. loc_0070A2EB: mov eax, fs:[00000000h]
  4040. loc_0070A2F1: push eax
  4041. loc_0070A2F2: mov fs:[00000000h], esp
  4042. loc_0070A2F9: sub esp, 00000010h
  4043. loc_0070A2FC: push ebx
  4044. loc_0070A2FD: push esi
  4045. loc_0070A2FE: push edi
  4046. loc_0070A2FF: mov var_C, esp
  4047. loc_0070A302: mov var_8, 004109D8h
  4048. loc_0070A309: mov var_4, 00000000h
  4049. loc_0070A310: mov esi, Me
  4050. loc_0070A313: push esi
  4051. loc_0070A314: mov eax, [esi]
  4052. loc_0070A316: call [eax+00000004h]
  4053. loc_0070A319: mov eax, [esi+00000044h]
  4054. loc_0070A31C: add esi, 00000044h
  4055. loc_0070A31F: test eax, eax
  4056. loc_0070A321: jnz 0070A32Fh
  4057. loc_0070A323: push esi
  4058. loc_0070A324: push 004153C0h
  4059. loc_0070A329: call [004012FCh] ; __vbaNew2
  4060. loc_0070A32F: mov edx, lHeight
  4061. loc_0070A332: mov eax, lWidth
  4062. loc_0070A335: mov esi, [esi]
  4063. loc_0070A337: push edx
  4064. loc_0070A338: mov edx, lTop
  4065. loc_0070A33B: push eax
  4066. loc_0070A33C: mov eax, lLeft
  4067. loc_0070A33F: mov ecx, [esi]
  4068. loc_0070A341: push edx
  4069. loc_0070A342: push eax
  4070. loc_0070A343: push esi
  4071. loc_0070A344: call [ecx+00000038h]
  4072. loc_0070A347: test eax, eax
  4073. loc_0070A349: fnclex
  4074. loc_0070A34B: jge 0070A35Ch
  4075. loc_0070A34D: push 00000038h
  4076. loc_0070A34F: push 00446F68h
  4077. loc_0070A354: push esi
  4078. loc_0070A355: push eax
  4079. loc_0070A356: call [004010CCh] ; __vbaHresultCheckObj
  4080. loc_0070A35C: mov eax, Me
  4081. loc_0070A35F: push eax
  4082. loc_0070A360: mov ecx, [eax]
  4083. loc_0070A362: call [ecx+00000008h]
  4084. loc_0070A365: mov eax, var_4
  4085. loc_0070A368: mov ecx, var_14
  4086. loc_0070A36B: pop edi
  4087. loc_0070A36C: pop esi
  4088. loc_0070A36D: mov fs:[00000000h], ecx
  4089. loc_0070A374: pop ebx
  4090. loc_0070A375: mov esp, ebp
  4091. loc_0070A377: pop ebp
  4092. loc_0070A378: retn 0014h
  4093. End Sub
  4094. Private Sub Proc_58_37_707480(arg_C, arg_10, arg_14) '707480
  4095. loc_00707480: sub esp, 00000008h
  4096. loc_00707483: push ebx
  4097. loc_00707484: push esi
  4098. loc_00707485: mov esi, arg_C
  4099. loc_00707489: xor eax, eax
  4100. loc_0070748B: lea ecx, [esp+00000008h]
  4101. loc_0070748F: push edi
  4102. loc_00707490: mov edx, [esi+00000048h]
  4103. loc_00707493: mov Proc_58_37_707480, eax
  4104. loc_00707497: push ecx
  4105. loc_00707498: push edx
  4106. loc_00707499: mov arg_10, eax
  4107. loc_0070749D: GetCurrentPositionEx(%x1v, %x2v)
  4108. loc_007074A2: mov ebx, [004010BCh] ; __vbaSetSystemError
  4109. loc_007074A8: mov edi, eax
  4110. loc_007074AA: call ebx
  4111. loc_007074AC: test edi, edi
  4112. loc_007074AE: mov [esi+0000004Ch], edi
  4113. loc_007074B1: jz 007074CFh
  4114. loc_007074B3: mov eax, arg_14
  4115. loc_007074B7: mov ecx, Proc_58_37_707480
  4116. loc_007074BB: mov [esi+0000004Ch], 00000000h
  4117. loc_007074C2: pop edi
  4118. loc_007074C3: mov [eax], ecx
  4119. loc_007074C5: pop esi
  4120. loc_007074C6: xor eax, eax
  4121. loc_007074C8: pop ebx
  4122. loc_007074C9: add esp, 00000008h
  4123. loc_007074CC: retn 0008h
  4124. End Sub
  4125. Private Sub Proc_58_38_7074F0(arg_C) '7074F0
  4126. loc_007074F0: push ebp
  4127. loc_007074F1: mov ebp, esp
  4128. loc_007074F3: sub esp, 00000018h
  4129. loc_007074F6: push 00412856h ; __vbaExceptHandler
  4130. loc_007074FB: mov eax, fs:[00000000h]
  4131. loc_00707501: push eax
  4132. loc_00707502: mov fs:[00000000h], esp
  4133. loc_00707509: mov eax, 00000024h
  4134. loc_0070750E: call 00412850h ; __vbaChkstk
  4135. loc_00707513: push ebx
  4136. loc_00707514: push esi
  4137. loc_00707515: push edi
  4138. loc_00707516: mov var_18, esp
  4139. loc_00707519: mov var_14, 004106F0h
  4140. loc_00707520: mov var_10, 00000000h
  4141. loc_00707527: mov var_C, 00000000h
  4142. loc_0070752E: mov var_4, 00000001h
  4143. loc_00707535: mov var_4, 00000002h
  4144. loc_0070753C: push FFFFFFFFh
  4145. loc_0070753E: call [00401124h] ; __vbaOnError
  4146. loc_00707544: mov var_4, 00000003h
  4147. loc_0070754B: lea eax, var_2C
  4148. loc_0070754E: push eax
  4149. loc_0070754F: mov ecx, Me
  4150. loc_00707552: mov edx, [ecx+00000048h]
  4151. loc_00707555: push edx
  4152. loc_00707556: GetCurrentPositionEx(%x1v, %x2v)
  4153. loc_0070755B: mov var_30, eax
  4154. loc_0070755E: call [004010BCh] ; __vbaSetSystemError
  4155. loc_00707564: mov eax, Me
  4156. loc_00707567: mov ecx, var_30
  4157. loc_0070756A: mov [eax+0000004Ch], ecx
  4158. loc_0070756D: mov var_4, 00000004h
  4159. loc_00707574: mov edx, Me
  4160. loc_00707577: cmp [edx+0000004Ch], 00000000h
  4161. loc_0070757B: jz 00707590h
  4162. loc_0070757D: mov var_4, 00000005h
  4163. loc_00707584: mov eax, Me
  4164. loc_00707587: mov [eax+0000004Ch], 00000000h
  4165. loc_0070758E: jmp 007075AEh
  4166. loc_00707590: mov var_4, 00000007h
  4167. loc_00707597: GetLastError()
  4168. loc_0070759C: mov var_30, eax
  4169. loc_0070759F: call [004010BCh] ; __vbaSetSystemError
  4170. loc_007075A5: mov ecx, Me
  4171. loc_007075A8: mov edx, var_30
  4172. loc_007075AB: mov [ecx+0000004Ch], edx
  4173. loc_007075AE: mov var_4, 00000009h
  4174. loc_007075B5: mov eax, var_28
  4175. loc_007075B8: mov var_24, eax
  4176. loc_007075BB: mov ecx, arg_C
  4177. loc_007075BE: mov edx, var_24
  4178. loc_007075C1: mov [ecx], edx
  4179. loc_007075C3: xor eax, eax
  4180. loc_007075C5: mov ecx, var_20
  4181. loc_007075C8: mov fs:[00000000h], ecx
  4182. loc_007075CF: pop edi
  4183. loc_007075D0: pop esi
  4184. loc_007075D1: pop ebx
  4185. loc_007075D2: mov esp, ebp
  4186. loc_007075D4: pop ebp
  4187. loc_007075D5: retn 0008h
  4188. End Sub
  4189. Private Sub Proc_58_39_708F00
  4190. loc_00708F00: push ebp
  4191. loc_00708F01: mov ebp, esp
  4192. loc_00708F03: sub esp, 0000000Ch
  4193. loc_00708F06: push 00412856h ; __vbaExceptHandler
  4194. loc_00708F0B: mov eax, fs:[00000000h]
  4195. loc_00708F11: push eax
  4196. loc_00708F12: mov fs:[00000000h], esp
  4197. loc_00708F19: sub esp, 0000000Ch
  4198. loc_00708F1C: push ebx
  4199. loc_00708F1D: push esi
  4200. loc_00708F1E: push edi
  4201. loc_00708F1F: mov var_C, esp
  4202. loc_00708F22: mov var_8, 00410918h
  4203. loc_00708F29: mov esi, Me
  4204. loc_00708F2C: mov eax, esi
  4205. loc_00708F2E: and eax, 00000001h
  4206. loc_00708F31: mov var_4, eax
  4207. loc_00708F34: and esi, FFFFFFFEh
  4208. loc_00708F37: push esi
  4209. loc_00708F38: mov Me, esi
  4210. loc_00708F3B: mov ecx, [esi]
  4211. loc_00708F3D: call [ecx+00000004h]
  4212. loc_00708F40: push 00000010h
  4213. loc_00708F42: GetSysColor(%x1v)
  4214. loc_00708F47: mov edi, eax
  4215. loc_00708F49: call [004010BCh] ; __vbaSetSystemError
  4216. loc_00708F4F: mov [esi+00000064h], edi
  4217. loc_00708F52: mov var_4, 00000000h
  4218. loc_00708F59: mov eax, Me
  4219. loc_00708F5C: push eax
  4220. loc_00708F5D: mov edx, [eax]
  4221. loc_00708F5F: call [edx+00000008h]
  4222. loc_00708F62: mov eax, var_4
  4223. loc_00708F65: mov ecx, var_14
  4224. loc_00708F68: pop edi
  4225. loc_00708F69: pop esi
  4226. loc_00708F6A: mov fs:[00000000h], ecx
  4227. loc_00708F71: pop ebx
  4228. loc_00708F72: mov esp, ebp
  4229. loc_00708F74: pop ebp
  4230. loc_00708F75: retn 0004h
  4231. End Sub
  4232. Private Sub Proc_58_40_708F80
  4233. loc_00708F80: push ebp
  4234. loc_00708F81: mov ebp, esp
  4235. loc_00708F83: sub esp, 0000000Ch
  4236. loc_00708F86: push 00412856h ; __vbaExceptHandler
  4237. loc_00708F8B: mov eax, fs:[00000000h]
  4238. loc_00708F91: push eax
  4239. loc_00708F92: mov fs:[00000000h], esp
  4240. loc_00708F99: sub esp, 0000000Ch
  4241. loc_00708F9C: push ebx
  4242. loc_00708F9D: push esi
  4243. loc_00708F9E: push edi
  4244. loc_00708F9F: mov var_C, esp
  4245. loc_00708FA2: mov var_8, 00410920h
  4246. loc_00708FA9: mov esi, Me
  4247. loc_00708FAC: mov eax, esi
  4248. loc_00708FAE: and eax, 00000001h
  4249. loc_00708FB1: mov var_4, eax
  4250. loc_00708FB4: and esi, FFFFFFFEh
  4251. loc_00708FB7: push esi
  4252. loc_00708FB8: mov Me, esi
  4253. loc_00708FBB: mov ecx, [esi]
  4254. loc_00708FBD: call [ecx+00000004h]
  4255. loc_00708FC0: mov esi, [esi+00000034h]
  4256. loc_00708FC3: test esi, esi
  4257. loc_00708FC5: jz 00708FD3h
  4258. loc_00708FC7: push esi
  4259. loc_00708FC8: DeleteObject(%x1v)
  4260. loc_00708FCD: call [004010BCh] ; __vbaSetSystemError
  4261. loc_00708FD3: mov var_4, 00000000h
  4262. loc_00708FDA: mov eax, Me
  4263. loc_00708FDD: push eax
  4264. loc_00708FDE: mov edx, [eax]
  4265. loc_00708FE0: call [edx+00000008h]
  4266. loc_00708FE3: mov eax, var_4
  4267. loc_00708FE6: mov ecx, var_14
  4268. loc_00708FE9: pop edi
  4269. loc_00708FEA: pop esi
  4270. loc_00708FEB: mov fs:[00000000h], ecx
  4271. loc_00708FF2: pop ebx
  4272. loc_00708FF3: mov esp, ebp
  4273. loc_00708FF5: pop ebp
  4274. loc_00708FF6: retn 0004h
  4275. End Sub