Function at 0x4a0fa0
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4e85b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x4c]
push esi
push edi
xor esi, esi
cmp eax, esi
mov edi, ecx
mov dword [esp + 0x18], edi
jne 0x4a0ff6
push edi
call fcn.0041fca8
mov eax, dword [edi + 0x2c]
add esp, 4
cmp eax, esi
mov dword [esp + 0x54], eax
jne 0x4a0ff6
pop edi
mov eax, 0x80070057
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc
push ebx
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.0043f2e0
mov ebp, dword [esp + 0x5c]
add esp, 4
cmp ebp, esi
mov ecx, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], esi
je 0x4a1046
xor eax, eax
mov ax, word [ebp]
cmp ax, si
je 0x4a1046
lea ebx, [ebx]
cmp ax, 0x2c
je 0x4a1042
mov ax, word [ecx + 2]
add ecx, 2
cmp ax, si
jne 0x4a1030
mov dword [esp + 0x18], ecx
mov dx, word [ecx]
mov word [ecx], si
cmp word [ebp], 0x2d
mov word [esp + 0x30], dx
jne 0x4a1213
lea esp, [esp]
mov eax, ebp
mov ecx, str._center
mov edx, 6
lea esp, [esp]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x4a10ae
dec edx
jns 0x4a1070
mov ax, word [eax]
cmp ax, 9
jb 0x4a1096
cmp ax, 0xd
jbe 0x4a10a1
cmp ax, 0x20
je 0x4a10a1
cmp ax, si
jne 0x4a10ae
mov dword [esp + 0x14], 0x40000000
jmp 0x4a11a4
push 6
push ebp
push str._right
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a10cf
mov dword [esp + 0x14], 0x20000000
jmp 0x4a11a4
push 5
push ebp
push str._left
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a10f0
mov dword [esp + 0x14], SysReAllocStringLen
jmp 0x4a11a4
push 8
push ebp
push str._pcenter
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a1111
or dword [esp + 0x10], 0x800000
jmp 0x4a11a4
push 6
push ebp
push str._round
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a112f
or dword [esp + 0x10], 0x200000
jmp 0x4a11a4
push 7
push ebp
push str._nscope
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a114d
or dword [esp + 0x10], 0x400000
jmp 0x4a11a4
push 7
push ebp
push str._nfocus
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a116b
or dword [esp + 0x10], 0x100000
jmp 0x4a11a4
push 4
push ebp
push str._def
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4a1189
or dword [esp + 0x10], 0x80000
jmp 0x4a11a4
push 6
push ebp
push str._font:
call fcn.00440450
add esp, 0xc
test al, al
je 0x4a11a4
add ebp, 0xc
mov dword [esp + 0x24], ebp
mov ax, word [ebp]
cmp ax, si
je 0x4a11dd
lea ecx, [ecx]
cmp ax, 9
jb 0x4a11bc
cmp ax, 0xd
jbe 0x4a11d0
cmp ax, 0x20
je 0x4a11d0
mov ax, word [ebp + 2]
add ebp, 2
cmp ax, si
jne 0x4a11b0
jmp 0x4a11dd
cmp word [ebp], si
je 0x4a11dd
mov word [ebp], si
add ebp, 2
cmp ebp, esi
je 0x4a11fc
mov ax, word [ebp]
cmp ax, 9
jb 0x4a11f1
cmp ax, 0xd
jbe 0x4a11f7
cmp ax, 0x20
jne 0x4a11fc
add ebp, 2
jmp 0x4a11e1
cmp word [ebp], 0x2d
je 0x4a1060
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x58], ebp
mov ax, word [esp + 0x30]
mov word [ecx], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
or eax, ecx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], esi
call fcn.00445f00
add esp, 4
cmp eax, esi
mov dword [esp + 0x3c], eax
je 0x4a1242
mov word [eax], si
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4ebd38
mov dword [esp + 0x54], esi
call ebx
lea esi, [eax + eax + 2]
lea edx, [esi + 2]
push edx
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
push 0x4ebd38
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], eax
push 0x4ebd38
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4ebd38
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
push eax
push 0x4ebd38
lea ecx, [esp + 0x3c]
call fcn.0043afd0
xor esi, esi
xor bl, bl
cmp word [ebp], 0x2a
mov byte [esp + 0x50], 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x60], esi
jne 0x4a1333
lea ecx, [esp + 0x58]
add ebp, 2
push ecx
mov bl, 1
mov dword [esp + 0x5c], ebp
call fcn.0043f2e0
add esp, 4
push 0x2c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00449370
mov edi, dword [esp + 0x2c]
add esp, 0xc
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004152c8
mov edx, dword [esp + 0x58]
cmp word [edx], 0x2c
jne 0x4a1464
mov ebp, 2
add edx, ebp
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x60], edx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
push 1
push 0x2c
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.0045a420
push eax
call fcn.0045d3f0
mov edx, dword [esp + 0x6c]
add esp, 0x14
cmp word [edx], 0x2c
jne 0x4a1464
push 1
push 0x2c
lea eax, [esp + 0x60]
add edx, ebp
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], edx
call fcn.0045a420
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00449500
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1464
mov eax, edx
add eax, ebp
mov dword [esp + 0x58], eax
push 0x2c
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00449550
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1464
push 1
push 0x2c
lea eax, [esp + 0x60]
add edx, ebp
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], edx
call fcn.0045a420
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00449370
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1464
mov ecx, edx
push 1
add ecx, ebp
push 0x2c
lea eax, [esp + 0x60]
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0045a420
mov eax, dword [eax]
push eax
call fcn.00449d70
add esp, 4
mov esi, eax
pop ebp
test bl, bl
pop ebx
je 0x4a146e
mov eax, edi
jmp 0x4a1478
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x13c]
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0xc]
movzx ecx, si
or ecx, edx
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x7c]
push eax
call fcn.004a0840
mov eax, dword [esp + 0x2c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4a14d6
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a14ec
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a1503
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a151a
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a1530
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov ecx, dword [esp + 0x40]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc