Function at 0x46cf87
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 0x46cfb6
push edi
call fcn.0040de2f
mov edi, dword [edi + 0x2c]
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], edi
jne 0x46cfb6
mov eax, 0x80070057
jmp 0x46d374
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0042dd40
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.0043291a
mov esi, dword [ebp - 0x14]
mov bx, word [esi]
and word [esi], 0
pop ecx
jmp 0x46d195
push 7
push edi
push str._center
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d00c
mov dword [ebp - 8], 0x40000000
jmp 0x46d16d
push 6
push edi
push str._right
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d02c
mov dword [ebp - 8], 0x20000000
jmp 0x46d16d
push 5
push edi
push str._left
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d04c
mov dword [ebp - 8], 0x80000000
jmp 0x46d16d
push 8
push edi
push str._pcenter
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d069
or byte [ebp - 2], 0x80
jmp 0x46d16d
push 6
push edi
push str._round
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d086
or byte [ebp - 2], 0x20
jmp 0x46d16d
push 7
push edi
push str._nscope
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d0a3
or byte [ebp - 2], 0x40
jmp 0x46d16d
push 7
push edi
push str._nfocus
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d0c0
or byte [ebp - 2], 0x10
jmp 0x46d16d
push 4
push edi
push str._def
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d0dd
or byte [ebp - 2], 8
jmp 0x46d16d
push 3
push edi
push 0x495260
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d0f7
or byte [ebp - 1], 2
jmp 0x46d16d
push 2
push edi
push 0x49729c
call fcn.0042ec66
add esp, 0xc
test al, al
je 0x46d116
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
jmp 0x46d16d
push 3
push edi
push 0x497298
call fcn.0042ecb0
add esp, 0xc
test al, al
je 0x46d150
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.004041b5
test eax, eax
pop ecx
pop ecx
jle 0x46d16d
mov eax, dword [ebp - 0x34]
jmp 0x46d111
push 6
push edi
push str._font:
call fcn.0042ecb0
add esp, 0xc
test al, al
je 0x46d16d
add edi, 0xc
mov dword [ebp + 8], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp + 8]
push eax
call fcn.0040415a
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
je 0x46d189
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x46cfec
push dword [ebp - 0xc]
mov word [esi], bx
mov ebx, dword [ebp - 4]
or ebx, dword [ebp - 8]
lea ecx, [ebp - 0x40]
call fcn.00434bb0
mov esi, 0x48e984
push esi
lea ecx, [ebp - 8]
call fcn.0043ccfc
push esi
lea ecx, [ebp - 0x14]
call fcn.0043ccfc
push esi
lea ecx, [ebp - 4]
call fcn.0043ccfc
push esi
lea ecx, [ebp - 0x34]
call fcn.0043ccfc
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 0x46d210
inc edi
lea eax, [ebp + 8]
inc edi
push eax
mov byte [ebp + 0x13], 1
mov dword [ebp + 8], edi
call fcn.0042dd40
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043541b
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push 1
lea eax, [ebp - 8]
push eax
call fcn.00402bfa
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x46d303
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.0043eb85
push eax
call fcn.00440999
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x46d303
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043eb85
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004354d7
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46d303
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043550b
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46d303
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043eb85
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.0043541b
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x46d303
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043eb85
push dword [eax]
call fcn.00435b36
pop ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x13], 0
je 0x46d30e
mov eax, dword [ebp - 0xc]
jmp 0x46d317
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.0046cc0b
lea ecx, [ebp - 0x34]
call fcn.0042dd2d
lea ecx, [ebp - 4]
call fcn.0042dd2d
lea ecx, [ebp - 0x14]
call fcn.0042dd2d
lea ecx, [ebp - 8]
call fcn.0042dd2d
lea ecx, [ebp - 0x40]
call fcn.0042dd2d
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc