Function at 0x1022b7b0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov byte [ebp + 0xf], 0
call fcn.1022e9c0
xor cl, cl
mov byte [edi + 0x18], al
add esp, 8
mov byte [ebp - 1], cl
test al, al
je 0x1022be18
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
movzx eax, cl
imul esi, eax, 0x68
mov al, byte [ebp - 1]
add esi, edi
mov edx, dword [ebp + 8]
lea ecx, [esi + 0x20]
mov byte [ecx], al
movzx eax, byte [ebx]
shr eax, 6
mov dword [esi + 0x28], eax
mov al, byte [ebx + 1]
and al, 0xf
mov dword [ebp - 0x18], ecx
mov byte [esi + 0x2c], al
movzx eax, byte [ebx]
and eax, 0x3f
sub eax, 1
je 0x1022b948
sub eax, 1
je 0x1022b858
sub eax, 1
jne 0x1022ba3f
mov eax, 8
mov dword [esi + 0x24], 4
mov word [esi + 0x34], ax
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], 0
mov word [esi + 0x78], 0
jmp 0x1022ba3f
mov dword [ecx + 4], 2
mov dword [ecx + 0x28], 1
movzx eax, byte [ebx + 9]
shr eax, 3
and eax, 0xf
jmp dword [eax*4 + 0x1022be58]
mov dword [ecx + 4], 1
movzx eax, byte [ebx + 9]
and eax, 7
jmp dword [eax*4 + 0x1022be7c]
cmp dword [esi + 0x24], 0
jne 0x1022bd04
movzx eax, byte [ebx + 9]
and eax, 0x3f
mov dword [esi + 0x30], eax
movzx eax, byte [ebx]
and eax, 0x3f
lea edx, [eax - 4]
cmp edx, 0x12
ja case.default.0x1022ba65
jmp dword [edx*4 + 0x1022be98]
mov ebx, 1
jmp 0x1022bb12
mov ebx, 4
jmp 0x1022bb12
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1022ba91
mov ebx, 2
jmp 0x1022bb12
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x1022bb12
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1022ba91
mov ebx, 3
jmp 0x1022bb12
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x1022bb12
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x1022ba91
mov ebx, 2
jmp 0x1022bb12
mov ebx, 5
jmp 0x1022bb12
mov ebx, 6
jmp 0x1022bb12
mov ebx, 7
jmp 0x1022bb12
mov ebx, 8
jmp 0x1022bb12
mov ebx, 9
jmp 0x1022bb12
mov ebx, 0xa
jmp 0x1022bb12
mov ebx, 0x12
jmp 0x1022bb12
mov ebx, 0xd
jmp 0x1022bb12
mov ebx, 0xf
jmp 0x1022bb12
mov ebx, 0x10
jmp 0x1022bb12
mov ebx, 0x11
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x1022bee4]
add eax, 0xffffffe9
cmp eax, 9
ja case.0x1022bb85.27
jmp dword [eax*4 + 0x1022befc]
push 0
push ecx
push edi
push dword [ebp + 8]
call fcn.1022b4e0
add esp, 0x10
test eax, eax
js 0x1022be50
jmp 0x1022bc3d
push 7
jmp 0x1022bb8e
push 8
jmp 0x1022bb8e
push 9
jmp 0x1022bb8e
mov dword [esi + 0x24], 3
mov eax, dword [edi + 0x5b8]
mov dword [esi + 0x74], eax
mov ax, word [edi + 0x5d0]
mov word [esi + 0x70], ax
jmp case.0x1022bb85.27
push 0
push ecx
push edi
push dword [ebp + 8]
mov byte [esi + 0x2c], 0
call fcn.1022b4e0
add esp, 0x10
test eax, eax
js 0x1022be50
mov dword [esi + 0x48], 2
jmp 0x1022bc3d
mov dword [esi + 0x24], 2
mov dword [esi + 0x48], 1
mov byte [esi + 0x60], 1
mov eax, dword [edi + 0x5a0]
mov ecx, dword [edi + 0x5a4]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
jmp case.0x1022bb85.27
push 0
push ecx
push edi
push dword [ebp + 8]
mov byte [esi + 0x2c], 0
call fcn.1022b4e0
add esp, 0x10
test eax, eax
js 0x1022be50
mov dword [esi + 0x48], 3
mov ebx, dword [ebp - 8]
cmp dword [esi + 0x24], 0
je 0x1022bc84
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x1022bc57
cmp eax, 5
jne 0x1022bd04
cmp byte [edi + 0x5a8], 8
jne 0x1022bd04
mov eax, dword [ebp + 8]
push dword [esi + 0x6c]
push dword [esi + 0x68]
movzx eax, byte [eax + 0x34]
cdq
push edx
push eax
call fcn.10235f80
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
jmp 0x1022bd04
movzx eax, byte [ebx]
and eax, 0x3f
sub eax, 0x1b
je 0x1022bc94
sub eax, 1
jne 0x1022bd04
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], 4
movzx eax, byte [eax + 0x19]
mov ax, word [ebx + eax*2 + 2]
shl ax, 3
mov word [esi + 0x34], ax
movzx eax, byte [ebp + 0xf]
mov dword [ebp - 0x14], eax
lea eax, [eax + eax*2]
lea eax, [eax + 0xb7]
lea ecx, [edi + eax*8]
mov al, byte [ebx + 9]
and al, 0x3f
cmp al, 5
jne 0x1022bcd5
mov al, byte [ecx]
and al, 0xf
movzx eax, al
cdq
jmp 0x1022bcda
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
inc byte [ebp + 0xf]
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x84], edx
lea eax, [eax + eax*2]
lea ecx, [edi + eax*8]
mov al, byte [ecx + 0x5b0]
mov byte [esi + 0x78], al
mov al, byte [ecx + 0x5b1]
mov byte [esi + 0x79], al
cmp dword [esi + 0x24], 2
jne 0x1022bdeb
mov cl, byte [ebx + 0xc]
test cl, 2
jne 0x1022bdb4
mov eax, dword [edi + 0x430]
and eax, 0x10000000
or eax, 0
je 0x1022bd36
mov dword [esi + 0x4c], 0xc7
jmp 0x1022bdeb
test cl, 2
jne 0x1022bdb4
mov eax, dword [edi + 0x430]
and eax, 0x20000000
or eax, 0
jne 0x1022bde4
mov eax, dword [edi + 0x430]
and eax, 0x40000000
or eax, 0
je 0x1022bd6b
mov dword [esi + 0x4c], 0xc9
jmp 0x1022bdeb
mov eax, dword [edi + 0x430]
and eax, 0x80000000
or eax, 0
je 0x1022bd84
mov dword [esi + 0x4c], 0xc6
jmp 0x1022bdeb
mov ecx, dword [edi + 0x434]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x1022bd9c
mov dword [esi + 0x4c], 0xca
jmp 0x1022bdeb
mov ecx, dword [edi + 0x434]
xor eax, eax
and ecx, 2
or eax, ecx
je 0x1022bdb4
mov dword [esi + 0x4c], 0xcb
jmp 0x1022bdeb
cmp dword [esi + 0x4c], 0
jne 0x1022bdeb
mov eax, dword [esi + 0x50]
cmp eax, 0x39
je 0x1022bde4
cmp eax, 0x3a
je 0x1022bde4
cmp eax, 0x29
je 0x1022bde4
cmp eax, 0x2a
je 0x1022bde4
cmp eax, 0x19
je 0x1022bde4
cmp eax, 0x1a
je 0x1022bde4
mov dword [esi + 0x4c], 0xc9
jmp 0x1022bdeb
mov dword [esi + 0x4c], 0xc8
push ebx
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
call fcn.1022dad0
mov cl, byte [ebp - 1]
add esp, 0x10
mov ebx, dword [ebp - 8]
inc cl
add ebx, 0xd
mov byte [ebp - 1], cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
cmp cl, byte [edi + 0x18]
jb 0x1022b7e5
cmp dword [edi + 0x4b0], 2
jne 0x1022be4b
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x1022be3f
sub eax, 1
jne 0x1022be4b
mov byte [edi + 0x2c], 9
mov eax, 0x100000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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