40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
|
* Ghidra 12.1.2 decompiler output for 0x1400c1f10 FUN_1400c1f10
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 FUN_1400c1f10(longlong param_1)
|
|
|
|
{
|
|
int iVar1;
|
|
longlong lVar2;
|
|
undefined8 uVar3;
|
|
|
|
if ((param_1 == 0) || (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 == 0)) {
|
|
return 0xfffffffe;
|
|
}
|
|
iVar1 = *(int *)(lVar2 + 8);
|
|
if ((((iVar1 != 0x2a) && (iVar1 != 0x45)) && (iVar1 != 0x49)) &&
|
|
(((iVar1 != 0x5b && (iVar1 != 0x67)) && ((iVar1 != 0x71 && (iVar1 != 0x29a)))))) {
|
|
return 0xfffffffe;
|
|
}
|
|
if (*(longlong *)(lVar2 + 0x10) != 0) {
|
|
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
|
}
|
|
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x68) != 0) {
|
|
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
|
}
|
|
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x60) != 0) {
|
|
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
|
}
|
|
if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x50) != 0) {
|
|
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40));
|
|
}
|
|
(**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28));
|
|
uVar3 = 0;
|
|
*(undefined8 *)(param_1 + 0x28) = 0;
|
|
if (iVar1 == 0x71) {
|
|
uVar3 = 0xfffffffd;
|
|
}
|
|
return uVar3;
|
|
}
|
|
|