Function at 0x140026610
Capabilities:
Inspect section memory permissions

Disassembly:
push rdx
push rcx
push rbx
push rsi
push r8
push r9
push r10
push r12
push rbp
sub rsp, 0x30
mov r12d, eax
xor eax, eax
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
cmp dword [rsp + 0x20], 0
je 0x140026a21
cmp r12d, 1
je 0x140026a3e
mov eax, 1
cpuid
mov esi, edx
mov ebp, ecx
and esi, 1
test edx, 0x8000
mov r10d, eax
lea rsi, [rsi*2 + 1]
lea r8, [rsi + 4]
cmovne rsi, r8
test edx, 0x800000
lea r9, [rsi + 8]
cmovne rsi, r9
test edx, 0x1000000
jne 0x1400266af
test ebp, 0x40000000
lea r8, [rsi + 0x20000]
cmovne rsi, r8
mov eax, 7
xor ecx, ecx
cpuid
mov r9d, ecx
mov r8d, ebx
jmp 0x1400267ae
add rsi, 0x10
mov r8, rsi
or r8, 0x20
test edx, 0x2000000
cmovne rsi, r8
mov r9, rsi
or r9, 0x40
test edx, 0x4000000
cmovne rsi, r9
mov r8, rsi
or r8, 0x80
test ebp, 1
cmovne rsi, r8
mov rax, rsi
or rax, 0x100
test ebp, 0x200
cmovne rsi, rax
mov rcx, rsi
or rcx, 0x800
test ebp, 0x400000
cmovne rsi, rcx
mov rbx, rsi
or rbx, 0x200
test ebp, 0x80000
cmovne rsi, rbx
mov rdx, rsi
or rdx, 0x400
test ebp, 0x100000
cmovne rsi, rdx
mov r8, rsi
or r8, 0x1000
test ebp, 0x800000
cmovne rsi, r8
mov r9, rsi
or r9, 0x2000
test ebp, 2
cmovne rsi, r9
mov rax, rsi
or rax, 0x4000
test ebp, 0x2000000
cmovne rsi, rax
mov eax, 7
xor ecx, ecx
cpuid
mov r9d, ecx
mov r8d, ebx
movabs rcx, 0x800000000
or rcx, rsi
test r8d, 0x20000000
cmovne rsi, rcx
mov rbx, rsi
or rbx, 0x20000
test ebp, 0x40000000
cmovne rsi, rbx
mov eax, r8d
mov rbx, rsi
and eax, 0x108
or rbx, 0x80000
cmp eax, 0x108
cmove rsi, rbx
mov eax, 0x80000001
cpuid
mov rdx, rsi
or rdx, 0x100000
test cl, 0x20
cmovne rsi, rdx
mov rcx, rsi
or rcx, 0x200000
test r8d, 0x10
cmovne rsi, rcx
mov rax, rsi
or rax, 0x400000
test r8d, 0x800
cmovne rsi, rax
mov rdx, rsi
or rdx, 0x10000000
test r8d, 0x80000
cmovne rsi, rdx
mov rbx, rsi
or rbx, 0x20000000
test r8d, 0x40000
cmovne rsi, rbx
test ebp, 0x8000000
je 0x1400269b8
xor ecx, ecx
xgetbv
or rsi, 1
mov edx, eax
and edx, 6
cmp edx, 6
jne 0x1400269b8
mov rdx, rsi
or rdx, 0x10000
test ebp, 0x10000000
cmovne rsi, rdx
mov rcx, rsi
or rcx, 0x8000
test ebp, 0x20000000
cmovne rsi, rcx
mov rbx, rsi
or rbx, 0x800000
test r8d, 0x20
cmovne rsi, rbx
mov rdx, rsi
or rdx, 0x40000
test ebp, 0x1000
mov ebp, eax
cmovne rsi, rdx
and ebp, 0x18
cmp ebp, 0x18
jne 0x1400268ce
or rsi, 1
movabs rdx, 0x1000000000
or rdx, rsi
test r8d, 0x4000
cmovne rsi, rdx
and eax, 0xe0
cmp eax, 0xe0
jne 0x1400269b8
or rsi, 1
movabs rdx, 0x400000000
mov rax, rsi
movabs rcx, 0x100000000
or rax, 0x8000000
test r8d, 0x10000
movabs rbx, 0x200000000
cmovne rsi, rax
movabs rax, 0x2000000000
or rdx, rsi
test r8d, 0x10000000
cmovne rsi, rdx
mov edx, r8d
or rcx, rsi
test r8d, 0x8000000
cmovne rsi, rcx
movabs rcx, 0x4000000000
or rbx, rsi
test r8d, 0x4000000
cmovne rsi, rbx
and edx, 0x80000000
mov rbp, rsi
or rbp, 0x1000000
test r8d, 0x20000
cmovne rsi, rbp
or rax, rsi
test r8d, 0x40000000
cmovne rsi, rax
or rcx, rsi
cmp edx, 0x80000000
cmove rsi, rcx
mov rbx, rsi
or rbx, 0x40000000
test r8d, 0x200000
movabs r8, 0x8000000000
cmovne rsi, rbx
or r8, rsi
test r9d, 2
cmovne rsi, r8
mov eax, r10d
shr eax, 0xc
shr r10d, 4
and eax, 0xf0
and r10d, 0xf
add eax, r10d
cmp eax, 0x1c
je 0x1400269dd
cmp eax, 0x26
je 0x1400269dd
cmp eax, 0x27
jne 0x1400269e2
bts rsi, 0x1f
cmp r12d, 1
je 0x140026a01
mov qword [0x140038418], rsi
add rsp, 0x30
pop rbp
pop r12
pop r10
pop r9
pop r8
pop rsi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140038410], rsi
mov qword [0x140038418], rsi
add rsp, 0x30
pop rbp
pop r12
pop r10
pop r9
pop r8
pop rsi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140038410], 1
add rsp, 0x30
pop rbp
pop r12
pop r10
pop r9
pop r8
pop rsi
pop rbx
pop rcx
pop rdx
ret
cmp dword [rsp + 0x24], 0x756e6547
jne 0x140026a21
cmp dword [rsp + 0x2c], 0x49656e69
jne 0x140026a21
cmp dword [rsp + 0x28], 0x6c65746e
jne 0x140026a21
jmp 0x14002664d