Function at 0x4422aa
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
call fcn.0042e119
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x4422e3
push esi
call fcn.0040c54c
mov esi, dword [esi + 0x2c]
cmp esi, edi
pop ecx
mov dword [ebp + 0xc], esi
jne 0x4422e3
mov ebx, 0x80070057
jmp 0x442684
mov edx, dword [ebp + 8]
xor esi, esi
mov byte [ebp - 1], 0
xor ecx, ecx
jmp 0x442334
mov eax, ecx
call fcn.00426fde
test al, al
jne 0x44233c
cmp cx, 0x2d
jne 0x442309
or esi, 0x8000000
jmp 0x44232f
cmp cx, 0x7c
jne 0x442317
or esi, 0x10000000
jmp 0x44232f
cmp cx, 0x2b
jne 0x442325
or esi, 0x4000000
jmp 0x44232f
cmp cx, 0x2e
jne 0x44232f
mov byte [ebp - 1], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, di
jne 0x4422f0
lea eax, [ebp + 8]
xor esi, 0x18000000
push eax
mov dword [ebp - 8], esi
call fcn.00426ff7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.0040ed85
mov esi, dword [ebp - 0x18]
mov bx, word [esi]
pop ecx
mov word [esi], di
jmp 0x4423ff
push 7
push edi
push str._center
call fcn.00427eca
add esp, 0xc
test al, al
je 0x44238d
mov dword [ebp - 0x10], 0x40000000
jmp 0x4423f6
push 6
push edi
push str._right
call fcn.00427eca
add esp, 0xc
test al, al
je 0x4423aa
mov dword [ebp - 0x10], 0x20000000
jmp 0x4423f6
push 8
push edi
push str._vcenter
call fcn.00427eca
add esp, 0xc
test al, al
je 0x4423c4
or byte [ebp - 5], 2
jmp 0x4423f6
push 5
push edi
push str._rich
call fcn.00427eca
add esp, 0xc
test al, al
je 0x4423de
or byte [ebp - 6], 0x80
jmp 0x4423f6
push 3
push edi
push 0x4871d4
call fcn.00427eca
add esp, 0xc
test al, al
je 0x4423f6
or byte [ebp - 6], 0x20
lea eax, [ebp + 8]
push eax
call fcn.00403c51
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x442370
mov eax, dword [ebp - 0x10]
or dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
mov word [esi], bx
call fcn.0042c3f7
lea ecx, [ebp - 0xc]
call fcn.0042c3f7
lea ecx, [ebp - 0x34]
call fcn.0042c3f7
lea ecx, [ebp - 0x18]
call fcn.0042c3f7
push 0x480934
lea ecx, [ebp - 0x3c]
call fcn.004361de
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, 0x80000000
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 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 0x442489
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.00426ff7
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.004242ef
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4424ae
xor ebx, ebx
inc ebx
jmp 0x44265c
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 - 0x48]
call fcn.00440583
push eax
call fcn.00439c0b
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x4424ff
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00440583
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0042e968
add esp, 0xc
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x44251d
mov ecx, dword [ebp - 0x14]
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004242ef
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ebx
call fcn.0040ce49
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00436246
lea ecx, [ebp - 0x30]
call fcn.0042704a
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x442560
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00440583
push dword [eax]
call fcn.0042efa3
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x4425b0
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00440583
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.0042e9d7
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x4425b0
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 - 0x48]
call fcn.00440583
push eax
call fcn.0042e8ac
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x10]
jne 0x4425ce
push ebx
push dword [ebp - 0xc]
call fcn.0040edea
or byte [ebp - 5], 1
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
jne 0x4425ea
mov eax, dword [ebp - 0x3c]
cmp word [eax], bx
je 0x4425ea
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0042eff0
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
mov word [eax], bx
mov eax, dword [ebp - 0x10]
cmp ax, bx
jle 0x442601
test al, 7
je 0x442601
or eax, 8
mov esi, eax
and esi, 0xfffffffe
or esi, 4
cmp dword [ebp - 0x58], ebx
jl 0x442619
cmp dword [ebp - 0x54], ebx
jge 0x442619
mov eax, dword [0x4952b0]
mov dword [ebp - 0x54], eax
cmp byte [ebp + 0x13], 0
je 0x442624
mov eax, dword [ebp - 0x14]
jmp 0x44262d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x13c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push ecx
movzx ecx, si
or ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x3c]
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.0042c7a7
lea ecx, [ebp - 0x3c]
call fcn.0042704a
lea ecx, [ebp - 0x18]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0042704a
lea ecx, [ebp - 0xc]
call fcn.0042704a
lea ecx, [ebp - 0x1c]
call fcn.0042704a
lea ecx, [ebp - 0x48]
call fcn.0042704a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc