Function at 0x10009f90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov dl, byte [eax + 2]
mov byte [ebp - 1], 0
and dl, 0xf
jne 0x10009fe3
mov byte [edi + 0x18], dl
cmp dword [edi + 0x490], 2
jne 0x1000a53b
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x1000a52f
sub eax, 1
jne 0x1000a53b
mov byte [edi + 0x2c], 9
mov eax, 0x100000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax + 3]
and eax, 0x7fff
mov byte [edi + 0x18], dl
lea eax, [eax + eax*2]
lea ebx, [eax*4 + 0x1003d5c8]
xor al, al
mov dword [ebp - 0xc], ebx
mov byte [ebp + 0xb], al
test dl, dl
je 0x10009fb0
movzx eax, al
lea edx, [edi + 0x20]
imul esi, eax, 0x68
mov al, byte [ebp + 0xb]
add edx, esi
mov dword [ebp - 0x10], edx
mov byte [edx], al
movzx eax, byte [ebx]
shr eax, 5
and eax, 3
mov dword [esi + edi + 0x28], eax
mov al, byte [ebx + 1]
and al, 0xf
mov byte [esi + edi + 0x2c], al
movzx eax, byte [ebx]
and eax, 0x1f
sub eax, 1
je 0x1000a07f
sub eax, 1
je 0x1000a074
sub eax, 1
jne 0x1000a090
mov eax, 8
mov dword [esi + edi + 0x24], 4
mov word [esi + edi + 0x34], ax
mov dword [esi + edi + 0x80], 1
mov dword [esi + edi + 0x84], 0
mov word [esi + edi + 0x78], 0
jmp 0x1000a090
push ebx
push edx
mov edx, edi
call fcn.10009cb0
jmp 0x1000a088
push ebx
push edx
mov edx, edi
call fcn.10009b00
lea edx, [edi + 0x20]
add esp, 8
add edx, esi
cmp dword [esi + edi + 0x24], 0
jne 0x1000a431
movzx eax, byte [ebx + 9]
and eax, 0x3f
mov dword [esi + edi + 0x30], eax
movzx eax, byte [ebx]
and eax, 0x1f
lea ecx, [eax - 4]
cmp ecx, 0x11
ja case.default.0x1000a0b8
jmp dword [ecx*4 + 0x1000a548]
mov ebx, 1
jmp 0x1000a15e
mov ebx, 4
jmp 0x1000a15e
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1000a0e4
mov ebx, 2
jmp 0x1000a15e
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x1000a15e
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1000a0e4
mov ebx, 3
jmp 0x1000a15e
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x1000a15e
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x1000a0e4
mov ebx, 2
jmp 0x1000a15e
mov ebx, 5
jmp 0x1000a15e
mov ebx, 6
jmp 0x1000a15e
mov ebx, 7
jmp 0x1000a15e
mov ebx, 8
jmp 0x1000a15e
mov ebx, 9
jmp 0x1000a15e
mov ebx, 0x11
jmp 0x1000a15e
mov ebx, 0xc
jmp 0x1000a15e
mov ebx, 0xe
jmp 0x1000a15e
mov ebx, 0xf
jmp 0x1000a15e
mov ebx, 0x10
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x1000a590]
add eax, 0xffffffea
cmp eax, 9
ja case.0x1000a2a2.26
jmp dword [eax*4 + 0x1000a5a8]
push 0
mov ecx, dword [ebp - 8]
push edx
mov edx, edi
call fcn.10009770
add esp, 8
test eax, eax
js 0x1000a540
jmp case.0x1000a2a2.26
push 7
jmp 0x1000a2ab
push 8
jmp 0x1000a2ab
push 9
jmp 0x1000a2ab
mov dword [esi + edi + 0x24], 3
mov eax, dword [edi + 0x598]
mov dword [esi + edi + 0x74], eax
mov ax, word [edi + 0x5b0]
mov word [esi + edi + 0x70], ax
jmp case.0x1000a2a2.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.10009770
add esp, 8
test eax, eax
js 0x1000a540
mov dword [esi + edi + 0x48], 2
jmp case.0x1000a2a2.26
mov dword [esi + edi + 0x24], 2
mov dword [esi + edi + 0x48], 1
mov byte [esi + edi + 0x60], 1
mov eax, dword [edi + 0x580]
mov ecx, dword [edi + 0x584]
mov dword [esi + edi + 0x68], eax
mov dword [esi + edi + 0x6c], ecx
jmp case.0x1000a2a2.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.10009770
add esp, 8
test eax, eax
js 0x1000a540
mov dword [esi + edi + 0x48], 3
cmp dword [esi + edi + 0x24], 0
je 0x1000a3b2
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x1000a381
cmp eax, 5
jne 0x1000a431
cmp byte [edi + 0x588], 8
jne 0x1000a431
mov eax, dword [ebp - 8]
push dword [esi + edi + 0x6c]
push dword [esi + edi + 0x68]
movzx eax, byte [eax + 0x30]
cdq
push edx
push eax
call fcn.1001eb50
mov dword [esi + edi + 0x68], eax
mov dword [esi + edi + 0x6c], edx
jmp 0x1000a431
movzx eax, byte [ebx]
and eax, 0x1f
sub eax, 0x1a
je 0x1000a3c2
sub eax, 1
jne 0x1000a431
mov eax, dword [ebp - 8]
mov dword [esi + edi + 0x24], 4
movzx eax, byte [eax + 0x18]
mov ax, word [ebx + eax*2 + 2]
shl ax, 3
mov word [esi + edi + 0x34], ax
movzx eax, byte [ebp - 1]
lea eax, [eax + eax*2]
lea ecx, [edi + eax*8]
mov al, byte [ebx + 9]
and al, 0x3f
cmp al, 5
jne 0x1000a400
mov al, byte [ecx + 0x598]
and al, 0xf
movzx eax, al
cdq
jmp 0x1000a40c
mov eax, dword [ecx + 0x598]
mov edx, dword [ecx + 0x59c]
inc byte [ebp - 1]
mov dword [esi + edi + 0x80], eax
mov dword [esi + edi + 0x84], edx
mov al, byte [ecx + 0x590]
mov byte [esi + edi + 0x78], al
mov al, byte [ecx + 0x591]
mov byte [esi + edi + 0x79], al
cmp dword [esi + edi + 0x24], 2
jne 0x1000a4ff
mov ecx, dword [edi + 0x430]
mov eax, ecx
mov edx, dword [edi + 0x434]
and eax, 0x10000000
or eax, 0
je 0x1000a461
mov dword [esi + edi + 0x4c], 0xbf
jmp 0x1000a4ff
mov eax, ecx
and eax, 0x20000000
or eax, 0
jne 0x1000a4f7
mov eax, ecx
and eax, 0x40000000
or eax, 0
je 0x1000a487
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x1000a4ff
and ecx, 0x80000000
or ecx, 0
je 0x1000a49c
mov dword [esi + edi + 0x4c], 0xbe
jmp 0x1000a4ff
mov ecx, edx
xor eax, eax
and ecx, 1
or eax, ecx
je 0x1000a4b1
mov dword [esi + edi + 0x4c], 0xc2
jmp 0x1000a4ff
and edx, 2
xor eax, eax
or eax, edx
je 0x1000a4c4
mov dword [esi + edi + 0x4c], 0xc3
jmp 0x1000a4ff
cmp dword [esi + edi + 0x4c], 0
jne 0x1000a4ff
mov eax, dword [esi + edi + 0x50]
cmp eax, 0x39
je 0x1000a4f7
cmp eax, 0x3a
je 0x1000a4f7
cmp eax, 0x29
je 0x1000a4f7
cmp eax, 0x2a
je 0x1000a4f7
cmp eax, 0x19
je 0x1000a4f7
cmp eax, 0x1a
je 0x1000a4f7
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x1000a4ff
mov dword [esi + edi + 0x4c], 0xc0
mov ecx, dword [ebp - 8]
mov edx, edi
push ebx
push dword [ebp - 0x10]
call fcn.100091c0
mov al, byte [ebp + 0xb]
add ebx, 0xc
inc al
mov dword [ebp - 0xc], ebx
add esp, 8
mov byte [ebp + 0xb], al
cmp al, byte [edi + 0x18]
jae 0x10009fb0
mov ecx, dword [ebp - 8]
jmp 0x1000a005
cmp dword [edi + 0x24], 2
setne al
add al, 8
mov byte [edi + 0x2c], al
mov eax, 0x100000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret