Function at 0x447894
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x58]
mov eax, 0x204c
call fcn.0044b230
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 0x4478e4
push 0xfffffffffffffffd
jmp 0x447f2c
cmp esi, ecx
je 0x447f2a
cmp ebx, ecx
je 0x447f2a
cmp dword [ebp + 0x78], ecx
jne 0x447902
cmp dword [ebp + 0x7c], ecx
jg 0x447f2a
cmp dword [ebp + 0x7c], ecx
jge 0x44790e
push 0xfffffffffffffff1
jmp 0x447f2c
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 0x44796c
mov edx, dword [eax]
test dl, 1
mov dword [ebp + 0x54], edx
je 0x44793c
mov edx, dword [eax + 4]
mov dword [ebp + 0x68], edx
test byte [ebp + 0x54], 2
je 0x447948
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
test byte [ebp + 0x54], 0x10
je 0x447954
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
test byte [ebp + 0x54], 4
je 0x447960
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x1c], edx
test byte [ebp + 0x54], 8
je 0x44796c
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x74], eax
cmp dword [ebp + 0x74], ecx
jne 0x447978
mov dword [ebp + 0x74], 0x4589f0
mov eax, esi
cmp dword [eax], 0x50435245
je 0x4479b8
lea eax, [ebp - 0x8c]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.004480a7
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4479a9
push 0xfffffffffffffffc
jmp 0x447f2c
cmp dword [ebp + 0x68], 0
je 0x4479b8
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 0x447a73
mov edi, dword [esi + 8]
push 0xa
and edi, eax
pop eax
je 0x447aa6
cmp edi, 0x100000
je 0x447ac4
cmp edi, 0x200000
je 0x447aa6
cmp edi, 0x300000
je 0x447aa1
cmp edi, 0x400000
je 0x447ac9
push 0xffffffffffffffe9
jmp 0x447f2c
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x44], ebx
jle 0x447ace
mov ecx, eax
sar ecx, 8
mov dword [ebp - 0x40], 2
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3b], al
jmp 0x447ad4
push 0xd
pop eax
jmp 0x447aa6
mov dword [ebp - 0x44], edx
jmp 0x447ad4
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], al
cmp dword [ebp - 0x18], ebx
je 0x447ae9
test dword [esi + 8], 0x80000000
je 0x447ae9
push 0xfffffffffffffff3
jmp 0x447f2c
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 0x447b41
movzx ecx, ax
mov eax, edi
push 3
cdq
pop ebx
idiv ebx
cmp ecx, eax
jl 0x447b41
lea edi, [ecx + 1]
imul edi, edi, 3
mov eax, edi
shl eax, 2
push eax
call dword [0x461148]
test eax, eax
pop ecx
mov dword [ebp - 0x50], eax
jne 0x447b38
push 0xfffffffffffffffa
jmp 0x447f2c
mov dword [ebp + 0x44], 1
jmp 0x447b47
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 0x447b74
mov eax, edi
mov dword [ebp + 0x2c], edi
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x447b97
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 0x447b90
or dword [edi], 0xffffffff
sub edi, 4
cmp edi, eax
jae 0x447b8d
cmp dword [ebp + 0x3c], ebx
jne 0x447be3
test dword [esi + 8], 0x40000000
je 0x447bcb
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 0x447be3
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x50], eax
jmp 0x447be3
cmp dword [ebp + 0x28], ebx
jne 0x447be3
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x447be3
test byte [eax + 4], 1
je 0x447be3
add eax, 8
mov dword [ebp + 0x48], eax
test dword [esi + 8], 0x20000000
je 0x447c12
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 0x447c38
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x447c38
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 0x447c8e
cmp ebx, dword [ebp - 8]
mov edi, ebx
jae 0x447c89
cmp dword [ebp - 0x44], 0
je 0x447c64
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push edi
call fcn.00447f94
add esp, 0x10
test eax, eax
jne 0x447c89
jmp 0x447c83
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp edi, eax
ja 0x447c83
mov al, byte [edi]
cmp al, byte [ebp - 0x3c]
jne 0x447c83
cmp dword [ebp - 0x40], 1
je 0x447c89
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x3b]
je 0x447c89
inc edi
cmp edi, dword [ebp - 8]
jb 0x447c45
mov esi, edi
mov dword [ebp + 0x60], esi
xor eax, eax
cmp dword [ebp + 0x50], eax
jl 0x447ccf
cmp dword [ebp + 0x38], eax
je 0x447cc6
jmp 0x447cb0
movzx eax, byte [ebx]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x50]
je 0x447d5b
inc ebx
cmp ebx, esi
jb 0x447c9c
jmp 0x447d5b
movzx eax, byte [ebx]
cmp eax, dword [ebp + 0x50]
je 0x447d5b
inc ebx
cmp ebx, esi
jb 0x447cb9
jmp 0x447d5b
cmp dword [ebp + 0x28], eax
je 0x447d32
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0xc]
add ecx, eax
cmp ebx, ecx
jbe 0x447d5b
cmp ebx, esi
ja 0x447d5b
jmp 0x447ce9
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x44], 0
je 0x447d0a
cmp ebx, eax
jbe 0x447d2b
push dword [ebp + 0x54]
lea ecx, [ebp - 0x40]
push ecx
push eax
push ebx
call fcn.00448006
add esp, 0x10
test eax, eax
jne 0x447d5b
jmp 0x447d2b
mov edi, dword [ebp - 0x40]
add eax, edi
cmp ebx, eax
jb 0x447d2b
mov cl, byte [ebp - 0x3c]
mov eax, ebx
sub eax, edi
cmp byte [eax], cl
jne 0x447d2b
cmp edi, 1
je 0x447d5b
mov cl, byte [ebp - 0x3b]
cmp byte [eax + 1], cl
je 0x447d5b
inc ebx
cmp ebx, esi
jbe 0x447ce6
jmp 0x447d5b
cmp dword [ebp + 0x48], eax
je 0x447d5b
cmp ebx, esi
jae 0x447d5b
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 0x447d5b
inc ebx
cmp ebx, dword [ebp + 0x60]
jb 0x447d3b
mov esi, dword [ebp + 0x68]
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
mov dword [ebp + 0x60], esi
jl 0x447dcb
mov eax, esi
sub eax, ebx
cmp eax, 0x3e8
jge 0x447dcb
cmp dword [ebp - 0x18], ecx
jne 0x447dcb
xor eax, eax
cmp dword [ebp + 0x50], ecx
setge al
add eax, ebx
cmp eax, dword [ebp + 0x34]
jbe 0x447dcb
cmp dword [ebp + 0x24], ecx
je 0x447da8
cmp eax, esi
jae 0x447e9a
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x447dbf
cmp ecx, dword [ebp + 0x40]
je 0x447dbf
cmp eax, esi
jb 0x447d94
jmp 0x447dc0
cmp eax, esi
jae 0x447e9a
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x447dbf
cmp eax, esi
jb 0x447db0
jmp 0x447dc0
dec eax
cmp eax, esi
jae 0x447e9a
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.00445bc8
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x447e9c
cmp dword [ebp + 0x30], eax
je 0x447e5c
cmp dword [ebp - 0x44], eax
je 0x447e3d
cmp ebx, dword [ebp - 8]
jae 0x447e5c
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push ebx
call fcn.00447f94
add esp, 0x10
test eax, eax
je 0x447e5c
cmp dword [ebp + 0x44], 0
je 0x447e2e
push dword [ebp - 0x50]
call dword [0x46114c]
pop ecx
test edi, edi
je 0x447f15
mov eax, edi
jmp 0x447f2d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp ebx, eax
ja 0x447e5c
mov al, byte [ebp - 0x3c]
cmp byte [ebx], al
jne 0x447e5c
cmp dword [ebp - 0x40], 1
je 0x447e1e
mov al, byte [ebp - 0x3b]
cmp byte [ebx + 1], al
je 0x447e1e
inc ebx
cmp dword [ebp + 0x3c], 0
jne 0x447e1e
cmp ebx, dword [ebp + 0x68]
ja 0x447e1e
cmp byte [ebx - 1], 0xd
jne 0x447c18
cmp dword [ebp - 0x44], 1
je 0x447e82
cmp dword [ebp - 0x40], 2
jne 0x447c18
cmp ebx, dword [ebp + 0x68]
jae 0x447c18
cmp byte [ebx], 0xa
jne 0x447c18
inc ebx
jmp 0x447c18
xor edi, edi
cmp edi, 1
jne 0x447e1e
cmp dword [ebp + 0x44], 0
mov esi, dword [ebp + 0x7c]
je 0x447ee7
cmp esi, 4
jl 0x447ed1
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.004492f0
add esp, 0xc
cmp dword [ebp + 4], esi
jle 0x447edd
mov dword [ebp - 0x30], 1
push dword [ebp - 0x50]
call dword [0x46114c]
pop ecx
cmp dword [ebp - 0x30], 0
je 0x447ef1
xor eax, eax
jmp 0x447ef9
mov eax, dword [ebp + 4]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x447f02
xor eax, eax
jmp 0x447f2d
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 0x447f2d
cmp dword [ebp - 0x18], 0
je 0x447f25
cmp dword [ebp - 0x14], 0
je 0x447f25
push 0xfffffffffffffff4
jmp 0x447f2c
or eax, 0xffffffff
jmp 0x447f2d
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret