{"id":349755,"date":"2023-07-04T15:03:58","date_gmt":"2023-07-04T15:03:58","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=349755"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=349755","title":{"rendered":"<span>2 x 2 = 3 \u0438\u043b\u0438 \u0441\u043a\u0430\u0437 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044f Visual Basic \u0440\u0435\u0432\u0435\u0440\u0441\u0438\u043b<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"float\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/679\/30a\/730\/67930a7309506a5de4a1c7f328f45287.png\" width=\"328\" height=\"215\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/679\/30a\/730\/67930a7309506a5de4a1c7f328f45287.png\"\/><\/figure>\n<p>\u0416\u0438\u0432 \u0435\u0449\u0435 Visual Basic: \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0435\u0449\u0435 \u0436\u0438\u0432\u044b. \u0411\u0430\u0439\u0442-\u043a\u043e\u0434 VB \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439 msvbvm60.dll , \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0436\u0438\u0432\u0435\u0442 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 C:\\Windows .<\/p>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 &#8212; \u0440\u0430\u0437\u0433\u0430\u0434\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043b\u044e\u0447\u0435\u0439.<br \/> zira&#8217;s ZittoKeygenme <a href=\"https:\/\/crackmes.one\/crackme\/648b452233c5d4393891390d\" rel=\"noopener noreferrer nofollow\">https:\/\/crackmes.one\/crackme\/648b452233c5d4393891390d<\/a><\/p>\n<h2>\u0411\u043e\u0440\u044c\u0431\u0430 \u0441 \u0443\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a\u043e\u043c<\/h2>\n<figure class=\"float\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3b4\/6f8\/f1b\/3b46f8f1bdc67ce82b91d23d5a025503.png\" width=\"442\" height=\"258\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3b4\/6f8\/f1b\/3b46f8f1bdc67ce82b91d23d5a025503.png\"\/><\/figure>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0435 &#8212; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u0430. \u0421\u043b\u0430\u0431\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b &#8212; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u0430\u043c\u0430 \u0441\u0435\u0431\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442. \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 &#8212; \u043d\u0430\u0439\u0442\u0438 \u043c\u0435\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u0442\u043e\u0447\u043a\u0435 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>ASPack \u043c\u0435\u0448\u0430\u0435\u0442 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0443 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0414\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0447\u0438\u0442\u0430\u0435\u0442 \u0431\u0430\u0439\u0442\u044b \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 call, \u0432\u0441\u0442\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a19\/ed6\/a42\/a19ed6a42f629e6d5196bfa143f57b7b.png\" width=\"1110\" height=\"279\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a19\/ed6\/a42\/a19ed6a42f629e6d5196bfa143f57b7b.png\"\/><\/figure>\n<ul>\n<li>\n<p>\u041f\u043e\u0439\u0442\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 \u0432\u044b\u0437\u043e\u0432\u0430, \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443, \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e\u0441\u043b\u0435 call<\/p>\n<\/li>\n<li>\n<p>\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u0431\u043e\u0440 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043d\u0430 \u043f\u043e\u0442\u043e\u043c \u0438 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0437\u0430 call \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<\/li>\n<\/ul>\n<p>IDA \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u0431\u043e\u0440 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043d\u0430 \u043f\u043e\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043f\u0440\u043e\u0447\u0442\u0435\u0442 E9 EB 04 5D 45 jmp. \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440  \u0436\u0435 \u0441\u043f\u0435\u0440\u0432\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 call, \u0430 \u0437\u0430 \u043d\u0438\u043c \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0434: 5D pop ebp.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e93\/1cf\/df0\/e931cfdf0e2fe80d44a4139dfb6f0d34.png\" width=\"1120\" height=\"319\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e93\/1cf\/df0\/e931cfdf0e2fe80d44a4139dfb6f0d34.png\"\/><\/figure>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 call \u0442\u043e\u043b\u043a\u0430\u0435\u0442 \u0432 \u0441\u0442\u0435\u043a \u0430\u0434\u0440\u0435\u0441 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 .aspack:00405007 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 loc_40500A. \u041a\u043e\u0434 \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043e \u0441\u0442\u0435\u043a\u0430 \u0430\u0434\u0440\u0435\u0441, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 1 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 .aspack:00405008: jmp short loc_40500E. \u0412\u043e\u0442 \u0442\u0430\u043a \u043b\u0438\u0448\u043d\u0438\u0439 \u0431\u0430\u0439\u0442 E9 \u0432 \u043f\u043e\u0442\u043e\u043a\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e\u0441\u043b\u0435\u043f\u043b\u044f\u0435\u0442 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9b3\/49b\/04b\/9b349b04b71a7a54a2af41457840b755.png\" width=\"1195\" height=\"348\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9b3\/49b\/04b\/9b349b04b71a7a54a2af41457840b755.png\"\/><\/figure>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 ImageBase &#8212; \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u043e\u0434\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438 \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 OEP \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e push. \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u043d\u0430\u0435\u043c, \u0433\u0434\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043d\u0438\u043c\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a72\/f40\/2fd\/a72f402fdb267a9892e442fe566e8d9c.png\" width=\"1219\" height=\"389\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a72\/f40\/2fd\/a72f402fdb267a9892e442fe566e8d9c.png\"\/><\/figure>\n<h2>\u0414\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Visual Basic \u043a\u043e\u0434\u0430<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b5e\/dc7\/b6f\/b5edc7b6f8b7107231bb2142e147e1e2.png\" width=\"669\" height=\"120\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b5e\/dc7\/b6f\/b5edc7b6f8b7107231bb2142e147e1e2.png\"\/><\/figure>\n<p>\u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 msvbvm60.ThunRTMain &#8212; \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 Visual Basic. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 msvbvm60.ThunRTMain \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 VBHeader, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 Visual Basic. Visual Basic \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 P-\u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439, \u043b\u0438\u0431\u043e \u0432 Native \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c API \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. VBDec \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b, \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b Visual Basic \u0432 IDA.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dc3\/81d\/c2c\/dc381dc2cd4c5d859b5276ecf10b2369.png\" width=\"1055\" height=\"455\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dc3\/81d\/c2c\/dc381dc2cd4c5d859b5276ecf10b2369.png\"\/><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/05b\/e64\/5fd\/05be645fdb7420445829a45773bf817a.png\" width=\"454\" height=\"627\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/05b\/e64\/5fd\/05be645fdb7420445829a45773bf817a.png\"\/><\/figure>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Form1_Command1_Click \u0438 Form1_Command2_Click \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e Command1 &#8212; \u043a\u043d\u043e\u043f\u043a\u0430 Register. Form1_Command1_Click \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0438 \u043a \u0441\u0442\u0440\u043e\u043a\u0430\u043c &#171;Thank you for registering this keygenme&#187; \u0438 &#171;Incorrect registration information&#187;, \u0447\u0442\u043e \u0432\u044b\u0434\u0430\u0435\u0442 \u0438 \u0437\u0430\u0449\u0438\u0442\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c.<\/p>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cb5\/672\/4a4\/cb56724a4769b514255752120a217842.png\" width=\"1083\" height=\"241\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cb5\/672\/4a4\/cb56724a4769b514255752120a217842.png\"\/><\/figure>\n<p>\u0423\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a \u0441\u043a\u0440\u044b\u043b \u0438\u043c\u043f\u043e\u0440\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\u0437 msvbvm60.dll , \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0432\u043c\u0435\u0441\u0442\u043e \u0438\u043c\u0435\u043d \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 call ds:dword_*** . \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0430\u0434\u0440\u0435\u0441\u0430 DLL-\u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0437\u044f\u0442\u0438\u044f \u0441\u043d\u0438\u043c\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u043d\u0430\u0439\u0434\u0435\u043c \u0438\u043c\u0435\u043d\u0430.<\/p>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/464\/987\/eaf\/464987eaf925d9463cf0b7383f692c64.png\" width=\"995\" height=\"672\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/464\/987\/eaf\/464987eaf925d9463cf0b7383f692c64.png\"\/><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u043e\u0432 __vbaI4Var, rtcMidCharVar, rtcUpperCaseVar, rtcAnsiValueBstr \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0442\u043e \u0446\u0438\u043a\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442: \u0441\u0442\u0440\u043e\u043a\u0430 &#8212; UserName.<\/p>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/987\/67d\/e3e\/98767de3eb8be4a0b7dc473ae6d549d1.png\" width=\"758\" height=\"719\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/987\/67d\/e3e\/98767de3eb8be4a0b7dc473ae6d549d1.png\"\/><\/figure>\n<p>\u0418\u043d\u0442\u0443\u0438\u0446\u0438\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 __vbaVarMul \u0438 __vbaVarAdd \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441 \u043a\u043e\u0434\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0435 \u0441\u043b\u0435\u0434\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 var_E0 \u0441 \u043a\u043e\u0434\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043a \u044d\u0442\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u043d\u0435 \u0432\u0435\u0434\u0443\u0442. \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e __vbaVarMul \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f 2 \u0438 2, \u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 3. \u0427\u0442\u043e \u0437\u0430&#8230;<\/p>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3d5\/6cc\/8a9\/3d56cc8a909755fa8834f4e9dbf5b05b.png\" width=\"943\" height=\"312\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3d5\/6cc\/8a9\/3d56cc8a909755fa8834f4e9dbf5b05b.png\"\/><\/figure>\n<p>\u0410\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 msvbvm60.dll \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 VARIANT \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 oleaut32.dll . __vbaVarMul \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 oleaut32.VarMul . \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043a oleaut32.dll \u0433\u043e\u0432\u043e\u0440\u0438\u0442: VarMul \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 VARIANT. &#171;OAIdl.h&#187; \u0438\u0437 Windows SDK \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 VARIANT, \u0430 &#171;wtypes.h&#187; \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b VT_I2 = 2, VT_I4 = 3 \u0434\u043b\u044f VARTYPE vt. \u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u0432\u0443\u0445 VARIANT \u0442\u0438\u043f\u0430 VT_I2 \u0434\u0430\u0435\u0442 VARIANT \u0442\u0438\u043f\u0430 VT_I4.<\/p>\n<pre><code class=\"cpp\">struct tagVARIANT     {     union          {         struct __tagVARIANT             {             VARTYPE vt;             WORD wReserved1;             WORD wReserved2;             WORD wReserved3;             union                  {                 LONGLONG llVal;                 LONG lVal;                 BYTE bVal; \/*...*\/<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f04\/2b6\/c92\/f042b6c92ffd835c02c1975fc10011f8.png\" width=\"965\" height=\"583\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f04\/2b6\/c92\/f042b6c92ffd835c02c1975fc10011f8.png\"\/><\/figure>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/115\/3b5\/399\/1153b539996bab08fbbfa9b45c7b8b5c.png\" width=\"768\" height=\"600\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/115\/3b5\/399\/1153b539996bab08fbbfa9b45c7b8b5c.png\"\/><\/figure>\n<p>\u0421\u0440\u0435\u0434\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0432 IDA \u043d\u0430\u0439\u0434\u0435\u043c VARIANT \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 dword \u043d\u0430 \u0441\u0442\u0435\u043a\u0435.<\/p>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u0445\u0435\u0448 User Name \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">int32_t accum = 0; int32_t hash = 0; for (char c: name) {   accum += (0x1749 * toupper(c));   hash = accum - name.length(); }<\/code><\/pre>\n<p>\u0430 \u0437\u0430 \u043d\u0438\u043c &#8212; \u043a\u043b\u044e\u0447 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"cpp\">string reg_number = \"Zitto - \"s + to_string(hash);<\/code><\/pre>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p><a href=\"http:\/\/sandsprite.com\/vbdec\/\" rel=\"noopener noreferrer nofollow\">http:\/\/sandsprite.com\/vbdec\/<\/a><br \/><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/api\/oleauto\/nf-oleauto-varmul\" rel=\"noopener noreferrer nofollow\">https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/api\/oleauto\/nf-oleauto-varmul<\/a><br \/><a href=\"https:\/\/hex-rays.com\/products\/ida\/support\/tutorials\/unions\/\" rel=\"noopener noreferrer nofollow\">https:\/\/hex-rays.com\/products\/ida\/support\/tutorials\/unions\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/745798\/\"> https:\/\/habr.com\/ru\/articles\/745798\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"float\"><\/figure>\n<p>\u0416\u0438\u0432 \u0435\u0449\u0435 Visual Basic: \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0435\u0449\u0435 \u0436\u0438\u0432\u044b. \u0411\u0430\u0439\u0442-\u043a\u043e\u0434 VB \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439 msvbvm60.dll , \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0436\u0438\u0432\u0435\u0442 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 C:\\Windows .<\/p>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 &#8212; \u0440\u0430\u0437\u0433\u0430\u0434\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043b\u044e\u0447\u0435\u0439.<br \/> zira&#8217;s ZittoKeygenme <a href=\"https:\/\/crackmes.one\/crackme\/648b452233c5d4393891390d\" rel=\"noopener noreferrer nofollow\">https:\/\/crackmes.one\/crackme\/648b452233c5d4393891390d<\/a><\/p>\n<h2>\u0411\u043e\u0440\u044c\u0431\u0430 \u0441 \u0443\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a\u043e\u043c<\/h2>\n<figure class=\"float\"><\/figure>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0435 &#8212; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u0430. \u0421\u043b\u0430\u0431\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b &#8212; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u0430\u043c\u0430 \u0441\u0435\u0431\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442. \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 &#8212; \u043d\u0430\u0439\u0442\u0438 \u043c\u0435\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u0442\u043e\u0447\u043a\u0435 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>ASPack \u043c\u0435\u0448\u0430\u0435\u0442 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0443 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0414\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0447\u0438\u0442\u0430\u0435\u0442 \u0431\u0430\u0439\u0442\u044b \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 call, \u0432\u0441\u0442\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c:<\/p>\n<figure class=\"full-width\"><\/figure>\n<ul>\n<li>\n<p>\u041f\u043e\u0439\u0442\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 \u0432\u044b\u0437\u043e\u0432\u0430, \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443, \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e\u0441\u043b\u0435 call<\/p>\n<\/li>\n<li>\n<p>\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u0431\u043e\u0440 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043d\u0430 \u043f\u043e\u0442\u043e\u043c \u0438 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0437\u0430 call \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<\/li>\n<\/ul>\n<p>IDA \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u0431\u043e\u0440 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043d\u0430 \u043f\u043e\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043f\u0440\u043e\u0447\u0442\u0435\u0442 E9 EB 04 5D 45 jmp. \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440  \u0436\u0435 \u0441\u043f\u0435\u0440\u0432\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 call, \u0430 \u0437\u0430 \u043d\u0438\u043c \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0434: 5D pop ebp.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 call \u0442\u043e\u043b\u043a\u0430\u0435\u0442 \u0432 \u0441\u0442\u0435\u043a \u0430\u0434\u0440\u0435\u0441 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 .aspack:00405007 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 loc_40500A. \u041a\u043e\u0434 \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043e \u0441\u0442\u0435\u043a\u0430 \u0430\u0434\u0440\u0435\u0441, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 1 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 .aspack:00405008: jmp short loc_40500E. \u0412\u043e\u0442 \u0442\u0430\u043a \u043b\u0438\u0448\u043d\u0438\u0439 \u0431\u0430\u0439\u0442 E9 \u0432 \u043f\u043e\u0442\u043e\u043a\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e\u0441\u043b\u0435\u043f\u043b\u044f\u0435\u0442 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 ImageBase &#8212; \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u043e\u0434\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438 \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 OEP \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e push. \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u043d\u0430\u0435\u043c, \u0433\u0434\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043d\u0438\u043c\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<figure class=\"full-width\"><\/figure>\n<h2>\u0414\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Visual Basic \u043a\u043e\u0434\u0430<\/h2>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 msvbvm60.ThunRTMain &#8212; \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 Visual Basic. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 msvbvm60.ThunRTMain \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 VBHeader, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 Visual Basic. Visual Basic \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 P-\u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439, \u043b\u0438\u0431\u043e \u0432 Native \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c API \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. VBDec \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b, \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b Visual Basic \u0432 IDA.<\/p>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"\"><\/figure>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Form1_Command1_Click \u0438 Form1_Command2_Click \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e Command1 &#8212; \u043a\u043d\u043e\u043f\u043a\u0430 Register. Form1_Command1_Click \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0438 \u043a \u0441\u0442\u0440\u043e\u043a\u0430\u043c &#171;Thank you for registering this keygenme&#187; \u0438 &#171;Incorrect registration information&#187;, \u0447\u0442\u043e \u0432\u044b\u0434\u0430\u0435\u0442 \u0438 \u0437\u0430\u0449\u0438\u0442\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c.<\/p>\n<figure class=\"float full-width\"><\/figure>\n<p>\u0423\u043f\u0430\u043a\u043e\u0432\u0449\u0438\u043a \u0441\u043a\u0440\u044b\u043b \u0438\u043c\u043f\u043e\u0440\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\u0437 msvbvm60.dll , \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0432\u043c\u0435\u0441\u0442\u043e \u0438\u043c\u0435\u043d \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 call ds:dword_*** . \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0430\u0434\u0440\u0435\u0441\u0430 DLL-\u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0437\u044f\u0442\u0438\u044f \u0441\u043d\u0438\u043c\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u043d\u0430\u0439\u0434\u0435\u043c \u0438\u043c\u0435\u043d\u0430.<\/p>\n<figure class=\"float full-width\"><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u043e\u0432 __vbaI4Var, rtcMidCharVar, rtcUpperCaseVar, rtcAnsiValueBstr \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0442\u043e \u0446\u0438\u043a\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442: \u0441\u0442\u0440\u043e\u043a\u0430 &#8212; UserName.<\/p>\n<figure class=\"float full-width\"><\/figure>\n<p>\u0418\u043d\u0442\u0443\u0438\u0446\u0438\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 __vbaVarMul \u0438 __vbaVarAdd \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441 \u043a\u043e\u0434\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0435 \u0441\u043b\u0435\u0434\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 var_E0 \u0441 \u043a\u043e\u0434\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043a \u044d\u0442\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u043d\u0435 \u0432\u0435\u0434\u0443\u0442. \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e __vbaVarMul \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f 2 \u0438 2, \u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 3. \u0427\u0442\u043e \u0437\u0430&#8230;<\/p>\n<figure class=\"float full-width\"><\/figure>\n<p>\u0410\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 msvbvm60.dll \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 VARIANT \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 oleaut32.dll . __vbaVarMul \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 oleaut32.VarMul . \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043a oleaut32.dll \u0433\u043e\u0432\u043e\u0440\u0438\u0442: VarMul \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 VARIANT. &#171;OAIdl.h&#187; \u0438\u0437 Windows SDK \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 VARIANT, \u0430 &#171;wtypes.h&#187; \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b VT_I2 = 2, VT_I4 = 3 \u0434\u043b\u044f VARTYPE vt. \u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u0432\u0443\u0445 VARIANT \u0442\u0438\u043f\u0430 VT_I2 \u0434\u0430\u0435\u0442 VARIANT \u0442\u0438\u043f\u0430 VT_I4.<\/p>\n<pre><code class=\"cpp\">struct tagVARIANT     {     union          {         struct __tagVARIANT             {             VARTYPE vt;             WORD wReserved1;             WORD wReserved2;             WORD wReserved3;             union                  {                 LONGLONG llVal;                 LONG lVal;                 BYTE bVal; \/*...*\/<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"float full-width\"><\/figure>\n<p>\u0421\u0440\u0435\u0434\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0432 IDA \u043d\u0430\u0439\u0434\u0435\u043c VARIANT \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 dword \u043d\u0430 \u0441\u0442\u0435\u043a\u0435.<\/p>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u0445\u0435\u0448 User Name \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">int32_t accum = 0; int32_t hash = 0; for (char c: name) {   accum += (0x1749 * toupper(c));   hash = accum - name.length(); }<\/code><\/pre>\n<p>\u0430 \u0437\u0430 \u043d\u0438\u043c &#8212; \u043a\u043b\u044e\u0447 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"cpp\">string reg_number = \"Zitto - \"s + to_string(hash);<\/code><\/pre>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p><a href=\"http:\/\/sandsprite.com\/vbdec\/\" rel=\"noopener noreferrer nofollow\">http:\/\/sandsprite.com\/vbdec\/<\/a><br \/><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/api\/oleauto\/nf-oleauto-varmul\" rel=\"noopener noreferrer nofollow\">https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/api\/oleauto\/nf-oleauto-varmul<\/a><br \/><a href=\"https:\/\/hex-rays.com\/products\/ida\/support\/tutorials\/unions\/\" rel=\"noopener noreferrer nofollow\">https:\/\/hex-rays.com\/products\/ida\/support\/tutorials\/unions\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/745798\/\"> https:\/\/habr.com\/ru\/articles\/745798\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-349755","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/349755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349755"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/349755\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}