decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
40
decomp/Agent_Release_x64/full/functions/0x1400a0fe0.c
Normal file
40
decomp/Agent_Release_x64/full/functions/0x1400a0fe0.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400a0fe0 FUN_1400a0fe0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400a0fe0(undefined8 *param_1,longlong param_2,SIZE_T param_3)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
char *pcVar2;
|
||||
SIZE_T SVar3;
|
||||
int *piVar4;
|
||||
uint local_res10 [6];
|
||||
exception local_58 [80];
|
||||
|
||||
FUN_14001bc70(param_2,0x400,param_3);
|
||||
local_res10[0] = *(uint *)(param_2 + 0x18);
|
||||
if (local_res10[0] == 0) {
|
||||
pcVar2 = (char *)0x0;
|
||||
}
|
||||
else {
|
||||
pcVar2 = *(char **)(param_2 + 0x10);
|
||||
}
|
||||
piVar4 = (int *)*param_1;
|
||||
SVar3 = 0;
|
||||
uVar1 = FUN_1400bf3b0(pcVar2,local_res10,0,piVar4);
|
||||
if ((int)uVar1 != 0) {
|
||||
FUN_14002f1e0(local_58,L"PUBLIC KEY EXPORT ERROR",SVar3,piVar4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88);
|
||||
}
|
||||
if (*(uint *)(param_2 + 0x18) < local_res10[0]) {
|
||||
FUN_14002f1e0(local_58,L"PublicKey To Blob result is larger! Memory corruption may occur!",SVar3
|
||||
,piVar4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88);
|
||||
}
|
||||
FUN_14001bc70(param_2,local_res10[0],SVar3);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue