// // sub_1406782F8 from 0x1406782f8 to 0x140678443 (331 bytes) // // 5 xrefs: // > __scrt_initialize_onexit_tables @ 0x14067794d // > pre_c_initialization @ 0x140677dc8 // > __scrt_common_main_seh @ 0x140677f4d // > __scrt_common_main_seh @ 0x140677f58 // > @ 0x1409327d4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:36:00 +0000 // void __fastcall sub_1406782F8(unsigned int a1) { ULONG64 Rip; // rbx struct _IMAGE_RUNTIME_FUNCTION_ENTRY *v3; // rax BOOL v4; // ebx struct _EXCEPTION_POINTERS ExceptionInfo; // [rsp+40h] [rbp-C0h] BYREF _QWORD v6[20]; // [rsp+50h] [rbp-B0h] BYREF struct _CONTEXT ContextRecord; // [rsp+F0h] [rbp-10h] BYREF DWORD64 retaddr; // [rsp+5C8h] [rbp+4C8h] __int64 v9; // [rsp+5D0h] [rbp+4D0h] BYREF unsigned __int64 ImageBase; // [rsp+5D8h] [rbp+4D8h] BYREF unsigned __int64 EstablisherFrame; // [rsp+5E0h] [rbp+4E0h] BYREF PVOID HandlerData; // [rsp+5E8h] [rbp+4E8h] BYREF if ( IsProcessorFeaturePresent(0x17u) ) __fastfail(a1); sub_1406782EC(); memset(&ContextRecord, 0, sizeof(ContextRecord)); RtlCaptureContext(&ContextRecord); Rip = ContextRecord.Rip; v3 = RtlLookupFunctionEntry(ContextRecord.Rip, &ImageBase, nullptr); if ( v3 ) RtlVirtualUnwind(0, ImageBase, Rip, v3, &ContextRecord, &HandlerData, &EstablisherFrame, nullptr); ContextRecord.Rip = retaddr; ContextRecord.Rsp = (DWORD64)&v9; memset(v6, 0, 0x98u); v6[2] = retaddr; v6[0] = 0x140000015LL; v4 = IsDebuggerPresent(); ExceptionInfo.ExceptionRecord = (PEXCEPTION_RECORD)v6; ExceptionInfo.ContextRecord = &ContextRecord; SetUnhandledExceptionFilter(nullptr); if ( !UnhandledExceptionFilter(&ExceptionInfo) && !v4 ) sub_1406782EC(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source