Function at 0x4595af
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xor edx, edx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x10], ecx
jne 0x4595c7
xor eax, eax
inc eax
jmp 0x459908
push ebx
push esi
push edi
lea ecx, [ebp + 8]
call fcn.00429ef2
mov edi, dword [ebp + 8]
push 0x2c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
call fcn.00429fa7
mov esi, dword [ebp - 0x1c]
mov bx, word [esi]
and word [esi], 0
pop ecx
jmp 0x45972d
push 7
push edi
push str._center
call fcn.00425759
add esp, 0xc
test al, al
je 0x45961b
mov dword [ebp - 8], 0x40000000
jmp 0x459706
push 6
push edi
push str._right
call fcn.00425759
add esp, 0xc
test al, al
je 0x45963b
mov dword [ebp - 8], 0x20000000
jmp 0x459706
push 5
push edi
push str._left
call fcn.00425759
add esp, 0xc
test al, al
je 0x45965b
mov dword [ebp - 8], 0x80000000
jmp 0x459706
push 8
push edi
push str._pcenter
call fcn.00425759
add esp, 0xc
test al, al
je 0x459678
or byte [ebp - 2], 0x80
jmp 0x459706
push 6
push edi
push str._round
call fcn.00425759
add esp, 0xc
test al, al
je 0x459692
or byte [ebp - 2], 0x20
jmp 0x459706
push 7
push edi
push str._nscope
call fcn.00425759
add esp, 0xc
test al, al
je 0x4596ac
or byte [ebp - 2], 0x40
jmp 0x459706
push 7
lea eax, [ebp + 8]
push eax
push str._nfocus
call fcn.0042c9b5
add esp, 0xc
test al, al
je 0x4596c9
or byte [ebp - 2], 0x10
jmp 0x459706
push 4
lea eax, [ebp + 8]
push eax
push str._def
call fcn.0042c9b5
add esp, 0xc
test al, al
je 0x4596e6
or byte [ebp - 2], 8
jmp 0x459706
push 6
push dword [ebp + 8]
push str._font:
call fcn.004257a3
add esp, 0xc
test al, al
je 0x459706
add dword [ebp + 8], 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
push eax
call fcn.00403953
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
je 0x459722
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
call fcn.00429ef2
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
je 0x4595fb
push dword [ebp - 0x10]
mov word [esi], bx
mov ebx, dword [ebp - 4]
or ebx, dword [ebp - 8]
lea ecx, [ebp - 0x3c]
call fcn.00425dc3
mov esi, 0x4758e0
push esi
lea ecx, [ebp - 0xc]
call fcn.0042a183
push esi
lea ecx, [ebp - 0x18]
call fcn.0042a183
push esi
lea ecx, [ebp - 0x14]
call fcn.0042a183
push esi
lea ecx, [ebp - 0x30]
call fcn.0042a183
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp word [edi], 0x2a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp + 0x13], al
jne 0x4597a5
inc edi
inc edi
lea ecx, [ebp + 8]
mov byte [ebp + 0x13], 1
mov dword [ebp + 8], edi
call fcn.00429ef2
push 0x2c
pop esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042df66
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.00402996
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x459898
push 2
pop edi
add dword [ebp + 8], edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00443613
push eax
call fcn.00436540
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], si
jne 0x459898
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00443613
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0042e020
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x459898
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042e054
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x459898
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00443613
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0042df66
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], si
jne 0x459898
add dword [ebp + 8], edi
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00443613
push dword [eax]
call fcn.0042e606
pop ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x13], 0
je 0x4598a3
mov eax, dword [ebp - 0x10]
jmp 0x4598ac
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xe8]
push dword [ebp - 0x20]
movzx ecx, word [ebp - 0x1c]
or ecx, ebx
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004587cf
lea ecx, [ebp - 0x30]
call fcn.00424686
lea ecx, [ebp - 0x14]
call fcn.00424686
lea ecx, [ebp - 0x18]
call fcn.00424686
lea ecx, [ebp - 0xc]
call fcn.00424686
lea ecx, [ebp - 0x3c]
call fcn.00424686
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc