Function at 0x10007900
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 0x10007921
xor ebx, ebx
jmp 0x10007934
movzx eax, word [eax + 3]
and eax, 0x7fff
lea eax, [eax + eax*2]
lea ebx, [eax*4 + 0x10035250]
xor al, al
mov dword [ebp - 0xc], ebx
mov byte [edi + 0x18], dl
mov byte [ebp + 0xb], al
test dl, dl
je 0x10007e67
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 0x100079c1
sub eax, 1
je 0x100079b6
sub eax, 1
jne 0x100079d2
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 0x100079d2
push ebx
push edx
mov edx, edi
call fcn.10007650
jmp 0x100079ca
push ebx
push edx
mov edx, edi
call fcn.100074b0
lea edx, [edi + 0x20]
add esp, 8
add edx, esi
cmp dword [esi + edi + 0x24], 0
jne 0x10007d6d
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.0x100079fa
jmp dword [ecx*4 + 0x10007ea4]
mov ebx, 1
jmp 0x10007a9d
mov ebx, 4
jmp 0x10007a9d
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x10007a23
mov ebx, 2
jmp 0x10007a9d
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x10007a9d
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x10007a23
mov ebx, 3
jmp 0x10007a9d
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x10007a9d
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x10007a23
mov ebx, 2
jmp 0x10007a9d
mov ebx, 5
jmp 0x10007a9d
mov ebx, 6
jmp 0x10007a9d
mov ebx, 7
jmp 0x10007a9d
mov ebx, 8
jmp 0x10007a9d
mov ebx, 9
jmp 0x10007a9d
mov ebx, 0x11
jmp 0x10007a9d
mov ebx, 0xc
jmp 0x10007a9d
mov ebx, 0xe
jmp 0x10007a9d
mov ebx, 0xf
jmp 0x10007a9d
mov ebx, 0x10
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x10007eec]
add eax, 0xffffffea
cmp eax, 9
ja case.0x10007be1.26
jmp dword [eax*4 + 0x10007f04]
push 0
mov ecx, dword [ebp - 8]
push edx
mov edx, edi
call fcn.100071c0
add esp, 8
test eax, eax
js 0x10007e87
jmp case.0x10007be1.26
push 7
jmp 0x10007bea
push 8
jmp 0x10007bea
push 9
jmp 0x10007bea
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.0x10007be1.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.100071c0
add esp, 8
test eax, eax
js 0x10007e87
mov dword [esi + edi + 0x48], 2
jmp case.0x10007be1.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.0x10007be1.26
mov ecx, dword [ebp - 8]
push 0
push edx
mov edx, edi
mov byte [esi + edi + 0x2c], 0
call fcn.100071c0
add esp, 8
test eax, eax
js 0x10007e87
mov dword [esi + edi + 0x48], 3
cmp dword [esi + edi + 0x24], 0
je 0x10007cee
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x10007cc0
cmp eax, 5
jne 0x10007d6d
cmp byte [edi + 0x588], 8
jne 0x10007d6d
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.1001aa20
mov dword [esi + edi + 0x68], eax
mov dword [esi + edi + 0x6c], edx
jmp 0x10007d6d
movzx eax, byte [ebx]
and eax, 0x1f
sub eax, 0x1a
je 0x10007cfe
sub eax, 1
jne 0x10007d6d
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 0x10007d3c
mov al, byte [ecx + 0x598]
and al, 0xf
movzx eax, al
cdq
jmp 0x10007d48
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 0x10007e3b
mov ecx, dword [edi + 0x430]
mov eax, ecx
mov edx, dword [edi + 0x434]
and eax, 0x10000000
or eax, 0
je 0x10007d9d
mov dword [esi + edi + 0x4c], 0xbf
jmp 0x10007e3b
mov eax, ecx
and eax, 0x20000000
or eax, 0
jne 0x10007e33
mov eax, ecx
and eax, 0x40000000
or eax, 0
je 0x10007dc3
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x10007e3b
and ecx, 0x80000000
or ecx, 0
je 0x10007dd8
mov dword [esi + edi + 0x4c], 0xbe
jmp 0x10007e3b
mov ecx, edx
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10007ded
mov dword [esi + edi + 0x4c], 0xc2
jmp 0x10007e3b
and edx, 2
xor eax, eax
or eax, edx
je 0x10007e00
mov dword [esi + edi + 0x4c], 0xc3
jmp 0x10007e3b
cmp dword [esi + edi + 0x4c], 0
jne 0x10007e3b
mov eax, dword [esi + edi + 0x50]
cmp eax, 0x39
je 0x10007e33
cmp eax, 0x3a
je 0x10007e33
cmp eax, 0x29
je 0x10007e33
cmp eax, 0x2a
je 0x10007e33
cmp eax, 0x19
je 0x10007e33
cmp eax, 0x1a
je 0x10007e33
mov dword [esi + edi + 0x4c], 0xc1
jmp 0x10007e3b
mov dword [esi + edi + 0x4c], 0xc0
mov ecx, dword [ebp - 8]
mov edx, edi
push ebx
push dword [ebp - 0x10]
call fcn.10006cd0
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 0x10007e67
mov ecx, dword [ebp - 8]
jmp 0x10007947
cmp dword [edi + 0x490], 2
jne 0x10007e82
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x10007e8e
sub eax, 1
jne 0x10007e82
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 0x10007e7e
mov byte [edi + 0x2c], 8
mov eax, 0x100000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret