Function at 0x10012e70
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, edx
cmp ecx, 0xe000000
ja 0x10013030
je 0x10013021
cmp ecx, 0x7000000
ja 0x10012f6a
je 0x10012fab
cmp ecx, 0x4000000
ja 0x10012f1e
je 0x10012f0b
cmp ecx, 0x1000000
je 0x10012ee6
cmp ecx, 0x2000000
je 0x10012ed7
cmp ecx, 0x3000000
jne 0x10013190
xor edx, edx
cmp byte [eax + 0x2a], 4
mov eax, dword [ebp + 8]
sete dl
inc edx
mov dword [eax + 4], 1
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 1
mov dword [eax + 4], edx
mov eax, edx
pop ebp
ret
mov al, byte [eax + 0x2a]
xor edx, edx
cmp al, 4
sete dl
xor ecx, ecx
cmp al, 4
mov eax, dword [ebp + 8]
setne cl
add ecx, 0x12
lea edx, [edx*4 + 4]
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 4
mov dword [eax + 4], 3
mov eax, edx
pop ebp
ret
cmp ecx, 0x5000000
je 0x10012f57
cmp ecx, 0x6000000
jne 0x10013190
mov al, byte [eax + 0x29]
xor edx, edx
cmp al, 4
sete dl
xor ecx, ecx
cmp al, 4
mov eax, dword [ebp + 8]
sete cl
add ecx, 0xe
lea edx, [edx*2 + 4]
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x10
mov dword [eax + 4], 5
mov eax, edx
pop ebp
ret
cmp ecx, 0xb000000
ja 0x10012fe4
je 0x10012fd1
cmp ecx, 0x8000000
je 0x10012fbe
cmp ecx, 0x9000000
je 0x10012fab
cmp ecx, 0xa000000
jne 0x10013190
xor ecx, ecx
mov edx, 6
cmp byte [eax + 0x29], 4
mov eax, dword [ebp + 8]
setne cl
add ecx, 0x10
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 8
mov dword [eax + 4], 4
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x10
mov dword [eax + 4], 0xa
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x10
mov dword [eax + 4], 0xc
mov eax, edx
pop ebp
ret
cmp ecx, 0xc000000
je 0x10012f0b
cmp ecx, 0xd000000
jne 0x10013190
mov al, byte [eax + 0x2a]
xor edx, edx
cmp al, 4
sete dl
xor ecx, ecx
cmp al, 4
mov eax, dword [ebp + 8]
sete cl
add ecx, 2
lea edx, [edx*2 + 2]
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 2
mov dword [eax + 4], edx
mov eax, edx
pop ebp
ret
cmp ecx, 0x60000000
ja 0x1001312d
je 0x10013107
cmp ecx, 0x30000000
ja 0x100130ba
je 0x100130a7
cmp ecx, 0xf000000
je 0x1001308e
cmp ecx, 0x10000000
je 0x1001307b
cmp ecx, 0x20000000
jne 0x10013190
mov eax, dword [ebp + 8]
mov edx, 8
mov dword [eax + 4], 7
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 4
mov dword [eax + 4], 6
mov eax, edx
pop ebp
ret
movzx edx, byte [eax + 0x29]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp edx, 4
sete cl
add ecx, 2
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0xa
mov dword [eax + 4], 8
mov eax, edx
pop ebp
ret
cmp ecx, 0x40000000
je 0x100130f4
cmp ecx, 0x50000000
jne 0x10013190
mov al, byte [eax + 0x29]
mov ecx, 0x1c
cmp al, 4
mov edx, 0xe
cmove edx, ecx
xor ecx, ecx
cmp al, 4
mov eax, dword [ebp + 8]
sete cl
add ecx, 0x14
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0xa
mov dword [eax + 4], 9
mov eax, edx
pop ebp
ret
mov al, byte [eax + 0x29]
mov ecx, 0x6c
cmp al, 4
mov edx, 0x5e
cmove edx, ecx
xor ecx, ecx
cmp al, 4
mov eax, dword [ebp + 8]
sete cl
add ecx, 0x16
mov dword [eax + 4], ecx
mov eax, edx
pop ebp
ret
cmp ecx, 0x90000000
ja 0x10013180
je 0x1001316d
cmp ecx, 0x70000000
je 0x1001315a
cmp ecx, 0x80000000
jne 0x10013190
mov eax, dword [ebp + 8]
mov edx, 0xa
mov dword [eax + 4], 0x19
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x200
mov dword [eax + 4], 0x18
mov eax, edx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x10
mov dword [eax + 4], 0xd
mov eax, edx
pop ebp
ret
cmp ecx, 0xa0000000
je 0x100131a9
cmp ecx, 0xff000000
je 0x10013199
movzx edx, byte [eax + 0x2a]
jmp 0x10013092
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], 0xff
mov eax, edx
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, 0x10
mov eax, edx
mov dword [ecx + 4], 0xb
pop ebp
ret