52 lines
1.8 KiB
C
52 lines
1.8 KiB
C
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
|
* Ghidra 12.1.2 decompiler output for 0x14001be00 FUN_14001be00
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14001be00(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4)
|
|
|
|
{
|
|
int iVar1;
|
|
longlong lVar2;
|
|
int iVar3;
|
|
exception local_58 [80];
|
|
|
|
if (*(char *)(param_1 + 0x20) != '\0') {
|
|
lVar2 = *(longlong *)(param_1 + 8);
|
|
if (lVar2 == 0) {
|
|
if (*(longlong *)(param_1 + 0x10) == 0) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_140095370(param_1,param_2,param_3,param_4);
|
|
}
|
|
}
|
|
else if (*(longlong *)(param_1 + 0x10) == 0) {
|
|
if (lVar2 == 0) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_140095370(param_1,param_2,param_3,param_4);
|
|
}
|
|
iVar1 = *(int *)(lVar2 + 0x18);
|
|
FUN_14001bc70(lVar2,iVar1 + 1,param_3);
|
|
if (*(int *)(lVar2 + 0x18) == 0) {
|
|
*(undefined1 *)(longlong)iVar1 = 0xfe;
|
|
return;
|
|
}
|
|
((undefined1 *)(longlong)iVar1)[*(longlong *)(lVar2 + 0x10)] = 0xfe;
|
|
return;
|
|
}
|
|
if (*(longlong *)(param_1 + 0x10) == 0) {
|
|
FUN_14002f1e0(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_1401569a0,param_3,
|
|
param_4);
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88);
|
|
}
|
|
iVar1 = *(int *)(param_1 + 0x18);
|
|
iVar3 = iVar1 + 1;
|
|
if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14002f590();
|
|
}
|
|
*(int *)(param_1 + 0x18) = iVar3;
|
|
*(undefined1 *)((longlong)iVar1 + *(longlong *)(param_1 + 0x10)) = 0xfe;
|
|
}
|
|
return;
|
|
}
|
|
|