Function at 0x1008cef1
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov esi, ecx
mov dword [ebp - 0x14], esi
jne 0x1008cf22
push edi
push esi
call fcn.10012b49
mov eax, dword [esi + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x1008cf22
mov eax, 0x80070057
jmp 0x1008d39b
push esi
lea ecx, [ebp - 0x38]
call fcn.10048516
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0
xor ecx, ecx
jmp 0x1008cf9a
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x1008cfa2
cmp cx, 0x2d
jne 0x1008cf5b
or byte [ebp - 5], 8
jmp 0x1008cf95
cmp cx, 0x7c
jne 0x1008cf67
or byte [ebp - 5], 0x10
jmp 0x1008cf95
cmp cx, 0x2b
jne 0x1008cf73
or byte [ebp - 5], 4
jmp 0x1008cf95
cmp cx, 0x2e
jne 0x1008cf7f
mov byte [ebp - 2], 1
jmp 0x1008cf95
cmp cx, 0x3e
jne 0x1008cf8b
mov byte [ebp - 3], 2
jmp 0x1008cf95
cmp cx, 0x2a
jne 0x1008cf95
mov byte [ebp - 1], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, di
jne 0x1008cf44
lea eax, [ebp + 8]
push ebx
push eax
call fcn.1003f9c4
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.100a1095
mov ebx, dword [ebp - 0x18]
mov ax, word [ebx]
mov word [ebx], di
pop ecx
mov word [ebp - 0x24], ax
mov edi, 0x80000000
jmp 0x1008d11d
push 7
push esi
push str._center
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008cff4
mov dword [ebp - 0xc], 0x40000000
jmp 0x1008d111
push 6
push esi
push 0x100d0164
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d014
mov dword [ebp - 0xc], 0x20000000
jmp 0x1008d111
push 5
push esi
push str._left
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d030
mov dword [ebp - 0xc], edi
jmp 0x1008d111
push 6
push esi
push str._trans
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d04d
or byte [ebp - 5], 2
jmp 0x1008d111
push 2
push esi
push 0x100d0fc0
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d06a
or byte [ebp - 8], 0x80
jmp 0x1008d111
push 3
push esi
push 0x100d2784
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d091
mov eax, dword [ebp - 8]
and eax, 0xffffff7f
or eax, 0x20
mov dword [ebp - 8], eax
jmp 0x1008d111
push 3
push esi
push 0x100d2780
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d0ab
or byte [ebp - 5], 1
jmp 0x1008d111
push 8
push esi
push str._vcenter
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d0c5
or byte [ebp - 7], 1
jmp 0x1008d111
push 5
push esi
push str._ncmd
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d0df
or dword [ebp - 8], 0x40
jmp 0x1008d111
push 3
push esi
push 0x100d0144
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d0f9
or byte [ebp - 6], 0x20
jmp 0x1008d111
push 4
push esi
push str._mod
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1008d111
or byte [ebp - 6], 0x40
lea eax, [ebp + 8]
push eax
call fcn.10008e60
mov esi, dword [ebp + 8]
cmp word [esi], 0x2d
pop ecx
je 0x1008cfd4
mov ax, word [ebp - 0x24]
mov word [ebx], ax
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], eax
cmp word [esi], 0x2a
mov byte [ebp - 4], 0
jne 0x1008d152
inc esi
lea eax, [ebp + 8]
inc esi
push eax
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
call fcn.1003f9c4
pop ecx
mov esi, 0x100c6a64
push esi
lea ecx, [ebp - 0x10]
call fcn.100501eb
push esi
lea ecx, [ebp - 0xc]
call fcn.100501eb
lea ecx, [ebp - 0x18]
call fcn.10046123
push esi
lea ecx, [ebp - 0x2c]
call fcn.100501eb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
xor eax, eax
push 0x2c
pop esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x10], eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call fcn.1004907a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10002f54
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x1008d2ae
add dword [ebp + 8], 2
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.1005b693
push eax
call fcn.1005376f
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x1008d2ae
add dword [ebp + 8], 2
push ebx
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.1005b693
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.10049136
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x1008d2ae
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1004916a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x1008d2ae
add dword [ebp + 8], 2
push ebx
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.1005b693
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.100491a5
movsx eax, ax
cmp eax, 3
pop ecx
pop ecx
jge 0x1008d277
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x40], ecx
cmp eax, 4
jge 0x1008d282
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x1008d2ae
add dword [ebp + 8], 2
push ebx
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.1005b693
xor esi, esi
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.10049136
add esp, 0xc
jmp 0x1008d2b0
xor esi, esi
cmp byte [ebp - 1], 0
je 0x1008d2e3
lea ecx, [ebp + 8]
call fcn.10046123
mov ecx, dword [ebp - 0x14]
push ebx
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call fcn.10058f7c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.1003f96c
cmp byte [ebp - 2], 0
pop ebx
jne 0x1008d2f5
push esi
push dword [ebp - 0xc]
call fcn.10014914
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x1008d2ff
or byte [ebp - 5], 1
lea eax, [ebp - 0xc]
push eax
call fcn.10049aaf
cmp dword [ebp - 0x48], esi
pop ecx
jge 0x1008d31d
cmp dword [ebp - 0x44], esi
jge 0x1008d31d
cmp dword [ebp - 0x40], esi
jge 0x1008d31d
cmp dword [ebp - 0x3c], esi
jl 0x1008d332
cmp dword [ebp - 0x44], edi
mov eax, dword [0x100e1358]
jne 0x1008d32a
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x3c], edi
jne 0x1008d332
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 4], 0
je 0x1008d33d
mov eax, dword [ebp - 0x14]
jmp 0x1008d346
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a4]
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1008ae0a
lea ecx, [ebp - 0x2c]
call fcn.1003f96c
lea ecx, [ebp - 0x18]
call fcn.1003f96c
lea ecx, [ebp - 0xc]
call fcn.1003f96c
lea ecx, [ebp - 0x10]
call fcn.1003f96c
lea ecx, [ebp - 0x38]
call fcn.1003f96c
xor eax, eax
pop edi
pop esi
leave
ret 0xc