Last active
March 4, 2019 14:22
-
-
Save 1nnOc3nt/305d46ec58d775e233a6851967596b2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string v50 | |
string v51 | |
string v52 | |
int v1 = 0 | |
GetWindowText(Input_Name, v50) | |
if(len(v50) == 4): | |
int v3 = 0 | |
while(v50[v3] >= 'a' and v50[v3] <= 'z'): #Check if input is lowercase | |
if(++v3 >= 4): | |
LABEL_7: | |
int v4 = 0 | |
while(1): #Check if each character in input is differrent | |
if(v1 != v4): | |
if(v50[v4] == v50[v1]): | |
goto LABEL_2 | |
if(++v4 >= 4): | |
if(++v1 < 4): | |
goto LABEL_7 | |
GetWindowText(Input_Serial, v51) | |
if(len(v51) == 11 and v51[5] == '-'): | |
int v6 = v50[0] | |
int v7 = ((v6 >> 4) & 1) + 5 | |
int v48 = ((v6 >> 4) & 1) + 5 | |
int v42 = ((v6 >> 1) & 1) + 5 | |
int v44 = ((v6 >> 2) & 1) + 5 | |
int v46 = ((v6 >> 3) & 1) + 5 | |
int v8 = v50[1] | |
int v34 = (v8 & 1) + 1 | |
int v40 = ((v8 >> 4) & 1) + 1 | |
int v36 = ((v8 >> 1) & 1) + 1 | |
int v9 = ((v8 >> 2) & 1) + 1 | |
int v38 = ((v8 >> 3) & 1) + 1 | |
if(v51[0] == v7+v9): | |
if(v51[1] == v46+v38): | |
if(v51[2] == v42+v40): | |
if(v51[3] == v44+v34): | |
if(v51[4] == v48+v36): | |
int v20 = v50[2] | |
int v21 = (v20 & 1) + 5 | |
int v49 = ((v20 >> 4) & 1) + 5 | |
int v43 = ((v20 >> 1) & 1) + 5 | |
int v45 = ((v20 >> 2) & 1) + 5 | |
int v47 = ((v20 >> 3) & 1) + 5 | |
int v22 = v50[3] | |
int v35 = (v22 & 1) + 1 | |
int v41 = ((v22 >> 4) & 1) + 1 | |
int v37 = ((v22 >> 1) & 1) + 1 | |
int v23 = ((v22 >> 2) & 1) + 1 | |
int v39 = ((v22 >> 3) & 1) + 1 | |
if(v51[6] == v21+v23): | |
if(v51[7] == v47+v39): | |
if(v51[8] == v43+v41): | |
if(v51[9] == v45+v35): | |
if(v51[10] == v49+v37): | |
return 1 | |
goto LABEL_2 | |
LABEL_2: | |
return 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment