Function at 0x4501aa
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.0043f42c
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x4501e4
push ebx
push esi
call fcn.004109b8
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x4501e4
mov esi, 0x80070057
jmp 0x4505b8
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 0x450250
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x450258
cmp cx, 0x2d
jne 0x450211
or byte [ebp - 5], 8
jmp 0x45024b
cmp cx, 0x7c
jne 0x45021d
or byte [ebp - 5], 0x10
jmp 0x45024b
cmp cx, 0x2b
jne 0x450229
or byte [ebp - 5], 4
jmp 0x45024b
cmp cx, 0x2e
jne 0x450235
mov byte [ebp - 2], 1
jmp 0x45024b
cmp cx, 0x2a
jne 0x450241
mov byte [ebp - 1], 1
jmp 0x45024b
cmp cx, 0x3d
jne 0x45024b
mov byte [ebp - 3], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, bx
jne 0x4501fa
lea eax, [ebp + 8]
push edi
push eax
call fcn.004378b6
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.0043cf2c
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
pop ecx
mov word [ebp - 0x2c], ax
mov word [esi], bx
jmp 0x450336
push 7
push ebx
push str._center
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4502aa
mov dword [ebp - 0xc], 0x40000000
jmp 0x45032d
push 6
push ebx
push str._right
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4502c7
mov dword [ebp - 0xc], 0x20000000
jmp 0x45032d
push 8
push ebx
push str._vcenter
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4502e1
or byte [ebp - 5], 2
jmp 0x45032d
push 5
push ebx
push str._rich
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x4502fb
or byte [ebp - 6], 0x80
jmp 0x45032d
push 5
push ebx
push str._nroc
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x450315
or byte [ebp - 6], 0x40
jmp 0x45032d
push 3
push ebx
push 0x4ac63c
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x45032d
or byte [ebp - 6], 0x20
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
pop ecx
je 0x45028a
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.0043d3a5
lea ecx, [ebp - 0x10]
call fcn.0043d3a5
lea ecx, [ebp - 0x34]
call fcn.0043d3a5
lea ecx, [ebp - 0x18]
call fcn.0043d3a5
push 0x4a39d4
lea ecx, [ebp - 0x3c]
call fcn.00445746
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 0x4503c4
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 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 0x4503e6
xor esi, esi
inc esi
jmp 0x45058f
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.0044e4ae
push eax
call fcn.0044fe94
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x4504d1
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e4ae
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0043fe0d
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x4504d1
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe41
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x4504d1
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e4ae
push dword [eax]
call fcn.00448873
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
jne 0x4504d1
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e4ae
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.0043fe7c
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x4504d1
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.0044e4ae
push eax
call fcn.0043fd51
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
je 0x4504ff
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.0044c04c
lea ecx, [ebp - 0x30]
call fcn.00437884
cmp byte [ebp - 2], 0
jne 0x450517
test byte [ebp - 0xc], 4
je 0x450517
push 0
push dword [ebp - 0x10]
call fcn.004125c8
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x45052b
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
call fcn.004405e2
pop ecx
pop ecx
cmp word [ebp - 0xc], 2
jne 0x45053b
mov dword [ebp - 0xc], 0x8000
jmp 0x450549
cmp word [ebp - 0xc], 3
jne 0x450549
mov dword [ebp - 0xc], 8
cmp byte [ebp + 0x13], 0
je 0x450554
mov eax, dword [ebp - 0x14]
jmp 0x45055d
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.0043d78f
xor esi, esi
lea ecx, [ebp - 0x3c]
call fcn.00437884
lea ecx, [ebp - 0x18]
call fcn.00437884
lea ecx, [ebp - 0x34]
call fcn.00437884
lea ecx, [ebp - 0x10]
call fcn.00437884
lea ecx, [ebp - 0x1c]
call fcn.00437884
pop edi
lea ecx, [ebp - 0x48]
call fcn.00437884
mov eax, esi
pop esi
pop ebx
leave
ret 0xc