Function at 0x14000d0b0
Capabilities:
Inspect section memory permissions

Disassembly:
push rdx
push rcx
push rbx
push rdi
push r8
push r9
push r10
push r11
push r12
push rbp
sub rsp, 0x38
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 0x14000d4fe
cmp r12d, 1
je 0x14000d51d
mov eax, 1
cpuid
mov edi, edx
mov ebp, ecx
and edi, 1
test edx, 0x8000
mov r11d, eax
lea rdi, [rdi*2 + 1]
lea r8, [rdi + 4]
cmovne rdi, r8
test edx, 0x800000
lea r9, [rdi + 8]
cmovne rdi, r9
test edx, 0x1000000
jne 0x14000d154
test ebp, 0x40000000
lea r8, [rdi + 0x20000]
cmovne rdi, r8
mov eax, 7
xor ecx, ecx
cpuid
mov r10d, edx
mov r9d, ecx
mov r8d, ebx
jmp 0x14000d257
add rdi, 0x10
mov r8, rdi
or r8, 0x20
test edx, 0x2000000
cmovne rdi, r8
mov r9, rdi
or r9, 0x40
test edx, 0x4000000
cmovne rdi, r9
mov r10, rdi
or r10, 0x80
test ebp, 1
cmovne rdi, r10
mov r8, rdi
or r8, 0x100
test ebp, 0x200
cmovne rdi, r8
mov r9, rdi
or r9, 0x800
test ebp, 0x400000
cmovne rdi, r9
mov rax, rdi
or rax, 0x200
test ebp, 0x80000
cmovne rdi, rax
mov rdx, rdi
or rdx, 0x400
test ebp, 0x100000
cmovne rdi, rdx
mov rcx, rdi
or rcx, 0x1000
test ebp, 0x800000
cmovne rdi, rcx
mov rbx, rdi
or rbx, 0x2000
test ebp, 2
cmovne rdi, rbx
mov r8, rdi
or r8, 0x4000
test ebp, 0x2000000
cmovne rdi, r8
mov eax, 7
xor ecx, ecx
cpuid
mov r10d, edx
mov r8d, ebx
movabs rdx, 0x800000000
mov r9d, ecx
or rdx, rdi
test r8d, 0x20000000
cmovne rdi, rdx
mov rcx, rdi
or rcx, 0x20000
test ebp, 0x40000000
cmovne rdi, rcx
mov eax, r8d
mov rbx, rdi
and eax, 0x108
or rbx, 0x80000
cmp eax, 0x108
cmove rdi, rbx
mov eax, 0x80000001
cpuid
mov rdx, rdi
or rdx, 0x100000
test cl, 0x20
cmovne rdi, rdx
mov rcx, rdi
or rcx, 0x200000
test r8d, 0x10
cmovne rdi, rcx
mov rax, rdi
or rax, 0x400000
test r8d, 0x800
cmovne rdi, rax
mov rdx, rdi
or rdx, 0x10000000
test r8d, 0x80000
cmovne rdi, rdx
mov rbx, rdi
or rbx, 0x20000000
test r8d, 0x40000
cmovne rdi, rbx
test ebp, 0x8000000
je 0x14000d491
xor ecx, ecx
xgetbv
or rdi, 1
mov edx, eax
and edx, 6
cmp edx, 6
jne 0x14000d491
mov rdx, rdi
or rdx, 0x10000
test ebp, 0x10000000
cmovne rdi, rdx
mov rcx, rdi
or rcx, 0x8000
test ebp, 0x20000000
cmovne rdi, rcx
mov rbx, rdi
or rbx, 0x800000
test r8d, 0x20
cmovne rdi, rbx
mov rdx, rdi
or rdx, 0x40000
test ebp, 0x1000
mov ebp, eax
cmovne rdi, rdx
and ebp, 0x18
cmp ebp, 0x18
jne 0x14000d377
or rdi, 1
movabs rdx, 0x1000000000
or rdx, rdi
test r8d, 0x4000
cmovne rdi, rdx
and eax, 0xe0
cmp eax, 0xe0
jne 0x14000d491
or rdi, 1
movabs rdx, 0x400000000
mov rax, rdi
movabs rcx, 0x100000000
or rax, 0x8000000
test r8d, 0x10000
movabs rbx, 0x200000000
cmovne rdi, rax
movabs rax, 0x2000000000
or rdx, rdi
test r8d, 0x10000000
cmovne rdi, rdx
mov edx, r8d
or rcx, rdi
test r8d, 0x8000000
cmovne rdi, rcx
movabs rcx, 0x4000000000
or rbx, rdi
test r8d, 0x4000000
cmovne rdi, rbx
and edx, 0x80000000
mov rbp, rdi
or rbp, 0x1000000
test r8d, 0x20000
cmovne rdi, rbp
or rax, rdi
test r8d, 0x40000000
cmovne rdi, rax
movabs rax, 0x400000000000
or rcx, rdi
cmp edx, 0x80000000
cmove rdi, rcx
mov rbx, rdi
or rbx, 0x40000000
test r8d, 0x200000
movabs r8, 0x8000000000
cmovne rdi, rbx
or r8, rdi
test r9d, 2
movabs r9, 0x800000000000
cmovne rdi, r8
or r9, rdi
test r10d, 4
cmovne rdi, r9
or rax, rdi
test r10d, 8
cmovne rdi, rax
mov eax, r11d
shr eax, 0xc
shr r11d, 4
and eax, 0xf0
and r11d, 0xf
add eax, r11d
cmp eax, 0x1c
je 0x14000d4b6
cmp eax, 0x26
je 0x14000d4b6
cmp eax, 0x27
jne 0x14000d4bb
bts rdi, 0x1f
cmp r12d, 1
je 0x14000d4dc
mov qword [0x140041040], rdi
add rsp, 0x38
pop rbp
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140041038], rdi
mov qword [0x140041040], rdi
add rsp, 0x38
pop rbp
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140041038], 1
add rsp, 0x38
pop rbp
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rbx
pop rcx
pop rdx
ret
cmp dword [rsp + 0x24], 0x756e6547
jne 0x14000d4fe
cmp dword [rsp + 0x2c], 0x49656e69
jne 0x14000d4fe
cmp dword [rsp + 0x28], 0x6c65746e
jne 0x14000d4fe
jmp 0x14000d0ef