Function at 0x4cd6d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push edi
sub esp, 0x44
pushfd
pop eax
mov ecx, eax
xor eax, 0x200000
push eax
popfd
pushfd
pop eax
xor eax, ecx
test eax, eax
je 0x4cd9a8
xor eax, eax
cpuid
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov eax, 1
cpuid
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
cmp dword [esp + 0x28], 0x756e6547
jne 0x4cd9ca
cmp dword [esp + 0x30], 0x49656e69
jne 0x4cd9ca
cmp dword [esp + 0x2c], 0x6c65746e
jne 0x4cd9ca
cmp dword [esp + 0x24], 0
je 0x4cd9ca
movzx eax, byte [esp + 0x35]
and eax, 0xf
cmp eax, 5
je 0x4cd992
cmp eax, 6
jne 0x4cd96b
mov eax, dword [esp + 0x40]
mov ecx, eax
and ecx, 0x800000
mov ebx, 4
shr ecx, 0x16
shl ebx, cl
test eax, 0x1000000
je 0x4cd800
mov ecx, eax
mov ebx, 0x20
and ecx, 0x2000000
shr ecx, 0x18
shl ebx, cl
test eax, 0x4000000
mov ecx, dword [esp + 0x3c]
mov eax, ecx
je 0x4cd7a7
mov ebx, 0x400
test cl, 1
mov edx, ecx
je 0x4cd7b3
mov ebx, 0x800
test ecx, 0x200
je 0x4cd7c0
mov ebx, 0x1000
test ecx, 0x400000
je 0x4cd7cd
mov ebx, 0x4000
test ecx, 0x80000
je 0x4cd7da
mov ebx, 0x2000
and eax, 0x900000
and edx, 0x2000002
cmp eax, 0x900000
jne 0x4cd7f1
mov ebx, 0x8000
cmp edx, 0x2000002
jne 0x4cd804
mov ebx, 0x10000
jmp 0x4cd804
mov ecx, dword [esp + 0x3c]
test ecx, 0x8000000
je 0x4cd9cf
mov ecx, 0
xgetbv
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
and eax, 6
cmp eax, 6
jne 0x4cd9cf
mov edi, dword [esp + 0x3c]
test edi, 0x10000000
je 0x4cd9cf
and edi, 0x20000000
shr edi, 0xc
add edi, 0x20000
mov eax, 7
xor ecx, ecx
cpuid
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, 0x80000001
cpuid
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 4]
test al, 0x20
je 0x4cd8b3
mov edx, eax
and edx, 0x108
cmp edx, 0x108
jne 0x4cd8b3
test byte [esp + 0x18], 0x20
je 0x4cd8b3
test dword [esp + 0x3c], 0x1000
je 0x4cd8b3
test al, 0x10
je 0x4cd8b3
test eax, 0x800
je 0x4cd8b3
mov edi, 0x200000
mov ebx, eax
and ebx, 0xc0000
cmp ebx, 0xc0000
mov ebx, edi
mov edx, dword [esp + 0x20]
jne 0x4cd8ce
mov ebx, 0x800000
and edx, 0xe0
cmp edx, 0xe0
jne 0x4cd9cf
mov edx, eax
and edx, 0x4010000
cmp edx, 0x4010000
jne 0x4cd903
test eax, 0x8000000
je 0x4cd903
test eax, 0x10000000
je 0x4cd903
mov ebx, 0x2000000
mov edx, eax
and edx, 0x30000
cmp edx, 0x30000
jne 0x4cd926
test eax, 0x40000000
je 0x4cd926
test eax, 0x80000000
je 0x4cd926
mov ebx, 0x4000000
mov edx, dword [esp + 8]
mov eax, edx
and eax, 0x140
cmp eax, 0x140
jne 0x4cd9cf
test edx, 0x200
je 0x4cd9cf
test edx, 0x400
je 0x4cd9cf
test edx, 0x800
je 0x4cd9cf
test edx, 0x1000
je 0x4cd9cf
mov ebx, 0x10000000
jmp 0x4cd9cf
cmp eax, 0xf
jne 0x4cd9ca
mov ebx, 0x200
test dword [esp + 0x40], 0x4000000
jne 0x4cd984
mov ebx, 1
test byte [esp + 0x3c], 1
je 0x4cd9cf
mov ebx, 0x800
jmp 0x4cd9cf
mov ecx, dword [esp + 0x40]
mov ebx, 2
and ecx, 0x800000
shr ecx, 0x16
shl ebx, cl
jmp 0x4cd9cf
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov ebx, 1
mov dword [0x2e00360], ebx
add esp, 0x44
pop edi
pop ebx
ret