int
__cdecl main(
int
argc, const char
*
*
argv, const char
*
*
envp)
{
char
Buffer
[
128
];
/
/
[esp
+
0h
] [ebp
-
94h
] BYREF
char
*
Str1;
/
/
[esp
+
80h
] [ebp
-
14h
]
char
*
Str2;
/
/
[esp
+
84h
] [ebp
-
10h
]
HANDLE v7;
/
/
[esp
+
88h
] [ebp
-
Ch]
HANDLE hFile;
/
/
[esp
+
8Ch
] [ebp
-
8h
]
DWORD NumberOfBytesWritten;
/
/
[esp
+
90h
] [ebp
-
4h
] BYREF
hFile
=
GetStdHandle(
0xFFFFFFF5
);
v7
=
GetStdHandle(
0xFFFFFFF6
);
Str2
=
"x2dtJEOmyjacxDemx2eczT5cVS9fVUGvWTuZWjuexjRqy24rV29q"
;
WriteFile(hFile,
"Enter password:\r\n"
,
0x12u
, &NumberOfBytesWritten,
0
);
ReadFile(v7,
Buffer
,
0x80u
, &NumberOfBytesWritten,
0
);
Str1
=
(char
*
)sub_401260(
Buffer
, NumberOfBytesWritten
-
2
);
if
( !strcmp(Str1, Str2) )
WriteFile(hFile,
"Correct!\r\n"
,
0xBu
, &NumberOfBytesWritten,
0
);
else
WriteFile(hFile,
"Wrong password\r\n"
,
0x11u
, &NumberOfBytesWritten,
0
);
return
0
;
}