Guest User

Untitled

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