Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int EntryPoint() {
- var_8 = *___stack_chk_guard;
- printf("< T0AD K3YG3N >\n");
- printf("Username: ");
- maxInputSize = 0;
- fgets(*0x100000f36, 0x9, *___stdinp);
- goto loc_100000d2c;
- loc_100000d2c:
- if (maxInputSize >= 9) goto loc_100000d68;
- loc_100000d39:
- if (sign_extend_64(*(int8_t *)(rbp + sign_extend_64(maxInputSize) + 0xffffffffffffffef)) != 32) goto loc_100000d53;
- loc_100000e76:
- printf("Access Denied.\n");
- goto loc_100000eab;
- loc_100000eab:
- var_7C = 0;
- if (*___stack_chk_guard == var_8) {
- rax = var_7C;
- }
- else {
- rax = __stack_chk_fail();
- }
- return rax;
- loc_100000d53:
- maxInputSize = maxInputSize + 1;
- goto loc_100000d2c;
- loc_100000d68:
- fflush(*___stdinp);
- printf("Password: ");
- fgets(*0x100000f3f, 9, *___stdinp);
- mult = sign_extend_64(var_10) / 3;
- for (i = 0; i < 9; i = i + 1) {
- rcx = sign_extend_64(*(int8_t *)(rbp + sign_extend_64(i) + 0xffffffffffffffef));
- *(int8_t *)(rbp + sign_extend_64(i) + 0xffffffffffffffdd) = sign_extend_64((rcx ^ mult) & 60) + 48;
- mult = ((rcx ^ mult) & 60) * 3;
- }
- var_3C = 0;
- goto loc_100000e1f;
- loc_100000e1f:
- if (sign_extend_64(var_3C) >= strlen(*0x100000f3f)) goto loc_100000e93;
- loc_100000e3d:
- if (sign_extend_64(*(int8_t *)(rbp + sign_extend_64(var_3C) + 0xffffffffffffffdd)) == sign_extend_64(*(int8_t *)(rbp + sign_extend_64(var_3C) + 0xffffffffffffffe6))) goto loc_100000e61;
- goto loc_100000e76;
- loc_100000e61:
- var_3C = var_3C + 1;
- goto loc_100000e1f;
- loc_100000e93:
- printf("Access Granted.\n");
- goto loc_100000eab;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement