Function at 0x49149a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], esi
jne 0x4914cb
push ebx
push esi
call fcn.00412e85
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x4914cb
mov eax, 0x80070057
jmp 0x491994
lea eax, [ebp + 8]
push edi
push eax
call fcn.0043fe57
mov edi, dword [ebp + 8]
mov esi, 0x80000000
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ebx
call fcn.00414c4e
mov ebx, dword [ebp - 0x18]
mov ax, word [ebx]
and word [ebx], 0
and dword [ebp - 0x34], 0
pop ecx
pop ecx
mov word [ebp - 0x30], ax
jmp 0x491563
push 7
push edi
push str._center
call fcn.00441220
add esp, 0xc
test al, al
je 0x4916e3
mov dword [ebp - 0xc], 0x40000000
lea eax, [ebp + 8]
push eax
call fcn.00405c44
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
je 0x491556
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
pop ecx
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x49151b
mov ax, word [ebp - 0x30]
push dword [ebp - 8]
mov word [ebx], ax
mov ebx, dword [ebp - 4]
or ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x48]
call fcn.00448948
mov esi, 0x4c6a64
push esi
lea ecx, [ebp - 0x10]
call fcn.004505eb
push esi
lea ecx, [ebp - 4]
call fcn.004505eb
push esi
lea ecx, [ebp - 0xc]
call fcn.004505eb
push esi
lea ecx, [ebp - 0x3c]
call fcn.004505eb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
xor eax, eax
cmp word [edi], 0x2a
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov byte [ebp + 0x13], al
jne 0x4915dd
inc edi
lea eax, [ebp + 8]
inc edi
push eax
mov byte [ebp + 0x13], 1
mov dword [ebp + 8], edi
call fcn.0043fe57
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004494ac
mov ecx, dword [ebp - 8]
add esp, 0xc
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00402f5e
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x4916d0
push 2
pop edi
add dword [ebp + 8], edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0045bac5
push eax
call fcn.00453b6f
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x4916d0
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0045bac5
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00449568
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x4916d0
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044959c
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x4916d0
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0045bac5
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.004494ac
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x4916d0
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0045bac5
push dword [eax]
call fcn.00453eef
pop ecx
mov dword [ebp - 0x20], eax
cmp byte [ebp + 0x13], 0
pop edi
je 0x491924
mov eax, dword [ebp - 8]
jmp 0x49192d
push 6
push edi
push 0x4d0114
call fcn.00441220
add esp, 0xc
test al, al
je 0x491703
mov dword [ebp - 0xc], 0x20000000
jmp 0x49153a
push 5
push edi
push str._left
call fcn.00441220
add esp, 0xc
test al, al
je 0x49171f
mov dword [ebp - 0xc], esi
jmp 0x49153a
push 8
push edi
push str._pcenter
call fcn.00441220
add esp, 0xc
test al, al
je 0x49173c
or byte [ebp - 2], 0x80
jmp 0x49153a
push 6
push edi
push str._round
call fcn.00441220
add esp, 0xc
test al, al
je 0x491759
or byte [ebp - 2], 0x20
jmp 0x49153a
push 7
push edi
push str._nscope
call fcn.00441220
add esp, 0xc
test al, al
je 0x491776
or byte [ebp - 2], 0x40
jmp 0x49153a
push 8
push edi
push str._nscopef
call fcn.00441220
add esp, 0xc
test al, al
je 0x491793
or byte [ebp - 2], 0x50
jmp 0x49153a
push 7
push edi
push str._nfocus
call fcn.00441220
add esp, 0xc
test al, al
je 0x4917b0
or byte [ebp - 2], 0x10
jmp 0x49153a
push 4
push edi
push str._def
call fcn.00441220
add esp, 0xc
test al, al
je 0x4917cd
or byte [ebp - 2], 8
jmp 0x49153a
push 3
push edi
push 0x4cf94c
call fcn.00441220
add esp, 0xc
test al, al
je 0x4917ea
or byte [ebp - 1], 2
jmp 0x49153a
push 2
push edi
push 0x4d28b8
call fcn.00441220
add esp, 0xc
test al, al
je 0x49180c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x49153a
push 3
push edi
push 0x4d28b4
call fcn.00441277
add esp, 0xc
test al, al
je 0x491870
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.0044658e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
add edi, 6
mov dword [ebp + 8], edi
call fcn.0045db36
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047f1ca
add esp, 0x18
test eax, eax
jle 0x491868
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
jmp 0x49191a
push 6
push edi
push str._font:
call fcn.00441277
add esp, 0xc
test al, al
je 0x4918a6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
add edi, 0xc
mov dword [ebp + 8], edi
call fcn.0045db36
add esp, 0x10
jmp 0x491560
push 7
push edi
push 0x4d22d4
call fcn.00441277
add esp, 0xc
test al, al
je 0x49153a
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
call fcn.0044658e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
add edi, 0xe
mov dword [ebp + 8], edi
call fcn.0045db36
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004495d7
movsx eax, ax
add esp, 0x18
test eax, eax
je 0x491901
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], ecx
cmp eax, 3
jge 0x49190c
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
cmp eax, 4
jge 0x491917
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x20]
call fcn.0043fe25
jmp 0x491560
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a4]
push dword [ebp - 0x24]
movzx ecx, word [ebp - 0x20]
push dword [ebp - 0x14]
or ecx, ebx
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004912c4
lea ecx, [ebp - 0x3c]
call fcn.0043fe25
lea ecx, [ebp - 0xc]
call fcn.0043fe25
lea ecx, [ebp - 4]
call fcn.0043fe25
lea ecx, [ebp - 0x10]
call fcn.0043fe25
lea ecx, [ebp - 0x48]
call fcn.0043fe25
lea ecx, [ebp - 0x34]
call fcn.0043fe25
xor eax, eax
pop esi
pop ebx
leave
ret 0xc