aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openssl/asm/windows/crypto/md5/md5-x86_64.masm
blob: 515d86be90228b001a9c08a2f160fa6064017375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
OPTION	DOTNAME
.text$	SEGMENT ALIGN(256) 'CODE'
ALIGN	16

PUBLIC	md5_block_asm_data_order

md5_block_asm_data_order	PROC PUBLIC
	mov	QWORD PTR[8+rsp],rdi	;WIN64 prologue
	mov	QWORD PTR[16+rsp],rsi
	mov	rax,rsp
$L$SEH_begin_md5_block_asm_data_order::
	mov	rdi,rcx
	mov	rsi,rdx
	mov	rdx,r8



	push	rbp

	push	rbx

	push	r12

	push	r14

	push	r15

$L$prologue::




	mov	rbp,rdi
	shl	rdx,6
	lea	rdi,QWORD PTR[rdx*1+rsi]
	mov	eax,DWORD PTR[rbp]
	mov	ebx,DWORD PTR[4+rbp]
	mov	ecx,DWORD PTR[8+rbp]
	mov	edx,DWORD PTR[12+rbp]







	cmp	rsi,rdi
	je	$L$end


$L$loop::
	mov	r8d,eax
	mov	r9d,ebx
	mov	r14d,ecx
	mov	r15d,edx
	mov	r10d,DWORD PTR[rsi]
	mov	r11d,edx
	xor	r11d,ecx
	lea	eax,DWORD PTR[((-680876936))+r10*1+rax]
	and	r11d,ebx
	mov	r10d,DWORD PTR[4+rsi]
	xor	r11d,edx
	add	eax,r11d
	rol	eax,7
	mov	r11d,ecx
	add	eax,ebx
	xor	r11d,ebx
	lea	edx,DWORD PTR[((-389564586))+r10*1+rdx]
	and	r11d,eax
	mov	r10d,DWORD PTR[8+rsi]
	xor	r11d,ecx
	add	edx,r11d
	rol	edx,12
	mov	r11d,ebx
	add	edx,eax
	xor	r11d,eax
	lea	ecx,DWORD PTR[606105819+r10*1+rcx]
	and	r11d,edx
	mov	r10d,DWORD PTR[12+rsi]
	xor	r11d,ebx
	add	ecx,r11d
	rol	ecx,17
	mov	r11d,eax
	add	ecx,edx
	xor	r11d,edx
	lea	ebx,DWORD PTR[((-1044525330))+r10*1+rbx]
	and	r11d,ecx
	mov	r10d,DWORD PTR[16+rsi]
	xor	r11d,eax
	add	ebx,r11d
	rol	ebx,22
	mov	r11d,edx
	add	ebx,ecx
	xor	r11d,ecx
	lea	eax,DWORD PTR[((-176418897))+r10*1+rax]
	and	r11d,ebx
	mov	r10d,DWORD PTR[20+rsi]
	xor	r11d,edx
	add	eax,r11d
	rol	eax,7
	mov	r11d,ecx
	add	eax,ebx
	xor	r11d,ebx
	lea	edx,DWORD PTR[1200080426+r10*1+rdx]
	and	r11d,eax
	mov	r10d,DWORD PTR[24+rsi]
	xor	r11d,ecx
	add	edx,r11d
	rol	edx,12
	mov	r11d,ebx
	add	edx,eax
	xor	r11d,eax
	lea	ecx,DWORD PTR[((-1473231341))+r10*1+rcx]
	and	r11d,edx
	mov	r10d,DWORD PTR[28+rsi]
	xor	r11d,ebx
	add	ecx,r11d
	rol	ecx,17
	mov	r11d,eax
	add	ecx,edx
	xor	r11d,edx
	lea	ebx,DWORD PTR[((-45705983))+r10*1+rbx]
	and	r11d,ecx
	mov	r10d,DWORD PTR[32+rsi]
	xor	r11d,eax
	add	ebx,r11d
	rol	ebx,22
	mov	r11d,edx
	add	ebx,ecx
	xor	r11d,ecx
	lea	eax,DWORD PTR[1770035416+r10*1+rax]
	and	r11d,ebx
	mov	r10d,DWORD PTR[36+rsi]
	xor	r11d,edx
	add	eax,r11d
	rol	eax,7
	mov	r11d,ecx
	add	eax,ebx
	xor	r11d,ebx
	lea	edx,DWORD PTR[((-1958414417))+r10*1+rdx]
	and	r11d,eax
	mov	r10d,DWORD PTR[40+rsi]
	xor	r11d,ecx
	add	edx,r11d
	rol	edx,12
	mov	r11d,ebx
	add	edx,eax
	xor	r11d,eax
	lea	ecx,DWORD PTR[((-42063))+r10*1+rcx]
	and	r11d,edx
	mov	r10d,DWORD PTR[44+rsi]
	xor	r11d,ebx
	add	ecx,r11d
	rol	ecx,17
	mov	r11d,eax
	add	ecx,edx
	xor	r11d,edx
	lea	ebx,DWORD PTR[((-1990404162))+r10*1+rbx]
	and	r11d,ecx
	mov	r10d,DWORD PTR[48+rsi]
	xor	r11d,eax
	add	ebx,r11d
	rol	ebx,22
	mov	r11d,edx
	add	ebx,ecx
	xor	r11d,ecx
	lea	eax,DWORD PTR[1804603682+r10*1+rax]
	and	r11d,ebx
	mov	r10d,DWORD PTR[52+rsi]
	xor	r11d,edx
	add	eax,r11d
	rol	eax,7
	mov	r11d,ecx
	add	eax,ebx
	xor	r11d,ebx
	lea	edx,DWORD PTR[((-40341101))+r10*1+rdx]
	and	r11d,eax
	mov	r10d,DWORD PTR[56+rsi]
	xor	r11d,ecx
	add	edx,r11d
	rol	edx,12
	mov	r11d,ebx
	add	edx,eax
	xor	r11d,eax
	lea	ecx,DWORD PTR[((-1502002290))+r10*1+rcx]
	and	r11d,edx
	mov	r10d,DWORD PTR[60+rsi]
	xor	r11d,ebx
	add	ecx,r11d
	rol	ecx,17
	mov	r11d,eax
	add	ecx,edx
	xor	r11d,edx
	lea	ebx,DWORD PTR[1236535329+r10*1+rbx]
	and	r11d,ecx
	mov	r10d,DWORD PTR[4+rsi]
	xor	r11d,eax
	add	ebx,r11d
	rol	ebx,22
	mov	r11d,edx
	add	ebx,ecx
	mov	r11d,edx
	mov	r12d,edx
	not	r11d
	and	r12d,ebx
	lea	eax,DWORD PTR[((-165796510))+r10*1+rax]
	and	r11d,ecx
	mov	r10d,DWORD PTR[24+rsi]
	or	r12d,r11d
	mov	r11d,ecx
	add	eax,r12d
	mov	r12d,ecx
	rol	eax,5
	add	eax,ebx
	not	r11d
	and	r12d,eax
	lea	edx,DWORD PTR[((-1069501632))+r10*1+rdx]
	and	r11d,ebx
	mov	r10d,DWORD PTR[44+rsi]
	or	r12d,r11d
	mov	r11d,ebx
	add	edx,r12d
	mov	r12d,ebx
	rol	edx,9
	add	edx,eax
	not	r11d
	and	r12d,edx
	lea	ecx,DWORD PTR[643717713+r10*1+rcx]
	and	r11d,eax
	mov	r10d,DWORD PTR[rsi]
	or	r12d,r11d
	mov	r11d,eax
	add	ecx,r12d
	mov	r12d,eax
	rol	ecx,14
	add	ecx,edx
	not	r11d
	and	r12d,ecx
	lea	ebx,DWORD PTR[((-373897302))+r10*1+rbx]
	and	r11d,edx
	mov	r10d,DWORD PTR[20+rsi]
	or	r12d,r11d
	mov	r11d,edx
	add	ebx,r12d
	mov	r12d,edx
	rol	ebx,20
	add	ebx,ecx
	not	r11d
	and	r12d,ebx
	lea	eax,DWORD PTR[((-701558691))+r10*1+rax]
	and	r11d,ecx
	mov	r10d,DWORD PTR[40+rsi]
	or	r12d,r11d
	mov	r11d,ecx
	add	eax,r12d
	mov	r12d,ecx
	rol	eax,5
	add	eax,ebx
	not	r11d
	and	r12d,eax
	lea	edx,DWORD PTR[38016083+r10*1+rdx]
	and	r11d,ebx
	mov	r10d,DWORD PTR[60+rsi]
	or	r12d,r11d
	mov	r11d,ebx
	add	edx,r12d
	mov	r12d,ebx
	rol	edx,9
	add	edx,eax
	not	r11d
	and	r12d,edx
	lea	ecx,DWORD PTR[((-660478335))+r10*1+rcx]
	and	r11d,eax
	mov	r10d,DWORD PTR[16+rsi]
	or	r12d,r11d
	mov	r11d,eax
	add	ecx,r12d
	mov	r12d,eax
	rol	ecx,14
	add	ecx,edx
	not	r11d
	and	r12d,ecx
	lea	ebx,DWORD PTR[((-405537848))+r10*1+rbx]
	and	r11d,edx
	mov	r10d,DWORD PTR[36+rsi]
	or	r12d,r11d
	mov	r11d,edx
	add	ebx,r12d
	mov	r12d,edx
	rol	ebx,20
	add	ebx,ecx
	not	r11d
	and	r12d,ebx
	lea	eax,DWORD PTR[568446438+r10*1+rax]
	and	r11d,ecx
	mov	r10d,DWORD PTR[56+rsi]
	or	r12d,r11d
	mov	r11d,ecx
	add	eax,r12d
	mov	r12d,ecx
	rol	eax,5
	add	eax,ebx
	not	r11d
	and	r12d,eax
	lea	edx,DWORD PTR[((-1019803690))+r10*1+rdx]
	and	r11d,ebx
	mov	r10d,DWORD PTR[12+rsi]
	or	r12d,r11d
	mov	r11d,ebx
	add	edx,r12d
	mov	r12d,ebx
	rol	edx,9
	add	edx,eax
	not	r11d
	and	r12d,edx
	lea	ecx,DWORD PTR[((-187363961))+r10*1+rcx]
	and	r11d,eax
	mov	r10d,DWORD PTR[32+rsi]
	or	r12d,r11d
	mov	r11d,eax
	add	ecx,r12d
	mov	r12d,eax
	rol	ecx,14
	add	ecx,edx
	not	r11d
	and	r12d,ecx
	lea	ebx,DWORD PTR[1163531501+r10*1+rbx]
	and	r11d,edx
	mov	r10d,DWORD PTR[52+rsi]
	or	r12d,r11d
	mov	r11d,edx
	add	ebx,r12d
	mov	r12d,edx
	rol	ebx,20
	add	ebx,ecx
	not	r11d
	and	r12d,ebx
	lea	eax,DWORD PTR[((-1444681467))+r10*1+rax]
	and	r11d,ecx
	mov	r10d,DWORD PTR[8+rsi]
	or	r12d,r11d
	mov	r11d,ecx
	add	eax,r12d
	mov	r12d,ecx
	rol	eax,5
	add	eax,ebx
	not	r11d
	and	r12d,eax
	lea	edx,DWORD PTR[((-51403784))+r10*1+rdx]
	and	r11d,ebx
	mov	r10d,DWORD PTR[28+rsi]
	or	r12d,r11d
	mov	r11d,ebx
	add	edx,r12d
	mov	r12d,ebx
	rol	edx,9
	add	edx,eax
	not	r11d
	and	r12d,edx
	lea	ecx,DWORD PTR[1735328473+r10*1+rcx]
	and	r11d,eax
	mov	r10d,DWORD PTR[48+rsi]
	or	r12d,r11d
	mov	r11d,eax
	add	ecx,r12d
	mov	r12d,eax
	rol	ecx,14
	add	ecx,edx
	not	r11d
	and	r12d,ecx
	lea	ebx,DWORD PTR[((-1926607734))+r10*1+rbx]
	and	r11d,edx
	mov	r10d,DWORD PTR[20+rsi]
	or	r12d,r11d
	mov	r11d,edx
	add	ebx,r12d
	mov	r12d,edx
	rol	ebx,20
	add	ebx,ecx
	mov	r11d,ecx
	lea	eax,DWORD PTR[((-378558))+r10*1+rax]
	xor	r11d,edx
	mov	r10d,DWORD PTR[32+rsi]
	xor	r11d,ebx
	add	eax,r11d
	mov	r11d,ebx
	rol	eax,4
	add	eax,ebx
	lea	edx,DWORD PTR[((-2022574463))+r10*1+rdx]
	xor	r11d,ecx
	mov	r10d,DWORD PTR[44+rsi]
	xor	r11d,eax
	add	edx,r11d
	rol	edx,11
	mov	r11d,eax
	add	edx,eax
	lea	ecx,DWORD PTR[1839030562+r10*1+rcx]
	xor	r11d,ebx
	mov	r10d,DWORD PTR[56+rsi]
	xor	r11d,edx
	add	ecx,r11d
	mov	r11d,edx
	rol	ecx,16
	add	ecx,edx
	lea	ebx,DWORD PTR[((-35309556))+r10*1+rbx]
	xor	r11d,eax
	mov	r10d,DWORD PTR[4+rsi]
	xor	r11d,ecx
	add	ebx,r11d
	rol	ebx,23
	mov	r11d,ecx
	add	ebx,ecx
	lea	eax,DWORD PTR[((-1530992060))+r10*1+rax]
	xor	r11d,edx
	mov	r10d,DWORD PTR[16+rsi]
	xor	r11d,ebx
	add	eax,r11d
	mov	r11d,ebx
	rol	eax,4
	add	eax,ebx
	lea	edx,DWORD PTR[1272893353+r10*1+rdx]
	xor	r11d,ecx
	mov	r10d,DWORD PTR[28+rsi]
	xor	r11d,eax
	add	edx,r11d
	rol	edx,11
	mov	r11d,eax
	add	edx,eax
	lea	ecx,DWORD PTR[((-155497632))+r10*1+rcx]
	xor	r11d,ebx
	mov	r10d,DWORD PTR[40+rsi]
	xor	r11d,edx
	add	ecx,r11d
	mov	r11d,edx
	rol	ecx,16
	add	ecx,edx
	lea	ebx,DWORD PTR[((-1094730640))+r10*1+rbx]
	xor	r11d,eax
	mov	r10d,DWORD PTR[52+rsi]
	xor	r11d,ecx
	add	ebx,r11d
	rol	ebx,23
	mov	r11d,ecx
	add	ebx,ecx
	lea	eax,DWORD PTR[681279174+r10*1+rax]
	xor	r11d,edx
	mov	r10d,DWORD PTR[rsi]
	xor	r11d,ebx
	add	eax,r11d
	mov	r11d,ebx
	rol	eax,4
	add	eax,ebx
	lea	edx,DWORD PTR[((-358537222))+r10*1+rdx]
	xor	r11d,ecx
	mov	r10d,DWORD PTR[12+rsi]
	xor	r11d,eax
	add	edx,r11d
	rol	edx,11
	mov	r11d,eax
	add	edx,eax
	lea	ecx,DWORD PTR[((-722521979))+r10*1+rcx]
	xor	r11d,ebx
	mov	r10d,DWORD PTR[24+rsi]
	xor	r11d,edx
	add	ecx,r11d
	mov	r11d,edx
	rol	ecx,16
	add	ecx,edx
	lea	ebx,DWORD PTR[76029189+r10*1+rbx]
	xor	r11d,eax
	mov	r10d,DWORD PTR[36+rsi]
	xor	r11d,ecx
	add	ebx,r11d
	rol	ebx,23
	mov	r11d,ecx
	add	ebx,ecx
	lea	eax,DWORD PTR[((-640364487))+r10*1+rax]
	xor	r11d,edx
	mov	r10d,DWORD PTR[48+rsi]
	xor	r11d,ebx
	add	eax,r11d
	mov	r11d,ebx
	rol	eax,4
	add	eax,ebx
	lea	edx,DWORD PTR[((-421815835))+r10*1+rdx]
	xor	r11d,ecx
	mov	r10d,DWORD PTR[60+rsi]
	xor	r11d,eax
	add	edx,r11d
	rol	edx,11
	mov	r11d,eax
	add	edx,eax
	lea	ecx,DWORD PTR[530742520+r10*1+rcx]
	xor	r11d,ebx
	mov	r10d,DWORD PTR[8+rsi]
	xor	r11d,edx
	add	ecx,r11d
	mov	r11d,edx
	rol	ecx,16
	add	ecx,edx
	lea	ebx,DWORD PTR[((-995338651))+r10*1+rbx]
	xor	r11d,eax
	mov	r10d,DWORD PTR[rsi]
	xor	r11d,ecx
	add	ebx,r11d
	rol	ebx,23
	mov	r11d,ecx
	add	ebx,ecx
	mov	r11d,0ffffffffh
	xor	r11d,edx
	lea	eax,DWORD PTR[((-198630844))+r10*1+rax]
	or	r11d,ebx
	mov	r10d,DWORD PTR[28+rsi]
	xor	r11d,ecx
	add	eax,r11d
	mov	r11d,0ffffffffh
	rol	eax,6
	xor	r11d,ecx
	add	eax,ebx
	lea	edx,DWORD PTR[1126891415+r10*1+rdx]
	or	r11d,eax
	mov	r10d,DWORD PTR[56+rsi]
	xor	r11d,ebx
	add	edx,r11d
	mov	r11d,0ffffffffh
	rol	edx,10
	xor	r11d,ebx
	add	edx,eax
	lea	ecx,DWORD PTR[((-1416354905))+r10*1+rcx]
	or	r11d,edx
	mov	r10d,DWORD PTR[20+rsi]
	xor	r11d,eax
	add	ecx,r11d
	mov	r11d,0ffffffffh
	rol	ecx,15
	xor	r11d,eax
	add	ecx,edx
	lea	ebx,DWORD PTR[((-57434055))+r10*1+rbx]
	or	r11d,ecx
	mov	r10d,DWORD PTR[48+rsi]
	xor	r11d,edx
	add	ebx,r11d
	mov	r11d,0ffffffffh
	rol	ebx,21
	xor	r11d,edx
	add	ebx,ecx
	lea	eax,DWORD PTR[1700485571+r10*1+rax]
	or	r11d,ebx
	mov	r10d,DWORD PTR[12+rsi]
	xor	r11d,ecx
	add	eax,r11d
	mov	r11d,0ffffffffh
	rol	eax,6
	xor	r11d,ecx
	add	eax,ebx
	lea	edx,DWORD PTR[((-1894986606))+r10*1+rdx]
	or	r11d,eax
	mov	r10d,DWORD PTR[40+rsi]
	xor	r11d,ebx
	add	edx,r11d
	mov	r11d,0ffffffffh
	rol	edx,10
	xor	r11d,ebx
	add	edx,eax
	lea	ecx,DWORD PTR[((-1051523))+r10*1+rcx]
	or	r11d,edx
	mov	r10d,DWORD PTR[4+rsi]
	xor	r11d,eax
	add	ecx,r11d
	mov	r11d,0ffffffffh
	rol	ecx,15
	xor	r11d,eax
	add	ecx,edx
	lea	ebx,DWORD PTR[((-2054922799))+r10*1+rbx]
	or	r11d,ecx
	mov	r10d,DWORD PTR[32+rsi]
	xor	r11d,edx
	add	ebx,r11d
	mov	r11d,0ffffffffh
	rol	ebx,21
	xor	r11d,edx
	add	ebx,ecx
	lea	eax,DWORD PTR[1873313359+r10*1+rax]
	or	r11d,ebx
	mov	r10d,DWORD PTR[60+rsi]
	xor	r11d,ecx
	add	eax,r11d
	mov	r11d,0ffffffffh
	rol	eax,6
	xor	r11d,ecx
	add	eax,ebx
	lea	edx,DWORD PTR[((-30611744))+r10*1+rdx]
	or	r11d,eax
	mov	r10d,DWORD PTR[24+rsi]
	xor	r11d,ebx
	add	edx,r11d
	mov	r11d,0ffffffffh
	rol	edx,10
	xor	r11d,ebx
	add	edx,eax
	lea	ecx,DWORD PTR[((-1560198380))+r10*1+rcx]
	or	r11d,edx
	mov	r10d,DWORD PTR[52+rsi]
	xor	r11d,eax
	add	ecx,r11d
	mov	r11d,0ffffffffh
	rol	ecx,15
	xor	r11d,eax
	add	ecx,edx
	lea	ebx,DWORD PTR[1309151649+r10*1+rbx]
	or	r11d,ecx
	mov	r10d,DWORD PTR[16+rsi]
	xor	r11d,edx
	add	ebx,r11d
	mov	r11d,0ffffffffh
	rol	ebx,21
	xor	r11d,edx
	add	ebx,ecx
	lea	eax,DWORD PTR[((-145523070))+r10*1+rax]
	or	r11d,ebx
	mov	r10d,DWORD PTR[44+rsi]
	xor	r11d,ecx
	add	eax,r11d
	mov	r11d,0ffffffffh
	rol	eax,6
	xor	r11d,ecx
	add	eax,ebx
	lea	edx,DWORD PTR[((-1120210379))+r10*1+rdx]
	or	r11d,eax
	mov	r10d,DWORD PTR[8+rsi]
	xor	r11d,ebx
	add	edx,r11d
	mov	r11d,0ffffffffh
	rol	edx,10
	xor	r11d,ebx
	add	edx,eax
	lea	ecx,DWORD PTR[718787259+r10*1+rcx]
	or	r11d,edx
	mov	r10d,DWORD PTR[36+rsi]
	xor	r11d,eax
	add	ecx,r11d
	mov	r11d,0ffffffffh
	rol	ecx,15
	xor	r11d,eax
	add	ecx,edx
	lea	ebx,DWORD PTR[((-343485551))+r10*1+rbx]
	or	r11d,ecx
	mov	r10d,DWORD PTR[rsi]
	xor	r11d,edx
	add	ebx,r11d
	mov	r11d,0ffffffffh
	rol	ebx,21
	xor	r11d,edx
	add	ebx,ecx

	add	eax,r8d
	add	ebx,r9d
	add	ecx,r14d
	add	edx,r15d


	add	rsi,64
	cmp	rsi,rdi
	jb	$L$loop


$L$end::
	mov	DWORD PTR[rbp],eax
	mov	DWORD PTR[4+rbp],ebx
	mov	DWORD PTR[8+rbp],ecx
	mov	DWORD PTR[12+rbp],edx

	mov	r15,QWORD PTR[rsp]

	mov	r14,QWORD PTR[8+rsp]

	mov	r12,QWORD PTR[16+rsp]

	mov	rbx,QWORD PTR[24+rsp]

	mov	rbp,QWORD PTR[32+rsp]

	add	rsp,40

$L$epilogue::
	mov	rdi,QWORD PTR[8+rsp]	;WIN64 epilogue
	mov	rsi,QWORD PTR[16+rsp]
	DB	0F3h,0C3h		;repret

$L$SEH_end_md5_block_asm_data_order::
md5_block_asm_data_order	ENDP
EXTERN	__imp_RtlVirtualUnwind:NEAR

ALIGN	16
se_handler	PROC PRIVATE
	push	rsi
	push	rdi
	push	rbx
	push	rbp
	push	r12
	push	r13
	push	r14
	push	r15
	pushfq
	sub	rsp,64

	mov	rax,QWORD PTR[120+r8]
	mov	rbx,QWORD PTR[248+r8]

	lea	r10,QWORD PTR[$L$prologue]
	cmp	rbx,r10
	jb	$L$in_prologue

	mov	rax,QWORD PTR[152+r8]

	lea	r10,QWORD PTR[$L$epilogue]
	cmp	rbx,r10
	jae	$L$in_prologue

	lea	rax,QWORD PTR[40+rax]

	mov	rbp,QWORD PTR[((-8))+rax]
	mov	rbx,QWORD PTR[((-16))+rax]
	mov	r12,QWORD PTR[((-24))+rax]
	mov	r14,QWORD PTR[((-32))+rax]
	mov	r15,QWORD PTR[((-40))+rax]
	mov	QWORD PTR[144+r8],rbx
	mov	QWORD PTR[160+r8],rbp
	mov	QWORD PTR[216+r8],r12
	mov	QWORD PTR[232+r8],r14
	mov	QWORD PTR[240+r8],r15

$L$in_prologue::
	mov	rdi,QWORD PTR[8+rax]
	mov	rsi,QWORD PTR[16+rax]
	mov	QWORD PTR[152+r8],rax
	mov	QWORD PTR[168+r8],rsi
	mov	QWORD PTR[176+r8],rdi

	mov	rdi,QWORD PTR[40+r9]
	mov	rsi,r8
	mov	ecx,154
	DD	0a548f3fch

	mov	rsi,r9
	xor	rcx,rcx
	mov	rdx,QWORD PTR[8+rsi]
	mov	r8,QWORD PTR[rsi]
	mov	r9,QWORD PTR[16+rsi]
	mov	r10,QWORD PTR[40+rsi]
	lea	r11,QWORD PTR[56+rsi]
	lea	r12,QWORD PTR[24+rsi]
	mov	QWORD PTR[32+rsp],r10
	mov	QWORD PTR[40+rsp],r11
	mov	QWORD PTR[48+rsp],r12
	mov	QWORD PTR[56+rsp],rcx
	call	QWORD PTR[__imp_RtlVirtualUnwind]

	mov	eax,1
	add	rsp,64
	popfq
	pop	r15
	pop	r14
	pop	r13
	pop	r12
	pop	rbp
	pop	rbx
	pop	rdi
	pop	rsi
	DB	0F3h,0C3h		;repret
se_handler	ENDP

.text$	ENDS
.pdata	SEGMENT READONLY ALIGN(4)
ALIGN	4
	DD	imagerel $L$SEH_begin_md5_block_asm_data_order
	DD	imagerel $L$SEH_end_md5_block_asm_data_order
	DD	imagerel $L$SEH_info_md5_block_asm_data_order

.pdata	ENDS
.xdata	SEGMENT READONLY ALIGN(8)
ALIGN	8
$L$SEH_info_md5_block_asm_data_order::
DB	9,0,0,0
	DD	imagerel se_handler

.xdata	ENDS
END