Ghidra, tons of Fun!
if ((cVar1 != '\0') && (local_14 - 3U < 2)) {
lVar2 = FUN_10112c9ac(param_1 + 0x114c);
if (lVar2 != 0) {
uVar3 = FUN_100ecad51(0x23300079);
FUN_100d38936(local_28,uVar3);
FUN_101123cf8(local_38,lVar2);
FUN_100d3c848(local_48,local_28,local_38);
FUN_100d38c1c(local_38);
FUN_100d38c1c(local_28);
uVar4 = 0x2330007a;
if (local_14 == 4) {
uVar4 = (ulong)((uint)((char )(lVar2 + 0x183) == '\x02') | 0x2330007a);
}
uVar3 = FUN_100ecad51(uVar4);
FUN_100d38936(local_28,uVar3);
FUN_1015325b7(local_48,local_28);
FUN_100d38c1c(local_28);
FUN_100d38c1c(local_48);
}
}