Function at 0x1002b040
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.1002edd0
xor cl, cl
mov byte [edi + 0x18], al
add esp, 8
mov byte [ebp - 1], cl
test al, al
je 0x1002b6a8
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 0x1002b1d8
sub eax, 1
je 0x1002b0e8
sub eax, 1
jne 0x1002b2cf
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 0x1002b2cf
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 + 0x1002b6e8]
mov dword [ecx + 4], 1
movzx eax, byte [ebx + 9]
and eax, 7
jmp dword [eax*4 + 0x1002b70c]
cmp dword [esi + 0x24], 0
jne 0x1002b594
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.0x1002b2f5
jmp dword [edx*4 + 0x1002b728]
mov ebx, 1
jmp 0x1002b3a2
mov ebx, 4
jmp 0x1002b3a2
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1002b321
mov ebx, 2
jmp 0x1002b3a2
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x1002b3a2
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x1002b321
mov ebx, 3
jmp 0x1002b3a2
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x1002b3a2
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x1002b321
mov ebx, 2
jmp 0x1002b3a2
mov ebx, 5
jmp 0x1002b3a2
mov ebx, 6
jmp 0x1002b3a2
mov ebx, 7
jmp 0x1002b3a2
mov ebx, 8
jmp 0x1002b3a2
mov ebx, 9
jmp 0x1002b3a2
mov ebx, 0xa
jmp 0x1002b3a2
mov ebx, 0x12
jmp 0x1002b3a2
mov ebx, 0xd
jmp 0x1002b3a2
mov ebx, 0xf
jmp 0x1002b3a2
mov ebx, 0x10
jmp 0x1002b3a2
mov ebx, 0x11
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x1002b774]
add eax, 0xffffffe9
cmp eax, 9
ja case.0x1002b415.27
jmp dword [eax*4 + 0x1002b78c]
push 0
push ecx
push edi
push dword [ebp + 8]
call fcn.1002ad70
add esp, 0x10
test eax, eax
js 0x1002b6e0
jmp 0x1002b4cd
push 7
jmp 0x1002b41e
push 8
jmp 0x1002b41e
push 9
jmp 0x1002b41e
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.0x1002b415.27
push 0
push ecx
push edi
push dword [ebp + 8]
mov byte [esi + 0x2c], 0
call fcn.1002ad70
add esp, 0x10
test eax, eax
js 0x1002b6e0
mov dword [esi + 0x48], 2
jmp 0x1002b4cd
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.0x1002b415.27
push 0
push ecx
push edi
push dword [ebp + 8]
mov byte [esi + 0x2c], 0
call fcn.1002ad70
add esp, 0x10
test eax, eax
js 0x1002b6e0
mov dword [esi + 0x48], 3
mov ebx, dword [ebp - 8]
cmp dword [esi + 0x24], 0
je 0x1002b514
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x1002b4e7
cmp eax, 5
jne 0x1002b594
cmp byte [edi + 0x5a8], 8
jne 0x1002b594
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.10058250
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
jmp 0x1002b594
movzx eax, byte [ebx]
and eax, 0x3f
sub eax, 0x1b
je 0x1002b524
sub eax, 1
jne 0x1002b594
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 0x1002b565
mov al, byte [ecx]
and al, 0xf
movzx eax, al
cdq
jmp 0x1002b56a
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 0x1002b67b
mov cl, byte [ebx + 0xc]
test cl, 2
jne 0x1002b644
mov eax, dword [edi + 0x430]
and eax, 0x10000000
or eax, 0
je 0x1002b5c6
mov dword [esi + 0x4c], 0xc7
jmp 0x1002b67b
test cl, 2
jne 0x1002b644
mov eax, dword [edi + 0x430]
and eax, 0x20000000
or eax, 0
jne 0x1002b674
mov eax, dword [edi + 0x430]
and eax, 0x40000000
or eax, 0
je 0x1002b5fb
mov dword [esi + 0x4c], 0xc9
jmp 0x1002b67b
mov eax, dword [edi + 0x430]
and eax, 0x80000000
or eax, 0
je 0x1002b614
mov dword [esi + 0x4c], 0xc6
jmp 0x1002b67b
mov ecx, dword [edi + 0x434]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x1002b62c
mov dword [esi + 0x4c], 0xca
jmp 0x1002b67b
mov ecx, dword [edi + 0x434]
xor eax, eax
and ecx, 2
or eax, ecx
je 0x1002b644
mov dword [esi + 0x4c], 0xcb
jmp 0x1002b67b
cmp dword [esi + 0x4c], 0
jne 0x1002b67b
mov eax, dword [esi + 0x50]
cmp eax, 0x39
je 0x1002b674
cmp eax, 0x3a
je 0x1002b674
cmp eax, 0x29
je 0x1002b674
cmp eax, 0x2a
je 0x1002b674
cmp eax, 0x19
je 0x1002b674
cmp eax, 0x1a
je 0x1002b674
mov dword [esi + 0x4c], 0xc9
jmp 0x1002b67b
mov dword [esi + 0x4c], 0xc8
push ebx
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
call fcn.1002d390
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 0x1002b075
cmp dword [edi + 0x4b0], 2
jne 0x1002b6db
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x1002b6cf
sub eax, 1
jne 0x1002b6db
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