; ; __scrt_is_nonwritable_in_current_image from 0x1801206e8 to 0x180120780 (152 bytes) ; ; 2 xrefs: ; > dllmain_crt_process_attach @ 0x180120ba0 ; > @ 0x1802024ec ; ; 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 ; sub rsp, 18h ; +0x0, 0x1801206e8 mov r8, rcx ; +0x4, 0x1801206ec mov eax, 5A4Dh ; +0x7, 0x1801206ef cmp cs:180000000h, ax ; +0xc, 0x1801206f4 jnz short loc_180120775 ; +0x13, 0x1801206fb movsxd rcx, dword ptr cs:18000003Ch ; +0x15, 0x1801206fd lea rdx, cs:180000000h ; +0x1c, 0x180120704 add rcx, rdx ; +0x23, 0x18012070b cmp dword ptr [rcx], 4550h ; +0x26, 0x18012070e jnz short loc_180120775 ; +0x2c, 0x180120714 mov eax, 20Bh ; +0x2e, 0x180120716 cmp [rcx+18h], ax ; +0x33, 0x18012071b jnz short loc_180120775 ; +0x37, 0x18012071f sub r8, rdx ; +0x39, 0x180120721 movzx eax, word ptr [rcx+14h] ; +0x3c, 0x180120724 lea rdx, [rcx+18h] ; +0x40, 0x180120728 add rdx, rax ; +0x44, 0x18012072c movzx eax, word ptr [rcx+6] ; +0x47, 0x18012072f lea rcx, [rax+rax*4] ; +0x4b, 0x180120733 lea r9, [rdx+rcx*8] ; +0x4f, 0x180120737 mov [rsp+18h+var_18], rdx ; +0x53, 0x18012073b cmp rdx, r9 ; +0x57, 0x18012073f jz short loc_18012075C ; +0x5a, 0x180120742 mov ecx, [rdx+0Ch] ; +0x5c, 0x180120744 cmp r8, rcx ; +0x5f, 0x180120747 jb short loc_180120756 ; +0x62, 0x18012074a mov eax, [rdx+8] ; +0x64, 0x18012074c add eax, ecx ; +0x67, 0x18012074f cmp r8, rax ; +0x69, 0x180120751 jb short loc_18012075E ; +0x6c, 0x180120754 add rdx, 28h ; '(' ; +0x6e, 0x180120756 jmp short loc_18012073B ; +0x72, 0x18012075a xor edx, edx ; +0x74, 0x18012075c test rdx, rdx ; +0x76, 0x18012075e jnz short loc_180120767 ; +0x79, 0x180120761 xor al, al ; +0x7b, 0x180120763 jmp short loc_18012077B ; +0x7d, 0x180120765 cmp dword ptr [rdx+24h], 0 ; +0x7f, 0x180120767 jge short loc_180120771 ; +0x83, 0x18012076b xor al, al ; +0x85, 0x18012076d jmp short loc_18012077B ; +0x87, 0x18012076f mov al, 1 ; +0x89, 0x180120771 jmp short loc_18012077B ; +0x8b, 0x180120773 xor al, al ; +0x8d, 0x180120775 jmp short loc_18012077B ; +0x8f, 0x180120777 xor al, al ; +0x91, 0x180120779 add rsp, 18h ; +0x93, 0x18012077b retn ; +0x97, 0x18012077f