; ; __scrt_initialize_onexit_tables from 0x18001f538 to 0x18001f5c3 (139 bytes) ; ; 2 xrefs: ; > __scrt_dllmain_before_initialize_c @ 0x18001f406 ; > @ 0x18004b1e4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x18001f538 sub rsp, 20h ; +0x2, 0x18001f53a cmp cs:byte_180048001, 0 ; +0x6, 0x18001f53e mov ebx, ecx ; +0xd, 0x18001f545 jnz short loc_18001F5B0 ; +0xf, 0x18001f547 cmp ecx, 1 ; +0x11, 0x18001f549 ja short loc_18001F5B8 ; +0x14, 0x18001f54c call ?__uncaught_exception@@YA_NXZ ; +0x16, 0x18001f54e test eax, eax ; +0x1b, 0x18001f553 jz short loc_18001F57F ; +0x1d, 0x18001f555 test ebx, ebx ; +0x1f, 0x18001f557 jnz short loc_18001F57F ; +0x21, 0x18001f559 lea rcx, Table; Table ; +0x23, 0x18001f55b call _initialize_onexit_table ; +0x2a, 0x18001f562 test eax, eax ; +0x2f, 0x18001f567 jnz short loc_18001F57B ; +0x31, 0x18001f569 lea rcx, stru_180048020; Table ; +0x33, 0x18001f56b call _initialize_onexit_table ; +0x3a, 0x18001f572 test eax, eax ; +0x3f, 0x18001f577 jz short loc_18001F5A9 ; +0x41, 0x18001f579 xor al, al ; +0x43, 0x18001f57b jmp short loc_18001F5B2 ; +0x45, 0x18001f57d movdqa xmm0, cs:xmmword_180023300 ; +0x47, 0x18001f57f or rax, 0FFFFFFFFFFFFFFFFh ; +0x4f, 0x18001f587 movdqu xmmword ptr cs:Table._first, xmm0 ; +0x53, 0x18001f58b mov cs:Table._end, rax ; +0x5b, 0x18001f593 movdqu xmmword ptr cs:stru_180048020._first, xmm0 ; +0x62, 0x18001f59a mov cs:stru_180048020._end, rax ; +0x6a, 0x18001f5a2 mov cs:byte_180048001, 1 ; +0x71, 0x18001f5a9 mov al, 1 ; +0x78, 0x18001f5b0 add rsp, 20h ; +0x7a, 0x18001f5b2 pop rbx ; +0x7e, 0x18001f5b6 retn ; +0x7f, 0x18001f5b7 mov ecx, 5 ; +0x80, 0x18001f5b8 call __scrt_fastfail ; +0x85, 0x18001f5bd db 0CCh ; +0x8a, 0x18001f5c2