{"type": "func", "start": 6443631980, "end": 6443632076, "name": "__scrt_dllmain_exception_filter", "pseudocode": "// \n// __scrt_dllmain_exception_filter from 0x18012056c to 0x1801205cc (96 bytes)\n// \n// 2 xrefs:\n// > dllmain_dispatch @ 0x180142b15\n// > <???> @ 0x1802024b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall _scrt_dllmain_exception_filter(\n        __int64 a1,\n        int a2,\n        __int64 a3,\n        void (__fastcall *a4)(__int64, _QWORD, __int64),\n        unsigned int ExceptionNum,\n        struct _EXCEPTION_POINTERS *ExceptionPtr)\n{\n  int v10; // eax\n\n  LOBYTE(v10) = __uncaught_exception();\n  if ( !v10 && a2 == 1 )\n    a4(a1, 0, a3);\n  return seh_filter_dll(ExceptionNum, ExceptionPtr);\n}", "assembly": "; \n; __scrt_dllmain_exception_filter from 0x18012056c to 0x1801205cc (96 bytes)\n; \n; 2 xrefs:\n; > dllmain_dispatch @ 0x180142b15\n; > <???> @ 0x1802024b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18012056c\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180120571\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180120576\npush    rdi                                                            ; +0xf, 0x18012057b\nsub     rsp, 20h                                                       ; +0x10, 0x18012057c\nmov     rdi, r9                                                        ; +0x14, 0x180120580\nmov     rsi, r8                                                        ; +0x17, 0x180120583\nmov     ebx, edx                                                       ; +0x1a, 0x180120586\nmov     rbp, rcx                                                       ; +0x1c, 0x180120588\ncall    ?__uncaught_exception@@YA_NXZ                                  ; +0x1f, 0x18012058b\ntest    eax, eax                                                       ; +0x24, 0x180120590\njnz     short loc_1801205AA                                            ; +0x26, 0x180120592\ncmp     ebx, 1                                                         ; +0x28, 0x180120594\njnz     short loc_1801205AA                                            ; +0x2b, 0x180120597\nmov     r8, rsi                                                        ; +0x2d, 0x180120599\nxor     edx, edx                                                       ; +0x30, 0x18012059c\nmov     rcx, rbp                                                       ; +0x32, 0x18012059e\nmov     rax, rdi                                                       ; +0x35, 0x1801205a1\ncall    cs:__guard_dispatch_icall_fptr                                 ; +0x38, 0x1801205a4\nmov     rdx, [rsp+28h+ExceptionPtr]; ExceptionPtr                      ; +0x3e, 0x1801205aa\nmov     ecx, [rsp+28h+ExceptionNum]; ExceptionNum                      ; +0x43, 0x1801205af\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x47, 0x1801205b3\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x4c, 0x1801205b8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x51, 0x1801205bd\nadd     rsp, 20h                                                       ; +0x56, 0x1801205c2\npop     rdi                                                            ; +0x5a, 0x1801205c6\njmp     _seh_filter_dll                                                ; +0x5b, 0x1801205c7", "xrefs": ["dllmain_dispatch @ 0x180142b15", "<???> @ 0x1802024b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}