Function at 0x1005dc55
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], edi
call fcn.10048516
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x1005dc90
push esi
push edi
call fcn.10012b49
mov edi, dword [edi + 0x28]
cmp edi, esi
pop ecx
pop ecx
mov dword [ebp + 0xc], edi
jne 0x1005dc90
mov ebx, 0x80070057
jmp 0x1005e0ac
mov edx, dword [ebp + 8]
xor edi, edi
mov byte [ebp - 1], 0
xor ecx, ecx
jmp 0x1005dce1
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x1005dce9
cmp cx, 0x2d
jne 0x1005dcb6
or edi, 0x8000000
jmp 0x1005dcdc
cmp cx, 0x7c
jne 0x1005dcc4
or edi, 0x10000000
jmp 0x1005dcdc
cmp cx, 0x2b
jne 0x1005dcd2
or edi, 0x4000000
jmp 0x1005dcdc
cmp cx, 0x2e
jne 0x1005dcdc
mov byte [ebp - 1], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, si
jne 0x1005dc9d
lea eax, [ebp + 8]
xor edi, 0x18000000
push eax
mov dword [ebp - 8], edi
call fcn.1003f9c4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.100a1095
mov edi, dword [ebp - 0x18]
mov bx, word [edi]
pop ecx
mov word [edi], si
mov dword [ebp - 0x14], esi
jmp 0x1005de45
push 7
push esi
push str._center
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005dd40
mov dword [ebp - 0x1c], 0x40000000
jmp 0x1005de3c
push 6
push esi
push 0x100d0164
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005dd60
mov dword [ebp - 0x1c], 0x20000000
jmp 0x1005de3c
push 8
push esi
push str._vcenter:
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005dd7d
or byte [ebp - 5], 2
jmp 0x1005de3c
push 9
push esi
push str._vcenter:
call fcn.10040df5
add esp, 0xc
test al, al
je 0x1005dddc
or byte [ebp - 5], 2
add esi, 0x12
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], esi
call fcn.10046123
mov ecx, dword [ebp - 0x10]
push 1
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.10058f7c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10049634
movsx eax, byte [ebp - 0x14]
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.1003f96c
jmp 0x1005de3c
push 5
push esi
push str._rich
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005ddf6
or byte [ebp - 6], 0x80
jmp 0x1005de3c
push 5
push esi
push str._rich
call fcn.10040d9e
add esp, 0xc
test al, al
jne 0x1005ddf0
push 3
push esi
push 0x100d0144
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005de24
or byte [ebp - 6], 0x20
jmp 0x1005de3c
push 4
push esi
push 0x100d013c
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1005de3c
or byte [ebp - 5], 1
lea eax, [ebp + 8]
push eax
call fcn.10008e60
mov esi, dword [ebp + 8]
cmp word [esi], 0x2d
pop ecx
je 0x1005dd20
mov eax, dword [ebp - 0x1c]
or dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
mov word [edi], bx
call fcn.10046123
lea ecx, [ebp - 0xc]
call fcn.10046123
lea ecx, [ebp - 0x34]
call fcn.10046123
lea ecx, [ebp - 0x18]
call fcn.10046123
push 0x100c6a64
lea ecx, [ebp - 0x3c]
call fcn.100501eb
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 - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x13], bl
jne 0x1005decf
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 0x13], 1
call fcn.1003f9c4
pop ecx
mov ecx, dword [ebp - 0x10]
push ebx
push 0x2c
pop edi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x1005def4
xor ebx, ebx
inc ebx
jmp 0x1005e084
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.1005b693
push eax
call fcn.1005376f
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], di
jne 0x1005df45
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.1005b693
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.10049136
add esp, 0xc
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x1005df85
mov ecx, dword [ebp - 0x10]
add dword [ebp + 8], 2
push ebx
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1003aaa0
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x1005df85
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.1005b693
push dword [eax]
call fcn.10053aef
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x1005dfd5
add dword [ebp + 8], 2
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.1005b693
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.100491a5
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
pop ecx
jne 0x1005dfd5
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.1005b693
push eax
call fcn.1004907a
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x1c]
jne 0x1005dff3
push ebx
push dword [ebp - 0xc]
call fcn.10014914
or byte [ebp - 5], 1
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
jne 0x1005e00f
mov eax, dword [ebp - 0x3c]
cmp word [eax], bx
je 0x1005e00f
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.10049b00
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
mov word [eax], bx
mov eax, dword [ebp - 0x1c]
cmp ax, bx
jle 0x1005e026
test al, 7
je 0x1005e026
or eax, 8
mov esi, eax
and esi, 0xfffffffe
or esi, 4
cmp dword [ebp - 0x58], ebx
jl 0x1005e03e
cmp dword [ebp - 0x54], ebx
jge 0x1005e03e
mov eax, dword [0x100e1358]
mov dword [ebp - 0x54], eax
cmp byte [ebp + 0x13], 0
je 0x1005e049
mov eax, dword [ebp - 0x10]
jmp 0x1005e052
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a4]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x18]
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 - 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
lea ecx, [ebp - 0x3c]
call fcn.1003f96c
lea ecx, [ebp - 0x18]
call fcn.1003f96c
lea ecx, [ebp - 0x34]
call fcn.1003f96c
lea ecx, [ebp - 0xc]
call fcn.1003f96c
lea ecx, [ebp - 0x20]
call fcn.1003f96c
lea ecx, [ebp - 0x48]
call fcn.1003f96c
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc