void FUN_00401f58(char *param_1,char *param_2,undefined4 param_3)
{
char *pcVar1;
char *pcVar2;
size_t __n;
int iVar3;
char *pcVar4;
char acStack_70 [84];
memset(acStack_70,0,0x50) //possible issue identified - semgrep
do {
do {
pcVar4 = strstr(param_1,"meta");
if (pcVar4 == (char *)0x0) {
return;
}
pcVar1 = strstr(pcVar4,"name");
pcVar2 = strchr(pcVar4,0x3e);
param_1 = pcVar4 + 4;
} while (pcVar2 < pcVar1);
__n = strlen(param_2);
iVar3 = strncasecmp(pcVar1 + 6,param_2,__n) //possible issue identified - semgrep
param_1 = pcVar4 + 4;
} while (iVar3 != 0);
pcVar4 = strstr(pcVar4,"content");
pcVar4 = pcVar4 + 9;
pcVar1 = strchr(pcVar4,0x22);
if (0 < (int)pcVar1 - (int)pcVar4) { //possible issue identified - semgrep
strncpy(acStack_70,pcVar4,(int)pcVar1 - (int)pcVar4) //possible issue identified - semgrep
sobj_strcpy(param_3,acStack_70) //possible issue identified - semgrep
}
return;
}