Function at 0x46e4cc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor esi, esi
cmp dword [ebp + 0xc], esi
mov edi, ecx
mov dword [ebp - 0xc], edi
jne 0x46e4fb
push edi
call fcn.0040e27f
mov edi, dword [edi + 0x2c]
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], edi
jne 0x46e4fb
mov eax, 0x80070057
jmp 0x46e8b9
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0042ebab
mov edi, dword [ebp + 8]
push 0x2c
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
call fcn.00433886
mov esi, dword [ebp - 0x14]
mov bx, word [esi]
and word [esi], 0
pop ecx
jmp 0x46e6da
push 7
push edi
push str._center
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e551
mov dword [ebp - 8], 0x40000000
jmp 0x46e6b2
push 6
push edi
push str._right
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e571
mov dword [ebp - 8], 0x20000000
jmp 0x46e6b2
push 5
push edi
push str._left
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e591
mov dword [ebp - 8], 0x80000000
jmp 0x46e6b2
push 8
push edi
push str._pcenter
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e5ae
or byte [ebp - 2], 0x80
jmp 0x46e6b2
push 6
push edi
push str._round
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e5cb
or byte [ebp - 2], 0x20
jmp 0x46e6b2
push 7
push edi
push str._nscope
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e5e8
or byte [ebp - 2], 0x40
jmp 0x46e6b2
push 7
push edi
push str._nfocus
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e605
or byte [ebp - 2], 0x10
jmp 0x46e6b2
push 4
push edi
push str._def
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e622
or byte [ebp - 2], 8
jmp 0x46e6b2
push 3
push edi
push 0x496370
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e63c
or byte [ebp - 1], 2
jmp 0x46e6b2
push 2
push edi
push 0x49838c
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x46e65b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
jmp 0x46e6b2
push 3
push edi
push 0x498388
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x46e695
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
add edi, 6
push eax
mov dword [ebp + 8], edi
call fcn.004041c2
test eax, eax
pop ecx
pop ecx
jle 0x46e6b2
mov eax, dword [ebp - 0x34]
jmp 0x46e656
push 6
push edi
push str._font:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x46e6b2
add edi, 0xc
mov dword [ebp + 8], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp + 8]
push eax
call fcn.00404167
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
je 0x46e6ce
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x46e531
push dword [ebp - 0xc]
mov word [esi], bx
mov ebx, dword [ebp - 4]
or ebx, dword [ebp - 8]
lea ecx, [ebp - 0x40]
call fcn.00435bf3
mov esi, 0x496134
push esi
lea ecx, [ebp - 8]
call fcn.0043ddc9
push esi
lea ecx, [ebp - 0x14]
call fcn.0043ddc9
push esi
lea ecx, [ebp - 4]
call fcn.0043ddc9
push esi
lea ecx, [ebp - 0x34]
call fcn.0043ddc9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp word [edi], 0x2a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp + 0x13], al
jne 0x46e755
inc edi
lea eax, [ebp + 8]
inc edi
push eax
mov byte [ebp + 0x13], 1
mov dword [ebp + 8], edi
call fcn.0042ebab
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004364f8
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push 1
lea eax, [ebp - 8]
push eax
call fcn.00402c07
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x46e848
push 2
pop edi
add dword [ebp + 8], edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043fb4e
push eax
call fcn.00441984
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x46e848
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043fb4e
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004365b4
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46e848
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004365e8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46e848
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043fb4e
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.004364f8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46e848
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043fb4e
push dword [eax]
call fcn.00436c13
pop ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x13], 0
je 0x46e853
mov eax, dword [ebp - 0xc]
jmp 0x46e85c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14c]
push dword [ebp - 0x10]
movzx ecx, word [ebp - 0x1c]
push dword [ebp - 0x18]
or ecx, ebx
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0046e150
lea ecx, [ebp - 0x34]
call fcn.0042eb98
lea ecx, [ebp - 4]
call fcn.0042eb98
lea ecx, [ebp - 0x14]
call fcn.0042eb98
lea ecx, [ebp - 8]
call fcn.0042eb98
lea ecx, [ebp - 0x40]
call fcn.0042eb98
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc