Function at 0x447fca
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x58]
mov eax, 0x204c
call fcn.0044b8a0
mov eax, dword [ebp + 0x70]
or dword [ebp + 0x50], 0xffffffff
or dword [ebp + 0x4c], 0xffffffff
or dword [ebp + 0x40], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x68]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x60]
add eax, ebx
push edi
mov edi, dword [ebp + 0x74]
mov dword [ebp - 0x60], eax
dec eax
test edi, 0xff8f5a6f
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x34], eax
je 0x44801a
push 0xfffffffffffffffd
jmp 0x448662
cmp esi, ecx
je 0x448660
cmp ebx, ecx
je 0x448660
cmp dword [ebp + 0x78], ecx
jne 0x448038
cmp dword [ebp + 0x7c], ecx
jg 0x448660
cmp dword [ebp + 0x7c], ecx
jge 0x448044
push 0xfffffffffffffff1
jmp 0x448662
mov eax, 0x989680
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x20]
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x64]
cmp eax, ecx
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x1c], ecx
je 0x4480a2
mov edx, dword [eax]
test dl, 1
mov dword [ebp + 0x54], edx
je 0x448072
mov edx, dword [eax + 4]
mov dword [ebp + 0x68], edx
test byte [ebp + 0x54], 2
je 0x44807e
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
test byte [ebp + 0x54], 0x10
je 0x44808a
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
test byte [ebp + 0x54], 4
je 0x448096
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x1c], edx
test byte [ebp + 0x54], 8
je 0x4480a2
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x74], eax
cmp dword [ebp + 0x74], ecx
jne 0x4480ae
mov dword [ebp + 0x74], 0x459a38
mov eax, esi
cmp dword [eax], 0x50435245
je 0x4480ee
lea eax, [ebp - 0x8c]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.004487dd
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4480df
push 0xfffffffffffffffc
jmp 0x448662
cmp dword [ebp + 0x68], 0
je 0x4480ee
lea eax, [ebp - 0x8c]
mov dword [ebp + 0x68], eax
mov eax, dword [esi + 8]
mov ecx, eax
or ecx, edi
shr ecx, 4
xor edx, edx
inc edx
and ecx, edx
mov dword [ebp + 0x3c], ecx
mov ecx, eax
shr eax, 0x12
and eax, edx
mov dword [ebp + 0x30], eax
movzx eax, word [esi + 0x1a]
shr ecx, 0x1c
and ecx, edx
mov dword [ebp + 0x28], ecx
movzx ecx, word [esi + 0x1c]
imul ecx, eax
movzx eax, word [esi + 0x18]
add ecx, dword [ebp + 0x60]
mov dword [ebp - 0xc], ebx
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x6c]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [esi + 8]
shr eax, 5
and eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 8]
shr eax, 0xb
and eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x54], eax
mov eax, edi
shr eax, 7
and eax, edx
mov dword [ebp - 0x2c], eax
mov eax, edi
shr eax, 8
and eax, edx
mov dword [ebp - 0x28], eax
mov eax, edi
shr eax, 0xa
and eax, edx
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 0xf
and eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1ff4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x38], eax
add eax, 0x340
mov dword [ebp - 0x34], eax
mov dword [ebp + 0x60], ebx
xor ebx, ebx
mov eax, 0x700000
test eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x18], ebx
jne 0x4481a9
mov edi, dword [esi + 8]
push 0xa
and edi, eax
pop eax
je 0x4481dc
cmp edi, 0x100000
je 0x4481fa
cmp edi, 0x200000
je 0x4481dc
cmp edi, 0x300000
je 0x4481d7
cmp edi, 0x400000
je 0x4481ff
push 0xffffffffffffffe9
jmp 0x448662
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x44], ebx
jle 0x448204
mov ecx, eax
sar ecx, 8
mov dword [ebp - 0x40], 2
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3b], al
jmp 0x44820a
push 0xd
pop eax
jmp 0x4481dc
mov dword [ebp - 0x44], edx
jmp 0x44820a
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], al
cmp dword [ebp - 0x18], ebx
je 0x44821f
test dword [esi + 8], 0x80000000
je 0x44821f
push 0xfffffffffffffff3
jmp 0x448662
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0x7c]
and eax, 7
mov dword [ebp - 0x64], eax
mov eax, edi
cdq
push 3
pop ecx
idiv ecx
movzx eax, word [esi + 0x12]
sub edi, edx
test ax, ax
jbe 0x448277
movzx ecx, ax
mov eax, edi
push 3
cdq
pop ebx
idiv ebx
cmp ecx, eax
jl 0x448277
lea edi, [ecx + 1]
imul edi, edi, 3
mov eax, edi
shl eax, 2
push eax
call dword [0x464148]
test eax, eax
pop ecx
mov dword [ebp - 0x50], eax
jne 0x44826e
push 0xfffffffffffffffa
jmp 0x448662
mov dword [ebp + 0x44], 1
jmp 0x44827d
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x50], eax
lea eax, [edi + edi]
cdq
push 3
pop ecx
idiv ecx
or dword [ebp + 8], 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x48], eax
movzx eax, word [esi + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [ebp + 0x7c]
mov dword [ebp + 0x2c], eax
jle 0x4482aa
mov eax, edi
mov dword [ebp + 0x2c], edi
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x4482cd
cdq
lea edi, [ecx + edi*4]
sub eax, edx
xor ecx, ecx
sar eax, 1
inc ecx
sub ecx, eax
lea eax, [edi + ecx*4]
jmp 0x4482c6
or dword [edi], 0xffffffff
sub edi, 4
cmp edi, eax
jae 0x4482c3
cmp dword [ebp + 0x3c], ebx
jne 0x448319
test dword [esi + 8], 0x40000000
je 0x448301
movzx eax, word [esi + 0x14]
mov ecx, eax
and ecx, 0xff
shr eax, 8
and eax, 1
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x38], eax
je 0x448319
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x50], eax
jmp 0x448319
cmp dword [ebp + 0x28], ebx
jne 0x448319
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x448319
test byte [eax + 4], 1
je 0x448319
add eax, 8
mov dword [ebp + 0x48], eax
test dword [esi + 8], 0x20000000
je 0x448348
movzx eax, word [esi + 0x16]
mov ecx, eax
shr eax, 8
and ecx, 0xff
and eax, 1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x74]
movzx eax, byte [eax + ecx + 0x100]
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x40], eax
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp - 0x50]
test edi, edi
mov dword [ebp + 0x68], esi
je 0x44836e
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x44836e
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x30], 0
je 0x4483c4
cmp ebx, dword [ebp - 8]
mov edi, ebx
jae 0x4483bf
cmp dword [ebp - 0x44], 0
je 0x44839a
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push edi
call fcn.004486ca
add esp, 0x10
test eax, eax
jne 0x4483bf
jmp 0x4483b9
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp edi, eax
ja 0x4483b9
mov al, byte [edi]
cmp al, byte [ebp - 0x3c]
jne 0x4483b9
cmp dword [ebp - 0x40], 1
je 0x4483bf
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x3b]
je 0x4483bf
inc edi
cmp edi, dword [ebp - 8]
jb 0x44837b
mov esi, edi
mov dword [ebp + 0x60], esi
xor eax, eax
cmp dword [ebp + 0x50], eax
jl 0x448405
cmp dword [ebp + 0x38], eax
je 0x4483fc
jmp 0x4483e6
movzx eax, byte [ebx]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x50]
je 0x448491
inc ebx
cmp ebx, esi
jb 0x4483d2
jmp 0x448491
movzx eax, byte [ebx]
cmp eax, dword [ebp + 0x50]
je 0x448491
inc ebx
cmp ebx, esi
jb 0x4483ef
jmp 0x448491
cmp dword [ebp + 0x28], eax
je 0x448468
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0xc]
add ecx, eax
cmp ebx, ecx
jbe 0x448491
cmp ebx, esi
ja 0x448491
jmp 0x44841f
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x44], 0
je 0x448440
cmp ebx, eax
jbe 0x448461
push dword [ebp + 0x54]
lea ecx, [ebp - 0x40]
push ecx
push eax
push ebx
call fcn.0044873c
add esp, 0x10
test eax, eax
jne 0x448491
jmp 0x448461
mov edi, dword [ebp - 0x40]
add eax, edi
cmp ebx, eax
jb 0x448461
mov cl, byte [ebp - 0x3c]
mov eax, ebx
sub eax, edi
cmp byte [eax], cl
jne 0x448461
cmp edi, 1
je 0x448491
mov cl, byte [ebp - 0x3b]
cmp byte [eax + 1], cl
je 0x448491
inc ebx
cmp ebx, esi
jbe 0x44841c
jmp 0x448491
cmp dword [ebp + 0x48], eax
je 0x448491
cmp ebx, esi
jae 0x448491
movzx eax, byte [ebx]
mov ecx, eax
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0x48]
shr eax, 3
mov al, byte [eax + ecx]
test al, dl
jne 0x448491
inc ebx
cmp ebx, dword [ebp + 0x60]
jb 0x448471
mov esi, dword [ebp + 0x68]
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
mov dword [ebp + 0x60], esi
jl 0x448501
mov eax, esi
sub eax, ebx
cmp eax, 0x3e8
jge 0x448501
cmp dword [ebp - 0x18], ecx
jne 0x448501
xor eax, eax
cmp dword [ebp + 0x50], ecx
setge al
add eax, ebx
cmp eax, dword [ebp + 0x34]
jbe 0x448501
cmp dword [ebp + 0x24], ecx
je 0x4484de
cmp eax, esi
jae 0x4485d0
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x4484f5
cmp ecx, dword [ebp + 0x40]
je 0x4484f5
cmp eax, esi
jb 0x4484ca
jmp 0x4484f6
cmp eax, esi
jae 0x4485d0
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x4484f5
cmp eax, esi
jb 0x4484e6
jmp 0x4484f6
dec eax
cmp eax, esi
jae 0x4485d0
mov dword [ebp + 0x34], eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push ebx
call fcn.004462fe
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4485d2
cmp dword [ebp + 0x30], eax
je 0x448592
cmp dword [ebp - 0x44], eax
je 0x448573
cmp ebx, dword [ebp - 8]
jae 0x448592
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push ebx
call fcn.004486ca
add esp, 0x10
test eax, eax
je 0x448592
cmp dword [ebp + 0x44], 0
je 0x448564
push dword [ebp - 0x50]
call dword [0x46414c]
pop ecx
test edi, edi
je 0x44864b
mov eax, edi
jmp 0x448663
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp ebx, eax
ja 0x448592
mov al, byte [ebp - 0x3c]
cmp byte [ebx], al
jne 0x448592
cmp dword [ebp - 0x40], 1
je 0x448554
mov al, byte [ebp - 0x3b]
cmp byte [ebx + 1], al
je 0x448554
inc ebx
cmp dword [ebp + 0x3c], 0
jne 0x448554
cmp ebx, dword [ebp + 0x68]
ja 0x448554
cmp byte [ebx - 1], 0xd
jne 0x44834e
cmp dword [ebp - 0x44], 1
je 0x4485b8
cmp dword [ebp - 0x40], 2
jne 0x44834e
cmp ebx, dword [ebp + 0x68]
jae 0x44834e
cmp byte [ebx], 0xa
jne 0x44834e
inc ebx
jmp 0x44834e
xor edi, edi
cmp edi, 1
jne 0x448554
cmp dword [ebp + 0x44], 0
mov esi, dword [ebp + 0x7c]
je 0x44861d
cmp esi, 4
jl 0x448607
lea eax, [esi*4 - 8]
push eax
mov eax, dword [ebp - 0x50]
add eax, 8
push eax
mov eax, dword [ebp + 0x78]
add eax, 8
push eax
call fcn.00449a60
add esp, 0xc
cmp dword [ebp + 4], esi
jle 0x448613
mov dword [ebp - 0x30], 1
push dword [ebp - 0x50]
call dword [0x46414c]
pop ecx
cmp dword [ebp - 0x30], 0
je 0x448627
xor eax, eax
jmp 0x44862f
mov eax, dword [ebp + 4]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x448638
xor eax, eax
jmp 0x448663
sub ebx, dword [ebp - 0xc]
mov edx, dword [ebp]
mov ecx, dword [ebp + 0x78]
sub edx, dword [ebp - 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
jmp 0x448663
cmp dword [ebp - 0x18], 0
je 0x44865b
cmp dword [ebp - 0x14], 0
je 0x44865b
push 0xfffffffffffffff4
jmp 0x448662
or eax, 0xffffffff
jmp 0x448663
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret