Guest User

Untitled

a guest
Dec 9th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  _Unit124::sub_00687198
  2.  00687198    push       ebp
  3.  00687199    mov        ebp,esp
  4.  0068719B    add        esp,0FFFFFF94
  5.  0068719E    push       ebx
  6.  0068719F    push       esi
  7.  006871A0    push       edi
  8.  006871A1    xor        ebx,ebx
  9.  006871A3    mov        dword ptr [ebp-6C],ebx
  10.  006871A6    mov        dword ptr [ebp-68],ebx
  11.  006871A9    mov        dword ptr [ebp-14],ebx
  12.  006871AC    mov        esi,ecx
  13.  006871AE    mov        dword ptr [ebp-8],edx
  14.  006871B1    mov        dword ptr [ebp-4],eax
  15.  006871B4    xor        eax,eax
  16.  006871B6    push       ebp
  17.  006871B7    push       6874B1
  18.  006871BC    push       dword ptr fs:[eax]
  19.  006871BF    mov        dword ptr fs:[eax],esp
  20.  006871C2    mov        eax,esi
  21.  006871C4    call       @LStrClr
  22.  006871C9    mov        eax,dword ptr [ebp-8]
  23.  006871CC    call       @LStrLen
  24.  006871D1    and        eax,80000007
  25. >006871D6    jns        006871DD
  26.  006871D8    dec        eax
  27.  006871D9    or         eax,0FFFFFFF8
  28.  006871DC    inc        eax
  29.  006871DD    test       eax,eax
  30. >006871DF    jne        0068748E
  31.  006871E5    cmp        dword ptr [ebp-8],0
  32. >006871E9    je         0068748E
  33.  006871EF    xor        eax,eax
  34.  006871F1    mov        dword ptr [ebp-0C],eax
  35.  006871F4    xor        ecx,ecx
  36.  006871F6    mov        dl,1
  37.  006871F8    mov        eax,[0066E474]; TDCP_blowfish
  38.  006871FD    call       TDCP_blockcipher.Create; TDCP_blowfish.Create
  39.  00687202    mov        dword ptr [ebp-10],eax
  40.  00687205    xor        eax,eax
  41.  00687207    push       ebp
  42.  00687208    push       687468
  43.  0068720D    push       dword ptr fs:[eax]
  44.  00687210    mov        dword ptr fs:[eax],esp
  45.  00687213    lea        ecx,[ebp-68]
  46.  00687216    mov        dl,1
  47.  00687218    mov        eax,1A
  48.  0068721D    call       006511EC
  49.  00687222    lea        eax,[ebp-68]
  50.  00687225    mov        edx,6874C8; '\\Mra\\Update\\ver.txt'
  51.  0068722A    call       @LStrCat
  52.  0068722F    mov        ecx,dword ptr [ebp-68]
  53.  00687232    mov        dl,1
  54.  00687234    mov        eax,[0064CC54]; TDrvFileStream
  55.  00687239    call       TDrvFileStream.Create; TDrvFileStream.Create
  56.  0068723E    mov        dword ptr [ebp-0C],eax
  57.  00687241    lea        edx,[ebp-64]
  58.  00687244    mov        ecx,38
  59.  00687249    mov        eax,dword ptr [ebp-0C]
  60.  0068724C    mov        ebx,dword ptr [eax]
  61.  0068724E    call       dword ptr [ebx+0C]; TDrvFileStream.Read
  62.  00687251    lea        eax,[ebp-14]
  63.  00687254    call       @LStrClr
  64.  00687259    mov        ebx,38
  65.  0068725E    lea        edi,[ebp-64]
  66.  00687261    lea        eax,[ebp-6C]
  67.  00687264    mov        dl,byte ptr [edi]
  68.  00687266    call       @LStrFromChar
  69.  0068726B    mov        edx,dword ptr [ebp-6C]
  70.  0068726E    lea        eax,[ebp-14]
  71.  00687271    call       @LStrCat
  72.  00687276    inc        edi
  73.  00687277    dec        ebx
  74. <00687278    jne        00687261
  75.  0068727A    push       0
  76.  0068727C    mov        eax,dword ptr [ebp-14]
  77.  0068727F    call       @LStrLen
  78.  00687284    shl        eax,3
  79.  00687287    push       eax
  80.  00687288    lea        eax,[ebp-14]
  81.  0068728B    call       00504E7C
  82.  00687290    mov        edx,eax
  83.  00687292    mov        eax,dword ptr [ebp-10]
  84.  00687295    pop        ecx
  85.  00687296    mov        ebx,dword ptr [eax]
  86.  00687298    call       dword ptr [ebx+40]; TDCP_blowfish.sub_0066B9D0
  87.  0068729B    xor        eax,eax
  88.  0068729D    push       ebp
  89.  0068729E    push       687447
  90.  006872A3    push       dword ptr fs:[eax]
  91.  006872A6    mov        dword ptr fs:[eax],esp
  92.  006872A9    mov        eax,esi
  93.  006872AB    mov        edx,dword ptr [ebp-8]
  94.  006872AE    call       @LStrAsg
  95.  006872B3    mov        eax,dword ptr [ebp-8]
  96.  006872B6    call       @LStrLen
  97.  006872BB    test       eax,eax
  98. >006872BD    jns        006872C2
  99.  006872BF    add        eax,7
  100.  006872C2    sar        eax,3
  101.  006872C5    test       eax,eax
  102. >006872C7    jle        00687365
  103.  006872CD    mov        dword ptr [ebp-2C],eax
  104.  006872D0    mov        ebx,1
  105.  006872D5    mov        eax,ebx
  106.  006872D7    shl        eax,3
  107.  006872DA    mov        edx,dword ptr [ebp-8]
  108.  006872DD    lea        eax,[edx+eax-8]
  109.  006872E1    mov        edx,dword ptr [eax]
  110.  006872E3    mov        dword ptr [ebp-20],edx
  111.  006872E6    mov        edx,dword ptr [eax+4]
  112.  006872E9    mov        dword ptr [ebp-1C],edx
  113.  006872EC    lea        eax,[ebp-20]
  114.  006872EF    add        eax,4
  115.  006872F2    mov        eax,dword ptr [eax]
  116.  006872F4    call       00651B14
  117.  006872F9    lea        edx,[ebp-20]
  118.  006872FC    add        edx,4
  119.  006872FF    mov        dword ptr [edx],eax
  120.  00687301    lea        eax,[ebp-20]
  121.  00687304    mov        eax,dword ptr [eax]
  122.  00687306    call       00651B14
  123.  0068730B    lea        edx,[ebp-20]
  124.  0068730E    mov        dword ptr [edx],eax
  125.  00687310    lea        ecx,[ebp-28]
  126.  00687313    lea        edx,[ebp-20]
  127.  00687316    mov        eax,dword ptr [ebp-10]
  128.  00687319    mov        edi,dword ptr [eax]
  129.  0068731B    call       dword ptr [edi+74]; TDCP_blowfish.sub_0066EE84
  130.  0068731E    lea        eax,[ebp-28]
  131.  00687321    mov        edi,dword ptr [eax]
  132.  00687323    lea        eax,[ebp-28]
  133.  00687326    add        eax,4
  134.  00687329    mov        eax,dword ptr [eax]
  135.  0068732B    call       00651B14
  136.  00687330    lea        edx,[ebp-28]
  137.  00687333    mov        dword ptr [edx],eax
  138.  00687335    mov        eax,edi
  139.  00687337    call       00651B14
  140.  0068733C    lea        edx,[ebp-28]
  141.  0068733F    add        edx,4
  142.  00687342    mov        dword ptr [edx],eax
  143.  00687344    mov        eax,ebx
  144.  00687346    shl        eax,3
  145.  00687349    mov        edx,dword ptr [ebp-8]
  146.  0068734C    lea        eax,[edx+eax-8]
  147.  00687350    mov        edx,dword ptr [ebp-28]
  148.  00687353    mov        dword ptr [eax],edx
  149.  00687355    mov        edx,dword ptr [ebp-24]
  150.  00687358    mov        dword ptr [eax+4],edx
  151.  0068735B    inc        ebx
  152.  0068735C    dec        dword ptr [ebp-2C]
  153. <0068735F    jne        006872D5
  154.  00687365    mov        eax,esi
  155.  00687367    call       00504E7C
  156.  0068736C    mov        ebx,dword ptr [eax]
  157.  0068736E    mov        eax,dword ptr [esi]
  158.  00687370    call       @LStrLen
  159.  00687375    add        ebx,8
  160.  00687378    cmp        eax,ebx
  161. >0068737A    jge        00687395
  162.  0068737C    mov        edx,1
  163.  00687381    mov        eax,dword ptr [ebp-4]
  164.  00687384    call       006618A4
  165.  00687389    mov        eax,esi
  166.  0068738B    call       @LStrClr
  167. >00687390    jmp        0068743D
  168.  00687395    mov        eax,esi
  169.  00687397    mov        ecx,8
  170.  0068739C    mov        edx,1
  171.  006873A1    call       @LStrDelete
  172.  006873A6    mov        eax,dword ptr [esi]
  173.  006873A8    call       @LStrLen
  174.  006873AD    test       eax,eax
  175. >006873AF    jns        006873B4
  176.  006873B1    add        eax,7
  177.  006873B4    sar        eax,3
  178.  006873B7    test       eax,eax
  179. >006873B9    jle        0068742B
  180.  006873BB    mov        dword ptr [ebp-2C],eax
  181.  006873BE    mov        ebx,1
  182.  006873C3    mov        eax,esi
  183.  006873C5    call       00504E7C
  184.  006873CA    mov        edx,ebx
  185.  006873CC    shl        edx,3
  186.  006873CF    lea        eax,[eax+edx-8]
  187.  006873D3    mov        edi,dword ptr [eax]
  188.  006873D5    mov        eax,esi
  189.  006873D7    call       00504E7C
  190.  006873DC    mov        edx,ebx
  191.  006873DE    shl        edx,3
  192.  006873E1    sub        edx,7
  193.  006873E4    lea        eax,[eax+edx+3]
  194.  006873E8    push       dword ptr [eax]
  195.  006873EA    mov        eax,esi
  196.  006873EC    call       00504E7C
  197.  006873F1    mov        edx,ebx
  198.  006873F3    shl        edx,3
  199.  006873F6    lea        eax,[eax+edx-8]
  200.  006873FA    pop        edx
  201.  006873FB    mov        dword ptr [eax],edx
  202.  006873FD    mov        eax,esi
  203.  006873FF    call       00504E7C
  204.  00687404    mov        edx,ebx
  205.  00687406    shl        edx,3
  206.  00687409    sub        edx,7
  207.  0068740C    lea        eax,[eax+edx+3]
  208.  00687410    mov        dword ptr [eax],edi
  209.  00687412    inc        ebx
  210.  00687413    dec        dword ptr [ebp-2C]
  211. <00687416    jne        006873C3
  212. >00687418    jmp        0068742B
  213.  0068741A    mov        eax,esi
  214.  0068741C    mov        ecx,1
  215.  00687421    mov        edx,1
  216.  00687426    call       @LStrDelete
  217.  0068742B    mov        eax,dword ptr [esi]
  218.  0068742D    call       @LStrLen
  219.  00687432    test       eax,eax
  220. >00687434    jle        0068743D
  221.  00687436    mov        eax,dword ptr [esi]
  222.  00687438    cmp        byte ptr [eax],0
  223. <0068743B    je         0068741A
  224.  0068743D    xor        eax,eax
  225.  0068743F    pop        edx
  226.  00687440    pop        ecx
  227.  00687441    pop        ecx
  228.  00687442    mov        dword ptr fs:[eax],edx
  229. >00687445    jmp        0068745E
  230. <00687447    jmp        @HandleAnyException
  231.  0068744C    mov        edx,1
  232.  00687451    mov        eax,dword ptr [ebp-4]
  233.  00687454    call       006618A4
  234.  00687459    call       @DoneExcept
  235.  0068745E    xor        eax,eax
  236.  00687460    pop        edx
  237.  00687461    pop        ecx
  238.  00687462    pop        ecx
  239.  00687463    mov        dword ptr fs:[eax],edx
  240. >00687466    jmp        0068747E
  241. <00687468    jmp        @HandleAnyException
  242.  0068746D    xor        edx,edx
  243.  0068746F    mov        eax,6874E4; 'Cannot read MRA key file'
  244.  00687474    call       00650D0C
  245.  00687479    call       @DoneExcept
  246.  0068747E    lea        eax,[ebp-10]
  247.  00687481    call       00651A50
  248.  00687486    lea        eax,[ebp-0C]
  249.  00687489    call       00651A50
  250.  0068748E    xor        eax,eax
  251.  00687490    pop        edx
  252.  00687491    pop        ecx
  253.  00687492    pop        ecx
  254.  00687493    mov        dword ptr fs:[eax],edx
  255.  00687496    push       6874B8
  256.  0068749B    lea        eax,[ebp-6C]
  257.  0068749E    mov        edx,2
  258.  006874A3    call       @LStrArrayClr
  259.  006874A8    lea        eax,[ebp-14]
  260.  006874AB    call       @LStrClr
  261.  006874B0    ret
  262. <006874B1    jmp        @HandleFinally
  263. <006874B6    jmp        0068749B
  264.  006874B8    pop        edi
  265.  006874B9    pop        esi
  266.  006874BA    pop        ebx
  267.  006874BB    mov        esp,ebp
  268.  006874BD    pop        ebp
  269.  006874BE    ret
Add Comment
Please, Sign In to add comment