{"type": "func", "start": 6442579548, "end": 6442579584, "name": "__scrt_release_startup_lock", "pseudocode": "// \n// __scrt_release_startup_lock from 0x18001f65c to 0x18001f680 (36 bytes)\n// \n// 6 xrefs:\n// > dllmain_crt_process_attach @ 0x18001f941\n// > dllmain_crt_process_detach @ 0x18001fa08\n// > dllmain_crt_process_attach @ 0x1800212b6\n// > dllmain_crt_process_detach @ 0x1800212c8\n// > <???> @ 0x18004b1f0\n// > <???> @ 0x18004b1fc\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\nchar __fastcall _scrt_release_startup_lock(char a1)\n{\n  int v2; // eax\n\n  LOBYTE(v2) = __uncaught_exception();\n  if ( v2 && !a1 )\n    _InterlockedExchange64(&qword_180047FF8, 0);\n  return v2;\n}", "assembly": "; \n; __scrt_release_startup_lock from 0x18001f65c to 0x18001f680 (36 bytes)\n; \n; 6 xrefs:\n; > dllmain_crt_process_attach @ 0x18001f941\n; > dllmain_crt_process_detach @ 0x18001fa08\n; > dllmain_crt_process_attach @ 0x1800212b6\n; > dllmain_crt_process_detach @ 0x1800212c8\n; > <???> @ 0x18004b1f0\n; > <???> @ 0x18004b1fc\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\npush    rbx                                                            ; +0x0, 0x18001f65c\nsub     rsp, 20h                                                       ; +0x2, 0x18001f65e\nmov     bl, cl                                                         ; +0x6, 0x18001f662\ncall    ?__uncaught_exception@@YA_NXZ                                  ; +0x8, 0x18001f664\nxor     edx, edx                                                       ; +0xd, 0x18001f669\ntest    eax, eax                                                       ; +0xf, 0x18001f66b\njz      short loc_18001F67A                                            ; +0x11, 0x18001f66d\ntest    bl, bl                                                         ; +0x13, 0x18001f66f\njnz     short loc_18001F67A                                            ; +0x15, 0x18001f671\nxchg    rdx, cs:qword_180047FF8                                        ; +0x17, 0x18001f673\nadd     rsp, 20h                                                       ; +0x1e, 0x18001f67a\npop     rbx                                                            ; +0x22, 0x18001f67e\nretn                                                                   ; +0x23, 0x18001f67f", "xrefs": ["dllmain_crt_process_attach @ 0x18001f941", "dllmain_crt_process_detach @ 0x18001fa08", "dllmain_crt_process_attach @ 0x1800212b6", "dllmain_crt_process_detach @ 0x1800212c8", "<???> @ 0x18004b1f0", "<???> @ 0x18004b1fc"], "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"}