Function at 0x4505c8
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], esi
call fcn.0043f42c
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x450603
push edi
push esi
call fcn.004109b8
mov esi, dword [esi + 0x28]
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x450603
mov ebx, 0x80070057
jmp 0x450983
mov edx, dword [ebp + 8]
xor esi, esi
mov byte [ebp - 1], 0
xor ecx, ecx
jmp 0x450654
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x45065c
cmp cx, 0x2d
jne 0x450629
or esi, 0x8000000
jmp 0x45064f
cmp cx, 0x7c
jne 0x450637
or esi, 0x10000000
jmp 0x45064f
cmp cx, 0x2b
jne 0x450645
or esi, 0x4000000
jmp 0x45064f
cmp cx, 0x2e
jne 0x45064f
mov byte [ebp - 1], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, di
jne 0x450610
lea eax, [ebp + 8]
xor esi, 0x18000000
push eax
mov dword [ebp - 8], esi
call fcn.004378b6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.0043cf2c
mov esi, dword [ebp - 0x18]
mov bx, word [esi]
pop ecx
mov word [esi], di
jmp 0x45071f
push 7
push edi
push str._center
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4506ad
mov dword [ebp - 0x10], 0x40000000
jmp 0x450716
push 6
push edi
push str._right
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4506ca
mov dword [ebp - 0x10], 0x20000000
jmp 0x450716
push 8
push edi
push str._vcenter
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4506e4
or byte [ebp - 5], 2
jmp 0x450716
push 5
push edi
push str._rich
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4506fe
or byte [ebp - 6], 0x80
jmp 0x450716
push 3
push edi
push 0x4ac63c
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x450716
or byte [ebp - 6], 0x20
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x450690
mov eax, dword [ebp - 0x10]
or dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
mov word [esi], bx
call fcn.0043d3a5
lea ecx, [ebp - 0xc]
call fcn.0043d3a5
lea ecx, [ebp - 0x30]
call fcn.0043d3a5
lea ecx, [ebp - 0x18]
call fcn.0043d3a5
push 0x4a39d4
lea ecx, [ebp - 0x38]
call fcn.00445746
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, 0x80000000
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
cmp word [eax], 0x2a
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x13], bl
jne 0x4507a9
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.004378b6
pop ecx
mov ecx, dword [ebp - 0x14]
push ebx
push 0x2c
pop edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004330ce
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4507ce
xor ebx, ebx
inc ebx
jmp 0x45095b
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 edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e4ae
push eax
call fcn.0044fe94
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x45081f
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e4ae
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0043fe0d
add esp, 0xc
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x45085f
mov ecx, dword [ebp - 0x14]
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00432fb5
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x45085f
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e4ae
push dword [eax]
call fcn.00448873
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x4508af
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e4ae
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.0043fe7c
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x4508af
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 0x18]
push eax
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e4ae
push eax
call fcn.0043fd51
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x10]
jne 0x4508cd
push ebx
push dword [ebp - 0xc]
call fcn.004125c8
or byte [ebp - 5], 1
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
jne 0x4508e9
mov eax, dword [ebp - 0x38]
cmp word [eax], bx
je 0x4508e9
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.004405e2
pop ecx
pop ecx
mov eax, dword [ebp - 0x38]
mov word [eax], bx
mov eax, dword [ebp - 0x10]
cmp ax, bx
jle 0x450900
test al, 7
je 0x450900
or eax, 8
mov esi, eax
and esi, 0xfffffffe
or esi, 4
cmp dword [ebp - 0x54], ebx
jl 0x450918
cmp dword [ebp - 0x50], ebx
jge 0x450918
mov eax, dword [0x4bc320]
mov dword [ebp - 0x50], eax
cmp byte [ebp + 0x13], 0
je 0x450923
mov eax, dword [ebp - 0x14]
jmp 0x45092c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
push ecx
movzx ecx, si
or ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0043d78f
lea ecx, [ebp - 0x38]
call fcn.00437884
lea ecx, [ebp - 0x18]
call fcn.00437884
lea ecx, [ebp - 0x30]
call fcn.00437884
lea ecx, [ebp - 0xc]
call fcn.00437884
lea ecx, [ebp - 0x1c]
call fcn.00437884
lea ecx, [ebp - 0x44]
call fcn.00437884
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc