/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_00405ecc(void)
{
size_t sVar1;
char *pcVar2;
char *__s;
char acStack_1021 [5];
char local_101c;
__s = acStack_1021 + 1;
while( true ) {
pcVar2 = fgets(__s,0x1000,DAT_0041f9e8) //possible issue identified - semgrep
if (pcVar2 == (char *)0x0) {
return;
}
sVar1 = strlen(__s);
acStack_1021[sVar1] = '\0';
if (DAT_0041d9d8 != 0) {
printf("%s --> %s\n",DAT_0041d9d4,__s);
}
if (((*(ushort *)(___ctype_b + acStack_1021[1] * 2) & 8) == 0) || (0x33 < acStack_1021[1]))
break;
if (local_101c != '-') {
return;
}
}
FUN_00405a30("unexpected reply: %s",acStack_1021 + 1);
/* WARNING: Subroutine does not return */
exit(1);
}