Function at 0x45021d
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
call fcn.0043f504
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x450257
push ebx
push esi
call fcn.00410a6c
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x450257
mov esi, 0x80070057
jmp 0x45062b
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0
xor ecx, ecx
jmp 0x4502c3
mov eax, ecx
call fcn.00482120
test al, al
jne 0x4502cb
cmp cx, 0x2d
jne 0x450284
or byte [ebp - 5], 8
jmp 0x4502be
cmp cx, 0x7c
jne 0x450290
or byte [ebp - 5], 0x10
jmp 0x4502be
cmp cx, 0x2b
jne 0x45029c
or byte [ebp - 5], 4
jmp 0x4502be
cmp cx, 0x2e
jne 0x4502a8
mov byte [ebp - 2], 1
jmp 0x4502be
cmp cx, 0x2a
jne 0x4502b4
mov byte [ebp - 1], 1
jmp 0x4502be
cmp cx, 0x3d
jne 0x4502be
mov byte [ebp - 3], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, bx
jne 0x45026d
lea eax, [ebp + 8]
push edi
push eax
call fcn.004379a9
mov eax, dword [ebp + 8]
push 0x2c
mov dword [ebp - 0x18], eax
pop edi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
call fcn.00405093
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
pop ecx
mov word [ebp - 0x2c], ax
mov word [esi], bx
jmp 0x4503a9
push 7
push ebx
push str._center
call fcn.00438b38
add esp, 0xc
test al, al
je 0x45031d
mov dword [ebp - 0xc], 0x40000000
jmp 0x4503a0
push 6
push ebx
push str._right
call fcn.00438b38
add esp, 0xc
test al, al
je 0x45033a
mov dword [ebp - 0xc], 0x20000000
jmp 0x4503a0
push 8
push ebx
push str._vcenter
call fcn.00438b38
add esp, 0xc
test al, al
je 0x450354
or byte [ebp - 5], 2
jmp 0x4503a0
push 5
push ebx
push str._rich
call fcn.00438b38
add esp, 0xc
test al, al
je 0x45036e
or byte [ebp - 6], 0x80
jmp 0x4503a0
push 5
push ebx
push str._nroc
call fcn.00438b38
add esp, 0xc
test al, al
je 0x450388
or byte [ebp - 6], 0x40
jmp 0x4503a0
push 3
push ebx
push 0x4ac68c
call fcn.00438b38
add esp, 0xc
test al, al
je 0x4503a0
or byte [ebp - 6], 0x20
lea eax, [ebp + 8]
push eax
call fcn.0040507c
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
pop ecx
je 0x4502fd
mov ax, word [ebp - 0x2c]
mov word [esi], ax
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
call fcn.0043d47d
lea ecx, [ebp - 0x10]
call fcn.0043d47d
lea ecx, [ebp - 0x34]
call fcn.0043d47d
lea ecx, [ebp - 0x18]
call fcn.0043d47d
push 0x4a39d4
lea ecx, [ebp - 0x3c]
call fcn.004457e4
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 - 0xc], ebx
mov byte [ebp + 0x13], bl
jne 0x450437
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.004379a9
pop ecx
mov ecx, dword [ebp - 0x14]
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043317e
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x450459
xor esi, esi
inc esi
jmp 0x450602
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
inc ebx
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e524
push eax
call fcn.0044ff07
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x450544
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e524
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0043fee5
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x450544
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043ff19
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x450544
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e524
push dword [eax]
call fcn.00448923
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
jne 0x450544
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e524
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.0043ff54
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x450544
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e524
push eax
call fcn.0043fe29
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
je 0x450572
mov eax, dword [ebp - 0x3c]
and dword [ebp - 0x3c], 0
push ebx
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x30], eax
call fcn.0044c0fc
lea ecx, [ebp - 0x30]
call fcn.00437960
cmp byte [ebp - 2], 0
jne 0x45058a
test byte [ebp - 0xc], 4
je 0x45058a
push 0
push dword [ebp - 0x10]
call fcn.00412662
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x45059e
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
call fcn.004406ba
pop ecx
pop ecx
cmp word [ebp - 0xc], 2
jne 0x4505ae
mov dword [ebp - 0xc], 0x8000
jmp 0x4505bc
cmp word [ebp - 0xc], 3
jne 0x4505bc
mov dword [ebp - 0xc], 8
cmp byte [ebp + 0x13], 0
je 0x4505c7
mov eax, dword [ebp - 0x14]
jmp 0x4505d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push ecx
movzx ecx, word [ebp - 0xc]
or ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
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.0043d867
xor esi, esi
lea ecx, [ebp - 0x3c]
call fcn.00437960
lea ecx, [ebp - 0x18]
call fcn.00437960
lea ecx, [ebp - 0x34]
call fcn.00437960
lea ecx, [ebp - 0x10]
call fcn.00437960
lea ecx, [ebp - 0x1c]
call fcn.00437960
pop edi
lea ecx, [ebp - 0x48]
call fcn.00437960
mov eax, esi
pop esi
pop ebx
leave
ret 0xc