Function at 0x489ce0
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 - 0x10], edi
jne 0x489d11
push esi
push edi
call fcn.004117b3
mov edi, dword [edi + 0x28]
cmp edi, esi
pop ecx
pop ecx
mov dword [ebp + 0xc], edi
jne 0x489d11
mov eax, 0x80070057
jmp 0x48a0cf
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00439c95
mov edi, dword [ebp + 8]
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.0043f8e8
mov esi, dword [ebp - 0x18]
mov bx, word [esi]
and word [esi], 0
pop ecx
jmp 0x489ef0
push 7
push edi
push str._center
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489d67
mov dword [ebp - 8], 0x40000000
jmp 0x489ec8
push 6
push edi
push str._right
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489d87
mov dword [ebp - 8], 0x20000000
jmp 0x489ec8
push 5
push edi
push str._left
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489da7
mov dword [ebp - 8], 0x80000000
jmp 0x489ec8
push 8
push edi
push str._pcenter
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489dc4
or byte [ebp - 2], 0x80
jmp 0x489ec8
push 6
push edi
push str._round
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489de1
or byte [ebp - 2], 0x20
jmp 0x489ec8
push 7
push edi
push str._nscope
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489dfe
or byte [ebp - 2], 0x40
jmp 0x489ec8
push 7
push edi
push str._nfocus
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489e1b
or byte [ebp - 2], 0x10
jmp 0x489ec8
push 4
push edi
push str._def
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489e38
or byte [ebp - 2], 8
jmp 0x489ec8
push 3
push edi
push 0x4b9a94
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489e52
or byte [ebp - 1], 2
jmp 0x489ec8
push 2
push edi
push 0x4ba098
call fcn.0043af01
add esp, 0xc
test al, al
je 0x489e71
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x489ec8
push 3
push edi
push 0x4ba094
call fcn.0043af58
add esp, 0xc
test al, al
je 0x489eab
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.0040547b
test eax, eax
pop ecx
pop ecx
jle 0x489ec8
mov eax, dword [ebp - 0x34]
jmp 0x489e6c
push 6
push edi
push str._font:
call fcn.0043af58
add esp, 0xc
test al, al
je 0x489ec8
add edi, 0xc
mov dword [ebp + 8], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 8]
push eax
call fcn.0040549b
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
je 0x489ee4
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00439c95
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x489d47
push dword [ebp - 0x10]
mov word [esi], bx
mov ebx, dword [ebp - 4]
or ebx, dword [ebp - 8]
lea ecx, [ebp - 0x40]
call fcn.00441f45
mov esi, 0x4ae9fc
push esi
lea ecx, [ebp - 0xc]
call fcn.00448399
push esi
lea ecx, [ebp - 4]
call fcn.00448399
push esi
lea ecx, [ebp - 8]
call fcn.00448399
push esi
lea ecx, [ebp - 0x34]
call fcn.00448399
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 - 0x18], eax
mov byte [ebp + 0x13], al
jne 0x489f6b
inc edi
lea eax, [ebp + 8]
inc edi
push eax
mov byte [ebp + 0x13], 1
mov dword [ebp + 8], edi
call fcn.00439c95
pop ecx
push 0x2c
pop esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004429d8
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.00402e5f
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x48a05e
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.00451235
push eax
call fcn.0047cf8b
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x48a05e
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00451235
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00442a94
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x48a05e
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00442ac8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x48a05e
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00451235
push 0
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.004429d8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x48a05e
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00451235
push dword [eax]
call fcn.0044b4d4
pop ecx
mov dword [ebp - 0x18], eax
cmp byte [ebp + 0x13], 0
je 0x48a069
mov eax, dword [ebp - 0x10]
jmp 0x48a072
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 0x14]
movzx ecx, word [ebp - 0x18]
push dword [ebp - 0x1c]
or ecx, ebx
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00489859
lea ecx, [ebp - 0x34]
call fcn.00439cfd
lea ecx, [ebp - 8]
call fcn.00439cfd
lea ecx, [ebp - 4]
call fcn.00439cfd
lea ecx, [ebp - 0xc]
call fcn.00439cfd
lea ecx, [ebp - 0x40]
call fcn.00439cfd
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc