/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 FUN_0040bf8c(undefined4 param_1)

{
  char *pcVar1;
  char *pcVar2;
  char acStack_210 [512];
  
  pcVar1 = getenv("SERVER_ID")   //possible issue identified - semgrep
  if ((((pcVar1 == (char *)0x0) || (pcVar1 = getenv("HTTP_SID"), pcVar1 == (char *)0x0)) ||   //possible issue identified - semgrep
      (pcVar1 = getenv("HTTP_CALLBACK"), pcVar1 != (char *)0x0)) ||   //possible issue identified - semgrep
     (pcVar1 = getenv("HTTP_NT"), pcVar1 != (char *)0x0)) {
    cgibin_print_http_status(400,"","");
  }
  else {
    pcVar1 = getenv("SERVER_ID")   //possible issue identified - semgrep
    pcVar2 = getenv("HTTP_SID")   //possible issue identified - semgrep
    sprintf(acStack_210,"%s\nINF_UID=%s\nSERVICE=%s\nMETHOD=UNSUBSCRIBE\nSID=%s\n",
            "/htdocs/upnp/run.NOTIFY.php",pcVar1,param_1,pcVar2)   //possible issue identified - semgrep
    xmldbc_ephp(0,0,acStack_210,_stdout);
  }
  return 0;
}