easybox keygen - X86 ASM Source


SUBMITTED BY: Guest

DATE: Dec. 3, 2013, 1:20 p.m.

FORMAT: Text only

SIZE: 24.4 kB

HITS: 819

  1. .intel_syntax noprefix
  2. #keygen.bas' compilation started at 09:09:51 (FreeBASIC 0.23.0)
  3. .section .text
  4. .balign 16
  5. .globl DEHEX
  6. DEHEX:
  7. .type DEHEX, @function
  8. push ebp
  9. mov ebp, esp
  10. sub esp, 48
  11. push ebx
  12. mov dword ptr [ebp-4], 0
  13. .Lt_0004:
  14. mov dword ptr [ebp-8], 0
  15. mov dword ptr [ebp-12], 0
  16. mov dword ptr [ebp-16], 0
  17. mov byte ptr [ebp-20], 0
  18. mov byte ptr [ebp-24], 0
  19. push 0
  20. push -1
  21. push dword ptr [ebp+8]
  22. call fb_StrAllocTempDescZ
  23. add esp, 4
  24. push eax
  25. call fb_UCASE
  26. add esp, 4
  27. push eax
  28. push 0
  29. push dword ptr [ebp+8]
  30. call fb_StrAssign
  31. add esp, 20
  32. push 0
  33. push dword ptr [ebp+8]
  34. call fb_StrLen
  35. add esp, 8
  36. mov dword ptr [ebp-12], eax
  37. mov dword ptr [ebp-8], 1
  38. mov eax, dword ptr [ebp-12]
  39. mov dword ptr [ebp-28], eax
  40. jmp .Lt_0007
  41. .Lt_000A:
  42. push 1
  43. push 1
  44. push dword ptr [ebp-8]
  45. push dword ptr [ebp+8]
  46. call fb_StrAllocTempDescZ
  47. add esp, 4
  48. push eax
  49. call fb_StrMid
  50. add esp, 12
  51. push eax
  52. call fb_ASC
  53. add esp, 8
  54. mov bl, al
  55. mov byte ptr [ebp-20], bl
  56. mov bl, byte ptr [ebp-20]
  57. mov byte ptr [ebp-32], bl
  58. movsx ebx, byte ptr [ebp-32]
  59. cmp ebx, 65
  60. jl .Lt_000D
  61. movsx ebx, byte ptr [ebp-32]
  62. cmp ebx, 70
  63. jg .Lt_000D
  64. .Lt_000E:
  65. movsx ebx, byte ptr [ebp-20]
  66. add ebx, -55
  67. mov al, bl
  68. mov byte ptr [ebp-24], al
  69. jmp .Lt_000B
  70. .Lt_000D:
  71. movsx eax, byte ptr [ebp-20]
  72. push eax
  73. push 1
  74. call fb_CHR
  75. add esp, 8
  76. push eax
  77. call fb_VAL
  78. add esp, 4
  79. sub esp, 4
  80. fistp dword ptr [esp]
  81. mov al, byte ptr [esp]
  82. mov byte ptr [ebp-24], al
  83. add esp, 4
  84. .Lt_000F:
  85. .Lt_000B:
  86. fild dword ptr [ebp-16]
  87. movsx eax, byte ptr [ebp-24]
  88. push eax
  89. fild dword ptr [esp]
  90. add esp, 4
  91. mov eax, dword ptr [ebp-12]
  92. sub eax, dword ptr [ebp-8]
  93. push eax
  94. fild dword ptr [esp]
  95. add esp, 4
  96. sub esp,8
  97. fstp qword ptr [esp]
  98. push dword ptr [Lt_0010+4]
  99. push dword ptr [Lt_0010]
  100. fstp qword ptr [ebp-40]
  101. fstp qword ptr [ebp-48]
  102. call pow
  103. add esp, 16
  104. fmul qword ptr [ebp-40]
  105. fadd qword ptr [ebp-48]
  106. fistp dword ptr [ebp-16]
  107. .Lt_0008:
  108. inc dword ptr [ebp-8]
  109. .Lt_0007:
  110. mov eax, dword ptr [ebp-28]
  111. cmp dword ptr [ebp-8], eax
  112. jle .Lt_000A
  113. .Lt_0009:
  114. mov eax, dword ptr [ebp-16]
  115. mov dword ptr [ebp-4], eax
  116. .Lt_0005:
  117. mov eax, dword ptr [ebp-4]
  118. pop ebx
  119. mov esp, ebp
  120. pop ebp
  121. ret
  122. .size DEHEX, .-DEHEX
  123. .balign 16
  124. fb_ctor__keygen:
  125. .type fb_ctor__keygen, @function
  126. push ebp
  127. mov ebp, esp
  128. sub esp, 476
  129. push ebx
  130. .Lt_0002:
  131. mov dword ptr [ebp-12], 0
  132. mov dword ptr [ebp-8], 0
  133. mov dword ptr [ebp-4], 0
  134. mov dword ptr [ebp-16], 0
  135. mov dword ptr [ebp-20], 0
  136. mov dword ptr [ebp-24], 0
  137. mov dword ptr [ebp-28], 0
  138. mov dword ptr [ebp-32], 0
  139. mov dword ptr [ebp-36], 0
  140. mov dword ptr [ebp-40], 0
  141. mov dword ptr [ebp-44], 0
  142. mov dword ptr [ebp-48], 0
  143. mov dword ptr [ebp-52], 0
  144. mov dword ptr [ebp-56], 0
  145. mov dword ptr [ebp-60], 0
  146. mov dword ptr [ebp-64], 0
  147. mov dword ptr [ebp-68], 0
  148. mov dword ptr [ebp-72], 0
  149. mov dword ptr [ebp-76], 0
  150. mov dword ptr [ebp-80], 0
  151. mov dword ptr [ebp-84], 0
  152. mov dword ptr [ebp-88], 0
  153. mov dword ptr [ebp-92], 0
  154. mov dword ptr [ebp-96], 0
  155. mov dword ptr [ebp-100], 0
  156. mov dword ptr [ebp-104], 0
  157. mov dword ptr [ebp-108], 0
  158. mov dword ptr [ebp-112], 0
  159. mov dword ptr [ebp-116], 0
  160. mov dword ptr [ebp-120], 0
  161. mov dword ptr [ebp-124], 0
  162. mov dword ptr [ebp-128], 0
  163. mov dword ptr [ebp-140], 0
  164. mov dword ptr [ebp-136], 0
  165. mov dword ptr [ebp-132], 0
  166. push 1
  167. push 41
  168. push offset Lt_0013
  169. call fb_StrAllocTempDescZEx
  170. add esp, 8
  171. push eax
  172. push 0
  173. call fb_PrintString
  174. add esp, 12
  175. push 1
  176. push 20
  177. push offset Lt_0014
  178. call fb_StrAllocTempDescZEx
  179. add esp, 8
  180. push eax
  181. push 0
  182. call fb_PrintString
  183. add esp, 12
  184. push 1
  185. push 19
  186. push offset Lt_0015
  187. call fb_StrAllocTempDescZEx
  188. add esp, 8
  189. push eax
  190. push 0
  191. call fb_PrintString
  192. add esp, 12
  193. push 1
  194. push 0
  195. push offset Lt_0000
  196. call fb_StrAllocTempDescZEx
  197. add esp, 8
  198. push eax
  199. push 0
  200. call fb_PrintString
  201. add esp, 12
  202. push 1
  203. push 38
  204. push offset Lt_0016
  205. call fb_StrAllocTempDescZEx
  206. add esp, 8
  207. push eax
  208. push 0
  209. call fb_PrintString
  210. add esp, 12
  211. push 1
  212. push 0
  213. push offset Lt_0000
  214. call fb_StrAllocTempDescZEx
  215. add esp, 8
  216. push eax
  217. push 0
  218. call fb_PrintString
  219. add esp, 12
  220. push 1
  221. push 50
  222. push offset Lt_0017
  223. call fb_StrAllocTempDescZEx
  224. add esp, 8
  225. push eax
  226. push 0
  227. call fb_PrintString
  228. add esp, 12
  229. push -1
  230. push 0
  231. push 5
  232. push offset Lt_0018
  233. call fb_StrAllocTempDescZEx
  234. add esp, 8
  235. push eax
  236. call fb_ConsoleInput
  237. add esp, 12
  238. push 0
  239. push -1
  240. lea eax, [ebp-12]
  241. push eax
  242. call fb_InputString
  243. add esp, 12
  244. mov dword ptr [ebp-152], 0
  245. mov dword ptr [ebp-148], 0
  246. mov dword ptr [ebp-144], 0
  247. push 0
  248. push -1
  249. push 1
  250. push 1
  251. lea eax, [ebp-12]
  252. push eax
  253. call fb_StrMid
  254. add esp, 12
  255. push eax
  256. push -1
  257. lea eax, [ebp-152]
  258. push eax
  259. call fb_StrAssign
  260. add esp, 20
  261. push dword ptr [ebp-152]
  262. call DEHEX
  263. add esp, 4
  264. lea ebx, [ebp-152]
  265. push ebx
  266. mov ebx, eax
  267. call fb_StrDelete
  268. add esp, 4
  269. mov dword ptr [ebp-16], ebx
  270. mov dword ptr [ebp-164], 0
  271. mov dword ptr [ebp-160], 0
  272. mov dword ptr [ebp-156], 0
  273. push 0
  274. push -1
  275. push 1
  276. push 2
  277. lea ebx, [ebp-12]
  278. push ebx
  279. call fb_StrMid
  280. add esp, 12
  281. push eax
  282. push -1
  283. lea eax, [ebp-164]
  284. push eax
  285. call fb_StrAssign
  286. add esp, 20
  287. push dword ptr [ebp-164]
  288. call DEHEX
  289. add esp, 4
  290. lea ebx, [ebp-164]
  291. push ebx
  292. mov ebx, eax
  293. call fb_StrDelete
  294. add esp, 4
  295. mov dword ptr [ebp-20], ebx
  296. mov dword ptr [ebp-176], 0
  297. mov dword ptr [ebp-172], 0
  298. mov dword ptr [ebp-168], 0
  299. push 0
  300. push -1
  301. push 1
  302. push 3
  303. lea ebx, [ebp-12]
  304. push ebx
  305. call fb_StrMid
  306. add esp, 12
  307. push eax
  308. push -1
  309. lea eax, [ebp-176]
  310. push eax
  311. call fb_StrAssign
  312. add esp, 20
  313. push dword ptr [ebp-176]
  314. call DEHEX
  315. add esp, 4
  316. lea ebx, [ebp-176]
  317. push ebx
  318. mov ebx, eax
  319. call fb_StrDelete
  320. add esp, 4
  321. mov dword ptr [ebp-24], ebx
  322. mov dword ptr [ebp-188], 0
  323. mov dword ptr [ebp-184], 0
  324. mov dword ptr [ebp-180], 0
  325. push 0
  326. push -1
  327. push 1
  328. push 4
  329. lea ebx, [ebp-12]
  330. push ebx
  331. call fb_StrMid
  332. add esp, 12
  333. push eax
  334. push -1
  335. lea eax, [ebp-188]
  336. push eax
  337. call fb_StrAssign
  338. add esp, 20
  339. push dword ptr [ebp-188]
  340. call DEHEX
  341. add esp, 4
  342. lea ebx, [ebp-188]
  343. push ebx
  344. mov ebx, eax
  345. call fb_StrDelete
  346. add esp, 4
  347. mov dword ptr [ebp-28], ebx
  348. mov dword ptr [ebp-200], 0
  349. mov dword ptr [ebp-196], 0
  350. mov dword ptr [ebp-192], 0
  351. push 0
  352. push -1
  353. push 1
  354. push 5
  355. lea ebx, [ebp-12]
  356. push ebx
  357. call fb_StrMid
  358. add esp, 12
  359. push eax
  360. push -1
  361. lea eax, [ebp-200]
  362. push eax
  363. call fb_StrAssign
  364. add esp, 20
  365. push dword ptr [ebp-200]
  366. call DEHEX
  367. add esp, 4
  368. lea ebx, [ebp-200]
  369. push ebx
  370. mov ebx, eax
  371. call fb_StrDelete
  372. add esp, 4
  373. mov dword ptr [ebp-32], ebx
  374. mov dword ptr [ebp-212], 0
  375. mov dword ptr [ebp-208], 0
  376. mov dword ptr [ebp-204], 0
  377. push 0
  378. push -1
  379. push 1
  380. push 6
  381. lea ebx, [ebp-12]
  382. push ebx
  383. call fb_StrMid
  384. add esp, 12
  385. push eax
  386. push -1
  387. lea eax, [ebp-212]
  388. push eax
  389. call fb_StrAssign
  390. add esp, 20
  391. push dword ptr [ebp-212]
  392. call DEHEX
  393. add esp, 4
  394. lea ebx, [ebp-212]
  395. push ebx
  396. mov ebx, eax
  397. call fb_StrDelete
  398. add esp, 4
  399. mov dword ptr [ebp-36], ebx
  400. mov dword ptr [ebp-224], 0
  401. mov dword ptr [ebp-220], 0
  402. mov dword ptr [ebp-216], 0
  403. push 0
  404. push -1
  405. push 1
  406. push 7
  407. lea ebx, [ebp-12]
  408. push ebx
  409. call fb_StrMid
  410. add esp, 12
  411. push eax
  412. push -1
  413. lea eax, [ebp-224]
  414. push eax
  415. call fb_StrAssign
  416. add esp, 20
  417. push dword ptr [ebp-224]
  418. call DEHEX
  419. add esp, 4
  420. lea ebx, [ebp-224]
  421. push ebx
  422. mov ebx, eax
  423. call fb_StrDelete
  424. add esp, 4
  425. mov dword ptr [ebp-40], ebx
  426. mov dword ptr [ebp-236], 0
  427. mov dword ptr [ebp-232], 0
  428. mov dword ptr [ebp-228], 0
  429. push 0
  430. push -1
  431. push 1
  432. push 8
  433. lea ebx, [ebp-12]
  434. push ebx
  435. call fb_StrMid
  436. add esp, 12
  437. push eax
  438. push -1
  439. lea eax, [ebp-236]
  440. push eax
  441. call fb_StrAssign
  442. add esp, 20
  443. push dword ptr [ebp-236]
  444. call DEHEX
  445. add esp, 4
  446. lea ebx, [ebp-236]
  447. push ebx
  448. mov ebx, eax
  449. call fb_StrDelete
  450. add esp, 4
  451. mov dword ptr [ebp-44], ebx
  452. mov dword ptr [ebp-248], 0
  453. mov dword ptr [ebp-244], 0
  454. mov dword ptr [ebp-240], 0
  455. push 0
  456. push -1
  457. push 1
  458. push 9
  459. lea ebx, [ebp-12]
  460. push ebx
  461. call fb_StrMid
  462. add esp, 12
  463. push eax
  464. push -1
  465. lea eax, [ebp-248]
  466. push eax
  467. call fb_StrAssign
  468. add esp, 20
  469. push dword ptr [ebp-248]
  470. call DEHEX
  471. add esp, 4
  472. lea ebx, [ebp-248]
  473. push ebx
  474. mov ebx, eax
  475. call fb_StrDelete
  476. add esp, 4
  477. mov dword ptr [ebp-48], ebx
  478. mov dword ptr [ebp-260], 0
  479. mov dword ptr [ebp-256], 0
  480. mov dword ptr [ebp-252], 0
  481. push 0
  482. push -1
  483. push 1
  484. push 10
  485. lea ebx, [ebp-12]
  486. push ebx
  487. call fb_StrMid
  488. add esp, 12
  489. push eax
  490. push -1
  491. lea eax, [ebp-260]
  492. push eax
  493. call fb_StrAssign
  494. add esp, 20
  495. push dword ptr [ebp-260]
  496. call DEHEX
  497. add esp, 4
  498. lea ebx, [ebp-260]
  499. push ebx
  500. mov ebx, eax
  501. call fb_StrDelete
  502. add esp, 4
  503. mov dword ptr [ebp-52], ebx
  504. mov dword ptr [ebp-272], 0
  505. mov dword ptr [ebp-268], 0
  506. mov dword ptr [ebp-264], 0
  507. push 0
  508. push -1
  509. push 1
  510. push 11
  511. lea ebx, [ebp-12]
  512. push ebx
  513. call fb_StrMid
  514. add esp, 12
  515. push eax
  516. push -1
  517. lea eax, [ebp-272]
  518. push eax
  519. call fb_StrAssign
  520. add esp, 20
  521. push dword ptr [ebp-272]
  522. call DEHEX
  523. add esp, 4
  524. lea ebx, [ebp-272]
  525. push ebx
  526. mov ebx, eax
  527. call fb_StrDelete
  528. add esp, 4
  529. mov dword ptr [ebp-56], ebx
  530. mov dword ptr [ebp-284], 0
  531. mov dword ptr [ebp-280], 0
  532. mov dword ptr [ebp-276], 0
  533. push 0
  534. push -1
  535. push 1
  536. push 12
  537. lea ebx, [ebp-12]
  538. push ebx
  539. call fb_StrMid
  540. add esp, 12
  541. push eax
  542. push -1
  543. lea eax, [ebp-284]
  544. push eax
  545. call fb_StrAssign
  546. add esp, 20
  547. push dword ptr [ebp-284]
  548. call DEHEX
  549. add esp, 4
  550. lea ebx, [ebp-284]
  551. push ebx
  552. mov ebx, eax
  553. call fb_StrDelete
  554. add esp, 4
  555. mov dword ptr [ebp-60], ebx
  556. mov dword ptr [ebp-332], 0
  557. mov dword ptr [ebp-328], 0
  558. mov dword ptr [ebp-324], 0
  559. push 0
  560. push -1
  561. push -1
  562. push dword ptr [ebp-60]
  563. call fb_HEX_i
  564. add esp, 4
  565. push eax
  566. push -1
  567. push -1
  568. push dword ptr [ebp-56]
  569. call fb_HEX_i
  570. add esp, 4
  571. push eax
  572. push -1
  573. push -1
  574. push dword ptr [ebp-52]
  575. call fb_HEX_i
  576. add esp, 4
  577. push eax
  578. push -1
  579. push dword ptr [ebp-48]
  580. call fb_HEX_i
  581. add esp, 4
  582. push eax
  583. mov dword ptr [ebp-296], 0
  584. mov dword ptr [ebp-292], 0
  585. mov dword ptr [ebp-288], 0
  586. lea eax, [ebp-296]
  587. push eax
  588. call fb_StrConcat
  589. add esp, 20
  590. push eax
  591. mov dword ptr [ebp-308], 0
  592. mov dword ptr [ebp-304], 0
  593. mov dword ptr [ebp-300], 0
  594. lea eax, [ebp-308]
  595. push eax
  596. call fb_StrConcat
  597. add esp, 20
  598. push eax
  599. mov dword ptr [ebp-320], 0
  600. mov dword ptr [ebp-316], 0
  601. mov dword ptr [ebp-312], 0
  602. lea eax, [ebp-320]
  603. push eax
  604. call fb_StrConcat
  605. add esp, 20
  606. push eax
  607. push -1
  608. lea eax, [ebp-332]
  609. push eax
  610. call fb_StrAssign
  611. add esp, 20
  612. push dword ptr [ebp-332]
  613. call DEHEX
  614. add esp, 4
  615. lea ebx, [ebp-332]
  616. push ebx
  617. mov ebx, eax
  618. call fb_StrDelete
  619. add esp, 4
  620. mov dword ptr [ebp-128], ebx
  621. push 1
  622. push -1
  623. push dword ptr [ebp-128]
  624. call fb_IntToStr
  625. add esp, 4
  626. push eax
  627. push 7
  628. push offset Lt_0029
  629. mov dword ptr [ebp-344], 0
  630. mov dword ptr [ebp-340], 0
  631. mov dword ptr [ebp-336], 0
  632. lea eax, [ebp-344]
  633. push eax
  634. call fb_StrConcat
  635. add esp, 20
  636. push eax
  637. push 0
  638. call fb_PrintString
  639. add esp, 12
  640. push -1
  641. push dword ptr [ebp-128]
  642. call fb_IntToStr
  643. add esp, 4
  644. push eax
  645. call fb_StrLen
  646. add esp, 8
  647. cmp eax, 5
  648. jne .Lt_002C
  649. push 1
  650. push 1
  651. push dword ptr [ebp-128]
  652. call fb_IntToStr
  653. add esp, 4
  654. push eax
  655. call fb_StrMid
  656. add esp, 12
  657. push eax
  658. call fb_VAL
  659. add esp, 4
  660. fistp dword ptr [ebp-72]
  661. push 1
  662. push 2
  663. push dword ptr [ebp-128]
  664. call fb_IntToStr
  665. add esp, 4
  666. push eax
  667. call fb_StrMid
  668. add esp, 12
  669. push eax
  670. call fb_VAL
  671. add esp, 4
  672. fistp dword ptr [ebp-76]
  673. push 1
  674. push 3
  675. push dword ptr [ebp-128]
  676. call fb_IntToStr
  677. add esp, 4
  678. push eax
  679. call fb_StrMid
  680. add esp, 12
  681. push eax
  682. call fb_VAL
  683. add esp, 4
  684. fistp dword ptr [ebp-80]
  685. push 1
  686. push 4
  687. push dword ptr [ebp-128]
  688. call fb_IntToStr
  689. add esp, 4
  690. push eax
  691. call fb_StrMid
  692. add esp, 12
  693. push eax
  694. call fb_VAL
  695. add esp, 4
  696. fistp dword ptr [ebp-84]
  697. push 1
  698. push 5
  699. push dword ptr [ebp-128]
  700. call fb_IntToStr
  701. add esp, 4
  702. push eax
  703. call fb_StrMid
  704. add esp, 12
  705. push eax
  706. call fb_VAL
  707. add esp, 4
  708. fistp dword ptr [ebp-88]
  709. jmp .Lt_002B
  710. .Lt_002C:
  711. push -1
  712. push dword ptr [ebp-128]
  713. call fb_IntToStr
  714. add esp, 4
  715. push eax
  716. call fb_StrLen
  717. add esp, 8
  718. cmp eax, 4
  719. jne .Lt_002D
  720. mov dword ptr [ebp-72], 0
  721. push 1
  722. push 1
  723. push dword ptr [ebp-128]
  724. call fb_IntToStr
  725. add esp, 4
  726. push eax
  727. call fb_StrMid
  728. add esp, 12
  729. push eax
  730. call fb_VAL
  731. add esp, 4
  732. fistp dword ptr [ebp-76]
  733. push 1
  734. push 2
  735. push dword ptr [ebp-128]
  736. call fb_IntToStr
  737. add esp, 4
  738. push eax
  739. call fb_StrMid
  740. add esp, 12
  741. push eax
  742. call fb_VAL
  743. add esp, 4
  744. fistp dword ptr [ebp-80]
  745. push 1
  746. push 3
  747. push dword ptr [ebp-128]
  748. call fb_IntToStr
  749. add esp, 4
  750. push eax
  751. call fb_StrMid
  752. add esp, 12
  753. push eax
  754. call fb_VAL
  755. add esp, 4
  756. fistp dword ptr [ebp-84]
  757. push 1
  758. push 4
  759. push dword ptr [ebp-128]
  760. call fb_IntToStr
  761. add esp, 4
  762. push eax
  763. call fb_StrMid
  764. add esp, 12
  765. push eax
  766. call fb_VAL
  767. add esp, 4
  768. fistp dword ptr [ebp-88]
  769. jmp .Lt_002B
  770. .Lt_002D:
  771. push -1
  772. push dword ptr [ebp-128]
  773. call fb_IntToStr
  774. add esp, 4
  775. push eax
  776. call fb_StrLen
  777. add esp, 8
  778. cmp eax, 3
  779. jne .Lt_002E
  780. mov dword ptr [ebp-72], 0
  781. mov dword ptr [ebp-76], 0
  782. push 1
  783. push 1
  784. push dword ptr [ebp-128]
  785. call fb_IntToStr
  786. add esp, 4
  787. push eax
  788. call fb_StrMid
  789. add esp, 12
  790. push eax
  791. call fb_VAL
  792. add esp, 4
  793. fistp dword ptr [ebp-80]
  794. push 1
  795. push 2
  796. push dword ptr [ebp-128]
  797. call fb_IntToStr
  798. add esp, 4
  799. push eax
  800. call fb_StrMid
  801. add esp, 12
  802. push eax
  803. call fb_VAL
  804. add esp, 4
  805. fistp dword ptr [ebp-84]
  806. push 1
  807. push 3
  808. push dword ptr [ebp-128]
  809. call fb_IntToStr
  810. add esp, 4
  811. push eax
  812. call fb_StrMid
  813. add esp, 12
  814. push eax
  815. call fb_VAL
  816. add esp, 4
  817. fistp dword ptr [ebp-88]
  818. jmp .Lt_002B
  819. .Lt_002E:
  820. push -1
  821. push dword ptr [ebp-128]
  822. call fb_IntToStr
  823. add esp, 4
  824. push eax
  825. call fb_StrLen
  826. add esp, 8
  827. cmp eax, 2
  828. jne .Lt_002F
  829. mov dword ptr [ebp-72], 0
  830. mov dword ptr [ebp-76], 0
  831. mov dword ptr [ebp-80], 0
  832. push 1
  833. push 1
  834. push dword ptr [ebp-128]
  835. call fb_IntToStr
  836. add esp, 4
  837. push eax
  838. call fb_StrMid
  839. add esp, 12
  840. push eax
  841. call fb_VAL
  842. add esp, 4
  843. fistp dword ptr [ebp-84]
  844. push 1
  845. push 2
  846. push dword ptr [ebp-128]
  847. call fb_IntToStr
  848. add esp, 4
  849. push eax
  850. call fb_StrMid
  851. add esp, 12
  852. push eax
  853. call fb_VAL
  854. add esp, 4
  855. fistp dword ptr [ebp-88]
  856. jmp .Lt_002B
  857. .Lt_002F:
  858. push -1
  859. push dword ptr [ebp-128]
  860. call fb_IntToStr
  861. add esp, 4
  862. push eax
  863. call fb_StrLen
  864. add esp, 8
  865. cmp eax, 1
  866. jne .Lt_0030
  867. mov dword ptr [ebp-72], 0
  868. mov dword ptr [ebp-76], 0
  869. mov dword ptr [ebp-80], 0
  870. mov dword ptr [ebp-84], 0
  871. push 1
  872. push 1
  873. push dword ptr [ebp-128]
  874. call fb_IntToStr
  875. add esp, 4
  876. push eax
  877. call fb_StrMid
  878. add esp, 12
  879. push eax
  880. call fb_VAL
  881. add esp, 4
  882. fistp dword ptr [ebp-88]
  883. .Lt_0030:
  884. .Lt_002B:
  885. push 1
  886. push -1
  887. push dword ptr [ebp-88]
  888. call fb_IntToStr
  889. add esp, 4
  890. push eax
  891. push -1
  892. push -1
  893. push dword ptr [ebp-72]
  894. call fb_IntToStr
  895. add esp, 4
  896. push eax
  897. push -1
  898. push -1
  899. push dword ptr [ebp-52]
  900. call fb_HEX_i
  901. add esp, 4
  902. push eax
  903. push -1
  904. push -1
  905. push dword ptr [ebp-48]
  906. call fb_HEX_i
  907. add esp, 4
  908. push eax
  909. push -1
  910. push -1
  911. push dword ptr [ebp-44]
  912. call fb_HEX_i
  913. add esp, 4
  914. push eax
  915. push -1
  916. push -1
  917. push dword ptr [ebp-40]
  918. call fb_HEX_i
  919. add esp, 4
  920. push eax
  921. push 15
  922. push offset Lt_0031
  923. mov dword ptr [ebp-356], 0
  924. mov dword ptr [ebp-352], 0
  925. mov dword ptr [ebp-348], 0
  926. lea eax, [ebp-356]
  927. push eax
  928. call fb_StrConcat
  929. add esp, 20
  930. push eax
  931. mov dword ptr [ebp-368], 0
  932. mov dword ptr [ebp-364], 0
  933. mov dword ptr [ebp-360], 0
  934. lea eax, [ebp-368]
  935. push eax
  936. call fb_StrConcat
  937. add esp, 20
  938. push eax
  939. mov dword ptr [ebp-380], 0
  940. mov dword ptr [ebp-376], 0
  941. mov dword ptr [ebp-372], 0
  942. lea eax, [ebp-380]
  943. push eax
  944. call fb_StrConcat
  945. add esp, 20
  946. push eax
  947. mov dword ptr [ebp-392], 0
  948. mov dword ptr [ebp-388], 0
  949. mov dword ptr [ebp-384], 0
  950. lea eax, [ebp-392]
  951. push eax
  952. call fb_StrConcat
  953. add esp, 20
  954. push eax
  955. mov dword ptr [ebp-404], 0
  956. mov dword ptr [ebp-400], 0
  957. mov dword ptr [ebp-396], 0
  958. lea eax, [ebp-404]
  959. push eax
  960. call fb_StrConcat
  961. add esp, 20
  962. push eax
  963. mov dword ptr [ebp-416], 0
  964. mov dword ptr [ebp-412], 0
  965. mov dword ptr [ebp-408], 0
  966. lea eax, [ebp-416]
  967. push eax
  968. call fb_StrConcat
  969. add esp, 20
  970. push eax
  971. push 0
  972. call fb_PrintString
  973. add esp, 12
  974. mov eax, dword ptr [ebp-80]
  975. add eax, dword ptr [ebp-76]
  976. add eax, dword ptr [ebp-56]
  977. add eax, dword ptr [ebp-60]
  978. mov dword ptr [ebp-64], eax
  979. mov eax, dword ptr [ebp-52]
  980. add eax, dword ptr [ebp-48]
  981. add eax, dword ptr [ebp-84]
  982. add eax, dword ptr [ebp-88]
  983. mov dword ptr [ebp-68], eax
  984. mov dword ptr [ebp-428], 0
  985. mov dword ptr [ebp-424], 0
  986. mov dword ptr [ebp-420], 0
  987. push 0
  988. push -1
  989. push 1
  990. push -1
  991. push dword ptr [ebp-64]
  992. call fb_HEX_i
  993. add esp, 4
  994. push eax
  995. call fb_StrLen
  996. add esp, 8
  997. push eax
  998. push dword ptr [ebp-64]
  999. call fb_HEX_i
  1000. add esp, 4
  1001. push eax
  1002. call fb_StrMid
  1003. add esp, 12
  1004. push eax
  1005. push -1
  1006. lea eax, [ebp-428]
  1007. push eax
  1008. call fb_StrAssign
  1009. add esp, 20
  1010. push dword ptr [ebp-428]
  1011. call DEHEX
  1012. add esp, 4
  1013. lea ebx, [ebp-428]
  1014. push ebx
  1015. mov ebx, eax
  1016. call fb_StrDelete
  1017. add esp, 4
  1018. mov dword ptr [ebp-64], ebx
  1019. mov dword ptr [ebp-440], 0
  1020. mov dword ptr [ebp-436], 0
  1021. mov dword ptr [ebp-432], 0
  1022. push 0
  1023. push -1
  1024. push 1
  1025. push -1
  1026. push dword ptr [ebp-68]
  1027. call fb_HEX_i
  1028. add esp, 4
  1029. push eax
  1030. call fb_StrLen
  1031. add esp, 8
  1032. push eax
  1033. push dword ptr [ebp-68]
  1034. call fb_HEX_i
  1035. add esp, 4
  1036. push eax
  1037. call fb_StrMid
  1038. add esp, 12
  1039. push eax
  1040. push -1
  1041. lea eax, [ebp-440]
  1042. push eax
  1043. call fb_StrAssign
  1044. add esp, 20
  1045. push dword ptr [ebp-440]
  1046. call DEHEX
  1047. add esp, 4
  1048. lea ebx, [ebp-440]
  1049. push ebx
  1050. mov ebx, eax
  1051. call fb_StrDelete
  1052. add esp, 4
  1053. mov dword ptr [ebp-68], ebx
  1054. push 1
  1055. push -1
  1056. push dword ptr [ebp-64]
  1057. call fb_HEX_i
  1058. add esp, 4
  1059. push eax
  1060. push 5
  1061. push offset Lt_003A
  1062. mov dword ptr [ebp-452], 0
  1063. mov dword ptr [ebp-448], 0
  1064. mov dword ptr [ebp-444], 0
  1065. lea eax, [ebp-452]
  1066. push eax
  1067. call fb_StrConcat
  1068. add esp, 20
  1069. push eax
  1070. push 0
  1071. call fb_PrintString
  1072. add esp, 12
  1073. push 1
  1074. push -1
  1075. push dword ptr [ebp-68]
  1076. call fb_HEX_i
  1077. add esp, 4
  1078. push eax
  1079. push 5
  1080. push offset Lt_003C
  1081. mov dword ptr [ebp-464], 0
  1082. mov dword ptr [ebp-460], 0
  1083. mov dword ptr [ebp-456], 0
  1084. lea eax, [ebp-464]
  1085. push eax
  1086. call fb_StrConcat
  1087. add esp, 20
  1088. push eax
  1089. push 0
  1090. call fb_PrintString
  1091. add esp, 12
  1092. mov eax, dword ptr [ebp-88]
  1093. xor eax, dword ptr [ebp-64]
  1094. mov dword ptr [ebp-92], eax
  1095. mov eax, dword ptr [ebp-84]
  1096. xor eax, dword ptr [ebp-64]
  1097. mov dword ptr [ebp-96], eax
  1098. mov eax, dword ptr [ebp-80]
  1099. xor eax, dword ptr [ebp-64]
  1100. mov dword ptr [ebp-100], eax
  1101. mov eax, dword ptr [ebp-52]
  1102. xor eax, dword ptr [ebp-68]
  1103. mov dword ptr [ebp-104], eax
  1104. mov eax, dword ptr [ebp-56]
  1105. xor eax, dword ptr [ebp-68]
  1106. mov dword ptr [ebp-108], eax
  1107. mov eax, dword ptr [ebp-60]
  1108. xor eax, dword ptr [ebp-68]
  1109. mov dword ptr [ebp-112], eax
  1110. mov eax, dword ptr [ebp-88]
  1111. xor eax, dword ptr [ebp-56]
  1112. mov dword ptr [ebp-116], eax
  1113. mov eax, dword ptr [ebp-84]
  1114. xor eax, dword ptr [ebp-60]
  1115. mov dword ptr [ebp-120], eax
  1116. mov eax, dword ptr [ebp-68]
  1117. xor eax, dword ptr [ebp-64]
  1118. mov dword ptr [ebp-124], eax
  1119. push 0
  1120. push -1
  1121. push dword ptr [ebp-92]
  1122. call fb_HEX_i
  1123. add esp, 4
  1124. push eax
  1125. push -1
  1126. lea eax, [ebp-140]
  1127. push eax
  1128. call fb_StrAssign
  1129. add esp, 20
  1130. push 0
  1131. push -1
  1132. push dword ptr [ebp-104]
  1133. call fb_HEX_i
  1134. add esp, 4
  1135. push eax
  1136. push -1
  1137. lea eax, [ebp-140]
  1138. push eax
  1139. call fb_StrConcatAssign
  1140. add esp, 20
  1141. push 0
  1142. push -1
  1143. push dword ptr [ebp-116]
  1144. call fb_HEX_i
  1145. add esp, 4
  1146. push eax
  1147. push -1
  1148. lea eax, [ebp-140]
  1149. push eax
  1150. call fb_StrConcatAssign
  1151. add esp, 20
  1152. push 0
  1153. push -1
  1154. push dword ptr [ebp-96]
  1155. call fb_HEX_i
  1156. add esp, 4
  1157. push eax
  1158. push -1
  1159. lea eax, [ebp-140]
  1160. push eax
  1161. call fb_StrConcatAssign
  1162. add esp, 20
  1163. push 0
  1164. push -1
  1165. push dword ptr [ebp-108]
  1166. call fb_HEX_i
  1167. add esp, 4
  1168. push eax
  1169. push -1
  1170. lea eax, [ebp-140]
  1171. push eax
  1172. call fb_StrConcatAssign
  1173. add esp, 20
  1174. push 0
  1175. push -1
  1176. push dword ptr [ebp-120]
  1177. call fb_HEX_i
  1178. add esp, 4
  1179. push eax
  1180. push -1
  1181. lea eax, [ebp-140]
  1182. push eax
  1183. call fb_StrConcatAssign
  1184. add esp, 20
  1185. push 0
  1186. push -1
  1187. push dword ptr [ebp-100]
  1188. call fb_HEX_i
  1189. add esp, 4
  1190. push eax
  1191. push -1
  1192. lea eax, [ebp-140]
  1193. push eax
  1194. call fb_StrConcatAssign
  1195. add esp, 20
  1196. push 0
  1197. push -1
  1198. push dword ptr [ebp-112]
  1199. call fb_HEX_i
  1200. add esp, 4
  1201. push eax
  1202. push -1
  1203. lea eax, [ebp-140]
  1204. push eax
  1205. call fb_StrConcatAssign
  1206. add esp, 20
  1207. push 0
  1208. push -1
  1209. push dword ptr [ebp-124]
  1210. call fb_HEX_i
  1211. add esp, 4
  1212. push eax
  1213. push -1
  1214. lea eax, [ebp-140]
  1215. push eax
  1216. call fb_StrConcatAssign
  1217. add esp, 20
  1218. push 1
  1219. push -1
  1220. lea eax, [ebp-140]
  1221. push eax
  1222. push 10
  1223. push offset Lt_003E
  1224. mov dword ptr [ebp-476], 0
  1225. mov dword ptr [ebp-472], 0
  1226. mov dword ptr [ebp-468], 0
  1227. lea eax, [ebp-476]
  1228. push eax
  1229. call fb_StrConcat
  1230. add esp, 20
  1231. push eax
  1232. push 0
  1233. call fb_PrintString
  1234. add esp, 12
  1235. push 1
  1236. push 0
  1237. push offset Lt_0000
  1238. call fb_StrAllocTempDescZEx
  1239. add esp, 8
  1240. push eax
  1241. push 0
  1242. call fb_PrintString
  1243. add esp, 12
  1244. push -1
  1245. push 0
  1246. push 19
  1247. push offset Lt_0040
  1248. call fb_StrAllocTempDescZEx
  1249. add esp, 8
  1250. push eax
  1251. call fb_ConsoleInput
  1252. add esp, 12
  1253. push 0
  1254. push -1
  1255. lea eax, [ebp-140]
  1256. push eax
  1257. call fb_InputString
  1258. add esp, 12
  1259. lea eax, [ebp-140]
  1260. push eax
  1261. call fb_StrDelete
  1262. add esp, 4
  1263. lea eax, [ebp-12]
  1264. push eax
  1265. call fb_StrDelete
  1266. add esp, 4
  1267. .Lt_0003:
  1268. pop ebx
  1269. mov esp, ebp
  1270. pop ebp
  1271. ret
  1272. .size fb_ctor__keygen, .-fb_ctor__keygen
  1273. #keygen.bas' compilation took 0.005026075872592628 secs
  1274. .section .rodata
  1275. .balign 4
  1276. Lt_0000: .ascii "\0"
  1277. .balign 8
  1278. Lt_0010: .double 16
  1279. .balign 4
  1280. Lt_0013: .ascii "EasyBox KeyGen for Standart WPA2-Password\0"
  1281. .balign 4
  1282. Lt_0014: .ascii "By Sebastian Petters\0"
  1283. .balign 4
  1284. Lt_0015: .ascii "http://www.wotan.cc\0"
  1285. .balign 4
  1286. Lt_0016: .ascii "Use this only on your own AccessPoint!\0"
  1287. .balign 4
  1288. Lt_0017: .ascii "Enter MAC-Adress in following format: 01234567890A\0"
  1289. .balign 4
  1290. Lt_0018: .ascii "MAC: \0"
  1291. .balign 4
  1292. Lt_0029: .ascii "SMAC: \0"
  1293. .balign 4
  1294. Lt_0031: .ascii "SSID: EasyBox-\0"
  1295. .balign 4
  1296. Lt_003A: .ascii "K1: \0"
  1297. .balign 4
  1298. Lt_003C: .ascii "K2: \0"
  1299. .balign 4
  1300. Lt_003E: .ascii "WPA-Key: \0"
  1301. .balign 4
  1302. Lt_0040: .ascii "Press Enter to quit\0"
  1303. .section .ctors, "aw", @progbits
  1304. .int fb_ctor__keygen

comments powered by Disqus