{"type": "func", "start": 6443369004, "end": 6443369332, "name": "__scrt_fastfail", "pseudocode": "// \n// __scrt_fastfail from 0x1800e022c to 0x1800e0374 (328 bytes)\n// \n// 4 xrefs:\n// > __scrt_initialize_onexit_tables @ 0x1800df985\n// > dllmain_crt_process_attach @ 0x1800dfe3b\n// > dllmain_crt_process_detach @ 0x1800dfebc\n// > <???> @ 0x1801bb160\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\nvoid __fastcall _scrt_fastfail(unsigned int a1)\n{\n  ULONG64 Rip; // rbx\n  struct _IMAGE_RUNTIME_FUNCTION_ENTRY *v3; // rax\n  BOOL v4; // ebx\n  struct _EXCEPTION_POINTERS ExceptionInfo; // [rsp+40h] [rbp-C0h] BYREF\n  _QWORD v6[20]; // [rsp+50h] [rbp-B0h] BYREF\n  struct _CONTEXT ContextRecord; // [rsp+F0h] [rbp-10h] BYREF\n  DWORD64 retaddr; // [rsp+5C8h] [rbp+4C8h]\n  __int64 v9; // [rsp+5D0h] [rbp+4D0h] BYREF\n  unsigned __int64 ImageBase; // [rsp+5D8h] [rbp+4D8h] BYREF\n  unsigned __int64 EstablisherFrame; // [rsp+5E0h] [rbp+4E0h] BYREF\n  PVOID HandlerData; // [rsp+5E8h] [rbp+4E8h] BYREF\n\n  if ( IsProcessorFeaturePresent(0x17u) )\n    __fastfail(a1);\n  sub_1800E0224();\n  memset(&ContextRecord, 0, sizeof(ContextRecord));\n  RtlCaptureContext(&ContextRecord);\n  Rip = ContextRecord.Rip;\n  v3 = RtlLookupFunctionEntry(ContextRecord.Rip, &ImageBase, nullptr);\n  if ( v3 )\n    RtlVirtualUnwind(0, ImageBase, Rip, v3, &ContextRecord, &HandlerData, &EstablisherFrame, nullptr);\n  ContextRecord.Rip = retaddr;\n  ContextRecord.Rsp = (DWORD64)&v9;\n  memset(v6, 0, 0x98u);\n  v6[2] = retaddr;\n  v6[0] = 0x140000015LL;\n  v4 = IsDebuggerPresent();\n  ExceptionInfo.ExceptionRecord = (PEXCEPTION_RECORD)v6;\n  ExceptionInfo.ContextRecord = &ContextRecord;\n  SetUnhandledExceptionFilter(nullptr);\n  if ( !UnhandledExceptionFilter(&ExceptionInfo) && !v4 )\n    sub_1800E0224();\n}", "assembly": "; \n; __scrt_fastfail from 0x1800e022c to 0x1800e0374 (328 bytes)\n; \n; 4 xrefs:\n; > __scrt_initialize_onexit_tables @ 0x1800df985\n; > dllmain_crt_process_attach @ 0x1800dfe3b\n; > dllmain_crt_process_detach @ 0x1800dfebc\n; > <???> @ 0x1801bb160\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-8+arg_0], rbx                                             ; +0x0, 0x1800e022c\npush    rbp                                                            ; +0x5, 0x1800e0231\nlea     rbp, [rsp-4C0h]                                                ; +0x6, 0x1800e0232\nsub     rsp, 5C0h                                                      ; +0xe, 0x1800e023a\nmov     ebx, ecx                                                       ; +0x15, 0x1800e0241\nmov     ecx, 17h; ProcessorFeature                                     ; +0x17, 0x1800e0243\ncall    cs:IsProcessorFeaturePresent                                   ; +0x1c, 0x1800e0248\ntest    eax, eax                                                       ; +0x22, 0x1800e024e\njz      short loc_1800E0256                                            ; +0x24, 0x1800e0250\nmov     ecx, ebx                                                       ; +0x26, 0x1800e0252\nint     29h; Win8: RtlFailFast(ecx)                                    ; +0x28, 0x1800e0254\nmov     ecx, 3                                                         ; +0x2a, 0x1800e0256\ncall    sub_1800E0224                                                  ; +0x2f, 0x1800e025b\nxor     edx, edx; Val                                                  ; +0x34, 0x1800e0260\nlea     rcx, [rbp+4C0h+ContextRecord]; void *                          ; +0x36, 0x1800e0262\nmov     r8d, 4D0h; Size                                                ; +0x3a, 0x1800e0266\ncall    memset                                                         ; +0x40, 0x1800e026c\nlea     rcx, [rbp+4C0h+ContextRecord]; ContextRecord                   ; +0x45, 0x1800e0271\ncall    cs:RtlCaptureContext                                           ; +0x49, 0x1800e0275\nmov     rbx, [rbp+4C0h+ContextRecord.Rip]                              ; +0x4f, 0x1800e027b\nlea     rdx, [rbp+4C0h+ImageBase]; ImageBase                           ; +0x56, 0x1800e0282\nmov     rcx, rbx; ControlPc                                            ; +0x5d, 0x1800e0289\nxor     r8d, r8d; HistoryTable                                         ; +0x60, 0x1800e028c\ncall    cs:RtlLookupFunctionEntry                                      ; +0x63, 0x1800e028f\ntest    rax, rax                                                       ; +0x69, 0x1800e0295\njz      short loc_1800E02D6                                            ; +0x6c, 0x1800e0298\nand     [rsp+5C0h+var_588], 0                                          ; +0x6e, 0x1800e029a\nlea     rcx, [rbp+4C0h+arg_10]                                         ; +0x74, 0x1800e02a0\nmov     rdx, [rbp+4C0h+ImageBase]; ImageBase                           ; +0x7b, 0x1800e02a7\nmov     r9, rax; FunctionEntry                                         ; +0x82, 0x1800e02ae\nmov     [rsp+5C0h+EstablisherFrame], rcx; EstablisherFrame             ; +0x85, 0x1800e02b1\nmov     r8, rbx; ControlPc                                             ; +0x8a, 0x1800e02b6\nlea     rcx, [rbp+4C0h+arg_18]                                         ; +0x8d, 0x1800e02b9\nmov     [rsp+5C0h+HandlerData], rcx; HandlerData                       ; +0x94, 0x1800e02c0\nlea     rcx, [rbp+4C0h+ContextRecord]                                  ; +0x99, 0x1800e02c5\nmov     [rsp+5C0h+var_5A0], rcx; ContextRecord                         ; +0x9d, 0x1800e02c9\nxor     ecx, ecx; HandlerType                                          ; +0xa2, 0x1800e02ce\ncall    cs:RtlVirtualUnwind                                            ; +0xa4, 0x1800e02d0\nmov     rax, [rbp+4C8h]                                                ; +0xaa, 0x1800e02d6\nlea     rcx, [rsp+5C0h+var_570]; void *                                ; +0xb1, 0x1800e02dd\nmov     [rbp+4C0h+ContextRecord.Rip], rax                              ; +0xb6, 0x1800e02e2\nxor     edx, edx; Val                                                  ; +0xbd, 0x1800e02e9\nlea     rax, [rbp+4C8h]                                                ; +0xbf, 0x1800e02eb\nmov     r8d, 98h; Size                                                 ; +0xc6, 0x1800e02f2\nadd     rax, 8                                                         ; +0xcc, 0x1800e02f8\nmov     [rbp+4C0h+ContextRecord.Rsp], rax                              ; +0xd0, 0x1800e02fc\ncall    memset                                                         ; +0xd7, 0x1800e0303\nmov     rax, [rbp+4C8h]                                                ; +0xdc, 0x1800e0308\nmov     [rsp+5C0h+var_560], rax                                        ; +0xe3, 0x1800e030f\nmov     [rsp+5C0h+var_570], 40000015h                                  ; +0xe8, 0x1800e0314\nmov     [rsp+5C0h+var_56C], 1                                          ; +0xf0, 0x1800e031c\ncall    cs:IsDebuggerPresent                                           ; +0xf8, 0x1800e0324\nmov     ebx, eax                                                       ; +0xfe, 0x1800e032a\nxor     ecx, ecx; lpTopLevelExceptionFilter                            ; +0x100, 0x1800e032c\nlea     rax, [rsp+5C0h+var_570]                                        ; +0x102, 0x1800e032e\nmov     [rsp+5C0h+ExceptionInfo.ExceptionRecord], rax                  ; +0x107, 0x1800e0333\nlea     rax, [rbp+4C0h+ContextRecord]                                  ; +0x10c, 0x1800e0338\nmov     [rsp+5C0h+ExceptionInfo.ContextRecord], rax                    ; +0x110, 0x1800e033c\ncall    cs:SetUnhandledExceptionFilter                                 ; +0x115, 0x1800e0341\nlea     rcx, [rsp+5C0h+ExceptionInfo]; ExceptionInfo                   ; +0x11b, 0x1800e0347\ncall    cs:UnhandledExceptionFilter                                    ; +0x120, 0x1800e034c\ntest    eax, eax                                                       ; +0x126, 0x1800e0352\njnz     short loc_1800E0363                                            ; +0x128, 0x1800e0354\ncmp     ebx, 1                                                         ; +0x12a, 0x1800e0356\njz      short loc_1800E0363                                            ; +0x12d, 0x1800e0359\nlea     ecx, [rax+3]                                                   ; +0x12f, 0x1800e035b\ncall    sub_1800E0224                                                  ; +0x132, 0x1800e035e\nmov     rbx, [rsp+5C0h+arg_0]                                          ; +0x137, 0x1800e0363\nadd     rsp, 5C0h                                                      ; +0x13f, 0x1800e036b\npop     rbp                                                            ; +0x146, 0x1800e0372\nretn                                                                   ; +0x147, 0x1800e0373", "xrefs": ["__scrt_initialize_onexit_tables @ 0x1800df985", "dllmain_crt_process_attach @ 0x1800dfe3b", "dllmain_crt_process_detach @ 0x1800dfebc", "<???> @ 0x1801bb160"], "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"}