Function at 0x140015080
Capabilities:
Inspect section memory permissions

Disassembly:
push rbx
push r13
push r14
push r15
sub rsp, 0x38
mov r15d, ecx
xor eax, eax
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
xor r8b, r8b
cmp dword [rsp + 0x20], 0
je 0x140015493
cmp r15d, 1
je 0x1400154aa
mov eax, 1
cpuid
mov r10d, edx
mov r11d, eax
and r10d, 1
mov r9d, ecx
lea r10, [r10*2 + 1]
mov rax, r10
or rax, 4
test edx, 0x8000
cmovne r10, rax
mov rcx, r10
or rcx, 8
test edx, 0x800000
cmovne r10, rcx
test edx, 0x1000000
je 0x1400151fb
or r10, 0x10
mov r13, r10
or r13, 0x20
test edx, 0x2000000
cmovne r10, r13
mov r14, r10
or r14, 0x40
test edx, 0x4000000
cmovne r10, r14
mov r8, r10
or r8, 0x80
test r9d, 1
cmovne r10, r8
mov r8b, 1
mov r13, r10
or r13, 0x100
test r9d, 0x200
cmovne r10, r13
mov r14, r10
or r14, 0x800
test r9d, 0x400000
cmovne r10, r14
mov rax, r10
or rax, 0x200
test r9d, 0x80000
cmovne r10, rax
mov rcx, r10
or rcx, 0x400
test r9d, 0x100000
cmovne r10, rcx
mov rbx, r10
or rbx, 0x1000
test r9d, 0x800000
cmovne r10, rbx
mov rdx, r10
or rdx, 0x2000
test r9d, 2
cmovne r10, rdx
mov r13, r10
or r13, 0x4000
test r9d, 0x2000000
cmovne r10, r13
mov eax, 7
xor ecx, ecx
cpuid
mov r13d, ecx
mov r14d, ebx
movabs rcx, 0x800000000
or rcx, r10
test r14d, 0x20000000
cmovne r10, rcx
mov rax, r10
or rax, 0x20000
test r9d, 0x40000000
cmovne r10, rax
test r8b, r8b
jne 0x140015223
mov eax, 7
xor ecx, ecx
cpuid
mov r13d, ecx
mov r14d, ebx
mov r8d, r14d
mov rcx, r10
and r8d, 0x108
or rcx, 0x80000
cmp r8d, 0x108
cmove r10, rcx
mov eax, 0x80000001
cpuid
mov rdx, r10
or rdx, 0x100000
test cl, 0x20
cmovne r10, rdx
mov rcx, r10
or rcx, 0x200000
test r14d, 0x10
cmovne r10, rcx
mov rbx, r10
or rbx, 0x400000
test r14d, 0x800
cmovne r10, rbx
mov r8, r10
or r8, 0x10000000
test r14d, 0x80000
cmovne r10, r8
mov rax, r10
or rax, 0x20000000
test r14d, 0x40000
cmovne r10, rax
test r9d, 0x8000000
je 0x140015436
xor ecx, ecx
xgetbv
or r10, 1
mov edx, eax
and edx, 6
cmp edx, 6
jne 0x140015436
mov rdx, r10
or rdx, 0x10000
test r9d, 0x10000000
cmovne r10, rdx
mov rcx, r10
or rcx, 0x8000
test r9d, 0x20000000
cmovne r10, rcx
mov rbx, r10
or rbx, 0x800000
test r14d, 0x20
cmovne r10, rbx
mov r8, r10
or r8, 0x40000
test r9d, 0x1000
mov r9d, eax
cmovne r10, r8
and r9d, 0x18
cmp r9d, 0x18
jne 0x14001534e
or r10, 1
movabs rdx, 0x1000000000
or rdx, r10
test r14d, 0x4000
cmovne r10, rdx
and eax, 0xe0
cmp eax, 0xe0
jne 0x140015436
or r10, 1
movabs rdx, 0x400000000
mov rax, r10
movabs rcx, 0x100000000
or rax, 0x8000000
test r14d, 0x10000
movabs rbx, 0x200000000
movabs r9, 0x2000000000
cmovne r10, rax
mov eax, r14d
or rdx, r10
test r14d, 0x10000000
cmovne r10, rdx
movabs rdx, 0x4000000000
or rcx, r10
test r14d, 0x8000000
cmovne r10, rcx
and eax, 0x80000000
or rbx, r10
test r14d, 0x4000000
cmovne r10, rbx
mov r8, r10
or r8, 0x1000000
test r14d, 0x20000
cmovne r10, r8
or r9, r10
test r14d, 0x40000000
cmovne r10, r9
or rdx, r10
cmp eax, 0x80000000
cmove r10, rdx
mov rcx, r10
or rcx, 0x40000000
test r14d, 0x200000
movabs r14, 0x8000000000
cmovne r10, rcx
or r14, r10
test r13d, 2
cmovne r10, r14
mov eax, r11d
shr eax, 0xc
shr r11d, 4
and eax, 0xf0
and r11d, 0xf
add eax, r11d
cmp eax, 0x1c
je 0x14001545b
cmp eax, 0x26
je 0x14001545b
cmp eax, 0x27
jne 0x140015460
bts r10, 0x1f
cmp r15d, 1
je 0x140015479
mov qword [0x1400457c8], r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop rbx
ret
mov qword [0x1400457c0], r10
mov qword [0x1400457c8], r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop rbx
ret
mov qword [0x1400457c0], 1
add rsp, 0x38
pop r15
pop r14
pop r13
pop rbx
ret
cmp dword [rsp + 0x24], 0x756e6547
jne 0x140015493
cmp dword [rsp + 0x2c], 0x49656e69
jne 0x140015493
cmp dword [rsp + 0x28], 0x6c65746e
jne 0x140015493
jmp 0x1400150ba