undefined4
FUN_004053ac(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,
            undefined2 param_5)

{
  int __fd;
  int iVar1;
  undefined4 uVar2;
  undefined1 auStack_28 [8];
  undefined4 local_20;
  
  __fd = FUN_0040522c();
  uVar2 = 0xffffffff;
  if (-1 < __fd) {
    iVar1 = FUN_00405310(__fd,param_2,param_3,param_4,param_5);
    uVar2 = 0xffffffff;
    if (-1 < iVar1) {
      read(__fd,auStack_28,0xc)   //possible issue identified - semgrep
      uVar2 = local_20;
    }
    close(__fd);
  }
  return uVar2;
}