Function at 0x1005d7bb
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
mov esi, ecx
push edi
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], esi
call fcn.10048516
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x1005d7f5
push edi
push esi
call fcn.10012b49
mov esi, dword [esi + 0x28]
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], esi
jne 0x1005d7f5
mov esi, 0x80070057
jmp 0x1005dc45
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0
xor ecx, ecx
jmp 0x1005d861
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x1005d869
cmp cx, 0x2d
jne 0x1005d822
or byte [ebp - 5], 8
jmp 0x1005d85c
cmp cx, 0x7c
jne 0x1005d82e
or byte [ebp - 5], 0x10
jmp 0x1005d85c
cmp cx, 0x2b
jne 0x1005d83a
or byte [ebp - 5], 4
jmp 0x1005d85c
cmp cx, 0x2e
jne 0x1005d846
mov byte [ebp - 2], 1
jmp 0x1005d85c
cmp cx, 0x2a
jne 0x1005d852
mov byte [ebp - 1], 1
jmp 0x1005d85c
cmp cx, 0x3d
jne 0x1005d85c
mov byte [ebp - 3], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, di
jne 0x1005d80b
lea eax, [ebp + 8]
push ebx
push eax
call fcn.1003f9c4
mov eax, dword [ebp + 8]
push 0x2c
mov dword [ebp - 0x18], eax
pop ebx
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call fcn.100a1095
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
pop ecx
mov word [ebp - 0x2c], ax
mov word [esi], di
mov dword [ebp - 0x18], edi
jmp 0x1005d9c9
push 7
push edi
push str._center
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d8be
mov dword [ebp - 0x1c], 0x40000000
jmp 0x1005d9c0
push 6
push edi
push 0x100d0164
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d8de
mov dword [ebp - 0x1c], 0x20000000
jmp 0x1005d9c0
push 8
push edi
push str._vcenter:
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d8fb
or byte [ebp - 5], 2
jmp 0x1005d9c0
push 9
push edi
push str._vcenter:
call fcn.10040df5
add esp, 0xc
test al, al
je 0x1005d95a
or byte [ebp - 5], 2
add edi, 0x12
lea ecx, [ebp - 0xc]
mov dword [ebp + 8], edi
call fcn.10046123
mov ecx, dword [ebp - 0x14]
push 1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.10058f7c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10049634
movsx eax, byte [ebp - 0x18]
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x18], eax
call fcn.1003f96c
jmp 0x1005d9c0
push 5
push edi
push str._rich
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d974
or byte [ebp - 6], 0x80
jmp 0x1005d9c0
push 5
push edi
push str._nroc
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d98e
or byte [ebp - 6], 0x40
jmp 0x1005d9c0
push 3
push edi
push 0x100d0144
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d9a8
or byte [ebp - 6], 0x20
jmp 0x1005d9c0
push 4
push edi
push 0x100d013c
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005d9c0
or byte [ebp - 5], 1
lea eax, [ebp + 8]
push eax
call fcn.10008e60
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
pop ecx
je 0x1005d89e
mov ax, word [ebp - 0x2c]
mov word [esi], ax
mov eax, dword [ebp - 0x1c]
or dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
call fcn.10046123
lea ecx, [ebp - 0x10]
call fcn.10046123
lea ecx, [ebp - 0x38]
call fcn.10046123
lea ecx, [ebp - 0x1c]
call fcn.10046123
push 0x100c6a64
lea ecx, [ebp - 0x40]
call fcn.100501eb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, 0x80000000
xor esi, esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
push 2
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], esi
mov byte [ebp + 0x13], 0
pop edi
jne 0x1005da5a
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.1003f9c4
pop ecx
mov ecx, dword [ebp - 0x14]
push esi
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x1005da7c
xor esi, esi
inc esi
jmp 0x1005dc1c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
xor esi, esi
inc esi
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b693
push eax
call fcn.1005376f
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], bx
jne 0x1005db62
add dword [ebp + 8], edi
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b693
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.10049136
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
jne 0x1005db62
add dword [ebp + 8], edi
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1004916a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
jne 0x1005db62
add dword [ebp + 8], edi
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b693
push dword [eax]
call fcn.10053aef
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
jne 0x1005db62
add dword [ebp + 8], edi
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b693
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.100491a5
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x1005db62
add dword [ebp + 8], edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005b693
push eax
call fcn.1004907a
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x1005db8a
mov eax, dword [ebp - 0x40]
and dword [ebp - 0x40], 0
push esi
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x34], eax
call fcn.10058f7c
lea ecx, [ebp - 0x34]
call fcn.1003f96c
cmp byte [ebp - 2], 0
jne 0x1005dba2
test byte [ebp - 0xc], 4
je 0x1005dba2
push 0
push dword [ebp - 0x10]
call fcn.10014914
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x1005dbb6
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
call fcn.10049b00
pop ecx
pop ecx
cmp word [ebp - 0xc], di
jne 0x1005dbc5
mov dword [ebp - 0xc], 0x8000
jmp 0x1005dbd3
cmp word [ebp - 0xc], 3
jne 0x1005dbd3
mov dword [ebp - 0xc], 8
cmp byte [ebp + 0x13], 0
je 0x1005dbde
mov eax, dword [ebp - 0x14]
jmp 0x1005dbe7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a4]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x1c]
push ecx
movzx ecx, word [ebp - 0xc]
or ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.10046574
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.1003f96c
lea ecx, [ebp - 0x1c]
call fcn.1003f96c
lea ecx, [ebp - 0x38]
call fcn.1003f96c
lea ecx, [ebp - 0x10]
call fcn.1003f96c
lea ecx, [ebp - 0x20]
call fcn.1003f96c
pop ebx
lea ecx, [ebp - 0x4c]
call fcn.1003f96c
pop edi
mov eax, esi
pop esi
leave
ret 0xc