void FUN_00403c08(int param_1,undefined4 param_2)

{
  if (*(int *)(g_conf + 0x30) != 0) goto LAB_00403c98;
  if (*(int *)(g_conf + 0x2c) == 0) {
    if (*(int *)(param_1 + 0x1c) == 0) {
      if (*(int *)(param_1 + 0x88) != 0) goto LAB_00403c98;
    }
    else if (*(int *)(param_1 + 0x1c) != 1) goto LAB_00403c98;
  }
  FUN_00403a80(param_1,param_2);
LAB_00403c98:
  if ((*(int *)(g_conf + 0x2c) == 0) &&
     (((*(int *)(g_conf + 0x30) != 0 || (*(int *)(param_1 + 0x1c) == 0)) ||
      (*(int *)(param_1 + 0x1c) == 2)))) {
    FUN_00403168(param_1,param_2);
    return;
  }
  return;
}