Function at 0x10007f30
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 0x10007f65
movzx ecx, al
and ecx, 3
mov eax, dword [ecx*8 + 0x10021340]
or dword [edx + 0x430], eax
mov eax, dword [ecx*8 + 0x10021344]
or dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
test al, 0xc
je 0x10007f8f
movzx ecx, al
shr ecx, 2
and ecx, 3
mov eax, dword [ecx*8 + 0x10021550]
or dword [edx + 0x430], eax
mov eax, dword [ecx*8 + 0x10021554]
or dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
lea edi, [edx + 0x430]
test al, 0x30
je 0x10007fb5
movzx ecx, al
shr ecx, 4
and ecx, 3
mov eax, dword [ecx*8 + 0x10021588]
or dword [edi], eax
mov eax, dword [ecx*8 + 0x1002158c]
or dword [edi + 4], eax
cmp dword [edx + 0xc], 0
je 0x10008074
mov al, byte [ebx + 0xf]
test al, al
je 0x100083fd
movzx eax, al
movzx eax, byte [eax + 0x100083fa]
jmp dword [eax*4 + 0x10008404]
mov al, byte [esi + 0xc]
test al, 0x40
je 0x10008094
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x100
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xc]
test al, al
jns 0x100080db
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 0x100080db
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 0x100080fb
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x400
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 2
je 0x10008118
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x800
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 4
je 0x10008135
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x1000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 8
je 0x10008152
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x2000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x10
je 0x1000816f
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x4000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x20
je 0x1000818c
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x8000
mov dword [edx + 0x434], eax
mov al, byte [esi + 0xd]
test al, 0x40
je 0x100081a6
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x10000
mov dword [edx + 0x434], eax
movzx eax, byte [ebx + 0xd]
sub eax, 0xf2
je 0x1000821e
sub eax, 1
jne 0x1000828a
mov ecx, dword [edx + 0x430]
mov eax, ecx
mov edi, dword [edx + 0x434]
and eax, 0x400
or eax, 0
je 0x100081dd
or ecx, 0x100000
jmp 0x1000827e
mov eax, ecx
and eax, 0x800
or eax, 0
je 0x100081f4
or ecx, 0x200000
jmp 0x1000827e
mov eax, ecx
and eax, 0x8000
or eax, 0
je 0x1000828a
mov eax, ecx
and eax, 0x80000
or eax, 0
jne 0x10008216
test byte [esi + 0xd], 0x40
je 0x1000828a
or ecx, 0x2000000
jmp 0x1000827e
mov ecx, dword [edx + 0x430]
mov eax, ecx
mov edi, dword [edx + 0x434]
and eax, 0x1000
or eax, 0
je 0x1000823e
or ecx, 0x400000
jmp 0x1000827e
mov eax, ecx
and eax, 0x4000
or eax, 0
je 0x10008264
mov eax, ecx
and eax, 0x80000
or eax, 0
jne 0x1000825c
test byte [esi + 0xd], 0x40
je 0x10008264
or ecx, 0x1000000
jmp 0x1000827e
mov eax, dword [ebx]
cmp byte [eax + 0xb], 0
je 0x1000828a
mov eax, ecx
and eax, 0x2000
or eax, 0
je 0x1000828a
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 0x100082b5
mov eax, dword [edx + 0x430]
and eax, 0x3f00000
or eax, 0
je 0x100082b5
mov dword [ecx + 0x4cc], 1
cmp byte [esi + 0xd], 0
jge 0x10008317
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 0x1000830f
cmp al, 0x3e
jne 0x100083fd
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 0x100082ef
test byte [esi + 0xe], 1
je 0x10008333
mov eax, dword [edx + 0x434]
or dword [edx + 0x430], 0x40000
mov dword [edx + 0x434], eax
mov al, byte [ebx + 0xf]
test al, al
je 0x100083d5
test byte [esi + 0xe], 1
je 0x100083d5
movzx eax, al
movzx eax, byte [eax + 0x10008456]
jmp dword [eax*4 + 0x10008460]
mov ecx, dword [edx + 0x430]
mov eax, dword [edx + 0x434]
and eax, 3
and ecx, 0xf0000000
or ecx, eax
je 0x100083fd
movzx eax, byte [ebx + 0x16]
mov dword [edx + eax*8 + 0x4cc], 1
pop edi
pop esi
pop ebx
pop ebp
ret