Function at 0x1006cce0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x30]
mov byte [esp + 0x30], 0
call fcn.1006fe40
xor cl, cl
mov byte [edi + 0x18], al
add esp, 8
mov byte [esp + 0x13], cl
test al, al
je 0x1006d2dd
mov ebx, dword [esp + 0x24]
movzx eax, cl
mov edx, 8
imul esi, eax, 0x68
add esi, edi
mov byte [esi + 0x20], cl
lea ebp, [esi + 0x20]
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx]
shr eax, 5
and eax, 3
mov dword [esi + 0x28], eax
mov al, byte [ecx + 1]
and al, 0xf
mov byte [esi + 0x2c], al
movzx eax, byte [ecx]
and eax, 0x1f
sub eax, 1
je 0x1006ce63
sub eax, 1
je 0x1006cd82
sub eax, 1
jne 0x1006cf55
mov dword [esi + 0x24], 4
mov word [esi + 0x34], dx
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], eax
mov word [esi + 0x78], ax
jmp 0x1006cf55
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [ebp + 4], 2
mov dword [ebp + 0x28], 1
movzx eax, byte [eax + 9]
shr eax, 3
and eax, 0xf
jmp dword [eax*4 + 0x1006d320]
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], 1
movzx eax, byte [eax + 9]
and eax, 7
jmp dword [eax*4 + 0x1006d344]
cmp dword [esi + 0x24], 0
jne 0x1006d1f2
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 9]
and eax, 0x3f
mov dword [esi + 0x30], eax
movzx eax, byte [ecx]
and eax, 0x1f
lea edx, [eax - 4]
cmp edx, 0x11
ja case.default.0x1006cf7f
jmp dword [edx*4 + 0x1006d360]
mov ebx, 1
jmp 0x1006d022
mov ebx, 4
jmp 0x1006d022
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1006cfa8
mov ebx, 2
jmp 0x1006d022
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x1006d022
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1006cfa8
mov ebx, 3
jmp 0x1006d022
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x1006d022
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x1006cfa8
mov ebx, 2
jmp 0x1006d022
mov ebx, 5
jmp 0x1006d022
mov ebx, 6
jmp 0x1006d022
mov ebx, 7
jmp 0x1006d022
mov ebx, 8
jmp 0x1006d022
mov ebx, 9
jmp 0x1006d022
mov ebx, 0x11
jmp 0x1006d022
mov ebx, 0xc
jmp 0x1006d022
mov ebx, 0xe
jmp 0x1006d022
mov ebx, 0xf
jmp 0x1006d022
mov ebx, 0x10
movzx eax, byte [ecx + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x1006d3a8]
add eax, 0xffffffea
cmp eax, 9
ja case.0x1006d07f.26
jmp dword [eax*4 + 0x1006d3c0]
push 0
push ebp
push edi
push ebx
call fcn.1006ca10
add esp, 0x10
test eax, eax
js 0x1006d316
jmp case.0x1006d07f.26
push 7
jmp 0x1006d088
push 8
jmp 0x1006d088
push 9
jmp 0x1006d088
mov dword [esi + 0x24], 3
mov eax, dword [edi + 0x598]
mov dword [esi + 0x74], eax
mov ax, word [edi + 0x5b0]
mov word [esi + 0x70], ax
jmp case.0x1006d07f.26
push 0
push ebp
push edi
push ebx
mov byte [esi + 0x2c], 0
call fcn.1006ca10
add esp, 0x10
test eax, eax
js 0x1006d316
mov dword [esi + 0x48], 2
jmp case.0x1006d07f.26
mov dword [esi + 0x24], 2
mov dword [esi + 0x48], 1
mov byte [esi + 0x60], 1
mov eax, dword [edi + 0x580]
mov ecx, dword [edi + 0x584]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
jmp case.0x1006d07f.26
push 0
push ebp
push edi
push ebx
mov byte [esi + 0x2c], 0
call fcn.1006ca10
add esp, 0x10
test eax, eax
js 0x1006d316
mov dword [esi + 0x48], 3
cmp dword [esi + 0x24], 0
je 0x1006d172
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x1006d148
cmp eax, 5
jne 0x1006d1f2
cmp byte [edi + 0x588], 8
jne 0x1006d1f2
push dword [esi + 0x6c]
movzx eax, byte [ebx + 0x30]
push dword [esi + 0x68]
cdq
push edx
push eax
call fcn.10074ff0
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
jmp 0x1006d1f2
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
and eax, 0x1f
sub eax, 0x1a
je 0x1006d186
sub eax, 1
jne 0x1006d1f2
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x24], 4
movzx eax, byte [ebx + 0x18]
mov ax, word [ecx + eax*2 + 2]
shl ax, 3
mov word [esi + 0x34], ax
movzx eax, byte [esp + 0x28]
lea eax, [eax + eax*2]
lea ebx, [edi + eax*8]
mov al, byte [ecx + 9]
and al, 0x3f
cmp al, 5
jne 0x1006d1c4
mov al, byte [ebx + 0x598]
and al, 0xf
movzx eax, al
cdq
jmp 0x1006d1d0
mov eax, dword [ebx + 0x598]
mov edx, dword [ebx + 0x59c]
inc byte [esp + 0x28]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
mov al, byte [ebx + 0x590]
mov byte [esi + 0x78], al
mov al, byte [ebx + 0x591]
mov byte [esi + 0x79], al
cmp dword [esi + 0x24], 2
jne 0x1006d2b2
mov ecx, dword [edi + 0x430]
mov eax, ecx
mov edx, dword [edi + 0x434]
and eax, 0x10000000
or eax, 0
je 0x1006d220
mov dword [esi + 0x4c], 0xbf
jmp 0x1006d2b2
mov eax, ecx
and eax, 0x20000000
or eax, 0
jne 0x1006d2ab
mov eax, ecx
and eax, 0x40000000
or eax, 0
je 0x1006d241
mov dword [esi + 0x4c], 0xc1
jmp 0x1006d2b2
and ecx, 0x80000000
or ecx, 0
je 0x1006d255
mov dword [esi + 0x4c], 0xbe
jmp 0x1006d2b2
mov ecx, edx
xor eax, eax
and ecx, 1
or eax, ecx
je 0x1006d269
mov dword [esi + 0x4c], 0xc2
jmp 0x1006d2b2
and edx, 2
xor eax, eax
or eax, edx
je 0x1006d27b
mov dword [esi + 0x4c], 0xc3
jmp 0x1006d2b2
cmp dword [esi + 0x4c], 0
jne 0x1006d2b2
mov eax, dword [esi + 0x50]
cmp eax, 0x39
je 0x1006d2ab
cmp eax, 0x3a
je 0x1006d2ab
cmp eax, 0x29
je 0x1006d2ab
cmp eax, 0x2a
je 0x1006d2ab
cmp eax, 0x19
je 0x1006d2ab
cmp eax, 0x1a
je 0x1006d2ab
mov dword [esi + 0x4c], 0xc1
jmp 0x1006d2b2
mov dword [esi + 0x4c], 0xc0
push dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
push ebp
push edi
push ebx
call fcn.1006f010
mov cl, byte [esp + 0x23]
add esp, 0x10
add dword [esp + 0x14], 0xc
inc cl
mov byte [esp + 0x13], cl
cmp cl, byte [edi + 0x18]
jb 0x1006cd16
cmp dword [edi + 0x490], 2
jne 0x1006d311
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x1006d305
sub eax, 1
jne 0x1006d311
mov byte [edi + 0x2c], 9
mov eax, 0x100000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [edi + 0x24], 2
setne al
add al, 8
mov byte [edi + 0x2c], al
mov eax, 0x100000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret