Option Explicit Private Const IMAGE_DOS_SIGNATURE As Long = &H5A4D& Private Const IMAGE_NT_SIGNATURE As Long = &H4550& Private Const IMAGE_NT_OPTIONAL_HDR32_MAGIC As Long = &H10B& Private Const SIZE_DOS_HEADER As Long = &H40 Private Const SIZE_NT_HEADERS As Long = &HF8 Private Const SIZE_SECTION_HEADER As Long = &H28 Private Type IMAGE_DOS_HEADER e_magic As Integer e_cblp As Integer e_cp As Integer e_crlc As Integer e_cparhdr As Integer e_minalloc As Integer e_maxalloc As Integer e_ss As Integer e_sp As Integer e_csum As Integer e_ip As Integer e_cs As Integer e_lfarlc As Integer e_ovno As Integer e_res(0 To 3) As Integer e_oemid As Integer e_oeminfo As Integer e_res2(0 To 9) As Integer e_lfanew As Long End Type Private Type IMAGE_EXPORT_DIRECTORY Characteristics As Long TimeDateStamp As Long MajorVersion As Integer MinorVersion As Integer Name As Long Base As Long NumberOfFunctions As Long NumberOfNames As Long AddressOfFunctions As Long AddressOfNames As Long AddressOfNameOrdinals As Long End Type Private Type IMAGE_IMPORT_DIRECTORY dwRVAFunctionNameList As Long TimeDateStamp As Long ForwarderChain As Long dwRVAModuleName As Long dwRVAFunctionAddressList As Long End Type Private Type IMAGE_FILE_HEADER Machine As Integer NumberOfSections As Integer TimeDateStamp As Long PointerToSymbolTable As Long NumberOfSymbols As Long SizeOfOptionalHeader As Integer Characteristics As Integer End Type Private Type IMAGE_DATA_DIRECTORY VirtualAddress As Long size As Long End Type Private Type IMAGE_OPTIONAL_HEADER Magic As Integer MajorLinkerVersion As Byte MinorLinkerVersion As Byte SizeOfCode As Long SizeOfInitializedData As Long SizeOfUnitializedData As Long AddressOfEntryPoint As Long BaseOfCode As Long BaseOfData As Long ImageBase As Long SectionAlignment As Long FileAlignment As Long MajorOperatingSystemVersion As Integer MinorOperatingSystemVersion As Integer MajorImageVersion As Integer MinorImageVersion As Integer MajorSubsystemVersion As Integer MinorSubsystemVersion As Integer W32VersionValue As Long SizeOfImage As Long SizeOfHeaders As Long CheckSum As Long Subsystem As Integer DllCharacteristics As Integer SizeOfStackReserve As Long SizeOfStackCommit As Long SizeOfHeapReserve As Long SizeOfHeapCommit As Long LoaderFlags As Long NumberOfRvaAndSizes As Long DataDirectory(0 To 15) As IMAGE_DATA_DIRECTORY End Type Private Type IMAGE_NT_HEADERS Signature As Long FileHeader As IMAGE_FILE_HEADER OptionalHeader As IMAGE_OPTIONAL_HEADER End Type Private Type IMAGE_SECTION_HEADER SecName As String 8 VirtualSize As Long VirtualAddress As Long SizeOfRawData As Long PointerToRawData As Long PointerToRe s As Long PointerToLinenumbers As Long NumberOfRe s As Integer NumberOfLinenumbers As Integer Characteristics As Long End Type Dim idh As IMAGE_DOS_HEADER Dim inh As IMAGE_NT_HEADERS Dim ish As IMAGE_SECTION_HEADER Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" Public Function Delete_NOPS Dim bfile As Byte Dim bResult As Byte Dim i As Long Dim ZeroCount As Long Open Data For Binary As

ReDim bfile(LOF(1)) Get

End Function You must log in or register to reply here. Alakalı Olabilecek Konular I Vb6 Msflexgrİd nesnesine Txt dosyasını okutma Hk. ikayserili 11 Şubat 2021 Yanıt 0 Gösterim 2K 11 Şubat 2021 ikayserili I Forum Programlama Visual Basic Bize Ulaşın Forum Kuralları Gizlilik Sözleşmesi Yardım Ana Sayfa RSS bafra oto ekspertiz, Tiktokbegeni.com, erkek cüzdan, eskişehir haber, çelik ranza, hasta yatağı kiralama, bonus veren siteler, ankara oto ekspertiz, istanbul oto ekspertiz, eskişehir oto ekspertiz, çorum oto ekspertiz, geobonus. org, deneme bonusu, bonusportali.com, vbet giriş, Pokerklas, Caddebet, megapari giriş, meritking giriş, meritking, kingroyal giriş, bahis siteleri, betwinner, rokubet giriş, deneme bonusu veren siteler, takipçi satın al, deneme bonusu veren siteler, betnano giriş, elektronik sigara, deneme bonusu veren siteler, replika saat, melbet giriş, smok, deneme bonusu, bahis forum, melbet, izmit oto ekspertiz, poppers turkiye, eskişehir oto ekspertiz, dalyan otel, hack forum, melbet, sohbet numaraları Wardom. Org Bilginin Adresi. 1998'den beri Wardom yayında! Wardom Türkiye'nin en eski forum sitelerinden biri olarak günümüz web sitelerine sponsor linkler yayınlanmaktadır. ataşehir escort maltepe escort pendik escort gaziantep rus escort xxx videos erotik film izle istanbul escort ankara escort istanbul escort gaziantep escort gaziantep escort Paylaşım sitemizde 5651/8 ve 125. madellere göre, tüm üyeler ve ziyaretçiler sitenin kullanımı ve yapılan paylaşımlarından kendileri sorumludur. Şikayetleriniz için bize ulaşabilirsiniz. Tüm hakları saklıdır 2015 Wardom. Org bilginin adresi. Forum ve bilgisayar güvenliği sitesi. var sc_project=2030864;var sc_invisible=1;var sc_security="c6df530c"; Üst <div class="tooltip-content-inner"> <div class="reactTooltip"> <a href="#" class="reaction reaction--1" data-reaction-id="1"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Like" title="Like" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> <a href="#" class="reaction reaction--2" data-reaction-id="2"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Love" title="Love" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> <a href="#" class="reaction reaction--3" data-reaction-id="3"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Haha" title="Haha" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> <a href="#" class="reaction reaction--4" data-reaction-id="4"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Wow" title="Wow" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> <a href="#" class="reaction reaction--5" data-reaction-id="5"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Sad" title="Sad" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> <a href="#" class="reaction reaction--6" data-reaction-id="6"><i aria-hidden="true"></i><img src="data:image/gif;base64, R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="reaction-sprite js-reaction" alt="Angry" title="Angry" data-xf-init="tooltip" data-extra-class="tooltip--basic tooltip--noninteractive" /></a> </div> </div> { "@context": "https://schema.org", "@type": "DiscussionForumPosting", "@id": "https:\/\/www.wardom.org\/threads\/delete-nops.354069\/", "headline": "Delete NOPs", "articleBody": "Option Explicit\r\n\r\nPrivate Const IMAGE_DOS_SIGNATURE As Long = &H5A4D&\r\nPrivate Const IMAGE_NT_SIGNATURE As Long = &H4550&\r\nPrivate Const IMAGE_NT_OPTIONAL_HDR32_MAGIC As Long = &H10B&\r\n\r\nPrivate Const SIZE_DOS_HEADER As Long = &H40\r\nPrivate Const SIZE_NT_HEADERS As Long = &HF8\r\nPrivate Const SIZE_SECTION_HEADER As Long = &H28\r\n\r\n\r\nPrivate Type IMAGE_DOS_HEADER\r\ne_magic As Integer\r\ne_cblp As Integer\r\ne_cp As Integer\r\ne_crlc As Integer\r\ne_cparhdr As Integer\r\ne_minalloc As Integer\r\ne_maxalloc As Integer\r\ne_ss As Integer\r\ne_sp As Integer\r\ne_csum As Integer\r\ne_ip As Integer\r\ne_cs As Integer\r\ne_lfarlc As Integer\r\ne_ovno As Integer\r\ne_res(0 To 3) As Integer\r\ne_oemid As Integer\r\ne_oeminfo As Integer\r\ne_res2(0 To 9) As Integer\r\ne_lfanew As Long\r\nEnd Type\r\n\r\nPrivate Type IMAGE_EXPORT_DIRECTORY\r\nCharacteristics As Long\r\nTimeDateStamp As Long\r\nMajorVersion As Integer\r\nMinorVersion As Integer\r\nName As Long\r\nBase As Long\r\nNumberOfFunctions As Long\r\nNumberOfNames As Long\r\nAddressOfFunctions As Long\r\nAddressOfNames As Long\r\nAddressOfNameOrdinals As Long\r\nEnd Type\r\n\r\nPrivate Type IMAGE_IMPORT_DIRECTORY\r\ndwRVAFunctionNameList As Long\r\nTimeDateStamp As Long\r\nForwarderChain As Long\r\ndwRVAModuleName As Long\r\ndwRVAFunctionAddressList As Long\r\nEnd Type\r\n\r\nPrivate Type IMAGE_FILE_HEADER\r\nMachine As Integer\r\nNumberOfSections As Integer\r\nTimeDateStamp As Long\r\nPointerToSymbolTable As Long\r\nNumberOfSymbols As Long\r\nSizeOfOptionalHeader As Integer\r\nCharacteristics As Integer\r\nEnd Type\r\n\r\nPrivate Type IMAGE_DATA_DIRECTORY\r\nVirtualAddress As Long\r\nsize As Long\r\nEnd Type\r\n\r\nPrivate Type IMAGE_OPTIONAL_HEADER\r\nMagic As Integer\r\nMajorLinkerVersion As Byte\r\nMinorLinkerVersion As Byte\r\nSizeOfCode As Long\r\nSizeOfInitializedData As Long\r\nSizeOfUnitializedData As Long\r\nAddressOfEntryPoint As Long\r\nBaseOfCode As Long\r\nBaseOfData As Long\r\nImageBase As Long\r\nSectionAlignment As Long\r\nFileAlignment As Long\r\nMajorOperatingSystemVersion As Integer\r\nMinorOperatingSystemVersion As Integer\r\nMajorImageVersion As Integer\r\nMinorImageVersion As Integer\r\nMajorSubsystemVersion As Integer\r\nMinorSubsystemVersion As Integer\r\nW32VersionValue As Long\r\nSizeOfImage As Long\r\nSizeOfHeaders As Long\r\nCheckSum As Long\r\nSubsystem As Integer\r\nDllCharacteristics As Integer\r\nSizeOfStackReserve As Long\r\nSizeOfStackCommit As Long\r\nSizeOfHeapReserve As Long\r\nSizeOfHeapCommit As Long\r\nLoaderFlags As Long\r\nNumberOfRvaAndSizes As Long\r\nDataDirectory(0 To 15) As IMAGE_DATA_DIRECTORY\r\nEnd Type\r\n\r\nPrivate Type IMAGE_NT_HEADERS\r\nSignature As Long\r\nFileHeader As IMAGE_FILE_HEADER\r\nOptionalHeader As IMAGE_OPTIONAL_HEADER\r\nEnd Type\r\n\r\nPrivate Type IMAGE_SECTION_HEADER\r\nSecName As String 8\r\nVirtualSize As Long\r\nVirtualAddress As Long\r\nSizeOfRawData As Long\r\nPointerToRawData As Long\r\nPointerToRe s As Long\r\nPointerToLinenumbers As Long\r\nNumberOfRe s As Integer\r\nNumberOfLinenumbers As Integer\r\nCharacteristics As Long\r\nEnd Type\r\n\r\nDim idh As IMAGE_DOS_HEADER\r\nDim inh As IMAGE_NT_HEADERS\r\nDim ish As IMAGE_SECTION_HEADER\r\nPrivate Declare Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" \r\n\r\nPublic Function Delete_NOPS \r\nDim bfile As Byte\r\nDim bResult As Byte\r\nDim i As Long\r\nDim ZeroCount As Long\r\n\r\nOpen Data For Binary As

Call CopyMemory(idh, bfile(0), SIZE_DOS_HEADER) Call CopyMemory(inh, bfile , SIZE_NT_HEADERS) Call CopyMemory(ish, bfile(idh. e_lfanew + SIZE_NT_HEADERS + (inh. FileHeader. NumberOfSections - 1) &H28), &H28) ZeroCount = 0 i = ish. PointerToRawData + ish. SizeOfRawData While i > ish. PointerToRawData If bfile = 0 Then ZeroCount = ZeroCount + 1 End If i = i - 1 Wend ReDim bResult(UBound - ZeroCount) Call CopyMemory(bResult(0), bfile(0), UBound - ZeroCount) ish. SizeOfRawData = ish. SizeOfRawData - ZeroCount Call CopyMemory(bResult(idh. e_lfanew + 248 + (inh. FileHeader. NumberOfSections - 1) 40), ish, 40) Open Result For Binary As