Advertisement
Guest User

Untitled

a guest
Dec 31st, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 000000039556424
  2. .text:0000000039556424                                                 EncryptPacket   proc near               ; CODE XREF: sub_39558EDC+4j
  3. .text:0000000039556424                                                                                         ; DATA XREF: .rdata:stru_395943F8o ...
  4. .text:0000000039556424
  5. .text:0000000039556424                                                 var_20040       = qword ptr -20040h
  6. .text:0000000039556424                                                 var_20038       = qword ptr -20038h
  7. .text:0000000039556424                                                 var_20030       = qword ptr -20030h
  8. .text:0000000039556424                                                 var_20028       = qword ptr -20028h
  9. .text:0000000039556424                                                 var_20020       = qword ptr -20020h
  10. .text:0000000039556424                                                 var_20018       = qword ptr -20018h
  11. .text:0000000039556424                                                 var_20008       = qword ptr -20008h
  12. .text:0000000039556424                                                 var_20000       = byte ptr -20000h
  13. .text:0000000039556424                                                 var_1FFFF       = byte ptr -1FFFFh
  14. .text:0000000039556424                                                 var_10032       = byte ptr -10032h
  15. .text:0000000039556424                                                 var_10030       = byte ptr -10030h
  16. .text:0000000039556424                                                 Dst             = byte ptr -1002Fh
  17. .text:0000000039556424                                                 var_s10         = word ptr  10h
  18. .text:0000000039556424                                                 var_s28         = qword ptr  28h
  19. .text:0000000039556424                                                 arg_8           = qword ptr  48h
  20. .text:0000000039556424                                                 arg_18          = qword ptr  58h
  21. .text:0000000039556424
  22. .text:0000000039556424 4C 89 4C 24 20                                                  mov     [rsp-38h+arg_18], r9
  23. .text:0000000039556429 55                                                              push    rbp
  24. .text:000000003955642A 56                                                              push    rsi
  25. .text:000000003955642B 57                                                              push    rdi
  26. .text:000000003955642C 41 54                                                           push    r12
  27. .text:000000003955642E 41 55                                                           push    r13
  28. .text:0000000039556430 41 56                                                           push    r14
  29. .text:0000000039556432 41 57                                                           push    r15
  30. .text:0000000039556434 48 8D AC 24 A0 00 FE FF                                         lea     rbp, [rsp-1FF60h]
  31. .text:000000003955643C B8 60 00 02 00                                                  mov     eax, 20060h
  32. .text:0000000039556441 E8 FA 45 01 00                                                  call    __alloca_probe
  33. .text:0000000039556446 48 2B E0                                                        sub     rsp, rax
  34. .text:0000000039556449 48 C7 44 24 58 FE FF FF FF                                      mov     [rsp+20060h+var_20008], 0FFFFFFFFFFFFFFFEh
  35. .text:0000000039556452 48 89 9C 24 A8 00 02 00                                         mov     [rsp+20060h+arg_8], rbx
  36. .text:000000003955645A 49 8B F9                                                        mov     rdi, r9
  37. .text:000000003955645D 49 8B D8                                                        mov     rbx, r8
  38. .text:0000000039556460 40 8A F2                                                        mov     sil, dl
  39. .text:0000000039556463 4C 8B E9                                                        mov     r13, rcx
  40. .text:0000000039556466 48 8B 81 F0 01 00 00                                            mov     rax, [rcx+1F0h]
  41. .text:000000003955646D 48 39 81 E8 01 00 00                                            cmp     [rcx+1E8h], rax
  42. .text:0000000039556474 0F 84 F0 04 00 00                                               jz      loc_3955696A
  43. .text:000000003955647A 48 8B 81 30 02 00 00                                            mov     rax, [rcx+230h]
  44. .text:0000000039556481 48 39 81 28 02 00 00                                            cmp     [rcx+228h], rax
  45. .text:0000000039556488 0F 85 DC 04 00 00                                               jnz     loc_3955696A
  46. .text:000000003955648E 80 FA 01                                                        cmp     dl, 1
  47. .text:0000000039556491 0F 85 D3 04 00 00                                               jnz     loc_3955696A
  48. .text:0000000039556497 48 8D 44 24 60                                                  lea     rax, [rsp+20060h+var_20000]
  49. .text:000000003955649C 48 89 44 24 38                                                  mov     [rsp+20060h+var_20028], rax
  50. .text:00000000395564A1 48 8D 44 24 60                                                  lea     rax, [rsp+20060h+var_20000]
  51. .text:00000000395564A6 48 89 44 24 40                                                  mov     [rsp+20060h+var_20020], rax
  52. .text:00000000395564AB 48 8D 85 5E FF 00 00                                            lea     rax, [rbp+1FF90h+var_10032]
  53. .text:00000000395564B2 48 89 44 24 48                                                  mov     [rsp+20060h+var_20018], rax
  54. .text:00000000395564B7 48 8D 05 C2 46 02 00                                            lea     rax, off_3957AB80
  55. .text:00000000395564BE 48 89 44 24 30                                                  mov     [rsp+20060h+var_20030], rax
  56. .text:00000000395564C3
  57. .text:00000000395564C3                                                 loc_395564C3:                           ; DATA XREF: .rdata:stru_395943F8o
  58. .text:00000000395564C3 4C 8D 81 7C 02 00 00                                            lea     r8, [rcx+27Ch]
  59. .text:00000000395564CA 45 33 C9                                                        xor     r9d, r9d
  60. .text:00000000395564CD 48 8D 15 A8 B5 02 00                                            lea     rdx, aSeq       ; "seq"
  61. .text:00000000395564D4 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  62. .text:00000000395564D9 FF 15 31 47 02 00                                               call    cs:off_3957AC10
  63. .text:00000000395564DF 45 33 C9                                                        xor     r9d, r9d
  64. .text:00000000395564E2 4C 8D 05 1C CA 04 00                                            lea     r8, unk_395A2F05
  65. .text:00000000395564E9 48 8D 15 68 BF 02 00                                            lea     rdx, aHeader    ; "header"
  66. .text:00000000395564F0 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  67. .text:00000000395564F5 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  68. .text:00000000395564FA FF 90 90 00 00 00                                               call    qword ptr [rax+90h]
  69. .text:0000000039556500 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  70. .text:0000000039556505 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  71. .text:000000003955650A FF 50 58                                                        call    qword ptr [rax+58h]
  72. .text:000000003955650D 45 33 E4                                                        xor     r12d, r12d
  73. .text:0000000039556510 84 C0                                                           test    al, al
  74. .text:0000000039556512 74 0C                                                           jz      short loc_39556520
  75. .text:0000000039556514 44 8B 7C 24 40                                                  mov     r15d, dword ptr [rsp+20060h+var_20020]
  76. .text:0000000039556519 44 2B 7C 24 38                                                  sub     r15d, dword ptr [rsp+20060h+var_20028]
  77. .text:000000003955651E EB 03                                                           jmp     short loc_39556523
  78. .text:0000000039556520                                                 ; ---------------------------------------------------------------------------
  79. .text:0000000039556520
  80. .text:0000000039556520                                                 loc_39556520:                           ; CODE XREF: EncryptPacket+EEj
  81. .text:0000000039556520 45 8B FC                                                        mov     r15d, r12d
  82. .text:0000000039556523
  83. .text:0000000039556523                                                 loc_39556523:                           ; CODE XREF: EncryptPacket+FAj
  84. .text:0000000039556523 48 8B 03                                                        mov     rax, [rbx]
  85. .text:0000000039556526 48 8D 54 24 30                                                  lea     rdx, [rsp+20060h+var_20030]
  86. .text:000000003955652B 48 8B CB                                                        mov     rcx, rbx
  87. .text:000000003955652E FF 50 08                                                        call    qword ptr [rax+8]
  88. .text:0000000039556531 4C 8B 1B                                                        mov     r11, [rbx]
  89. .text:0000000039556534 48 8D 54 24 30                                                  lea     rdx, [rsp+20060h+var_20030]
  90. .text:0000000039556539 48 8B CB                                                        mov     rcx, rbx
  91. .text:000000003955653C 41 FF 53 10                                                     call    qword ptr [r11+10h]
  92. .text:0000000039556540 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  93. .text:0000000039556545 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  94. .text:000000003955654A FF 50 58                                                        call    qword ptr [rax+58h]
  95. .text:000000003955654D 84 C0                                                           test    al, al
  96. .text:000000003955654F 75 07                                                           jnz     short loc_39556558
  97. .text:0000000039556551
  98. .text:0000000039556551                                                 loc_39556551:                           ; CODE XREF: EncryptPacket:loc_39556A23j
  99. .text:0000000039556551                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  100. .text:0000000039556551 32 C0                                                           xor     al, al
  101. .text:0000000039556553 E9 7B 05 00 00                                                  jmp     loc_39556AD3
  102. .text:0000000039556558                                                 ; ---------------------------------------------------------------------------
  103. .text:0000000039556558
  104. .text:0000000039556558                                                 loc_39556558:                           ; CODE XREF: EncryptPacket+12Bj
  105. .text:0000000039556558                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  106. .text:0000000039556558 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  107. .text:000000003955655D 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  108. .text:0000000039556562 FF 50 58                                                        call    qword ptr [rax+58h]
  109. .text:0000000039556565 84 C0                                                           test    al, al
  110. .text:0000000039556567 74 0C                                                           jz      short loc_39556575
  111. .text:0000000039556569 4C 8B 74 24 40                                                  mov     r14, [rsp+20060h+var_20020]
  112. .text:000000003955656E 4C 2B 74 24 38                                                  sub     r14, [rsp+20060h+var_20028]
  113. .text:0000000039556573 EB 03                                                           jmp     short loc_39556578
  114. .text:0000000039556575                                                 ; ---------------------------------------------------------------------------
  115. .text:0000000039556575
  116. .text:0000000039556575                                                 loc_39556575:                           ; CODE XREF: EncryptPacket+143j
  117. .text:0000000039556575 4D 8B F4                                                        mov     r14, r12
  118. .text:0000000039556578
  119. .text:0000000039556578                                                 loc_39556578:                           ; CODE XREF: EncryptPacket+14Fj
  120. .text:0000000039556578 45 2B F7                                                        sub     r14d, r15d
  121. .text:000000003955657B 41 8B 85 B0 00 00 00                                            mov     eax, [r13+0B0h]
  122. .text:0000000039556582 05 45 A2 2F 00                                                  add     eax, 2FA245h
  123. .text:0000000039556587 41 89 85 B0 00 00 00                                            mov     [r13+0B0h], eax
  124. .text:000000003955658E C1 E8 0E                                                        shr     eax, 0Eh
  125. .text:0000000039556591 24 73                                                           and     al, 73h
  126. .text:0000000039556593 0F B6 F0                                                        movzx   esi, al
  127. .text:0000000039556596 B8 FE 00 00 00                                                  mov     eax, 0FEh
  128. .text:000000003955659B 0F 44 F0                                                        cmovz   esi, eax
  129. .text:000000003955659E 49 8B 45 08                                                     mov     rax, [r13+8]
  130. .text:00000000395565A2 49 8D 4D 08                                                     lea     rcx, [r13+8]
  131. .text:00000000395565A6 FF 50 28                                                        call    qword ptr [rax+28h]
  132. .text:00000000395565A9 8B F8                                                           mov     edi, eax
  133. .text:00000000395565AB 49 8B 55 08                                                     mov     rdx, [r13+8]
  134. .text:00000000395565AF 49 8D 4D 08                                                     lea     rcx, [r13+8]
  135. .text:00000000395565B3 FF 52 28                                                        call    qword ptr [rdx+28h]
  136. .text:00000000395565B6 0F AF F8                                                        imul    edi, eax
  137. .text:00000000395565B9 41 0F AF FE                                                     imul    edi, r14d
  138. .text:00000000395565BD 40 0F B6 CE                                                     movzx   ecx, sil
  139. .text:00000000395565C1 81 C1 04 24 A0 75                                               add     ecx, 75A02404h
  140. .text:00000000395565C7 33 F9                                                           xor     edi, ecx
  141. .text:00000000395565C9 81 F7 4B C5 2D E7                                               xor     edi, 0E72DC54Bh
  142. .text:00000000395565CF 41 89 BD AC 00 00 00                                            mov     [r13+0ACh], edi
  143. .text:00000000395565D6 45 8A 8D 7D 02 00 00                                            mov     r9b, [r13+27Dh]
  144. .text:00000000395565DD 45 84 C9                                                        test    r9b, r9b
  145. .text:00000000395565E0 75 0A                                                           jnz     short loc_395565EC
  146. .text:00000000395565E2 BF 09 00 00 00                                                  mov     edi, 9
  147. .text:00000000395565E7 E9 AB 00 00 00                                                  jmp     loc_39556697
  148. .text:00000000395565EC                                                 ; ---------------------------------------------------------------------------
  149. .text:00000000395565EC
  150. .text:00000000395565EC                                                 loc_395565EC:                           ; CODE XREF: EncryptPacket+1BCj
  151. .text:00000000395565EC 45 0F B6 C1                                                     movzx   r8d, r9b
  152. .text:00000000395565F0 B8 56 55 55 55                                                  mov     eax, 55555556h
  153. .text:00000000395565F5 41 F7 E8                                                        imul    r8d
  154. .text:00000000395565F8 8B C2                                                           mov     eax, edx
  155. .text:00000000395565FA C1 E8 1F                                                        shr     eax, 1Fh
  156. .text:00000000395565FD 03 D0                                                           add     edx, eax
  157. .text:00000000395565FF 8D 0C 52                                                        lea     ecx, [rdx+rdx*2]
  158. .text:0000000039556602 44 3B C1                                                        cmp     r8d, ecx
  159. .text:0000000039556605 75 0A                                                           jnz     short loc_39556611
  160. .text:0000000039556607 BF 05 00 00 00                                                  mov     edi, 5
  161. .text:000000003955660C E9 86 00 00 00                                                  jmp     loc_39556697
  162. .text:0000000039556611                                                 ; ---------------------------------------------------------------------------
  163. .text:0000000039556611
  164. .text:0000000039556611                                                 loc_39556611:                           ; CODE XREF: EncryptPacket+1E1j
  165. .text:0000000039556611 B8 67 66 66 66                                                  mov     eax, 66666667h
  166. .text:0000000039556616 41 F7 E8                                                        imul    r8d
  167. .text:0000000039556619 D1 FA                                                           sar     edx, 1
  168. .text:000000003955661B 8B C2                                                           mov     eax, edx
  169. .text:000000003955661D C1 E8 1F                                                        shr     eax, 1Fh
  170. .text:0000000039556620 03 D0                                                           add     edx, eax
  171. .text:0000000039556622 8D 0C 92                                                        lea     ecx, [rdx+rdx*4]
  172. .text:0000000039556625 44 3B C1                                                        cmp     r8d, ecx
  173. .text:0000000039556628 75 07                                                           jnz     short loc_39556631
  174. .text:000000003955662A BF 02 00 00 00                                                  mov     edi, 2
  175. .text:000000003955662F EB 66                                                           jmp     short loc_39556697
  176. .text:0000000039556631                                                 ; ---------------------------------------------------------------------------
  177. .text:0000000039556631
  178. .text:0000000039556631                                                 loc_39556631:                           ; CODE XREF: EncryptPacket+204j
  179. .text:0000000039556631 B8 93 24 49 92                                                  mov     eax, 92492493h
  180. .text:0000000039556636 41 F7 E8                                                        imul    r8d
  181. .text:0000000039556639 41 03 D0                                                        add     edx, r8d
  182. .text:000000003955663C C1 FA 02                                                        sar     edx, 2
  183. .text:000000003955663F 8B C2                                                           mov     eax, edx
  184. .text:0000000039556641 C1 E8 1F                                                        shr     eax, 1Fh
  185. .text:0000000039556644 03 D0                                                           add     edx, eax
  186. .text:0000000039556646 6B D2 07                                                        imul    edx, 7
  187. .text:0000000039556649 44 3B C2                                                        cmp     r8d, edx
  188. .text:000000003955664C 75 07                                                           jnz     short loc_39556655
  189. .text:000000003955664E BF 0B 00 00 00                                                  mov     edi, 0Bh
  190. .text:0000000039556653 EB 42                                                           jmp     short loc_39556697
  191. .text:0000000039556655                                                 ; ---------------------------------------------------------------------------
  192. .text:0000000039556655
  193. .text:0000000039556655                                                 loc_39556655:                           ; CODE XREF: EncryptPacket+228j
  194. .text:0000000039556655 B8 39 8E E3 38                                                  mov     eax, 38E38E39h
  195. .text:000000003955665A 41 F7 E8                                                        imul    r8d
  196. .text:000000003955665D D1 FA                                                           sar     edx, 1
  197. .text:000000003955665F 8B C2                                                           mov     eax, edx
  198. .text:0000000039556661 C1 E8 1F                                                        shr     eax, 1Fh
  199. .text:0000000039556664 03 D0                                                           add     edx, eax
  200. .text:0000000039556666 8D 0C D2                                                        lea     ecx, [rdx+rdx*8]
  201. .text:0000000039556669 44 3B C1                                                        cmp     r8d, ecx
  202. .text:000000003955666C 75 07                                                           jnz     short loc_39556675
  203. .text:000000003955666E BF 03 00 00 00                                                  mov     edi, 3
  204. .text:0000000039556673 EB 22                                                           jmp     short loc_39556697
  205. .text:0000000039556675                                                 ; ---------------------------------------------------------------------------
  206. .text:0000000039556675
  207. .text:0000000039556675                                                 loc_39556675:                           ; CODE XREF: EncryptPacket+248j
  208. .text:0000000039556675 B8 E9 A2 8B 2E                                                  mov     eax, 2E8BA2E9h
  209. .text:000000003955667A 41 F7 E8                                                        imul    r8d
  210. .text:000000003955667D D1 FA                                                           sar     edx, 1
  211. .text:000000003955667F 8B C2                                                           mov     eax, edx
  212. .text:0000000039556681 C1 E8 1F                                                        shr     eax, 1Fh
  213. .text:0000000039556684 03 D0                                                           add     edx, eax
  214. .text:0000000039556686 6B D2 0B                                                        imul    edx, 0Bh
  215. .text:0000000039556689 44 3B C2                                                        cmp     r8d, edx
  216. .text:000000003955668C BF 04 00 00 00                                                  mov     edi, 4
  217. .text:0000000039556691 8D 47 03                                                        lea     eax, [rdi+3]
  218. .text:0000000039556694 0F 44 F8                                                        cmovz   edi, eax
  219. .text:0000000039556697
  220. .text:0000000039556697                                                 loc_39556697:                           ; CODE XREF: EncryptPacket+1C3j
  221. .text:0000000039556697                                                                                         ; EncryptPacket+1E8j ...
  222. .text:0000000039556697 49 63 C7                                                        movsxd  rax, r15d
  223. .text:000000003955669A 48 8D 5C 04 60                                                  lea     rbx, [rsp+rax+20060h+var_20000]
  224. .text:000000003955669F 48 8D 73 01                                                     lea     rsi, [rbx+1]
  225. .text:00000000395566A3 44 88 0E                                                        mov     [rsi], r9b
  226. .text:00000000395566A6 41 8B 85 B0 00 00 00                                            mov     eax, [r13+0B0h]
  227. .text:00000000395566AD 05 45 A2 2F 00                                                  add     eax, 2FA245h
  228. .text:00000000395566B2 41 89 85 B0 00 00 00                                            mov     [r13+0B0h], eax
  229. .text:00000000395566B9 C1 E8 0E                                                        shr     eax, 0Eh
  230. .text:00000000395566BC 24 73                                                           and     al, 73h
  231. .text:00000000395566BE 0F B6 C0                                                        movzx   eax, al
  232. .text:00000000395566C1 B9 FE 00 00 00                                                  mov     ecx, 0FEh
  233. .text:00000000395566C6 0F 44 C1                                                        cmovz   eax, ecx
  234. .text:00000000395566C9 FE C0                                                           inc     al
  235. .text:00000000395566CB 41 00 85 7D 02 00 00                                            add     [r13+27Dh], al
  236. .text:00000000395566D2 41 8D 56 FF                                                     lea     edx, [r14-1]
  237. .text:00000000395566D6 48 8B CE                                                        mov     rcx, rsi
  238. .text:00000000395566D9 E8 22 A0 FF FF                                                  call    sub_39550700
  239. .text:00000000395566DE 88 03                                                           mov     [rbx], al
  240. .text:00000000395566E0 0F B7 03                                                        movzx   eax, word ptr [rbx]
  241. .text:00000000395566E3 44 0F B7 C8                                                     movzx   r9d, ax
  242. .text:00000000395566E7 66 41 C1 E9 08                                                  shr     r9w, 8
  243. .text:00000000395566EC 44 8A C0                                                        mov     r8b, al
  244. .text:00000000395566EF 41 C0 E8 05                                                     shr     r8b, 5
  245. .text:00000000395566F3 8A D0                                                           mov     dl, al
  246. .text:00000000395566F5 F6 D2                                                           not     dl
  247. .text:00000000395566F7 80 E2 01                                                        and     dl, 1
  248. .text:00000000395566FA 02 D2                                                           add     dl, dl
  249. .text:00000000395566FC 41 8A C9                                                        mov     cl, r9b
  250. .text:00000000395566FF 80 E1 01                                                        and     cl, 1
  251. .text:0000000039556702 0A D1                                                           or      dl, cl
  252. .text:0000000039556704 C0 E2 02                                                        shl     dl, 2
  253. .text:0000000039556707 41 8A C8                                                        mov     cl, r8b
  254. .text:000000003955670A F6 D1                                                           not     cl
  255. .text:000000003955670C 80 E1 01                                                        and     cl, 1
  256. .text:000000003955670F 0A D1                                                           or      dl, cl
  257. .text:0000000039556711 41 8A C9                                                        mov     cl, r9b
  258. .text:0000000039556714 80 E1 02                                                        and     cl, 2
  259. .text:0000000039556717 0A D1                                                           or      dl, cl
  260. .text:0000000039556719 02 D2                                                           add     dl, dl
  261. .text:000000003955671B 41 8A C9                                                        mov     cl, r9b
  262. .text:000000003955671E 80 E1 C0                                                        and     cl, 0C0h
  263. .text:0000000039556721 0A D1                                                           or      dl, cl
  264. .text:0000000039556723 02 D2                                                           add     dl, dl
  265. .text:0000000039556725 41 8A C9                                                        mov     cl, r9b
  266. .text:0000000039556728 D0 E9                                                           shr     cl, 1
  267. .text:000000003955672A F6 D1                                                           not     cl
  268. .text:000000003955672C 80 E1 40                                                        and     cl, 40h
  269. .text:000000003955672F 0A D1                                                           or      dl, cl
  270. .text:0000000039556731 8A C8                                                           mov     cl, al
  271. .text:0000000039556733 D0 E9                                                           shr     cl, 1
  272. .text:0000000039556735 F6 D1                                                           not     cl
  273. .text:0000000039556737 80 E1 01                                                        and     cl, 1
  274. .text:000000003955673A 0A D1                                                           or      dl, cl
  275. .text:000000003955673C 41 80 E0 02                                                     and     r8b, 2
  276. .text:0000000039556740 41 0A D0                                                        or      dl, r8b
  277. .text:0000000039556743 88 95 A1 FF 01 00                                               mov     byte ptr [rbp+1FF90h+var_s10+1], dl
  278. .text:0000000039556749 41 8A D1                                                        mov     dl, r9b
  279. .text:000000003955674C C0 EA 03                                                        shr     dl, 3
  280. .text:000000003955674F F6 D2                                                           not     dl
  281. .text:0000000039556751 80 E2 01                                                        and     dl, 1
  282. .text:0000000039556754 8A C8                                                           mov     cl, al
  283. .text:0000000039556756 C0 E9 04                                                        shr     cl, 4
  284. .text:0000000039556759 F6 D1                                                           not     cl
  285. .text:000000003955675B C0 E1 03                                                        shl     cl, 3
  286. .text:000000003955675E 0A D1                                                           or      dl, cl
  287. .text:0000000039556760 C0 E2 02                                                        shl     dl, 2
  288. .text:0000000039556763 41 8A C9                                                        mov     cl, r9b
  289. .text:0000000039556766 C0 E9 05                                                        shr     cl, 5
  290. .text:0000000039556769 F6 D1                                                           not     cl
  291. .text:000000003955676B 80 E1 01                                                        and     cl, 1
  292. .text:000000003955676E 0A D1                                                           or      dl, cl
  293. .text:0000000039556770 02 D2                                                           add     dl, dl
  294. .text:0000000039556772 41 8A C9                                                        mov     cl, r9b
  295. .text:0000000039556775 80 E1 10                                                        and     cl, 10h
  296. .text:0000000039556778 0A D1                                                           or      dl, cl
  297. .text:000000003955677A 02 D2                                                           add     dl, dl
  298. .text:000000003955677C 41 D0 E9                                                        shr     r9b, 1
  299. .text:000000003955677F 41 80 E1 02                                                     and     r9b, 2
  300. .text:0000000039556783 8A C8                                                           mov     cl, al
  301. .text:0000000039556785 80 E1 04                                                        and     cl, 4
  302. .text:0000000039556788 44 0A C9                                                        or      r9b, cl
  303. .text:000000003955678B 41 D0 E9                                                        shr     r9b, 1
  304. .text:000000003955678E 41 0A D1                                                        or      dl, r9b
  305. .text:0000000039556791 8A C8                                                           mov     cl, al
  306. .text:0000000039556793 D0 E9                                                           shr     cl, 1
  307. .text:0000000039556795 F6 D1                                                           not     cl
  308. .text:0000000039556797 80 E1 40                                                        and     cl, 40h
  309. .text:000000003955679A 0A D1                                                           or      dl, cl
  310. .text:000000003955679C 24 08                                                           and     al, 8
  311. .text:000000003955679E 0A D0                                                           or      dl, al
  312. .text:00000000395567A0 88 95 A0 FF 01 00                                               mov     byte ptr [rbp+1FF90h+var_s10], dl
  313. .text:00000000395567A6 0F B7 85 A0 FF 01 00                                            movzx   eax, [rbp+1FF90h+var_s10]
  314. .text:00000000395567AD 66 89 03                                                        mov     [rbx], ax
  315. .text:00000000395567B0 44 88 A5 60 FF 00 00                                            mov     [rbp+1FF90h+var_10030], r12b
  316. .text:00000000395567B7 33 D2                                                           xor     edx, edx        ; Val
  317. .text:00000000395567B9 41 B8 FD FF 00 00                                               mov     r8d, 0FFFDh     ; Size
  318. .text:00000000395567BF 48 8D 8D 61 FF 00 00                                            lea     rcx, [rbp+1FF90h+Dst] ; Dst
  319. .text:00000000395567C6 E8 5D 3F 01 00                                                  call    memset
  320. .text:00000000395567CB 49 8B 95 E8 01 00 00                                            mov     rdx, [r13+1E8h]
  321. .text:00000000395567D2 49 39 95 F0 01 00 00                                            cmp     [r13+1F0h], rdx
  322. .text:00000000395567D9 75 0E                                                           jnz     short loc_395567E9
  323. .text:00000000395567DB 48 8D 0D 26 B6 02 00                                            lea     rcx, aInvalidVectorT ; "invalid vector<T> subscript"
  324. .text:00000000395567E2 FF 15 58 C9 01 00                                               call    cs:?_Xout_of_range@std@@YAXPEBD@Z ; std::_Xout_of_range(char const *)
  325. .text:00000000395567E8 CC                                                              int     3               ; Trap to Debugger
  326. .text:00000000395567E9                                                 ; ---------------------------------------------------------------------------
  327. .text:00000000395567E9
  328. .text:00000000395567E9                                                 loc_395567E9:                           ; CODE XREF: EncryptPacket+3B5j
  329. .text:00000000395567E9 41 B8 80 00 00 00                                               mov     r8d, 80h
  330. .text:00000000395567EF 49 8D 8D B8 00 00 00                                            lea     rcx, [r13+0B8h]
  331. .text:00000000395567F6 E8 35 E2 FF FF                                                  call    sub_39554A30
  332. .text:00000000395567FB 4D 8D 8D D8 01 00 00                                            lea     r9, [r13+1D8h]
  333. .text:0000000039556802 48 8D 85 60 FF 00 00                                            lea     rax, [rbp+1FF90h+var_10030]
  334. .text:0000000039556809 48 89 44 24 28                                                  mov     [rsp+20060h+var_20038], rax
  335. .text:000000003955680E 48 8B C3                                                        mov     rax, rbx
  336. .text:0000000039556811 48 89 5C 24 20                                                  mov     [rsp+20060h+var_20040], rbx
  337. .text:0000000039556816 45 8B C6                                                        mov     r8d, r14d
  338. .text:0000000039556819 BA 01 00 00 00                                                  mov     edx, 1
  339. .text:000000003955681E 49 8D 8D B8 00 00 00                                            lea     rcx, [r13+0B8h]
  340. .text:0000000039556825 E8 AA EF FF FF                                                  call    sub_395557D4
  341. .text:000000003955682A 41 8D 46 0F                                                     lea     eax, [r14+0Fh]
  342. .text:000000003955682E 99                                                              cdq
  343. .text:000000003955682F 83 E2 0F                                                        and     edx, 0Fh
  344. .text:0000000039556832 44 8D 04 02                                                     lea     r8d, [rdx+rax]
  345. .text:0000000039556836 41 C1 F8 04                                                     sar     r8d, 4
  346. .text:000000003955683A 41 C1 E0 04                                                     shl     r8d, 4
  347. .text:000000003955683E 41 8A C8                                                        mov     cl, r8b
  348. .text:0000000039556841 41 2A CE                                                        sub     cl, r14b
  349. .text:0000000039556844 80 F1 3F                                                        xor     cl, 3Fh
  350. .text:0000000039556847 48 8B C3                                                        mov     rax, rbx
  351. .text:000000003955684A 88 0B                                                           mov     [rbx], cl
  352. .text:000000003955684C 41 8B C0                                                        mov     eax, r8d
  353. .text:000000003955684F 99                                                              cdq
  354. .text:0000000039556850 F7 FF                                                           idiv    edi
  355. .text:0000000039556852 44 8B C8                                                        mov     r9d, eax
  356. .text:0000000039556855 44 0F AF CF                                                     imul    r9d, edi
  357. .text:0000000039556859 41 8D 41 FF                                                     lea     eax, [r9-1]
  358. .text:000000003955685D 48 63 D0                                                        movsxd  rdx, eax
  359. .text:0000000039556860 BF FE 00 00 00                                                  mov     edi, 0FEh
  360. .text:0000000039556865 85 C0                                                           test    eax, eax
  361. .text:0000000039556867 78 40                                                           js      short loc_395568A9
  362. .text:0000000039556869 41 8B 9D AC 00 00 00                                            mov     ebx, [r13+0ACh]
  363. .text:0000000039556870 4C 8D 14 32                                                     lea     r10, [rdx+rsi]
  364. .text:0000000039556874 4C 8D 9D 60 FF 00 00                                            lea     r11, [rbp+1FF90h+var_10030]
  365. .text:000000003955687B 4C 2B DE                                                        sub     r11, rsi
  366. .text:000000003955687E
  367. .text:000000003955687E                                                 loc_3955687E:                           ; CODE XREF: EncryptPacket+47Cj
  368. .text:000000003955687E 8D 83 D5 CB 2F 00                                               lea     eax, [rbx+2FCBD5h]
  369. .text:0000000039556884 8B D8                                                           mov     ebx, eax
  370. .text:0000000039556886 C1 E8 10                                                        shr     eax, 10h
  371. .text:0000000039556889 24 F7                                                           and     al, 0F7h
  372. .text:000000003955688B 0F B6 C8                                                        movzx   ecx, al
  373. .text:000000003955688E 0F 44 CF                                                        cmovz   ecx, edi
  374. .text:0000000039556891 43 8A 04 13                                                     mov     al, [r11+r10]
  375. .text:0000000039556895 32 C1                                                           xor     al, cl
  376. .text:0000000039556897 41 88 02                                                        mov     [r10], al
  377. .text:000000003955689A 49 FF CA                                                        dec     r10
  378. .text:000000003955689D 48 FF CA                                                        dec     rdx
  379. .text:00000000395568A0 79 DC                                                           jns     short loc_3955687E
  380. .text:00000000395568A2 41 89 9D AC 00 00 00                                            mov     [r13+0ACh], ebx
  381. .text:00000000395568A9
  382. .text:00000000395568A9                                                 loc_395568A9:                           ; CODE XREF: EncryptPacket+443j
  383. .text:00000000395568A9 49 63 C1                                                        movsxd  rax, r9d
  384. .text:00000000395568AC 45 3B C8                                                        cmp     r9d, r8d
  385. .text:00000000395568AF 7D 4A                                                           jge     short loc_395568FB
  386. .text:00000000395568B1 45 8B 95 AC 00 00 00                                            mov     r10d, [r13+0ACh]
  387. .text:00000000395568B8 48 8D 14 30                                                     lea     rdx, [rax+rsi]
  388. .text:00000000395568BC 4C 8D 9D 60 FF 00 00                                            lea     r11, [rbp+1FF90h+var_10030]
  389. .text:00000000395568C3 4C 2B DE                                                        sub     r11, rsi
  390. .text:00000000395568C6 41 8B C0                                                        mov     eax, r8d
  391. .text:00000000395568C9 41 2B C1                                                        sub     eax, r9d
  392. .text:00000000395568CC 44 8B C8                                                        mov     r9d, eax
  393. .text:00000000395568CF
  394. .text:00000000395568CF                                                 loc_395568CF:                           ; CODE XREF: EncryptPacket+4CEj
  395. .text:00000000395568CF 41 8D 82 D5 CB 2F 00                                            lea     eax, [r10+2FCBD5h]
  396. .text:00000000395568D6 44 8B D0                                                        mov     r10d, eax
  397. .text:00000000395568D9 C1 E8 10                                                        shr     eax, 10h
  398. .text:00000000395568DC 24 F7                                                           and     al, 0F7h
  399. .text:00000000395568DE 0F B6 C8                                                        movzx   ecx, al
  400. .text:00000000395568E1 0F 44 CF                                                        cmovz   ecx, edi
  401. .text:00000000395568E4 42 8A 04 1A                                                     mov     al, [rdx+r11]
  402. .text:00000000395568E8 32 C1                                                           xor     al, cl
  403. .text:00000000395568EA 88 02                                                           mov     [rdx], al
  404. .text:00000000395568EC 48 FF C2                                                        inc     rdx
  405. .text:00000000395568EF 49 FF C9                                                        dec     r9
  406. .text:00000000395568F2 75 DB                                                           jnz     short loc_395568CF
  407. .text:00000000395568F4 45 89 95 AC 00 00 00                                            mov     [r13+0ACh], r10d
  408. .text:00000000395568FB
  409. .text:00000000395568FB                                                 loc_395568FB:                           ; CODE XREF: EncryptPacket+48Bj
  410. .text:00000000395568FB 43 8D 5C 38 01                                                  lea     ebx, [r8+r15+1]
  411. .text:0000000039556900 48 8B 85 B8 FF 01 00                                            mov     rax, [rbp+1FF90h+var_s28]
  412. .text:0000000039556907 48 85 C0                                                        test    rax, rax
  413. .text:000000003955690A 74 02                                                           jz      short loc_3955690E
  414. .text:000000003955690C 89 18                                                           mov     [rax], ebx
  415. .text:000000003955690E
  416. .text:000000003955690E                                                 loc_3955690E:                           ; CODE XREF: EncryptPacket+4E6j
  417. .text:000000003955690E 48 8B 0D 93 6E 04 00                                            mov     rcx, cs:qword_3959D7A8
  418. .text:0000000039556915 48 8B 01                                                        mov     rax, [rcx]
  419. .text:0000000039556918 FF 90 88 00 00 00                                               call    qword ptr [rax+88h]
  420. .text:000000003955691E 84 C0                                                           test    al, al
  421. .text:0000000039556920 74 2F                                                           jz      short loc_39556951
  422. .text:0000000039556922 49 8D 4D 28                                                     lea     rcx, [r13+28h]
  423. .text:0000000039556926 4C 8D 05 F3 6E 04 00                                            lea     r8, qword_3959D820
  424. .text:000000003955692D 48 8D 95 A0 FF 01 00                                            lea     rdx, [rbp+1FF90h+var_s10]
  425. .text:0000000039556934 E8 C3 EF FA FF                                                  call    sub_395058FC
  426. .text:0000000039556939 49 8B 4D 30                                                     mov     rcx, [r13+30h]
  427. .text:000000003955693D 48 8B 01                                                        mov     rax, [rcx]
  428. .text:0000000039556940 4C 63 C3                                                        movsxd  r8, ebx
  429. .text:0000000039556943 48 8D 54 24 60                                                  lea     rdx, [rsp+20060h+var_20000]
  430. .text:0000000039556948 FF 50 20                                                        call    qword ptr [rax+20h]
  431. .text:000000003955694B 90                                                              nop
  432. .text:000000003955694C
  433. .text:000000003955694C                                                 loc_3955694C:                           ; DATA XREF: .rdata:stru_395943F8o
  434. .text:000000003955694C E9 82 01 00 00                                                  jmp     loc_39556AD3
  435. .text:0000000039556951                                                 ; ---------------------------------------------------------------------------
  436. .text:0000000039556951
  437. .text:0000000039556951                                                 loc_39556951:                           ; CODE XREF: EncryptPacket+4FCj
  438. .text:0000000039556951                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  439. .text:0000000039556951 49 8B 4D 30                                                     mov     rcx, [r13+30h]
  440. .text:0000000039556955 4C 8B 09                                                        mov     r9, [rcx]
  441. .text:0000000039556958 4C 63 C3                                                        movsxd  r8, ebx
  442. .text:000000003955695B 48 8D 54 24 60                                                  lea     rdx, [rsp+20060h+var_20000]
  443. .text:0000000039556960 41 FF 51 28                                                     call    qword ptr [r9+28h]
  444. .text:0000000039556964 90                                                              nop
  445. .text:0000000039556965
  446. .text:0000000039556965                                                 loc_39556965:                           ; DATA XREF: .rdata:stru_395943F8o
  447. .text:0000000039556965 E9 67 01 00 00                                                  jmp     loc_39556AD1
  448. .text:000000003955696A                                                 ; ---------------------------------------------------------------------------
  449. .text:000000003955696A
  450. .text:000000003955696A                                                 loc_3955696A:                           ; CODE XREF: EncryptPacket+50j
  451. .text:000000003955696A                                                                                         ; EncryptPacket+64j ...
  452. .text:000000003955696A 45 33 E4                                                        xor     r12d, r12d
  453. .text:000000003955696D 44 88 64 24 60                                                  mov     [rsp+20060h+var_20000], r12b
  454. .text:0000000039556972 33 D2                                                           xor     edx, edx        ; Val
  455. .text:0000000039556974 41 B8 FD FF 00 00                                               mov     r8d, 0FFFDh     ; Size
  456. .text:000000003955697A 48 8D 4C 24 61                                                  lea     rcx, [rsp+20060h+var_1FFFF] ; Dst
  457. .text:000000003955697F E8 A4 3D 01 00                                                  call    memset
  458. .text:0000000039556984 4C 8D 5C 24 60                                                  lea     r11, [rsp+20060h+var_20000]
  459. .text:0000000039556989 4C 89 5C 24 38                                                  mov     [rsp+20060h+var_20028], r11
  460. .text:000000003955698E 48 8D 44 24 60                                                  lea     rax, [rsp+20060h+var_20000]
  461. .text:0000000039556993 48 89 44 24 40                                                  mov     [rsp+20060h+var_20020], rax
  462. .text:0000000039556998 48 8D 85 5E FF 00 00                                            lea     rax, [rbp+1FF90h+var_10032]
  463. .text:000000003955699F 48 89 44 24 48                                                  mov     [rsp+20060h+var_20018], rax
  464. .text:00000000395569A4 48 8D 05 D5 41 02 00                                            lea     rax, off_3957AB80
  465. .text:00000000395569AB 48 89 44 24 30                                                  mov     [rsp+20060h+var_20030], rax
  466. .text:00000000395569B0
  467. .text:00000000395569B0                                                 loc_395569B0:                           ; DATA XREF: .rdata:stru_395943F8o
  468. .text:00000000395569B0 4D 8D 85 7C 02 00 00                                            lea     r8, [r13+27Ch]
  469. .text:00000000395569B7 45 33 C9                                                        xor     r9d, r9d
  470. .text:00000000395569BA 48 8D 15 BB B0 02 00                                            lea     rdx, aSeq       ; "seq"
  471. .text:00000000395569C1 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  472. .text:00000000395569C6 FF 15 44 42 02 00                                               call    cs:off_3957AC10
  473. .text:00000000395569CC 44 0F B6 C6                                                     movzx   r8d, sil
  474. .text:00000000395569D0 48 8D 05 29 C5 04 00                                            lea     rax, byte_395A2F00
  475. .text:00000000395569D7 4C 03 C0                                                        add     r8, rax
  476. .text:00000000395569DA 45 33 C9                                                        xor     r9d, r9d
  477. .text:00000000395569DD 48 8D 15 74 BA 02 00                                            lea     rdx, aHeader    ; "header"
  478. .text:00000000395569E4 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  479. .text:00000000395569E9 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  480. .text:00000000395569EE FF 90 90 00 00 00                                               call    qword ptr [rax+90h]
  481. .text:00000000395569F4 4C 8B 1B                                                        mov     r11, [rbx]
  482. .text:00000000395569F7 48 8D 54 24 30                                                  lea     rdx, [rsp+20060h+var_20030]
  483. .text:00000000395569FC 48 8B CB                                                        mov     rcx, rbx
  484. .text:00000000395569FF 41 FF 53 08                                                     call    qword ptr [r11+8]
  485. .text:0000000039556A03 4C 8B 1B                                                        mov     r11, [rbx]
  486. .text:0000000039556A06 48 8D 54 24 30                                                  lea     rdx, [rsp+20060h+var_20030]
  487. .text:0000000039556A0B 48 8B CB                                                        mov     rcx, rbx
  488. .text:0000000039556A0E 41 FF 53 10                                                     call    qword ptr [r11+10h]
  489. .text:0000000039556A12 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  490. .text:0000000039556A17 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  491. .text:0000000039556A1C FF 50 58                                                        call    qword ptr [rax+58h]
  492. .text:0000000039556A1F 84 C0                                                           test    al, al
  493. .text:0000000039556A21 75 05                                                           jnz     short loc_39556A28
  494. .text:0000000039556A23
  495. .text:0000000039556A23                                                 loc_39556A23:                           ; DATA XREF: .rdata:stru_395943F8o
  496. .text:0000000039556A23 E9 29 FB FF FF                                                  jmp     loc_39556551
  497. .text:0000000039556A28                                                 ; ---------------------------------------------------------------------------
  498. .text:0000000039556A28
  499. .text:0000000039556A28                                                 loc_39556A28:                           ; CODE XREF: EncryptPacket+5FDj
  500. .text:0000000039556A28                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  501. .text:0000000039556A28 48 85 FF                                                        test    rdi, rdi
  502. .text:0000000039556A2B 74 22                                                           jz      short loc_39556A4F
  503. .text:0000000039556A2D 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  504. .text:0000000039556A32 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  505. .text:0000000039556A37 FF 50 58                                                        call    qword ptr [rax+58h]
  506. .text:0000000039556A3A 84 C0                                                           test    al, al
  507. .text:0000000039556A3C 74 0C                                                           jz      short loc_39556A4A
  508. .text:0000000039556A3E 48 8B 44 24 40                                                  mov     rax, [rsp+20060h+var_20020]
  509. .text:0000000039556A43 48 2B 44 24 38                                                  sub     rax, [rsp+20060h+var_20028]
  510. .text:0000000039556A48 EB 03                                                           jmp     short loc_39556A4D
  511. .text:0000000039556A4A                                                 ; ---------------------------------------------------------------------------
  512. .text:0000000039556A4A
  513. .text:0000000039556A4A                                                 loc_39556A4A:                           ; CODE XREF: EncryptPacket+618j
  514. .text:0000000039556A4A 49 8B C4                                                        mov     rax, r12
  515. .text:0000000039556A4D
  516. .text:0000000039556A4D                                                 loc_39556A4D:                           ; CODE XREF: EncryptPacket+624j
  517. .text:0000000039556A4D 89 07                                                           mov     [rdi], eax
  518. .text:0000000039556A4F
  519. .text:0000000039556A4F                                                 loc_39556A4F:                           ; CODE XREF: EncryptPacket+607j
  520. .text:0000000039556A4F 48 8B 0D 52 6D 04 00                                            mov     rcx, cs:qword_3959D7A8
  521. .text:0000000039556A56 48 8B 01                                                        mov     rax, [rcx]
  522. .text:0000000039556A59 FF 90 88 00 00 00                                               call    qword ptr [rax+88h]
  523. .text:0000000039556A5F 48 8D 4C 24 30                                                  lea     rcx, [rsp+20060h+var_20030]
  524. .text:0000000039556A64 84 C0                                                           test    al, al
  525. .text:0000000039556A66 48 8B 44 24 30                                                  mov     rax, [rsp+20060h+var_20030]
  526. .text:0000000039556A6B 74 3D                                                           jz      short loc_39556AAA
  527. .text:0000000039556A6D FF 50 58                                                        call    qword ptr [rax+58h]
  528. .text:0000000039556A70 84 C0                                                           test    al, al
  529. .text:0000000039556A72 74 0A                                                           jz      short loc_39556A7E
  530. .text:0000000039556A74 4C 8B 64 24 40                                                  mov     r12, [rsp+20060h+var_20020]
  531. .text:0000000039556A79 4C 2B 64 24 38                                                  sub     r12, [rsp+20060h+var_20028]
  532. .text:0000000039556A7E
  533. .text:0000000039556A7E                                                 loc_39556A7E:                           ; CODE XREF: EncryptPacket+64Ej
  534. .text:0000000039556A7E 49 8D 4D 28                                                     lea     rcx, [r13+28h]
  535. .text:0000000039556A82 4C 8D 05 97 6D 04 00                                            lea     r8, qword_3959D820
  536. .text:0000000039556A89 48 8D 95 A0 FF 01 00                                            lea     rdx, [rbp+1FF90h+var_s10]
  537. .text:0000000039556A90 E8 67 EE FA FF                                                  call    sub_395058FC
  538. .text:0000000039556A95 49 8B 4D 30                                                     mov     rcx, [r13+30h]
  539. .text:0000000039556A99 48 8B 01                                                        mov     rax, [rcx]
  540. .text:0000000039556A9C 4D 8B C4                                                        mov     r8, r12
  541. .text:0000000039556A9F 48 8D 54 24 60                                                  lea     rdx, [rsp+20060h+var_20000]
  542. .text:0000000039556AA4 FF 50 20                                                        call    qword ptr [rax+20h]
  543. .text:0000000039556AA7 90                                                              nop
  544. .text:0000000039556AA8
  545. .text:0000000039556AA8                                                 loc_39556AA8:                           ; DATA XREF: .rdata:stru_395943F8o
  546. .text:0000000039556AA8 EB 29                                                           jmp     short loc_39556AD3
  547. .text:0000000039556AAA                                                 ; ---------------------------------------------------------------------------
  548. .text:0000000039556AAA
  549. .text:0000000039556AAA                                                 loc_39556AAA:                           ; CODE XREF: EncryptPacket+647j
  550. .text:0000000039556AAA                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  551. .text:0000000039556AAA 49 8B 5D 30                                                     mov     rbx, [r13+30h]
  552. .text:0000000039556AAE FF 50 58                                                        call    qword ptr [rax+58h]
  553. .text:0000000039556AB1 84 C0                                                           test    al, al
  554. .text:0000000039556AB3 74 0A                                                           jz      short loc_39556ABF
  555. .text:0000000039556AB5 4C 8B 64 24 40                                                  mov     r12, [rsp+20060h+var_20020]
  556. .text:0000000039556ABA 4C 2B 64 24 38                                                  sub     r12, [rsp+20060h+var_20028]
  557. .text:0000000039556ABF
  558. .text:0000000039556ABF                                                 loc_39556ABF:                           ; CODE XREF: EncryptPacket+68Fj
  559. .text:0000000039556ABF 48 8B 03                                                        mov     rax, [rbx]
  560. .text:0000000039556AC2 4D 8B C4                                                        mov     r8, r12
  561. .text:0000000039556AC5 48 8D 54 24 60                                                  lea     rdx, [rsp+20060h+var_20000]
  562. .text:0000000039556ACA 48 8B CB                                                        mov     rcx, rbx
  563. .text:0000000039556ACD FF 50 28                                                        call    qword ptr [rax+28h]
  564. .text:0000000039556AD0 90                                                              nop
  565. .text:0000000039556AD1
  566. .text:0000000039556AD1                                                 loc_39556AD1:                           ; CODE XREF: EncryptPacket:loc_39556965j
  567. .text:0000000039556AD1                                                                                         ; DATA XREF: .rdata:stru_395943F8o
  568. .text:0000000039556AD1 B0 01                                                           mov     al, 1
  569. .text:0000000039556AD3
  570. .text:0000000039556AD3                                                 loc_39556AD3:                           ; CODE XREF: EncryptPacket+12Fj
  571. .text:0000000039556AD3                                                                                         ; EncryptPacket:loc_3955694Cj ...
  572. .text:0000000039556AD3 48 8B 9C 24 A8 00 02 00                                         mov     rbx, [rsp+20060h+arg_8]
  573. .text:0000000039556ADB 48 81 C4 60 00 02 00                                            add     rsp, 20060h
  574. .text:0000000039556AE2 41 5F                                                           pop     r15
  575. .text:0000000039556AE4 41 5E                                                           pop     r14
  576. .text:0000000039556AE6 41 5D                                                           pop     r13
  577. .text:0000000039556AE8 41 5C                                                           pop     r12
  578. .text:0000000039556AEA 5F                                                              pop     rdi
  579. .text:0000000039556AEB 5E                                                              pop     rsi
  580. .text:0000000039556AEC 5D                                                              pop     rbp
  581. .text:0000000039556AED C3                                                              retn
  582. .text:0000000039556AED                                                 EncryptPacket   endp
  583. .text:0000000039556AED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement