void * FUN_00404fb0(void)

{
  void *__s;
  
  __s = malloc(0x24)   //possible issue identified - semgrep
  if (__s != (void *)0x0) {
    memset(__s,0,0x24)   //possible issue identified - semgrep
    *(int *)((int)__s + 8) = (int)__s + 8;
    *(int *)((int)__s + 0x10) = (int)__s + 0x10;
    *(void **)((int)__s + 4) = __s;
    *(void **)__s = __s;
    *(int *)((int)__s + 0xc) = (int)__s + 8;
    *(int *)((int)__s + 0x14) = (int)__s + 0x10;
  }
  return __s;
}