Function at 0x47d03b
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.00441f45
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x47d075
push ebx
push esi
call fcn.004117b3
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x47d075
mov esi, 0x80070057
jmp 0x47d449
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 0x47d0e1
mov eax, ecx
call fcn.0040ea2b
test al, al
jne 0x47d0e9
cmp cx, 0x2d
jne 0x47d0a2
or byte [ebp - 5], 8
jmp 0x47d0dc
cmp cx, 0x7c
jne 0x47d0ae
or byte [ebp - 5], 0x10
jmp 0x47d0dc
cmp cx, 0x2b
jne 0x47d0ba
or byte [ebp - 5], 4
jmp 0x47d0dc
cmp cx, 0x2e
jne 0x47d0c6
mov byte [ebp - 2], 1
jmp 0x47d0dc
cmp cx, 0x2a
jne 0x47d0d2
mov byte [ebp - 1], 1
jmp 0x47d0dc
cmp cx, 0x3d
jne 0x47d0dc
mov byte [ebp - 3], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, bx
jne 0x47d08b
lea eax, [ebp + 8]
push edi
push eax
call fcn.00439c95
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.0043f8e8
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
pop ecx
mov word [ebp - 0x2c], ax
mov word [esi], bx
jmp 0x47d1c7
push 7
push ebx
push str._center
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d13b
mov dword [ebp - 0xc], 0x40000000
jmp 0x47d1be
push 6
push ebx
push str._right
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d158
mov dword [ebp - 0xc], 0x20000000
jmp 0x47d1be
push 8
push ebx
push str._vcenter
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d172
or byte [ebp - 5], 2
jmp 0x47d1be
push 5
push ebx
push str._rich
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d18c
or byte [ebp - 6], 0x80
jmp 0x47d1be
push 5
push ebx
push str._nroc
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d1a6
or byte [ebp - 6], 0x40
jmp 0x47d1be
push 3
push ebx
push 0x4b9b28
call fcn.0043af01
add esp, 0xc
test al, al
je 0x47d1be
or byte [ebp - 6], 0x20
lea eax, [ebp + 8]
push eax
call fcn.00405444
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x2d
pop ecx
je 0x47d11b
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.0043fd9a
lea ecx, [ebp - 0x10]
call fcn.0043fd9a
lea ecx, [ebp - 0x34]
call fcn.0043fd9a
lea ecx, [ebp - 0x18]
call fcn.0043fd9a
push 0x4ae9fc
lea ecx, [ebp - 0x3c]
call fcn.00448399
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 0x47d255
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.00439c95
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.0043525c
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x47d277
xor esi, esi
inc esi
jmp 0x47d420
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.00451235
push eax
call fcn.0047cf8b
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x47d362
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00451235
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00442a94
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x47d362
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00442ac8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
jne 0x47d362
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00451235
push dword [eax]
call fcn.0044b4d4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
jne 0x47d362
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00451235
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00442b03
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x47d362
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.00451235
push eax
call fcn.004429d8
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
je 0x47d390
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.0044ed7d
lea ecx, [ebp - 0x30]
call fcn.00439cfd
cmp byte [ebp - 2], 0
jne 0x47d3a8
test byte [ebp - 0xc], 4
je 0x47d3a8
push 0
push dword [ebp - 0x10]
call fcn.00413612
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x47d3bc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
call fcn.0044328e
pop ecx
pop ecx
cmp word [ebp - 0xc], 2
jne 0x47d3cc
mov dword [ebp - 0xc], 0x8000
jmp 0x47d3da
cmp word [ebp - 0xc], 3
jne 0x47d3da
mov dword [ebp - 0xc], 8
cmp byte [ebp + 0x13], 0
je 0x47d3e5
mov eax, dword [ebp - 0x14]
jmp 0x47d3ee
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.004401a0
xor esi, esi
lea ecx, [ebp - 0x3c]
call fcn.00439cfd
lea ecx, [ebp - 0x18]
call fcn.00439cfd
lea ecx, [ebp - 0x34]
call fcn.00439cfd
lea ecx, [ebp - 0x10]
call fcn.00439cfd
lea ecx, [ebp - 0x1c]
call fcn.00439cfd
pop edi
lea ecx, [ebp - 0x48]
call fcn.00439cfd
mov eax, esi
pop esi
pop ebx
leave
ret 0xc