Function at 0x40eb50
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x40eb64
movsx eax, byte [esp + 4]
and eax, 1
ret 8
cmp eax, 2
jne 0x40eb7b
mov eax, dword [esp + 4]
xor ecx, ecx
and al, 2
cmp al, 2
sete cl
mov eax, ecx
ret 8
cmp eax, 3
jne 0x40eb92
mov edx, dword [esp + 4]
xor eax, eax
and dl, 4
cmp dl, 4
sete al
ret 8
cmp eax, 4
jne 0x40eba9
mov eax, dword [esp + 4]
xor ecx, ecx
and al, 8
cmp al, 8
sete cl
mov eax, ecx
ret 8
cmp eax, 5
jne 0x40ebc0
mov edx, dword [esp + 4]
xor eax, eax
and dl, 0x10
cmp dl, 0x10
sete al
ret 8
cmp eax, 6
jne 0x40ebd7
mov eax, dword [esp + 4]
xor ecx, ecx
and al, 0x20
cmp al, 0x20
sete cl
mov eax, ecx
ret 8
cmp eax, 7
jne 0x40ebee
mov edx, dword [esp + 4]
xor eax, eax
and dl, 0x40
cmp dl, 0x40
sete al
ret 8
cmp eax, 8
jne 0x40ec05
mov eax, dword [esp + 4]
xor ecx, ecx
and al, 0x80
cmp al, 0x80
sete cl
mov eax, ecx
ret 8
cmp eax, 9
jne 0x40ec22
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x100
cmp edx, 0x100
sete al
ret 8
cmp eax, 0xa
jne 0x40ec3f
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x200
cmp eax, 0x200
sete cl
mov eax, ecx
ret 8
cmp eax, 0xb
jne 0x40ec5c
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x400
cmp edx, 0x400
sete al
ret 8
cmp eax, 0xc
jne 0x40ec79
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x800
cmp eax, 0x800
sete cl
mov eax, ecx
ret 8
cmp eax, 0xd
jne 0x40ec96
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x1000
cmp edx, 0x1000
sete al
ret 8
cmp eax, 0xe
jne 0x40ecb3
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x2000
cmp eax, 0x2000
sete cl
mov eax, ecx
ret 8
cmp eax, 0xf
jne 0x40ecd0
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x4000
cmp edx, 0x4000
sete al
ret 8
cmp eax, 0x10
jne 0x40eced
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x8000
cmp eax, 0x8000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x11
jne 0x40ed0a
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x10000
cmp edx, 0x10000
sete al
ret 8
cmp eax, 0x12
jne 0x40ed27
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x20000
cmp eax, 0x20000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x13
jne 0x40ed44
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x40000
cmp edx, 0x40000
sete al
ret 8
cmp eax, 0x14
jne 0x40ed61
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x80000
cmp eax, 0x80000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x15
jne 0x40ed7e
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x100000
cmp edx, 0x100000
sete al
ret 8
cmp eax, 0x16
jne 0x40ed9b
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x200000
cmp eax, 0x200000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x17
jne 0x40edb8
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x400000
cmp edx, 0x400000
sete al
ret 8
cmp eax, 0x18
jne 0x40edd5
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x800000
cmp eax, 0x800000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x19
jne 0x40edf2
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x1000000
cmp edx, 0x1000000
sete al
ret 8
cmp eax, 0x1a
jne 0x40ee0f
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x2000000
cmp eax, 0x2000000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x1b
jne 0x40ee2c
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x4000000
cmp edx, 0x4000000
sete al
ret 8
cmp eax, 0x1c
jne 0x40ee49
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x8000000
cmp eax, 0x8000000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x1d
jne 0x40ee66
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x10000000
cmp edx, 0x10000000
sete al
ret 8
cmp eax, 0x1e
jne 0x40ee83
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x20000000
cmp eax, 0x20000000
sete cl
mov eax, ecx
ret 8
cmp eax, 0x1f
jne 0x40eea0
mov edx, dword [esp + 4]
xor eax, eax
and edx, 0x40000000
cmp edx, 0x40000000
sete al
ret 8
cmp eax, 0x20
jne 0x40eebd
mov eax, dword [esp + 4]
xor ecx, ecx
and eax, 0x80000000
cmp eax, 0x80000000
sete cl
mov eax, ecx
ret 8
mov eax, 1
ret 8