Function at 0x10009f40
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov al, byte [esi + 0xc]
test al, 3
je 0x10009f75
movzx ecx, al
and ecx, 3
mov eax, dword [ecx*8 + 0x10025610]
or dword [edx + 0x430], eax
mov eax, dword [ecx*8 + 0x10025614]
or dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
test al, 0xc
je 0x10009f9f
movzx ecx, al
shr ecx, 2
and ecx, 3
mov eax, dword [ecx*8 + 0x10025820]
or dword [edx + 0x430], eax
mov eax, dword [ecx*8 + 0x10025824]
or dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
lea edi, [edx + 0x430]
test al, 0x30
je 0x10009fc5
movzx ecx, al
shr ecx, 4
and ecx, 3
mov eax, dword [ecx*8 + 0x10025858]
or dword [edi], eax
mov eax, dword [ecx*8 + 0x1002585c]
or dword [edi + 4], eax
cmp dword [edx + 0xc], 0
je 0x1000a084
mov al, byte [ebx + 0xf]
test al, al
je 0x1000a40d
movzx eax, al
movzx eax, byte [eax + 0x1000a40a]
jmp dword [eax*4 + 0x1000a414]
mov al, byte [esi + 0xc]
test al, 0x40
je 0x1000a0a4
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x100
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
test al, al
jns 0x1000a0eb
mov eax, dword [edx + 0x430]
mov ecx, dword [edx + 0x434]
or eax, 0x200
mov dword [edx + 0x430], eax
mov dword [edx + 0x434], ecx
cmp byte [ebx + 0xc], 0
je 0x1000a0eb
or eax, 0x80000
mov dword [edx + 0x434], ecx
mov dword [edx + 0x430], eax
movzx eax, byte [ebx + 0x11]
mov dword [edx + eax*8 + 0x4cc], 1
mov al, byte [esi + 0xd]
test al, 1
je 0x1000a10b
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x400
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 2
je 0x1000a128
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x800
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 4
je 0x1000a145
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x1000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 8
je 0x1000a162
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x2000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x10
je 0x1000a17f
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x4000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x20
je 0x1000a19c
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x8000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x40
je 0x1000a1b6
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x10000
mov dword [edx + 0x434], eax
movzx eax, byte [ebx + 0xd]
sub eax, 0xf2
je 0x1000a22e
sub eax, 1
jne 0x1000a29a
mov ecx, dword [edx + 0x430]
mov eax, ecx
mov edi, dword [edx + 0x434]
and eax, 0x400
or eax, 0
je 0x1000a1ed
or ecx, 0x100000
jmp 0x1000a28e
mov eax, ecx
and eax, 0x800
or eax, 0
je 0x1000a204
or ecx, 0x200000
jmp 0x1000a28e
mov eax, ecx
and eax, 0x8000
or eax, 0
je 0x1000a29a
mov eax, ecx
and eax, 0x80000
or eax, 0
jne 0x1000a226
test byte [esi + 0xd], 0x40
je 0x1000a29a
or ecx, 0x2000000
jmp 0x1000a28e
mov ecx, dword [edx + 0x430]
mov eax, ecx
mov edi, dword [edx + 0x434]
and eax, 0x1000
or eax, 0
je 0x1000a24e
or ecx, 0x400000
jmp 0x1000a28e
mov eax, ecx
and eax, 0x4000
or eax, 0
je 0x1000a274
mov eax, ecx
and eax, 0x80000
or eax, 0
jne 0x1000a26c
test byte [esi + 0xd], 0x40
je 0x1000a274
or ecx, 0x1000000
jmp 0x1000a28e
mov eax, dword [ebx]
cmp byte [eax + 0xb], 0
je 0x1000a29a
mov eax, ecx
and eax, 0x2000
or eax, 0
je 0x1000a29a
or ecx, 0x800000
mov dword [edx + 0x434], edi
mov dword [edx + 0x430], ecx
movzx eax, byte [ebx + 0x12]
cmp dword [edx + eax*8 + 0x4cc], 0
lea ecx, [edx + eax*8]
jne 0x1000a2c5
mov eax, dword [edx + 0x430]
and eax, 0x3f00000
or eax, 0
je 0x1000a2c5
mov dword [ecx + 0x4cc], 1
cmp byte [esi + 0xd], 0
jge 0x1000a327
mov ecx, dword [edx + 0x430]
mov eax, ecx
mov esi, dword [edx + 0x434]
or eax, 0x20000
mov dword [edx + 0x430], eax
mov dword [edx + 0x434], esi
mov al, byte [ebx + 0xe]
cmp al, 0x2e
je 0x1000a31f
cmp al, 0x3e
jne 0x1000a40d
or ecx, 0x8020000
mov dword [edx + 0x434], esi
mov dword [edx + 0x430], ecx
movzx eax, byte [ebx + 0x13]
pop edi
pop esi
pop ebx
mov dword [edx + eax*8 + 0x4cc], 1
pop ebp
ret
or ecx, 0x4020000
jmp 0x1000a2ff
test byte [esi + 0xe], 1
je 0x1000a343
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x40000
mov dword [edx + 0x434], eax
mov al, byte [ebx + 0xf]
test al, al
je 0x1000a3e5
test byte [esi + 0xe], 1
je 0x1000a3e5
movzx eax, al
movzx eax, byte [eax + 0x1000a466]
jmp dword [eax*4 + 0x1000a470]
mov ecx, dword [edx + 0x430]
mov eax, dword [edx + 0x434]
and eax, 3
and ecx, 0xf0000000
or ecx, eax
je 0x1000a40d
movzx eax, byte [ebx + 0x16]
mov dword [edx + eax*8 + 0x4cc], 1
pop edi
pop esi
pop ebx
pop ebp
ret