Function at 0x140041d80
Capabilities:
Inspect section memory permissions

Disassembly:
push rdx
push rcx
push rbx
push rsi
push rdi
push r10
push r11
push r12
push r13
push r14
push rbp
sub rsp, 0x30
mov r14d, 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 0x140042296
cmp r14d, 1
je 0x1400422b6
mov eax, 1
cpuid
mov ebp, edx
mov esi, edx
and ebp, 0x8000
and esi, 1
mov edi, ecx
mov r13d, eax
shr rbp, 0xd
test edx, 0x800000
lea rsi, [rbp + rsi*2 + 1]
lea r10, [rsi + 8]
cmovne rsi, r10
test edx, 0x1000000
jne 0x140041e20
mov r10d, edi
and r10d, 0x40000000
mov eax, 7
xor ecx, ecx
cpuid
shr r10, 0xd
mov r12d, edx
add rsi, r10
mov r11d, ecx
mov r10d, ebx
jmp 0x140041f06
mov r11d, edi
lea rbp, [rsi + 0x10]
add rsi, 0x30
test edx, 0x2000000
mov eax, edi
cmovne rbp, rsi
and edx, 0x4000000
and r11d, 0x200
mov esi, edi
shr rdx, 0x14
and esi, 0x80000
or rbp, rdx
and eax, 0x2000000
mov r10, rbp
or r10, 0x80
test edi, 1
cmovne rbp, r10
shr r11, 1
or rbp, r11
mov r11d, edi
mov r12, rbp
and r11d, 0x800000
or r12, 0x800
test edi, 0x400000
cmovne rbp, r12
shr rsi, 0xa
or rbp, rsi
mov esi, edi
mov r10, rbp
and esi, 0x40000000
or r10, 0x400
test edi, 0x100000
cmovne rbp, r10
shr r11, 0xb
or rbp, r11
mov r12, rbp
or r12, 0x2000
test edi, 2
cmovne rbp, r12
shr rax, 0xb
or rbp, rax
mov eax, 7
xor ecx, ecx
cpuid
mov r12d, edx
mov r10d, ebx
movabs rdx, 0x800000000
mov r11d, ecx
or rdx, rbp
test r10d, 0x20000000
cmovne rbp, rdx
shr rsi, 0xd
or rsi, rbp
mov eax, r10d
mov rbx, rsi
and eax, 0x108
mov ebp, r10d
or rbx, 0x80000
cmp eax, 0x108
mov eax, r10d
mov ecx, r10d
cmove rsi, rbx
and ebp, 4
and eax, 0x800
and ecx, 0x40000
shl rbp, 0x33
movabs rdx, 0x2000000000000
or rbp, rsi
mov rsi, rbp
or rsi, 0x200000
test r10d, 0x10
cmovne rbp, rsi
movabs rsi, 0x40000000000000
shl rax, 0xb
or rbp, rax
mov rbx, rbp
or rbx, 0x10000000
test r10d, 0x80000
cmovne rbp, rbx
shl rcx, 0xb
or rbp, rcx
or rdx, rbp
test r10d, 0x1000000
cmovne rbp, rdx
mov eax, 0x80000001
cpuid
and ecx, 0x20
shl rcx, 0xf
or rbp, rcx
mov eax, 0x80000008
cpuid
or rsi, rbp
test ebx, 0x200
mov eax, r11d
mov ebx, r11d
cmovne rbp, rsi
and eax, 0x100
and ebx, 0x80
movabs rcx, 0x8000000000000
shl rax, 0x25
or rax, rbp
movabs rbp, 0x4000000000000
or rbp, rax
test r11d, 0x400000
cmovne rax, rbp
mov ebp, r12d
shl rbx, 0x2d
and ebp, 0x40000
or rbx, rax
or rcx, rbx
test r12d, 0x100000
cmovne rbx, rcx
shl rbp, 0x25
or rbp, rbx
mov eax, 0x14
xor ecx, ecx
cpuid
mov rsi, rbp
or rsi, 0x2000000
test bl, 0x10
cmovne rbp, rsi
test edi, 0x8000000
je 0x140042227
xor ecx, ecx
xgetbv
or rbp, 1
mov edx, eax
and edx, 6
cmp edx, 6
jne 0x140042227
test edi, 0x10000000
je 0x140042091
or rbp, 0x10000
movabs rdx, 0x400000000000
mov ecx, r11d
or rdx, rbp
test r11d, 0x200
cmovne rbp, rdx
and ecx, 0x400
shl rcx, 0x25
or rbp, rcx
mov rdx, rbp
mov ecx, r10d
or rdx, 0x8000
test edi, 0x20000000
mov esi, eax
cmovne rbp, rdx
and ecx, 0x20
and esi, 0x18
shl rcx, 0x12
or rbp, rcx
mov rbx, rbp
or rbx, 0x40000
test edi, 0x1000
cmovne rbp, rbx
cmp esi, 0x18
jne 0x1400420ec
or rbp, 1
movabs rdx, 0x1000000000
or rdx, rbp
test r10d, 0x4000
cmovne rbp, rdx
and eax, 0xe0
cmp eax, 0xe0
jne 0x140042227
or rbp, 1
mov ecx, r10d
mov rdx, rbp
and ecx, 0x10000000
or rdx, 0x8000000
test r10d, 0x10000
mov ebx, r10d
mov eax, r10d
cmovne rbp, rdx
and ebx, 0x4000000
shl rcx, 6
and eax, 0x40000000
or rcx, rbp
movabs rbp, 0x100000000
or rbp, rcx
test r10d, 0x8000000
mov edi, r10d
mov edx, r11d
cmovne rcx, rbp
movabs rbp, 0x4000000000
shl rbx, 7
and edi, 0x80000000
or rbx, rcx
and edx, 0x4000
mov rsi, rbx
or rsi, 0x1000000
test r10d, 0x20000
cmovne rbx, rsi
and r10d, 0x200000
shl rax, 7
or rax, rbx
or rbp, rax
cmp edi, 0x80000000
cmove rax, rbp
movabs rbp, 0x8000000000
shl r10, 9
or rax, r10
or rbp, rax
test r11d, 2
cmovne rax, rbp
movabs rbp, 0x80000000000
shl rdx, 0x1c
or rdx, rax
movabs rax, 0x20000000000
or rax, rdx
test r12d, 4
cmovne rdx, rax
and r12d, 8
movabs rax, 0x1000000000000
shl r12, 0x25
or r12, rdx
or rbp, r12
test r11d, 0x1000
cmovne r12, rbp
mov ebp, r11d
and ebp, 0x40
shl rbp, 0x26
or rbp, r12
or rax, rbp
test r11d, 0x800
cmovne rbp, rax
mov eax, r13d
shr eax, 0xc
shr r13d, 4
and eax, 0xf0
and r13d, 0xf
add eax, r13d
cmp eax, 0x1c
je 0x14004224c
cmp eax, 0x26
je 0x14004224c
cmp eax, 0x27
jne 0x140042251
bts rbp, 0x1f
cmp r14d, 1
je 0x140042273
mov qword [0x1400539a0], rbp
add rsp, 0x30
pop rbp
pop r14
pop r13
pop r12
pop r11
pop r10
pop rdi
pop rsi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140053998], rbp
mov qword [0x1400539a0], rbp
add rsp, 0x30
pop rbp
pop r14
pop r13
pop r12
pop r11
pop r10
pop rdi
pop rsi
pop rbx
pop rcx
pop rdx
ret
mov qword [0x140053998], 1
add rsp, 0x30
pop rbp
pop r14
pop r13
pop r12
pop r11
pop r10
pop rdi
pop rsi
pop rbx
pop rcx
pop rdx
ret
cmp dword [rsp + 0x24], 0x756e6547
jne 0x140042296
cmp dword [rsp + 0x2c], 0x49656e69
jne 0x140042296
cmp dword [rsp + 0x28], 0x6c65746e
jne 0x140042296
jmp 0x140041dc0