Function at 0x1000b5ec
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x16c]
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [eax + ecx*4]
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
mov byte [ebp - 0x20], dl
movzx edx, byte [edi + 3]
mov byte [ebp - 0x1f], al
movzx eax, byte [edi + 4]
mov byte [ebp - 0x1d], dl
movzx edx, byte [edi + 6]
mov byte [ebp - 0x1e], cl
movzx ecx, byte [edi + 5]
mov byte [ebp - 0x1a], dl
mov byte [ebp - 0x1c], al
movzx eax, byte [edi + 7]
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shr ecx, 2
and ecx, 0x3fffffff
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
mov esi, eax
mov edx, ecx
shrd edx, esi, 7
and edx, 0x7ffffff
shl edx, 5
add edx, dword [ebx + 0xcc]
shr esi, 7
mov dword [ebp - 4], edx
mov esi, eax
mov edx, ecx
shrd edx, esi, 5
and edx, 3
mov dword [ebp - 8], edx
mov edx, ecx
shrd edx, eax, 1
shr eax, 1
shr esi, 5
mov esi, eax
mov esi, dword [ebp + 0xc]
push 0x128
mov eax, edx
and eax, 0xf
and ecx, 1
push 0
push esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
call fcn.100c6660
add esp, 0xc
mov dword [esi + 0x120], 0x40
test dword [ebx + 0x104], 0x8000000
jne 0x1000b5d4
cmp dword [ebx + 0x180], 0
je 0x1000b5d4
cmp dword [ebx + 0x13d], 0
je 0x1000b5d4
mov eax, dword [ebx + 0x18c]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x1000b5ba
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x180]
mov edx, dword [eax + ecx*4]
push 0x100
add edx, eax
push edx
push esi
call fcn.10076ba0
add esp, 0xc
mov eax, dword [ebp - 8]
cmp eax, 3
ja case.default.0x1000b622
mov edx, 2
jmp dword [eax*4 + 0x1000bb4c]
mov dword [esi + 0x104], 1
jmp 0x1000b616
mov dword [esi + 0x104], edx
jmp 0x1000b616
mov dword [esi + 0x104], 6
jmp 0x1000b616
mov dword [esi + 0x104], 8
mov eax, dword [ebp - 0xc]
cmp eax, 0xa
ja case.default.0x1000b622
jmp dword [eax*4 + 0x1000bb5c]
mov dword [esi + 0x108], 0xfa0
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x1f40
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x2af8
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x2ee0
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x3e80
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x5622
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x5dc0
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x7d00
jmp 0x1000b6ab
mov dword [esi + 0x108], 0xac44
jmp 0x1000b6ab
mov dword [esi + 0x108], 0xbb80
jmp 0x1000b6ab
mov dword [esi + 0x108], 0x17700
cmp dword [ebp - 0x10], 0
je 0x1000b7be
mov ecx, 8
lea ebx, [ebx]
mov eax, dword [ecx + edi]
mov edx, eax
shr edx, 1
and edx, 0xffffff
mov dword [ebp - 0x10], edx
mov edx, eax
and edx, 1
shr eax, 0x19
mov dword [ebp + 0xc], edx
cmp eax, 8
ja case.0x1000b6e4.4
jmp dword [eax*4 + 0x1000bb88]
mov eax, dword [edi + ecx + 4]
mov dword [esi + 0x110], eax
jmp case.0x1000b6e4.4
movzx eax, byte [edi + ecx + 4]
mov dword [esi + 0x104], eax
jmp case.0x1000b6e4.4
mov eax, dword [edi + ecx + 4]
mov dword [esi + 0x108], eax
jmp case.0x1000b6e4.4
mov eax, dword [edi + ecx + 4]
mov dword [esi + 0x118], eax
mov eax, dword [edi + ecx + 8]
mov dword [esi + 0x11c], eax
test dword [ebx + 0x188], 0x200
je case.0x1000b6e4.4
cmp dword [ebx + 0x145], 0xb
jne case.0x1000b6e4.4
mov eax, 0x38e38e39
imul dword [esi + 0x118]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*8]
shl edx, 6
mov dword [esi + 0x118], edx
mov edx, dword [ebp + 0xc]
jmp case.0x1000b6e4.4
movsx eax, byte [edi + ecx + 4]
sub eax, 0
je 0x1000b79c
dec eax
je 0x1000b790
dec eax
je 0x1000b784
mov dword [esi + 0x124], 0
jmp case.0x1000b6e4.4
mov dword [esi + 0x124], 0x40000000
jmp case.0x1000b6e4.4
mov dword [esi + 0x124], 0x20000000
jmp case.0x1000b6e4.4
mov dword [esi + 0x124], 0x10000000
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax + 4]
test edx, edx
jne 0x1000b6c0
mov eax, ecx
mov edx, 2
jmp 0x1000b7c1
mov eax, dword [ebp - 0x14]
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x110], ecx
jne 0x1000b82f
mov ecx, dword [ebx + 0x16c]
mov edi, dword [ebp + 8]
lea edi, [ecx + edi*4]
mov ecx, dword [edi]
cmp ecx, dword [ebx + 0x170]
jne 0x1000b7ee
mov eax, dword [ebx + 0x141]
jmp 0x1000b820
test eax, eax
jne 0x1000b7f7
mov eax, 8
add ecx, eax
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.1000ab90
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shrd eax, ecx, 7
and eax, 0x7ffffff
add esp, 8
shr ecx, 7
shl eax, 5
mov edx, 2
sub eax, dword [ebp - 4]
add eax, dword [ebx + 0xcc]
mov dword [esi + 0x10c], eax
mov eax, dword [ebx + 0x145]
lea ecx, [eax - 7]
cmp ecx, 7
ja case.0x1000b841.9
jmp dword [ecx*4 + 0x1000bbac]
cmp byte [ebx + 0x11c], 0
je case.0x1000b841.13
mov dword [esi + 0x100], 7
jmp 0x1000b94b
mov dword [esi + 0x100], edx
jmp 0x1000b94b
cmp dword [ebx + 0x124], 0
je 0x1000b89a
mov eax, dword [esi + 0x104]
mov dword [esi + 0x100], edx
lea edx, [eax*8]
sub edx, eax
add edx, edx
add edx, edx
add edx, edx
mov dword [esi + 0x114], edx
jmp 0x1000b94b
mov dword [esi + 0x100], 8
jmp 0x1000b94b
mov ebx, dword [ebx + 0x188]
test bl, bl
js case.0x1000b841.13
mov eax, dword [esi + 0x120]
test al, 0x40
jne 0x1000b8c2
test bl, 0x40
je 0x1000b8ca
test ebx, 0x200
je case.0x1000b841.13
or eax, 0x200
mov dword [esi + 0x100], 0xa
mov dword [esi + 0x120], eax
jmp 0x1000b94b
mov ebx, dword [ebx + 0x188]
test ebx, 0x200
je case.0x1000b841.13
test bl, bl
js case.0x1000b841.13
or dword [esi + 0x120], 0x200
mov dword [esi + 0x100], 0xb
jmp 0x1000b94b
mov ebx, dword [ebx + 0x188]
test ebx, 0x200
je 0x1000b939
test bl, bl
js 0x1000b939
or dword [esi + 0x120], 0x200
mov dword [esi + 0x100], 0xc
jmp 0x1000b94b
mov dword [esi + 0x100], 5
jmp 0x1000b94b
mov dword [esi + 0x100], eax
xor edx, edx
cmp dword [esi + 0x114], edx
jne case.default.0x1000b99d
mov eax, dword [esi + 0x100]
cmp eax, 8
je 0x1000baa8
cmp eax, 9
je 0x1000baa8
cmp eax, 0xb
jne 0x1000b987
mov eax, dword [esi + 0x104]
lea eax, [eax + eax*8]
shl eax, 8
jmp 0x1000bace
mov ecx, dword [esi + 0x104]
cmp eax, 0xc
ja case.default.0x1000b99d
movzx edi, byte [eax + 0x1000bbe0]
jmp dword [edi*4 + 0x1000bbcc]
mov eax, 8
cdq
shrd eax, edx, 3
shr edx, 3
mov edx, eax
imul edx, ecx
mov dword [esi + 0x114], eax
mov dword [esi + 0x114], edx
jmp case.default.0x1000b99d
mov eax, 0x10
cdq
shrd eax, edx, 3
shr edx, 3
mov edx, eax
imul edx, ecx
mov dword [esi + 0x114], eax
mov dword [esi + 0x114], edx
jmp case.default.0x1000b99d
mov eax, 0x18
cdq
shrd eax, edx, 3
shr edx, 3
mov edx, eax
imul edx, ecx
mov dword [esi + 0x114], eax
mov dword [esi + 0x114], edx
jmp case.default.0x1000b99d
mov eax, 0x20
cdq
shrd eax, edx, 3
shr edx, 3
mov edx, eax
imul edx, ecx
mov dword [esi + 0x114], eax
mov dword [esi + 0x114], edx
jmp case.default.0x1000b99d
jmp dword [eax*4 + 0x1000bbf0]
mov ecx, dword [esi + 0x104]
mov dword [esi + 0x114], edx
shl ecx, 4
xor eax, eax
mov edx, 0x4000
mov edi, edi
add eax, ecx
mov dword [esi + 0x114], eax
cmp eax, edx
jbe 0x1000bac0
sub eax, ecx
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x118]
cmp eax, dword [esi + 0x11c]
jl 0x1000baf9
mov ecx, dword [esi + 0x110]
dec ecx
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], ecx
cmp dword [esi + 0x124], 0
jne 0x1000bb31
mov eax, dword [esi + 0x104]
cmp eax, 4
jne 0x1000bb22
pop edi
mov dword [esi + 0x124], 0x33
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 6
jne 0x1000bb31
mov dword [esi + 0x124], 0x3f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x21
pop ebx
mov esp, ebp
pop ebp
ret 0xc