decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
37
decomp/Agent_Release_x64/full/functions/0x14002fcc0.c
Normal file
37
decomp/Agent_Release_x64/full/functions/0x14002fcc0.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x14002fcc0 FUN_14002fcc0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Removing unreachable block (ram,0x00014002fd19) */
|
||||
|
||||
undefined8 FUN_14002fcc0(longlong *param_1,HMODULE param_2,uint param_3)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
ushort uVar2;
|
||||
HRSRC pHVar3;
|
||||
ushort *puVar4;
|
||||
uint uVar5;
|
||||
|
||||
pHVar3 = FindResourceW(param_2,(LPCWSTR)(ulonglong)(ushort)((short)(param_3 >> 4) + 1),
|
||||
(LPCWSTR)0x6);
|
||||
if ((pHVar3 == (HRSRC)0x0) ||
|
||||
(puVar4 = FUN_14002f670(param_2,pHVar3,param_3), puVar4 == (ushort *)0x0)) {
|
||||
return 0;
|
||||
}
|
||||
uVar2 = *puVar4;
|
||||
uVar5 = (uint)uVar2;
|
||||
if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - uVar5) < 0) {
|
||||
FUN_14000b2c0(param_1,uVar5);
|
||||
}
|
||||
FUN_14002f7d0((wchar_t *)*param_1,uVar5,(wchar_t *)(puVar4 + 1),(uint)*puVar4);
|
||||
uVar1 = *(uint *)(*param_1 + -0xc);
|
||||
if (uVar2 != uVar1 && (int)uVar1 <= (int)uVar5) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14000b450(0x80070057);
|
||||
}
|
||||
*(uint *)(*param_1 + -0x10) = (uint)uVar2;
|
||||
*(undefined2 *)(*param_1 + (ulonglong)uVar2 * 2) = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue