/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469 * Ghidra 12.1.2 decompiler output for 0x1400bcef0 FUN_1400bcef0 * Pseudocode, not original source. */ int FUN_1400bcef0(undefined8 *param_1) { undefined4 *puVar1; undefined8 uVar2; int *piVar3; int iVar4; int iVar5; if (param_1 == (undefined8 *)0x0) { return 0x10; } iVar5 = 1; puVar1 = calloc(1,0x18); *param_1 = puVar1; if (puVar1 == (undefined4 *)0x0) { return 0xd; } uVar2 = FUN_1400c6d70(puVar1); iVar4 = 0; piVar3 = &DAT_1401108b0; do { if ((int)uVar2 == *piVar3) { iVar5 = *(int *)(&DAT_1401108b4 + (longlong)iVar4 * 8); if (iVar5 == 0) { return 0; } break; } piVar3 = piVar3 + 2; iVar4 = iVar4 + 1; } while ((longlong)piVar3 < 0x1401108c8); free((void *)*param_1); return iVar5; }