{"type": "func", "start": 6443367216, "end": 6443367644, "name": "__isa_available_init", "pseudocode": "// \n// __isa_available_init from 0x1800dfb30 to 0x1800dfcdc (428 bytes)\n// \n// 3 xrefs:\n// > __scrt_dllmain_after_initialize_c @ 0x1800df7a1\n// > __scrt_initialize_crt @ 0x1800df8d3\n// > <???> @ 0x1801bb0dc\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 __cdecl _isa_available_init()\n{\n  int v5; // r11d\n  int v6; // r9d\n  int v7; // esi\n  int v9; // r10d\n  int v14; // edi\n  int v15; // eax\n  unsigned __int64 v16; // rax\n  __int64 v17; // rcx\n  int v18; // r8d\n  int v23; // eax\n  char v25; // [rsp+20h] [rbp+8h]\n\n  _RAX = 0;\n  __asm { cpuid }\n  v5 = 0;\n  v6 = _RBX;\n  v7 = _RAX;\n  _RAX = 1;\n  v9 = _RCX ^ 0x6C65746E | _RDX ^ 0x49656E69;\n  __asm { cpuid }\n  v14 = _RCX;\n  if ( !(v6 ^ 0x756E6547 | v9)\n    && ((qword_1801A4370 = -1, v15 = _RAX & 0xFFF3FF0, qword_1801A4368 = 0x8000, v15 == 67264)\n     || v15 == 132704\n     || v15 == 132720\n     || (v16 = (unsigned int)(v15 - 198224), (unsigned int)v16 <= 0x20) && (v17 = 0x100010001LL, _bittest64(&v17, v16))) )\n  {\n    v18 = dword_1801AC700 | 1;\n    dword_1801AC700 |= 1u;\n  }\n  else\n  {\n    v18 = dword_1801AC700;\n  }\n  _RAX = 7;\n  if ( v7 >= 7 )\n  {\n    __asm { cpuid }\n    v5 = _RBX;\n    if ( (_RBX & 0x200) != 0 )\n      dword_1801AC700 = v18 | 2;\n  }\n  dword_1801A4360 = 1;\n  dword_1801A4364 = 2;\n  if ( (v14 & 0x100000) != 0 )\n  {\n    dword_1801A4360 = 2;\n    dword_1801A4364 = 6;\n    if ( (v14 & 0x8000000) != 0 && (v14 & 0x10000000) != 0 )\n    {\n      __asm { xgetbv }\n      v25 = _RAX;\n      if ( (_RAX & 6) == 6 )\n      {\n        v23 = dword_1801A4364 | 8;\n        dword_1801A4360 = 3;\n        dword_1801A4364 |= 8u;\n        if ( (v5 & 0x20) != 0 )\n        {\n          dword_1801A4360 = 5;\n          dword_1801A4364 = v23 | 0x20;\n          if ( (v5 & 0xD0030000) == 0xD0030000 && (v25 & 0xE0) == 0xE0 )\n          {\n            dword_1801A4364 |= 0x40u;\n            dword_1801A4360 = 6;\n          }\n        }\n      }\n    }\n  }\n  return 0;\n}", "assembly": "; \n; __isa_available_init from 0x1800dfb30 to 0x1800dfcdc (428 bytes)\n; \n; 3 xrefs:\n; > __scrt_dllmain_after_initialize_c @ 0x1800df7a1\n; > __scrt_initialize_crt @ 0x1800df8d3\n; > <???> @ 0x1801bb0dc\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_8], rbx                                               ; +0x0, 0x1800dfb30\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800dfb35\npush    rdi                                                            ; +0xa, 0x1800dfb3a\nsub     rsp, 10h                                                       ; +0xb, 0x1800dfb3b\nxor     eax, eax                                                       ; +0xf, 0x1800dfb3f\nxor     ecx, ecx                                                       ; +0x11, 0x1800dfb41\ncpuid                                                                  ; +0x13, 0x1800dfb43\nmov     r8d, ecx                                                       ; +0x15, 0x1800dfb45\nxor     r11d, r11d                                                     ; +0x18, 0x1800dfb48\nmov     r10d, edx                                                      ; +0x1b, 0x1800dfb4b\nxor     r8d, 6C65746Eh                                                 ; +0x1e, 0x1800dfb4e\nxor     r10d, 49656E69h                                                ; +0x25, 0x1800dfb55\nmov     r9d, ebx                                                       ; +0x2c, 0x1800dfb5c\nmov     esi, eax                                                       ; +0x2f, 0x1800dfb5f\nxor     ecx, ecx                                                       ; +0x31, 0x1800dfb61\nlea     eax, [r11+1]                                                   ; +0x33, 0x1800dfb63\nor      r10d, r8d                                                      ; +0x37, 0x1800dfb67\ncpuid                                                                  ; +0x3a, 0x1800dfb6a\nxor     r9d, 756E6547h                                                 ; +0x3c, 0x1800dfb6c\nmov     [rsp+18h+var_18], eax                                          ; +0x43, 0x1800dfb73\nor      r10d, r9d                                                      ; +0x46, 0x1800dfb76\nmov     [rsp+18h+var_14], ebx                                          ; +0x49, 0x1800dfb79\nmov     edi, ecx                                                       ; +0x4d, 0x1800dfb7d\nmov     [rsp+18h+var_10], ecx                                          ; +0x4f, 0x1800dfb7f\nmov     [rsp+18h+var_C], edx                                           ; +0x53, 0x1800dfb83\njnz     short loc_1800DFBE4                                            ; +0x57, 0x1800dfb87\nor      cs:qword_1801A4370, 0FFFFFFFFFFFFFFFFh                         ; +0x59, 0x1800dfb89\nand     eax, 0FFF3FF0h                                                 ; +0x61, 0x1800dfb91\nmov     cs:qword_1801A4368, 8000h                                      ; +0x66, 0x1800dfb96\ncmp     eax, 106C0h                                                    ; +0x71, 0x1800dfba1\njz      short loc_1800DFBD0                                            ; +0x76, 0x1800dfba6\ncmp     eax, 20660h                                                    ; +0x78, 0x1800dfba8\njz      short loc_1800DFBD0                                            ; +0x7d, 0x1800dfbad\ncmp     eax, 20670h                                                    ; +0x7f, 0x1800dfbaf\njz      short loc_1800DFBD0                                            ; +0x84, 0x1800dfbb4\nadd     eax, 0FFFCF9B0h                                                ; +0x86, 0x1800dfbb6\ncmp     eax, 20h ; ' '                                                 ; +0x8b, 0x1800dfbbb\nja      short loc_1800DFBE4                                            ; +0x8e, 0x1800dfbbe\nmov     rcx, 100010001h                                                ; +0x90, 0x1800dfbc0\nbt      rcx, rax                                                       ; +0x9a, 0x1800dfbca\njnb     short loc_1800DFBE4                                            ; +0x9e, 0x1800dfbce\nmov     r8d, cs:dword_1801AC700                                        ; +0xa0, 0x1800dfbd0\nor      r8d, 1                                                         ; +0xa7, 0x1800dfbd7\nmov     cs:dword_1801AC700, r8d                                        ; +0xab, 0x1800dfbdb\njmp     short loc_1800DFBEB                                            ; +0xb2, 0x1800dfbe2\nmov     r8d, cs:dword_1801AC700                                        ; +0xb4, 0x1800dfbe4\nmov     eax, 7                                                         ; +0xbb, 0x1800dfbeb\nlea     r9d, [rax-5]                                                   ; +0xc0, 0x1800dfbf0\ncmp     esi, eax                                                       ; +0xc4, 0x1800dfbf4\njl      short loc_1800DFC1E                                            ; +0xc6, 0x1800dfbf6\nxor     ecx, ecx                                                       ; +0xc8, 0x1800dfbf8\ncpuid                                                                  ; +0xca, 0x1800dfbfa\nmov     [rsp+18h+var_18], eax                                          ; +0xcc, 0x1800dfbfc\nmov     r11d, ebx                                                      ; +0xcf, 0x1800dfbff\nmov     [rsp+18h+var_14], ebx                                          ; +0xd2, 0x1800dfc02\nmov     [rsp+18h+var_10], ecx                                          ; +0xd6, 0x1800dfc06\nmov     [rsp+18h+var_C], edx                                           ; +0xda, 0x1800dfc0a\nbt      ebx, 9                                                         ; +0xde, 0x1800dfc0e\njnb     short loc_1800DFC1E                                            ; +0xe2, 0x1800dfc12\nor      r8d, r9d                                                       ; +0xe4, 0x1800dfc14\nmov     cs:dword_1801AC700, r8d                                        ; +0xe7, 0x1800dfc17\nmov     cs:dword_1801A4360, 1                                          ; +0xee, 0x1800dfc1e\nmov     cs:dword_1801A4364, r9d                                        ; +0xf8, 0x1800dfc28\nbt      edi, 14h                                                       ; +0xff, 0x1800dfc2f\njnb     loc_1800DFCCA                                                  ; +0x103, 0x1800dfc33\nmov     cs:dword_1801A4360, r9d                                        ; +0x109, 0x1800dfc39\nmov     ebx, 6                                                         ; +0x110, 0x1800dfc40\nmov     cs:dword_1801A4364, ebx                                        ; +0x115, 0x1800dfc45\nbt      edi, 1Bh                                                       ; +0x11b, 0x1800dfc4b\njnb     short loc_1800DFCCA                                            ; +0x11f, 0x1800dfc4f\nbt      edi, 1Ch                                                       ; +0x121, 0x1800dfc51\njnb     short loc_1800DFCCA                                            ; +0x125, 0x1800dfc55\nxor     ecx, ecx                                                       ; +0x127, 0x1800dfc57\nxgetbv                                                                 ; +0x129, 0x1800dfc59\nshl     rdx, 20h                                                       ; +0x12c, 0x1800dfc5c\nor      rdx, rax                                                       ; +0x130, 0x1800dfc60\nmov     [rsp+18h+arg_0], rdx                                           ; +0x133, 0x1800dfc63\nmov     rax, [rsp+18h+arg_0]                                           ; +0x138, 0x1800dfc68\nand     al, bl                                                         ; +0x13d, 0x1800dfc6d\ncmp     al, bl                                                         ; +0x13f, 0x1800dfc6f\njnz     short loc_1800DFCCA                                            ; +0x141, 0x1800dfc71\nmov     eax, cs:dword_1801A4364                                        ; +0x143, 0x1800dfc73\nor      eax, 8                                                         ; +0x149, 0x1800dfc79\nmov     cs:dword_1801A4360, 3                                          ; +0x14c, 0x1800dfc7c\nmov     cs:dword_1801A4364, eax                                        ; +0x156, 0x1800dfc86\ntest    r11b, 20h                                                      ; +0x15c, 0x1800dfc8c\njz      short loc_1800DFCCA                                            ; +0x160, 0x1800dfc90\nor      eax, 20h                                                       ; +0x162, 0x1800dfc92\nmov     cs:dword_1801A4360, 5                                          ; +0x165, 0x1800dfc95\nmov     cs:dword_1801A4364, eax                                        ; +0x16f, 0x1800dfc9f\nmov     eax, 0D0030000h                                                ; +0x175, 0x1800dfca5\nand     r11d, eax                                                      ; +0x17a, 0x1800dfcaa\ncmp     r11d, eax                                                      ; +0x17d, 0x1800dfcad\njnz     short loc_1800DFCCA                                            ; +0x180, 0x1800dfcb0\nmov     rax, [rsp+18h+arg_0]                                           ; +0x182, 0x1800dfcb2\nand     al, 0E0h                                                       ; +0x187, 0x1800dfcb7\ncmp     al, 0E0h                                                       ; +0x189, 0x1800dfcb9\njnz     short loc_1800DFCCA                                            ; +0x18b, 0x1800dfcbb\nor      cs:dword_1801A4364, 40h                                        ; +0x18d, 0x1800dfcbd\nmov     cs:dword_1801A4360, ebx                                        ; +0x194, 0x1800dfcc4\nmov     rbx, [rsp+18h+arg_8]                                           ; +0x19a, 0x1800dfcca\nxor     eax, eax                                                       ; +0x19f, 0x1800dfccf\nmov     rsi, [rsp+18h+arg_10]                                          ; +0x1a1, 0x1800dfcd1\nadd     rsp, 10h                                                       ; +0x1a6, 0x1800dfcd6\npop     rdi                                                            ; +0x1aa, 0x1800dfcda\nretn                                                                   ; +0x1ab, 0x1800dfcdb", "xrefs": ["__scrt_dllmain_after_initialize_c @ 0x1800df7a1", "__scrt_initialize_crt @ 0x1800df8d3", "<???> @ 0x1801bb0dc"], "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"}