{"type": "func", "start": 6443631336, "end": 6443631753, "name": "__isa_available_init", "pseudocode": "// \n// __isa_available_init from 0x1801202e8 to 0x180120489 (417 bytes)\n// \n// 3 xrefs:\n// > __scrt_dllmain_after_initialize_c @ 0x1801204ed\n// > __scrt_initialize_crt @ 0x18012062d\n// > <???> @ 0x180202468\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; // r10d\n  int v7; // esi\n  int v9; // r9d\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 = _RDX;\n  v7 = _RAX;\n  _RAX = 1;\n  v9 = _RCX ^ 0x6C65746E | _RBX ^ 0x756E6547;\n  __asm { cpuid }\n  v14 = _RCX;\n  if ( !(v6 ^ 0x49656E69 | v9)\n    && ((qword_1801B1708 = -1, v15 = _RAX & 0xFFF3FF0, 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_1801F4990 | 1;\n    dword_1801F4990 |= 1u;\n  }\n  else\n  {\n    v18 = dword_1801F4990;\n  }\n  _RAX = 7;\n  if ( v7 >= 7 )\n  {\n    __asm { cpuid }\n    v5 = _RBX;\n    if ( (_RBX & 0x200) != 0 )\n      dword_1801F4990 = v18 | 2;\n  }\n  dword_1801B1700 = 1;\n  dword_1801B1704 = 2;\n  if ( (v14 & 0x100000) != 0 )\n  {\n    dword_1801B1700 = 2;\n    dword_1801B1704 = 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_1801B1704 | 8;\n        dword_1801B1700 = 3;\n        dword_1801B1704 |= 8u;\n        if ( (v5 & 0x20) != 0 )\n        {\n          dword_1801B1700 = 5;\n          dword_1801B1704 = v23 | 0x20;\n          if ( (v5 & 0xD0030000) == 0xD0030000 && (v25 & 0xE0) == 0xE0 )\n          {\n            dword_1801B1704 |= 0x40u;\n            dword_1801B1700 = 6;\n          }\n        }\n      }\n    }\n  }\n  return 0;\n}", "assembly": "; \n; __isa_available_init from 0x1801202e8 to 0x180120489 (417 bytes)\n; \n; 3 xrefs:\n; > __scrt_dllmain_after_initialize_c @ 0x1801204ed\n; > __scrt_initialize_crt @ 0x18012062d\n; > <???> @ 0x180202468\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, 0x1801202e8\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1801202ed\npush    rdi                                                            ; +0xa, 0x1801202f2\nsub     rsp, 10h                                                       ; +0xb, 0x1801202f3\nxor     eax, eax                                                       ; +0xf, 0x1801202f7\nxor     ecx, ecx                                                       ; +0x11, 0x1801202f9\ncpuid                                                                  ; +0x13, 0x1801202fb\nmov     r8d, ecx                                                       ; +0x15, 0x1801202fd\nxor     r11d, r11d                                                     ; +0x18, 0x180120300\nmov     r9d, ebx                                                       ; +0x1b, 0x180120303\nxor     r8d, 6C65746Eh                                                 ; +0x1e, 0x180120306\nxor     r9d, 756E6547h                                                 ; +0x25, 0x18012030d\nmov     r10d, edx                                                      ; +0x2c, 0x180120314\nmov     esi, eax                                                       ; +0x2f, 0x180120317\nxor     ecx, ecx                                                       ; +0x31, 0x180120319\nlea     eax, [r11+1]                                                   ; +0x33, 0x18012031b\nor      r9d, r8d                                                       ; +0x37, 0x18012031f\ncpuid                                                                  ; +0x3a, 0x180120322\nxor     r10d, 49656E69h                                                ; +0x3c, 0x180120324\nmov     [rsp+18h+var_18], eax                                          ; +0x43, 0x18012032b\nor      r9d, r10d                                                      ; +0x46, 0x18012032e\nmov     [rsp+18h+var_14], ebx                                          ; +0x49, 0x180120331\nmov     edi, ecx                                                       ; +0x4d, 0x180120335\nmov     [rsp+18h+var_10], ecx                                          ; +0x4f, 0x180120337\nmov     [rsp+18h+var_C], edx                                           ; +0x53, 0x18012033b\njnz     short loc_180120391                                            ; +0x57, 0x18012033f\nor      cs:qword_1801B1708, 0FFFFFFFFFFFFFFFFh                         ; +0x59, 0x180120341\nand     eax, 0FFF3FF0h                                                 ; +0x61, 0x180120349\ncmp     eax, 106C0h                                                    ; +0x66, 0x18012034e\njz      short loc_18012037D                                            ; +0x6b, 0x180120353\ncmp     eax, 20660h                                                    ; +0x6d, 0x180120355\njz      short loc_18012037D                                            ; +0x72, 0x18012035a\ncmp     eax, 20670h                                                    ; +0x74, 0x18012035c\njz      short loc_18012037D                                            ; +0x79, 0x180120361\nadd     eax, 0FFFCF9B0h                                                ; +0x7b, 0x180120363\ncmp     eax, 20h ; ' '                                                 ; +0x80, 0x180120368\nja      short loc_180120391                                            ; +0x83, 0x18012036b\nmov     rcx, 100010001h                                                ; +0x85, 0x18012036d\nbt      rcx, rax                                                       ; +0x8f, 0x180120377\njnb     short loc_180120391                                            ; +0x93, 0x18012037b\nmov     r8d, cs:dword_1801F4990                                        ; +0x95, 0x18012037d\nor      r8d, 1                                                         ; +0x9c, 0x180120384\nmov     cs:dword_1801F4990, r8d                                        ; +0xa0, 0x180120388\njmp     short loc_180120398                                            ; +0xa7, 0x18012038f\nmov     r8d, cs:dword_1801F4990                                        ; +0xa9, 0x180120391\nmov     eax, 7                                                         ; +0xb0, 0x180120398\nlea     r9d, [rax-5]                                                   ; +0xb5, 0x18012039d\ncmp     esi, eax                                                       ; +0xb9, 0x1801203a1\njl      short loc_1801203CB                                            ; +0xbb, 0x1801203a3\nxor     ecx, ecx                                                       ; +0xbd, 0x1801203a5\ncpuid                                                                  ; +0xbf, 0x1801203a7\nmov     [rsp+18h+var_18], eax                                          ; +0xc1, 0x1801203a9\nmov     r11d, ebx                                                      ; +0xc4, 0x1801203ac\nmov     [rsp+18h+var_14], ebx                                          ; +0xc7, 0x1801203af\nmov     [rsp+18h+var_10], ecx                                          ; +0xcb, 0x1801203b3\nmov     [rsp+18h+var_C], edx                                           ; +0xcf, 0x1801203b7\nbt      ebx, 9                                                         ; +0xd3, 0x1801203bb\njnb     short loc_1801203CB                                            ; +0xd7, 0x1801203bf\nor      r8d, r9d                                                       ; +0xd9, 0x1801203c1\nmov     cs:dword_1801F4990, r8d                                        ; +0xdc, 0x1801203c4\nmov     cs:dword_1801B1700, 1                                          ; +0xe3, 0x1801203cb\nmov     cs:dword_1801B1704, r9d                                        ; +0xed, 0x1801203d5\nbt      edi, 14h                                                       ; +0xf4, 0x1801203dc\njnb     loc_180120477                                                  ; +0xf8, 0x1801203e0\nmov     cs:dword_1801B1700, r9d                                        ; +0xfe, 0x1801203e6\nmov     ebx, 6                                                         ; +0x105, 0x1801203ed\nmov     cs:dword_1801B1704, ebx                                        ; +0x10a, 0x1801203f2\nbt      edi, 1Bh                                                       ; +0x110, 0x1801203f8\njnb     short loc_180120477                                            ; +0x114, 0x1801203fc\nbt      edi, 1Ch                                                       ; +0x116, 0x1801203fe\njnb     short loc_180120477                                            ; +0x11a, 0x180120402\nxor     ecx, ecx                                                       ; +0x11c, 0x180120404\nxgetbv                                                                 ; +0x11e, 0x180120406\nshl     rdx, 20h                                                       ; +0x121, 0x180120409\nor      rdx, rax                                                       ; +0x125, 0x18012040d\nmov     [rsp+18h+arg_0], rdx                                           ; +0x128, 0x180120410\nmov     rax, [rsp+18h+arg_0]                                           ; +0x12d, 0x180120415\nand     al, bl                                                         ; +0x132, 0x18012041a\ncmp     al, bl                                                         ; +0x134, 0x18012041c\njnz     short loc_180120477                                            ; +0x136, 0x18012041e\nmov     eax, cs:dword_1801B1704                                        ; +0x138, 0x180120420\nor      eax, 8                                                         ; +0x13e, 0x180120426\nmov     cs:dword_1801B1700, 3                                          ; +0x141, 0x180120429\nmov     cs:dword_1801B1704, eax                                        ; +0x14b, 0x180120433\ntest    r11b, 20h                                                      ; +0x151, 0x180120439\njz      short loc_180120477                                            ; +0x155, 0x18012043d\nor      eax, 20h                                                       ; +0x157, 0x18012043f\nmov     cs:dword_1801B1700, 5                                          ; +0x15a, 0x180120442\nmov     cs:dword_1801B1704, eax                                        ; +0x164, 0x18012044c\nmov     eax, 0D0030000h                                                ; +0x16a, 0x180120452\nand     r11d, eax                                                      ; +0x16f, 0x180120457\ncmp     r11d, eax                                                      ; +0x172, 0x18012045a\njnz     short loc_180120477                                            ; +0x175, 0x18012045d\nmov     rax, [rsp+18h+arg_0]                                           ; +0x177, 0x18012045f\nand     al, 0E0h                                                       ; +0x17c, 0x180120464\ncmp     al, 0E0h                                                       ; +0x17e, 0x180120466\njnz     short loc_180120477                                            ; +0x180, 0x180120468\nor      cs:dword_1801B1704, 40h                                        ; +0x182, 0x18012046a\nmov     cs:dword_1801B1700, ebx                                        ; +0x189, 0x180120471\nmov     rbx, [rsp+18h+arg_8]                                           ; +0x18f, 0x180120477\nxor     eax, eax                                                       ; +0x194, 0x18012047c\nmov     rsi, [rsp+18h+arg_10]                                          ; +0x196, 0x18012047e\nadd     rsp, 10h                                                       ; +0x19b, 0x180120483\npop     rdi                                                            ; +0x19f, 0x180120487\nretn                                                                   ; +0x1a0, 0x180120488", "xrefs": ["__scrt_dllmain_after_initialize_c @ 0x1801204ed", "__scrt_initialize_crt @ 0x18012062d", "<???> @ 0x180202468"], "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"}