Function at 0x10009910
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 0x10009931
xor ebx, ebx
jmp 0x10009944
movzx eax, word [eax + 3]
and eax, 0x7fff
lea eax, [eax + eax*2]
lea ebx, [eax*4 + 0x10039520]
xor al, al
mov dword [ebp - 0xc], ebx
mov byte [edi + 0x18], dl
mov byte [ebp + 0xb], al
test dl, dl
je 0x10009e77
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 0x100099d1
sub eax, 1
je 0x100099c6
sub eax, 1
jne 0x100099e2
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 0x100099e2
push ebx
push edx
mov edx, edi
call fcn.10009660
jmp 0x100099da
push ebx
push edx
mov edx, edi
call fcn.100094c0
lea edx, [edi + 0x20]
add esp, 8
add edx, esi
cmp dword [esi + edi + 0x24], 0
jne 0x10009d7d
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.0x10009a0a
jmp dword [ecx*4 + 0x10009eb4]
mov ebx, 1
jmp 0x10009aad
mov ebx, 4
jmp 0x10009aad
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x10009a33
mov ebx, 2
jmp 0x10009aad
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x10009aad
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x10009a33
mov ebx, 3
jmp 0x10009aad
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x10009aad
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x10009a33
mov ebx, 2
jmp 0x10009aad
mov ebx, 5
jmp 0x10009aad
mov ebx, 6
jmp 0x10009aad
mov ebx, 7
jmp 0x10009aad
mov ebx, 8
jmp 0x10009aad
mov ebx, 9
jmp 0x10009aad
mov ebx, 0x11
jmp 0x10009aad
mov ebx, 0xc
jmp 0x10009aad
mov ebx, 0xe
jmp 0x10009aad
mov ebx, 0xf
jmp 0x10009aad
mov ebx, 0x10
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x10009efc]
add eax, 0xffffffea
cmp eax, 9
ja case.0x10009bf1.26
jmp dword [eax*4 + 0x10009f14]
push 0
mov ecx, dword [ebp - 8]
push edx
mov edx, edi
call fcn.100091f0
add esp, 8
test eax, eax
js 0x10009e97
jmp case.0x10009bf1.26
push 7
jmp 0x10009bfa
push 8
jmp 0x10009bfa
push 9
jmp 0x10009bfa
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.0x10009bf1.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.100091f0
add esp, 8
test eax, eax
js 0x10009e97
mov dword [esi + edi + 0x48], 2
jmp case.0x10009bf1.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 dword [esi + edi + 0x68], eax
mov eax, dword [edi + 0x584]
mov dword [esi + edi + 0x6c], eax
jmp case.0x10009bf1.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.100091f0
add esp, 8
test eax, eax
js 0x10009e97
mov dword [esi + edi + 0x48], 3
cmp dword [esi + edi + 0x24], 0
je 0x10009cfe
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x10009cd0
cmp eax, 5
jne 0x10009d7d
cmp byte [edi + 0x588], 8
jne 0x10009d7d
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.1001ca30
mov dword [esi + edi + 0x68], eax
mov dword [esi + edi + 0x6c], edx
jmp 0x10009d7d
movzx eax, byte [ebx]
and eax, 0x1f
sub eax, 0x1a
je 0x10009d0e
sub eax, 1
jne 0x10009d7d
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 0x10009d4c
mov al, byte [ecx + 0x598]
and al, 0xf
movzx eax, al
cdq
jmp 0x10009d58
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 0x10009e4b
mov ecx, dword [edi + 0x430]
mov eax, ecx
mov edx, dword [edi + 0x434]
and eax, 0x10000000
or eax, 0
je 0x10009dad
mov dword [esi + edi + 0x4c], 0xbf
jmp 0x10009e4b
mov eax, ecx
and eax, 0x20000000
or eax, 0
jne 0x10009e43
mov eax, ecx
and eax, 0x40000000
or eax, 0
je 0x10009dd3
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x10009e4b
and ecx, 0x80000000
or ecx, 0
je 0x10009de8
mov dword [esi + edi + 0x4c], 0xbe
jmp 0x10009e4b
mov ecx, edx
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10009dfd
mov dword [esi + edi + 0x4c], 0xc2
jmp 0x10009e4b
and edx, 2
xor eax, eax
or eax, edx
je 0x10009e10
mov dword [esi + edi + 0x4c], 0xc3
jmp 0x10009e4b
cmp dword [esi + edi + 0x4c], 0
jne 0x10009e4b
mov eax, dword [esi + edi + 0x50]
cmp eax, 0x39
je 0x10009e43
cmp eax, 0x3a
je 0x10009e43
cmp eax, 0x29
je 0x10009e43
cmp eax, 0x2a
je 0x10009e43
cmp eax, 0x19
je 0x10009e43
cmp eax, 0x1a
je 0x10009e43
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x10009e4b
mov dword [esi + edi + 0x4c], 0xc0
mov ecx, dword [ebp - 8]
mov edx, edi
push ebx
push dword [ebp - 0x10]
call fcn.10008d00
mov al, byte [ebp + 0xb]
add ebx, 0xc
add al, 1
mov dword [ebp - 0xc], ebx
add esp, 8
mov byte [ebp + 0xb], al
cmp al, byte [edi + 0x18]
jae 0x10009e77
mov ecx, dword [ebp - 8]
jmp 0x10009957
cmp dword [edi + 0x490], 2
jne 0x10009e92
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x10009e9e
sub eax, 1
jne 0x10009e92
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
jne 0x10009e8e
mov byte [edi + 0x2c], 8
mov eax, 0x100000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret