Function at 0x49c950
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4e6958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebp
call fcn.00445f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x49c98b
mov word [eax], bp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x44], ebp
call fcn.0043f2e0
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, ebp
jne 0x49c9f2
push esi
call fcn.0041fca8
mov esi, dword [esi + 0x2c]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x4c], esi
jne 0x49c9f2
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x49c9da
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov eax, 0x80070057
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
push edi
mov edi, dword [esp + 0x4c]
cmp edi, ebp
mov ecx, edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
je 0x49ca26
xor eax, eax
mov ax, word [edi]
cmp ax, bp
je 0x49ca26
nop
cmp ax, 0x2c
je 0x49ca22
mov ax, word [ecx + 2]
add ecx, 2
cmp ax, bp
jne 0x49ca10
mov dword [esp + 0x10], ecx
mov dx, word [ecx]
mov word [ecx], bp
mov si, word [edi]
cmp si, 0x2d
push ebx
mov word [esp + 0x24], dx
jne 0x49cb21
nop
mov eax, edi
mov ecx, str._center
mov edx, 6
lea esp, [esp]
movzx ebx, word [eax]
movsx ebp, byte [ecx]
or ebx, 0x20
or ebp, 0x20
add eax, 2
inc ecx
cmp ebp, ebx
jne 0x49ca8b
dec edx
jns 0x49ca50
mov ax, word [eax]
cmp ax, 9
jb 0x49ca76
cmp ax, 0xd
jbe 0x49ca81
cmp ax, 0x20
je 0x49ca81
test ax, ax
jne 0x49ca8b
mov dword [esp + 0x10], 0x40000000
jmp 0x49cac5
push 6
push edi
push str._right
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49caa9
mov dword [esp + 0x10], 0x20000000
jmp 0x49cac5
push 5
push edi
push str._left
call fcn.004403f0
add esp, 0xc
test al, al
je 0x49cac5
mov dword [esp + 0x10], SysReAllocStringLen
test si, si
je 0x49caf0
lea ebx, [ebx]
cmp si, 9
jb 0x49cadc
cmp si, 0xd
jbe 0x49caf0
cmp si, 0x20
je 0x49caf0
mov si, word [edi + 2]
add edi, 2
test si, si
jne 0x49cad0
mov edi, edi
mov ax, word [edi]
cmp ax, 9
jb 0x49caff
cmp ax, 0xd
jbe 0x49cb05
cmp ax, 0x20
jne 0x49cb0a
add edi, 2
jmp 0x49caf0
mov si, word [edi]
cmp si, 0x2d
je 0x49ca40
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], edi
xor ebp, ebp
mov ax, word [esp + 0x24]
mov esi, dword [esp + 0x10]
push 2
mov word [ecx], ax
call fcn.00445f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x49cb42
mov word [eax], bp
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x49cb57
mov word [eax], bp
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x49cb6c
mov word [eax], bp
mov ecx, dword [esp + 0x58]
push ecx
push 0x4ebd38
lea ecx, [esp + 0x34]
call fcn.0043afd0
xor bl, bl
cmp word [edi], 0x2a
mov byte [esp + 0x48], 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], ebp
jne 0x49cbb2
lea edx, [esp + 0x50]
add edi, 2
push edx
mov bl, 1
mov dword [esp + 0x54], edi
call fcn.0043f2e0
add esp, 4
push 0x2c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00449370
mov edi, dword [esp + 0x34]
add esp, 0xc
push 1
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.004152c8
mov eax, dword [esp + 0x50]
cmp word [eax], 0x2c
je 0x49cc73
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49cc02
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x49cc18
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49cc2d
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebp
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x49cc43
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x49cc59
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
mov edx, dword [esp + 0x50]
add edx, 2
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x58], edx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push 1
push 0x2c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x50]
call fcn.0045a420
push eax
call fcn.0045d3f0
mov edx, dword [esp + 0x64]
add esp, 0x14
cmp word [edx], 0x2c
jne 0x49cd3c
push 1
push 0x2c
lea eax, [esp + 0x58]
add edx, 2
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], edx
call fcn.0045a420
push ebp
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00449370
mov edx, dword [esp + 0x5c]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x49cd3c
mov eax, edx
add eax, 2
mov dword [esp + 0x50], eax
push 0x2c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00449550
mov edx, dword [esp + 0x5c]
add esp, 0xc
cmp word [edx], 0x2c
jne 0x49cd3c
mov ecx, edx
push 1
add ecx, 2
push 0x2c
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [esp + 0x40]
call fcn.0045a420
mov ecx, dword [eax]
push ecx
call fcn.00449d70
add esp, 4
or esi, eax
test bl, bl
je 0x49cd44
mov eax, edi
jmp 0x49cd4e
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x13c]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x74]
push eax
call fcn.00498510
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x49cd98
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x49cdad
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebp
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49cdc3
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x49cdd9
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x49cdee
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebp
push eax
call esi
mov ecx, dword [esp + 0x40]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc