Function at 0x4a1170
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4ec8e8
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 0x4a11c6
push edi
call fcn.004216e2
mov eax, dword [edi + 0x2c]
add esp, 4
cmp eax, esi
mov dword [esp + 0x54], eax
jne 0x4a11c6
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.00443850
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 0x4a1216
xor eax, eax
mov ax, word [ebp]
cmp ax, si
je 0x4a1216
lea ebx, [ebx]
cmp ax, 0x2c
je 0x4a1212
mov ax, word [ecx + 2]
add ecx, 2
cmp ax, si
jne 0x4a1200
mov dword [esp + 0x18], ecx
mov dx, word [ecx]
mov word [ecx], si
cmp word [ebp], 0x2d
mov word [esp + 0x30], dx
jne 0x4a13e3
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 0x4a127e
dec edx
jns 0x4a1240
mov ax, word [eax]
cmp ax, 9
jb 0x4a1266
cmp ax, 0xd
jbe 0x4a1271
cmp ax, 0x20
je 0x4a1271
cmp ax, si
jne 0x4a127e
mov dword [esp + 0x14], 0x40000000
jmp 0x4a1374
push 6
push ebp
push str._right
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a129f
mov dword [esp + 0x14], 0x20000000
jmp 0x4a1374
push 5
push ebp
push str._left
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a12c0
mov dword [esp + 0x14], SysReAllocStringLen
jmp 0x4a1374
push 8
push ebp
push str._pcenter
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a12e1
or dword [esp + 0x10], 0x800000
jmp 0x4a1374
push 6
push ebp
push str._round
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a12ff
or dword [esp + 0x10], 0x200000
jmp 0x4a1374
push 7
push ebp
push str._nscope
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a131d
or dword [esp + 0x10], 0x400000
jmp 0x4a1374
push 7
push ebp
push str._nfocus
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a133b
or dword [esp + 0x10], 0x100000
jmp 0x4a1374
push 4
push ebp
push str._def
call fcn.00444970
add esp, 0xc
test al, al
je 0x4a1359
or dword [esp + 0x10], 0x80000
jmp 0x4a1374
push 6
push ebp
push str._font:
call fcn.004449d0
add esp, 0xc
test al, al
je 0x4a1374
add ebp, 0xc
mov dword [esp + 0x24], ebp
mov ax, word [ebp]
cmp ax, si
je 0x4a13ad
lea ecx, [ecx]
cmp ax, 9
jb 0x4a138c
cmp ax, 0xd
jbe 0x4a13a0
cmp ax, 0x20
je 0x4a13a0
mov ax, word [ebp + 2]
add ebp, 2
cmp ax, si
jne 0x4a1380
jmp 0x4a13ad
cmp word [ebp], si
je 0x4a13ad
mov word [ebp], si
add ebp, 2
cmp ebp, esi
je 0x4a13cc
mov ax, word [ebp]
cmp ax, 9
jb 0x4a13c1
cmp ax, 0xd
jbe 0x4a13c7
cmp ax, 0x20
jne 0x4a13cc
add ebp, 2
jmp 0x4a13b1
cmp word [ebp], 0x2d
je 0x4a1230
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.00449130
add esp, 4
cmp eax, esi
mov dword [esp + 0x3c], eax
je 0x4a1412
mov word [eax], si
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4efd50
mov dword [esp + 0x54], esi
call ebx
lea esi, [eax + eax + 2]
lea edx, [esi + 2]
push edx
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
call ebx
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00449130
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, 0x4efd50
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 0x4efd50
lea ecx, [esp + 0x3c]
call fcn.0043d720
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 0x4a1503
lea ecx, [esp + 0x58]
add ebp, 2
push ecx
mov bl, 1
mov dword [esp + 0x5c], ebp
call fcn.00443850
add esp, 4
push 0x2c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.0044c770
mov edi, dword [esp + 0x2c]
add esp, 0xc
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004166b6
mov edx, dword [esp + 0x58]
cmp word [edx], 0x2c
jne 0x4a1634
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.00459430
push eax
call fcn.0045c3e0
mov edx, dword [esp + 0x6c]
add esp, 0x14
cmp word [edx], 0x2c
jne 0x4a1634
push 1
push 0x2c
lea eax, [esp + 0x60]
add edx, ebp
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], edx
call fcn.00459430
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.0044c900
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1634
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.0044c950
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1634
push 1
push 0x2c
lea eax, [esp + 0x60]
add edx, ebp
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], edx
call fcn.00459430
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0044c770
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x4a1634
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.00459430
mov eax, dword [eax]
push eax
call fcn.0044d170
add esp, 4
mov esi, eax
pop ebp
test bl, bl
pop ebx
je 0x4a163e
mov eax, edi
jmp 0x4a1648
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.004a0c70
mov eax, dword [esp + 0x2c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4a16a6
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a16bc
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a16d3
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a16ea
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a1700
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
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