Function at 0x448120
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x58]
mov eax, 0x204c
call fcn.0044ba00
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 0x448170
push 0xfffffffffffffffd
jmp 0x4487b8
cmp esi, ecx
je 0x4487b6
cmp ebx, ecx
je 0x4487b6
cmp dword [ebp + 0x78], ecx
jne 0x44818e
cmp dword [ebp + 0x7c], ecx
jg 0x4487b6
cmp dword [ebp + 0x7c], ecx
jge 0x44819a
push 0xfffffffffffffff1
jmp 0x4487b8
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 0x4481f8
mov edx, dword [eax]
test dl, 1
mov dword [ebp + 0x54], edx
je 0x4481c8
mov edx, dword [eax + 4]
mov dword [ebp + 0x68], edx
test byte [ebp + 0x54], 2
je 0x4481d4
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
test byte [ebp + 0x54], 0x10
je 0x4481e0
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
test byte [ebp + 0x54], 4
je 0x4481ec
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x1c], edx
test byte [ebp + 0x54], 8
je 0x4481f8
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x74], eax
cmp dword [ebp + 0x74], ecx
jne 0x448204
mov dword [ebp + 0x74], 0x459a48
mov eax, esi
cmp dword [eax], 0x50435245
je 0x448244
lea eax, [ebp - 0x8c]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.00448933
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x448235
push 0xfffffffffffffffc
jmp 0x4487b8
cmp dword [ebp + 0x68], 0
je 0x448244
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 0x4482ff
mov edi, dword [esi + 8]
push 0xa
and edi, eax
pop eax
je 0x448332
cmp edi, 0x100000
je 0x448350
cmp edi, 0x200000
je 0x448332
cmp edi, 0x300000
je 0x44832d
cmp edi, 0x400000
je 0x448355
push 0xffffffffffffffe9
jmp 0x4487b8
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x44], ebx
jle 0x44835a
mov ecx, eax
sar ecx, 8
mov dword [ebp - 0x40], 2
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3b], al
jmp 0x448360
push 0xd
pop eax
jmp 0x448332
mov dword [ebp - 0x44], edx
jmp 0x448360
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], al
cmp dword [ebp - 0x18], ebx
je 0x448375
test dword [esi + 8], 0x80000000
je 0x448375
push 0xfffffffffffffff3
jmp 0x4487b8
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 0x4483cd
movzx ecx, ax
mov eax, edi
push 3
cdq
pop ebx
idiv ebx
cmp ecx, eax
jl 0x4483cd
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 0x4483c4
push 0xfffffffffffffffa
jmp 0x4487b8
mov dword [ebp + 0x44], 1
jmp 0x4483d3
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 0x448400
mov eax, edi
mov dword [ebp + 0x2c], edi
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x448423
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 0x44841c
or dword [edi], 0xffffffff
sub edi, 4
cmp edi, eax
jae 0x448419
cmp dword [ebp + 0x3c], ebx
jne 0x44846f
test dword [esi + 8], 0x40000000
je 0x448457
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 0x44846f
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x50], eax
jmp 0x44846f
cmp dword [ebp + 0x28], ebx
jne 0x44846f
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x44846f
test byte [eax + 4], 1
je 0x44846f
add eax, 8
mov dword [ebp + 0x48], eax
test dword [esi + 8], 0x20000000
je 0x44849e
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 0x4484c4
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x4484c4
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 0x44851a
cmp ebx, dword [ebp - 8]
mov edi, ebx
jae 0x448515
cmp dword [ebp - 0x44], 0
je 0x4484f0
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push edi
call fcn.00448820
add esp, 0x10
test eax, eax
jne 0x448515
jmp 0x44850f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp edi, eax
ja 0x44850f
mov al, byte [edi]
cmp al, byte [ebp - 0x3c]
jne 0x44850f
cmp dword [ebp - 0x40], 1
je 0x448515
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x3b]
je 0x448515
inc edi
cmp edi, dword [ebp - 8]
jb 0x4484d1
mov esi, edi
mov dword [ebp + 0x60], esi
xor eax, eax
cmp dword [ebp + 0x50], eax
jl 0x44855b
cmp dword [ebp + 0x38], eax
je 0x448552
jmp 0x44853c
movzx eax, byte [ebx]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x50]
je 0x4485e7
inc ebx
cmp ebx, esi
jb 0x448528
jmp 0x4485e7
movzx eax, byte [ebx]
cmp eax, dword [ebp + 0x50]
je 0x4485e7
inc ebx
cmp ebx, esi
jb 0x448545
jmp 0x4485e7
cmp dword [ebp + 0x28], eax
je 0x4485be
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0xc]
add ecx, eax
cmp ebx, ecx
jbe 0x4485e7
cmp ebx, esi
ja 0x4485e7
jmp 0x448575
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x44], 0
je 0x448596
cmp ebx, eax
jbe 0x4485b7
push dword [ebp + 0x54]
lea ecx, [ebp - 0x40]
push ecx
push eax
push ebx
call fcn.00448892
add esp, 0x10
test eax, eax
jne 0x4485e7
jmp 0x4485b7
mov edi, dword [ebp - 0x40]
add eax, edi
cmp ebx, eax
jb 0x4485b7
mov cl, byte [ebp - 0x3c]
mov eax, ebx
sub eax, edi
cmp byte [eax], cl
jne 0x4485b7
cmp edi, 1
je 0x4485e7
mov cl, byte [ebp - 0x3b]
cmp byte [eax + 1], cl
je 0x4485e7
inc ebx
cmp ebx, esi
jbe 0x448572
jmp 0x4485e7
cmp dword [ebp + 0x48], eax
je 0x4485e7
cmp ebx, esi
jae 0x4485e7
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 0x4485e7
inc ebx
cmp ebx, dword [ebp + 0x60]
jb 0x4485c7
mov esi, dword [ebp + 0x68]
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
mov dword [ebp + 0x60], esi
jl 0x448657
mov eax, esi
sub eax, ebx
cmp eax, 0x3e8
jge 0x448657
cmp dword [ebp - 0x18], ecx
jne 0x448657
xor eax, eax
cmp dword [ebp + 0x50], ecx
setge al
add eax, ebx
cmp eax, dword [ebp + 0x34]
jbe 0x448657
cmp dword [ebp + 0x24], ecx
je 0x448634
cmp eax, esi
jae 0x448726
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x44864b
cmp ecx, dword [ebp + 0x40]
je 0x44864b
cmp eax, esi
jb 0x448620
jmp 0x44864c
cmp eax, esi
jae 0x448726
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x44864b
cmp eax, esi
jb 0x44863c
jmp 0x44864c
dec eax
cmp eax, esi
jae 0x448726
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.00446454
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x448728
cmp dword [ebp + 0x30], eax
je 0x4486e8
cmp dword [ebp - 0x44], eax
je 0x4486c9
cmp ebx, dword [ebp - 8]
jae 0x4486e8
push dword [ebp + 0x54]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push ebx
call fcn.00448820
add esp, 0x10
test eax, eax
je 0x4486e8
cmp dword [ebp + 0x44], 0
je 0x4486ba
push dword [ebp - 0x50]
call dword [0x46414c]
pop ecx
test edi, edi
je 0x4487a1
mov eax, edi
jmp 0x4487b9
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp ebx, eax
ja 0x4486e8
mov al, byte [ebp - 0x3c]
cmp byte [ebx], al
jne 0x4486e8
cmp dword [ebp - 0x40], 1
je 0x4486aa
mov al, byte [ebp - 0x3b]
cmp byte [ebx + 1], al
je 0x4486aa
inc ebx
cmp dword [ebp + 0x3c], 0
jne 0x4486aa
cmp ebx, dword [ebp + 0x68]
ja 0x4486aa
cmp byte [ebx - 1], 0xd
jne 0x4484a4
cmp dword [ebp - 0x44], 1
je 0x44870e
cmp dword [ebp - 0x40], 2
jne 0x4484a4
cmp ebx, dword [ebp + 0x68]
jae 0x4484a4
cmp byte [ebx], 0xa
jne 0x4484a4
inc ebx
jmp 0x4484a4
xor edi, edi
cmp edi, 1
jne 0x4486aa
cmp dword [ebp + 0x44], 0
mov esi, dword [ebp + 0x7c]
je 0x448773
cmp esi, 4
jl 0x44875d
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.00449bc0
add esp, 0xc
cmp dword [ebp + 4], esi
jle 0x448769
mov dword [ebp - 0x30], 1
push dword [ebp - 0x50]
call dword [0x46414c]
pop ecx
cmp dword [ebp - 0x30], 0
je 0x44877d
xor eax, eax
jmp 0x448785
mov eax, dword [ebp + 4]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x44878e
xor eax, eax
jmp 0x4487b9
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 0x4487b9
cmp dword [ebp - 0x18], 0
je 0x4487b1
cmp dword [ebp - 0x14], 0
je 0x4487b1
push 0xfffffffffffffff4
jmp 0x4487b8
or eax, 0xffffffff
jmp 0x4487b9
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret