decompiled agent_release

This commit is contained in:
Benjamin Palko 2026-10-14 16:45:19 -04:00
parent baac905ef2
commit 11a3488883
6439 changed files with 229565 additions and 1 deletions

View file

@ -0,0 +1,28 @@
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14002f710 FUN_14002f710
* Pseudocode, not original source. */
HMODULE FUN_14002f710(uint param_1,WORD param_2)
{
HMODULE hModule;
HRSRC pHVar1;
ushort *puVar2;
int iVar3;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_14015d7e0,0);
iVar3 = 0;
while( true ) {
if (hModule == (HMODULE)0x0) {
return (HMODULE)0x0;
}
iVar3 = iVar3 + 1;
pHVar1 = FindResourceExW(hModule,(LPCWSTR)0x6,
(LPCWSTR)(ulonglong)(ushort)((short)(param_1 >> 4) + 1),param_2);
if ((pHVar1 != (HRSRC)0x0) &&
(puVar2 = FUN_14002f670(hModule,pHVar1,param_1), puVar2 != (ushort *)0x0)) break;
hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_14015d7e0,iVar3);
}
return hModule;
}