Created
November 3, 2024 21:05
-
-
Save walkingeyerobot/0db3397a4b2c26646d1ef738daba577a to your computer and use it in GitHub Desktop.
gauntlet iv password
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
undefined4 FUN_00012c2a(void) | |
{ | |
ushort uVar1; | |
uint *puVar2; | |
undefined4 in_D0; | |
short sVar5; | |
uint uVar3; | |
undefined2 uVar6; | |
undefined4 uVar4; | |
ushort uVar7; | |
short extraout_D1w; | |
short sVar8; | |
int in_A0; | |
int extraout_A0; | |
int extraout_A0_00; | |
int extraout_A0_01; | |
char *pcVar9; | |
char *extraout_A1; | |
char *pcVar10; | |
uint *puVar11; | |
undefined2 local_c [2]; | |
uint local_8; | |
pcVar9 = (char *)(in_A0 + 0x17f); | |
pcVar10 = (char *)(in_A0 + 0x16f); | |
sVar8 = 0x1d; | |
do { | |
sVar5 = 0x1f; | |
do { | |
if (*pcVar9 == "J2H=K7+U0W9GTR3F4:6LC-1Y8EXMD5PA0123456789ACDEFGHJKLMPRTUWXY+-=:"[sVar5]) | |
break; | |
sVar5 = sVar5 + -1; | |
} while (sVar5 != -1); | |
if (*pcVar10 == '\0') { | |
pcVar10 = (char *)(in_A0 + 0x16f); | |
} | |
pcVar10 = pcVar10 + 1; | |
FUN_00012f00(); | |
sVar8 = sVar8 + -1; | |
in_A0 = extraout_A0; | |
pcVar9 = extraout_A1; | |
if (sVar8 == -1) { | |
uVar3 = FUN_00012f3c(); | |
local_8 = (uVar3 & 0xffff) * 100; | |
if ((1999 < local_8) && (local_8 < 0x1863d)) { | |
sVar8 = 5; | |
puVar2 = &local_8; | |
do { | |
puVar11 = puVar2; | |
sVar5 = FUN_00012f3c(); | |
*(short *)(uint *)((int)puVar11 + -2) = sVar5; | |
if (sVar5 < 0) { | |
return in_D0; | |
} | |
if (1 < sVar5) { | |
return in_D0; | |
} | |
sVar8 = sVar8 + -1; | |
puVar2 = (uint *)((int)puVar11 + -2); | |
} while (sVar8 != -1); | |
sVar8 = FUN_00012f3c(); | |
*(short *)(puVar11 + -1) = sVar8; | |
uVar3 = FUN_00012f3c(); | |
puVar11[-2] = uVar3; | |
uVar3 = FUN_00012f3c(); | |
puVar11[-3] = uVar3; | |
sVar8 = 5; | |
puVar2 = puVar11 + -3; | |
do { | |
puVar11 = puVar2; | |
sVar5 = FUN_00012f3c(); | |
*(short *)(uint *)((int)puVar11 + -2) = sVar5; | |
if (sVar5 < 0) { | |
return in_D0; | |
} | |
if (7 < sVar5) { | |
return in_D0; | |
} | |
sVar8 = sVar8 + -1; | |
puVar2 = (uint *)((int)puVar11 + -2); | |
} while (sVar8 != -1); | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -1) = uVar6; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)((int)puVar11 + -6) = uVar6; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -2) = uVar6; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)((int)puVar11 + -10) = uVar6; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -3) = uVar6; | |
sVar8 = FUN_00012f3c(); | |
if (sVar8 < 0x5b) { | |
*(short *)((int)puVar11 + -0xe) = sVar8; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -4) = uVar6; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)((int)puVar11 + -0x12) = uVar6; | |
uVar4 = FUN_00012f3c(); | |
*(undefined4 *)((int)puVar11 + -0x16) = uVar4; | |
uVar4 = FUN_00012f3c(); | |
*(undefined4 *)((int)puVar11 + -0x1a) = uVar4; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -7) = uVar6; | |
sVar8 = FUN_00012f3c(); | |
*(short *)((int)puVar11 + -0x1e) = sVar8; | |
uVar6 = FUN_00012f3c(); | |
*(undefined2 *)(puVar11 + -8) = uVar6; | |
uVar7 = FUN_00012f3c(); | |
sVar8 = extraout_D1w + -1; | |
do { | |
uVar1 = uVar7 & 1; | |
uVar7 = uVar7 >> 1; | |
if (uVar1 != 0) { | |
return in_D0; | |
} | |
sVar8 = sVar8 + -1; | |
} while (sVar8 != -1); | |
*(undefined2 *)(extraout_A0_00 + 0x14a) = *(undefined2 *)(puVar11 + -8); | |
if (*(short *)((int)puVar11 + -0x1e) != *(short *)(extraout_A0_00 + 0xb4)) { | |
*(short *)(extraout_A0_00 + 0x14a) = *(short *)(extraout_A0_00 + 0x14a) + 1; | |
} | |
*(undefined2 *)(extraout_A0_00 + 0xf0) = *(undefined2 *)(puVar11 + -7); | |
*(undefined4 *)(extraout_A0_00 + 0x200) = *(undefined4 *)((int)puVar11 + -0x1a); | |
*(undefined4 *)(extraout_A0_00 + 0x1fc) = *(undefined4 *)((int)puVar11 + -0x16); | |
*(uint *)(extraout_A0_00 + 0x20c) = (uint)*(ushort *)((int)puVar11 + -0x12) * 0x3c; | |
*(char *)(extraout_A0_00 + 0x1a2) = (char)*(undefined2 *)(puVar11 + -4); | |
FUN_00012e04(); | |
*(char *)(extraout_A0_01 + 0x166) = (char)*(undefined2 *)(puVar11 + -3); | |
*(undefined2 *)(extraout_A0_01 + 0x29e) = *(undefined2 *)((int)puVar11 + -10); | |
*(undefined2 *)(extraout_A0_01 + 0x29c) = *(undefined2 *)(puVar11 + -2); | |
*(undefined2 *)(extraout_A0_01 + 0x29a) = *(undefined2 *)((int)puVar11 + -6); | |
*(undefined2 *)(extraout_A0_01 + 0x298) = *(undefined2 *)(puVar11 + -1); | |
*(undefined2 *)(extraout_A0_01 + 0x2aa) = *(undefined2 *)((int)puVar11 + -2); | |
*(undefined2 *)(extraout_A0_01 + 0x2a8) = *(undefined2 *)puVar11; | |
*(undefined2 *)(extraout_A0_01 + 0x2a6) = *(undefined2 *)((int)puVar11 + 2); | |
*(undefined2 *)(extraout_A0_01 + 0x2a4) = *(undefined2 *)(puVar11 + 1); | |
*(undefined2 *)(extraout_A0_01 + 0x2a2) = *(undefined2 *)((int)puVar11 + 6); | |
*(undefined2 *)(extraout_A0_01 + 0x2a0) = *(undefined2 *)(puVar11 + 2); | |
*(undefined4 *)(extraout_A0_01 + 0x128) = *(undefined4 *)((int)puVar11 + 10); | |
*(undefined4 *)(extraout_A0_01 + 0x124) = *(undefined4 *)((int)puVar11 + 0xe); | |
*(char *)(extraout_A0_01 + 0x16d) = (char)*(undefined2 *)((int)puVar11 + 0x12); | |
*(undefined2 *)(extraout_A0_01 + 0xa0) = *(undefined2 *)(puVar11 + 5); | |
*(undefined2 *)(extraout_A0_01 + 0x9e) = *(undefined2 *)((int)puVar11 + 0x16); | |
*(undefined2 *)(extraout_A0_01 + 0x9c) = *(undefined2 *)(puVar11 + 6); | |
*(undefined2 *)(extraout_A0_01 + 0x9a) = *(undefined2 *)((int)puVar11 + 0x1a); | |
*(undefined2 *)(extraout_A0_01 + 0x98) = *(undefined2 *)(puVar11 + 7); | |
*(undefined2 *)(extraout_A0_01 + 0x96) = *(undefined2 *)((int)puVar11 + 0x1e); | |
*(uint *)(extraout_A0_01 + 0x134) = puVar11[8]; | |
} | |
} | |
return in_D0; | |
} | |
} while( true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment