Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.95 KB | None | 0 0
  1.  
  2. .text:00480FD1 push ebp
  3. .text:00480FD2 mov ebp, [esp+10h]
  4. .text:00480FD6 test ebp, ebp
  5. .text:00480FD8 push esi
  6. .text:00480FD9 mov esi, ecx
  7. .text:00480FDB jz short loc_480FE3
  8. .text:00480FDD cmp ebp, [esp+1Ch]
  9. .text:00480FE1 jz short loc_480FE9
  10. .text:00480FE3
  11. .text:00480FE3 loc_480FE3: ; CODE XREF: .text:00480FDBj
  12. .text:00480FE3 call ds:_invalid_parameter_noinfo
  13. .text:00480FE9
  14. .text:00480FE9 loc_480FE9: ; CODE XREF: .text:00480FE1j
  15. .text:00480FE9 mov ebx, [esp+18h]
  16. .text:00480FED mov ecx, [esp+20h]
  17. .text:00480FF1 cmp ebx, ecx
  18. .text:00480FF3 jz short loc_48102E
  19. .text:00480FF5 mov eax, [esi+8]
  20. .text:00480FF8 push edi
  21. .text:00480FF9 mov byte ptr [esp+18h], 0
  22. .text:00480FFE mov edx, [esp+18h]
  23. .text:00481002 push edx
  24. .text:00481003 mov edx, [esp+18h]
  25. .text:00481007 push edx
  26. .text:00481008 mov edx, [esp+1Ch]
  27. .text:0048100C push edx
  28. .text:0048100D push ebx
  29. .text:0048100E push eax
  30. .text:0048100F push ecx
  31. .text:00481010 call loc_480AE0
  32. .text:00481015 mov ecx, [esi+8]
  33. .text:00481018 mov edi, eax
  34. .text:0048101A mov eax, [esp+2Ch]
  35. .text:0048101E push eax
  36. .text:0048101F push esi
  37. .text:00481020 push ecx
  38. .text:00481021 push edi
  39. .text:00481022 call loc_480B40
  40. .text:00481027 add esp, 28h
  41. .text:0048102A mov [esi+8], edi
  42. .text:0048102D pop edi
  43. .text:0048102E
  44. .text:0048102E loc_48102E: ; CODE XREF: .text:00480FF3j
  45. .text:0048102E mov eax, [esp+10h]
  46. .text:00481032 pop esi
  47. .text:00481033 mov [eax], ebp
  48. .text:00481035 pop ebp
  49. .text:00481036 mov [eax+4], ebx
  50. .text:00481039 pop ebx
  51. .text:0048103A retn 14h
  52. .text:0048103A ; ---------------------------------------------------------------------------
  53. .text:0048103D db 0CCh ; ¦
  54. .text:0048103E db 0CCh ; ¦
  55. .text:0048103F db 0CCh ; ¦
  56. .text:00481040 ; ---------------------------------------------------------------------------
  57. .text:00481040
  58. .text:00481040 loc_481040: ; CODE XREF: .text:00481736p
  59. .text:00481040 ; .text:00481784p
  60. .text:00481040 push ecx
  61. .text:00481041 mov edx, [esp+10h]
  62. .text:00481045 mov byte ptr [esp], 0
  63. .text:00481049 mov eax, [esp]
  64. .text:0048104C push eax
  65. .text:0048104D mov eax, [esp+14h]
  66. .text:00481051 push edx
  67. .text:00481052 mov edx, [esp+10h]
  68. .text:00481056 push ecx
  69. .text:00481057 mov ecx, [esp+18h]
  70. .text:0048105B push eax
  71. .text:0048105C push ecx
  72. .text:0048105D push edx
  73. .text:0048105E call loc_480B80
  74. .text:00481063 add esp, 1Ch
  75. .text:00481066 retn 0Ch
  76. .text:00481066 ; ---------------------------------------------------------------------------
  77. .text:00481069 db 0CCh ; ¦
  78. .text:0048106A db 0CCh ; ¦
  79. .text:0048106B db 0CCh ; ¦
  80. .text:0048106C db 0CCh ; ¦
  81. .text:0048106D db 0CCh ; ¦
  82. .text:0048106E db 0CCh ; ¦
  83. .text:0048106F db 0CCh ; ¦
  84. .text:00481070 ; ---------------------------------------------------------------------------
  85. .text:00481070
  86. .text:00481070 loc_481070: ; CODE XREF: .text:00481272p
  87. .text:00481070 push ecx
  88. .text:00481071 mov ecx, [esp+18h]
  89. .text:00481075 mov edx, [esp+10h]
  90. .text:00481079 push ebx
  91. .text:0048107A mov ebx, [esp+0Ch]
  92. .text:0048107E push esi
  93. .text:0048107F mov esi, [esp+14h]
  94. .text:00481083 push edi
  95. .text:00481084 mov edi, [esp+1Ch]
  96. .text:00481088 mov byte ptr [esp+0Ch], 0
  97. .text:0048108D mov eax, [esp+0Ch]
  98. .text:00481091 push eax
  99. .text:00481092 push ecx
  100. .text:00481093 push edx
  101. .text:00481094 push edi
  102. .text:00481095 push esi
  103. .text:00481096 push ebx
  104. .text:00481097 call loc_480EE0
  105. .text:0048109C sub esi, ebx
  106. .text:0048109E mov eax, 92492493h
  107. .text:004810A3 imul esi
  108. .text:004810A5 add edx, esi
  109. .text:004810A7 sar edx, 4
  110. .text:004810AA mov eax, edx
  111. .text:004810AC shr eax, 1Fh
  112. .text:004810AF add eax, edx
  113. .text:004810B1 lea ecx, ds:0[eax*8]
  114. .text:004810B8 add esp, 18h
  115. .text:004810BB sub ecx, eax
  116. .text:004810BD mov eax, edi
  117. .text:004810BF add ecx, ecx
  118. .text:004810C1 pop edi
  119. .text:004810C2 add ecx, ecx
  120. .text:004810C4 pop esi
  121. .text:004810C5 sub eax, ecx
  122. .text:004810C7 pop ebx
  123. .text:004810C8 pop ecx
  124. .text:004810C9 retn
  125. .text:004810C9 ; ---------------------------------------------------------------------------
  126. .text:004810CA db 0CCh ; ¦
  127. .text:004810CB db 0CCh ; ¦
  128. .text:004810CC db 0CCh ; ¦
  129. .text:004810CD db 0CCh ; ¦
  130. .text:004810CE db 0CCh ; ¦
  131. .text:004810CF db 0CCh ; ¦
  132. .text:004810D0 ; ---------------------------------------------------------------------------
  133. .text:004810D0
  134. .text:004810D0 loc_4810D0: ; CODE XREF: .text:004815E4p
  135. .text:004810D0 ; .text:00556E9Fp ...
  136. .text:004810D0 push ebp
  137. .text:004810D1 mov ebp, esp
  138. .text:004810D3 push 0FFFFFFFFh
  139. .text:004810D5 push offset unk_1308CA0
  140. .text:004810DA mov eax, large fs:0
  141. .text:004810E0 push eax
  142. .text:004810E1 sub esp, 0Ch
  143. .text:004810E4 push ebx
  144. .text:004810E5 push esi
  145. .text:004810E6 push edi
  146. .text:004810E7 mov eax, dword_17D9B14
  147. .text:004810EC xor eax, ebp
  148. .text:004810EE push eax
  149. .text:004810EF lea eax, [ebp-0Ch]
  150. .text:004810F2 mov large fs:0, eax
  151. .text:004810F8 mov [ebp-10h], esp
  152. .text:004810FB mov edi, ecx
  153. .text:004810FD mov [ebp-18h], edi
  154. .text:00481100 mov esi, [ebp+8]
  155. .text:00481103 mov eax, [esi+4]
  156. .text:00481106 test eax, eax
  157. .text:00481108 jz short loc_481122
  158. .text:0048110A mov ecx, [esi+8]
  159. .text:0048110D sub ecx, eax
  160. .text:0048110F mov eax, 92492493h
  161. .text:00481114 imul ecx
  162. .text:00481116 add edx, ecx
  163. .text:00481118 sar edx, 4
  164. .text:0048111B mov eax, edx
  165. .text:0048111D shr eax, 1Fh
  166. .text:00481120 add eax, edx
  167. .text:00481122
  168. .text:00481122 loc_481122: ; CODE XREF: .text:00481108j
  169. .text:00481122 push eax
  170. .text:00481123 mov ecx, edi
  171. .text:00481125 call loc_E864A0
  172. .text:0048112A test al, al
  173. .text:0048112C jz short loc_481175
  174. .text:0048112E mov eax, [esi+8]
  175. .text:00481131 cmp [esi+4], eax
  176. .text:00481134 mov dword ptr [ebp-4], 0
  177. .text:0048113B mov [ebp-14h], eax
  178. .text:0048113E jbe short loc_481146
  179. .text:00481140 call ds:_invalid_parameter_noinfo
  180. .text:00481146
  181. .text:00481146 loc_481146: ; CODE XREF: .text:0048113Ej
  182. .text:00481146 mov ebx, [esi+4]
  183. .text:00481149 cmp ebx, [esi+8]
  184. .text:0048114C jbe short loc_481154
  185. .text:0048114E call ds:_invalid_parameter_noinfo
  186. .text:00481154
  187. .text:00481154 loc_481154: ; CODE XREF: .text:0048114Cj
  188. .text:00481154 mov eax, [edi+4]
  189. .text:00481157 mov byte ptr [ebp+8], 0
  190. .text:0048115B mov ecx, [ebp+8]
  191. .text:0048115E mov edx, [ebp+8]
  192. .text:00481161 push ecx
  193. .text:00481162 push edx
  194. .text:00481163 push edi
  195. .text:00481164 push eax
  196. .text:00481165 mov eax, [ebp-14h]
  197. .text:00481168 push eax
  198. .text:00481169 push ebx
  199. .text:0048116A call loc_480B80
  200. .text:0048116F add esp, 18h
  201. .text:00481172 mov [edi+8], eax
  202. .text:00481175
  203. .text:00481175 loc_481175: ; CODE XREF: .text:0048112Cj
  204. .text:00481175 mov eax, edi
  205. .text:00481177 mov ecx, [ebp-0Ch]
  206. .text:0048117A mov large fs:0, ecx
  207. .text:00481181 pop ecx
  208. .text:00481182 pop edi
  209. .text:00481183 pop esi
  210. .text:00481184 pop ebx
  211. .text:00481185 mov esp, ebp
  212. .text:00481187 pop ebp
  213. .text:00481188 retn 4
  214. .text:00481188 ; ---------------------------------------------------------------------------
  215. .text:0048118B db 8Bh ; Л
  216. .text:0048118C db 4Dh ; M
  217. .text:0048118D db 0E8h ; ш
  218. .text:0048118E db 0E8h ; ш
  219. .text:0048118F db 0FDh ; ¤
  220. .text:00481190 db 0FDh ; ¤
  221. .text:00481191 db 0FFh
  222. .text:00481192 db 0FFh
  223. .text:00481193 db 6Ah ; j
  224. .text:00481194 db 0
  225. .text:00481195 db 6Ah ; j
  226. .text:00481196 db 0
  227. .text:00481197 db 0E8h ; ш
  228. .text:00481198 db 0FCh ; №
  229. .text:00481199 db 4
  230. .text:0048119A db 0B4h ; +
  231. .text:0048119B db 0
  232. .text:0048119C db 0CCh ; ¦
  233. .text:0048119D db 0CCh ; ¦
  234. .text:0048119E db 0CCh ; ¦
  235. .text:0048119F db 0CCh ; ¦
  236. .text:004811A0 ; ---------------------------------------------------------------------------
  237. .text:004811A0
  238. .text:004811A0 loc_4811A0: ; CODE XREF: .text:00481623p
  239. .text:004811A0 sub esp, 8
  240. .text:004811A3 push ebx
  241. .text:004811A4 push ebp
  242. .text:004811A5 mov ebp, ds:_invalid_parameter_noinfo
  243. .text:004811AB push esi
  244. .text:004811AC mov esi, ecx
  245. .text:004811AE push edi
  246. .text:004811AF mov edi, [esi+8]
  247. .text:004811B2 cmp [esi+4], edi
  248. .text:004811B5 jbe short loc_4811B9
  249. .text:004811B7 call ebp ; _invalid_parameter_noinfo
  250. .text:004811B9
  251. .text:004811B9 loc_4811B9: ; CODE XREF: .text:004811B5j
  252. .text:004811B9 mov ebx, [esi+4]
  253. .text:004811BC cmp ebx, [esi+8]
  254. .text:004811BF jbe short loc_4811C3
  255. .text:004811C1 call ebp ; _invalid_parameter_noinfo
  256. .text:004811C3
  257. .text:004811C3 loc_4811C3: ; CODE XREF: .text:004811BFj
  258. .text:004811C3 push edi
  259. .text:004811C4 push esi
  260. .text:004811C5 push ebx
  261. .text:004811C6 push esi
  262. .text:004811C7 lea eax, [esp+20h]
  263. .text:004811CB push eax
  264. .text:004811CC mov ecx, esi
  265. .text:004811CE call loc_480FD0
  266. .text:004811D3 pop edi
  267. .text:004811D4 pop esi
  268. .text:004811D5 pop ebp
  269. .text:004811D6 pop ebx
  270. .text:004811D7 add esp, 8
  271. .text:004811DA retn
  272. .text:004811DA ; ---------------------------------------------------------------------------
  273. .text:004811DB db 0CCh ; ¦
  274. .text:004811DC db 0CCh ; ¦
  275. .text:004811DD db 0CCh ; ¦
  276. .text:004811DE db 0CCh ; ¦
  277. .text:004811DF db 0CCh ; ¦
  278. .text:004811E0 ; ---------------------------------------------------------------------------
  279. .text:004811E0
  280. .text:004811E0 loc_4811E0: ; CODE XREF: .text:00481982p
  281. .text:004811E0 ; .text:00481AA8p
  282. .text:004811E0 push ecx
  283. .text:004811E1 mov edx, [esp+10h]
  284. .text:004811E5 push esi
  285. .text:004811E6 mov esi, [esp+10h]
  286. .text:004811EA push edi
  287. .text:004811EB mov edi, [esp+10h]
  288. .text:004811EF mov byte ptr [esp+8], 0
  289. .text:004811F4 mov eax, [esp+8]
  290. .text:004811F8 push eax
  291. .text:004811F9 mov eax, [esp+1Ch]
  292. .text:004811FD push edx
  293. .text:004811FE push ecx
  294. .text:004811FF push eax
  295. .text:00481200 push esi
  296. .text:00481201 push edi
  297. .text:00481202 call loc_480CE0
  298. .text:00481207 add esp, 18h
  299. .text:0048120A lea ecx, ds:0[esi*8]
  300. .text:00481211 sub ecx, esi
  301. .text:00481213 lea eax, [edi+ecx*4]
  302. .text:00481216 pop edi
  303. .text:00481217 pop esi
  304. .text:00481218 pop ecx
  305. .text:00481219 retn 0Ch
  306. .text:00481219 ; ---------------------------------------------------------------------------
  307. .text:0048121C db 0CCh ; ¦
  308. .text:0048121D db 0CCh ; ¦
  309. .text:0048121E db 0CCh ; ¦
  310. .text:0048121F db 0CCh ; ¦
  311. .text:00481220 ; ---------------------------------------------------------------------------
  312. .text:00481220
  313. .text:00481220 loc_481220: ; CODE XREF: .text:00481A7Ap
  314. .text:00481220 ; .text:00481B0Ep
  315. .text:00481220 push ecx
  316. .text:00481221 mov edx, [esp+10h]
  317. .text:00481225 mov byte ptr [esp], 0
  318. .text:00481229 mov eax, [esp]
  319. .text:0048122C push eax
  320. .text:0048122D mov eax, [esp+14h]
  321. .text:00481231 push edx
  322. .text:00481232 mov edx, [esp+10h]
  323. .text:00481236 push ecx
  324. .text:00481237 mov ecx, [esp+18h]
  325. .text:0048123B push eax
  326. .text:0048123C push ecx
  327. .text:0048123D push edx
  328. .text:0048123E call loc_480DA0
  329. .text:00481243 add esp, 1Ch
  330. .text:00481246 retn 0Ch
  331. .text:00481246 ; ---------------------------------------------------------------------------
  332. .text:00481249 db 0CCh ; ¦
  333. .text:0048124A db 0CCh ; ¦
  334. .text:0048124B db 0CCh ; ¦
  335. .text:0048124C db 0CCh ; ¦
  336. .text:0048124D db 0CCh ; ¦
  337. .text:0048124E db 0CCh ; ¦
  338. .text:0048124F db 0CCh ; ¦
  339. .text:00481250 ; ---------------------------------------------------------------------------
  340. .text:00481250
  341. .text:00481250 loc_481250: ; CODE XREF: .text:00481B1Cp
  342. .text:00481250 push ecx
  343. .text:00481251 mov ecx, [esp+0Ch]
  344. .text:00481255 mov edx, [esp+0Ch]
  345. .text:00481259 mov byte ptr [esp], 0
  346. .text:0048125D mov eax, [esp]
  347. .text:00481260 push eax
  348. .text:00481261 mov eax, [esp+14h]
  349. .text:00481265 push ecx
  350. .text:00481266 mov ecx, [esp+14h]
  351. .text:0048126A push edx
  352. .text:0048126B mov edx, [esp+14h]
  353. .text:0048126F push eax
  354. .text:00481270 push ecx
  355. .text:00481271 push edx
  356. .text:00481272 call loc_481070
  357. .text:00481277 add esp, 1Ch
  358. .text:0048127A retn
  359. .text:0048127A ; ---------------------------------------------------------------------------
  360. .text:0048127B db 0CCh ; ¦
  361. .text:0048127C db 0CCh ; ¦
  362. .text:0048127D db 0CCh ; ¦
  363. .text:0048127E db 0CCh ; ¦
  364. .text:0048127F db 0CCh ; ¦
  365. .text:00481280 db 51h ; Q
  366. .text:00481281 db 56h ; V
  367. .text:00481282 db 57h ; W
  368. .text:00481283 db 8Bh ; Л
  369. .text:00481284 db 0F9h ; •
  370. .text:00481285 db 8Dh ; Н
  371. .text:00481286 db 77h ; w
  372. .text:00481287 db 4
  373. .text:00481288 db 0C7h ; ¦
  374. .text:00481289 db 7
  375. .text:0048128A db 90h ; Р
  376. .text:0048128B db 2Dh ; -
  377. .text:0048128C db 4Dh ; M
  378. .text:0048128D db 1
  379. .text:0048128E db 8Bh ; Л
  380. .text:0048128F db 46h ; F
  381. .text:00481290 db 4
  382. .text:00481291 db 85h ; Е
  383. .text:00481292 db 0C0h ; L
  384. .text:00481293 db 74h ; t
  385. .text:00481294 db 1Ch
  386. .text:00481295 db 8Bh ; Л
  387. .text:00481296 db 4Ch ; L
  388. .text:00481297 db 24h ; $
  389. .text:00481298 db 8
  390. .text:00481299 db 8Bh ; Л
  391. .text:0048129A db 56h ; V
  392. .text:0048129B db 8
  393. .text:0048129C db 51h ; Q
  394. .text:0048129D db 56h ; V
  395. .text:0048129E db 52h ; R
  396. .text:0048129F db 50h ; P
  397. .text:004812A0 db 0E8h ; ш
  398. .text:004812A1 db 9Bh ; Ы
  399. .text:004812A2 db 0F8h ; °
  400. .text:004812A3 db 0FFh
  401. .text:004812A4 db 0FFh
  402. .text:004812A5 db 8Bh ; Л
  403. .text:004812A6 db 46h ; F
  404. .text:004812A7 db 4
  405. .text:004812A8 db 50h ; P
  406. .text:004812A9 db 0E8h ; ш
  407. .text:004812AA db 0A2h ; в
  408. .text:004812AB db 2
  409. .text:004812AC db 0B4h ; +
  410. .text:004812AD db 0
  411. .text:004812AE db 83h ; Г
  412. .text:004812AF db 0C4h ; -
  413. .text:004812B0 db 14h
  414. .text:004812B1 db 0C7h ; ¦
  415. .text:004812B2 db 46h ; F
  416. .text:004812B3 db 4
  417. .text:004812B4 db 0
  418. .text:004812B5 db 0
  419. .text:004812B6 db 0
  420. .text:004812B7 db 0
  421. .text:004812B8 db 0C7h ; ¦
  422. .text:004812B9 db 46h ; F
  423. .text:004812BA db 8
  424. .text:004812BB db 0
  425. .text:004812BC db 0
  426. .text:004812BD db 0
  427. .text:004812BE db 0
  428. .text:004812BF db 0C7h ; ¦
  429. .text:004812C0 db 46h ; F
  430. .text:004812C1 db 0Ch
  431. .text:004812C2 db 0
  432. .text:004812C3 db 0
  433. .text:004812C4 db 0
  434. .text:004812C5 db 0
  435. .text:004812C6 db 0C7h ; ¦
  436. .text:004812C7 db 7
  437. .text:004812C8 db 90h ; Р
  438. .text:004812C9 db 2Ch ; ,
  439. .text:004812CA db 4Dh ; M
  440. .text:004812CB db 1
  441. .text:004812CC db 5Fh ; _
  442. .text:004812CD db 5Eh ; ^
  443. .text:004812CE db 59h ; Y
  444. .text:004812CF db 0C3h ; +
  445. .text:004812D0 db 0A1h ; б
  446. .text:004812D1 db 4Ch ; L
  447. .text:004812D2 db 14h
  448. .text:004812D3 db 81h ; Б
  449. .text:004812D4 db 1
  450. .text:004812D5 db 0C3h ; +
  451. .text:004812D6 db 0CCh ; ¦
  452. .text:004812D7 db 0CCh ; ¦
  453. .text:004812D8 db 0CCh ; ¦
  454. .text:004812D9 db 0CCh ; ¦
  455. .text:004812DA db 0CCh ; ¦
  456. .text:004812DB db 0CCh ; ¦
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement