Function at 0x44c009
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x110
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x70]
or dword [ebp + 0x54], 0xffffffff
or dword [ebp + 0x48], 0xffffffff
or dword [ebp + 0x1c], 0xffffffff
xor edx, edx
push ebx
add eax, ecx
push esi
mov esi, dword [ebp + 0x60]
mov dword [ebp + 0x2c], eax
dec eax
test dword [ebp + 0x74], 0xff8f5a6f
push edi
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x24], edx
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x38], eax
mov ebx, esi
je 0x44c055
push 0xfffffffffffffffd
jmp 0x44c78f
cmp esi, edx
je 0x44c78d
cmp ecx, edx
je 0x44c78d
cmp dword [ebp + 0x78], edx
jne 0x44c073
cmp dword [ebp + 0x7c], edx
jg 0x44c78d
cmp dword [ebp + 0x7c], edx
jge 0x44c07f
push 0xfffffffffffffff1
jmp 0x44c78f
mov eax, 0x989680
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x20]
xor edi, edi
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x64]
inc edi
cmp eax, edx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x14], edx
je 0x44c0e0
mov ecx, dword [eax]
test cl, 1
mov dword [ebp + 0x60], ecx
je 0x44c0b0
mov ecx, dword [eax + 4]
mov dword [ebp + 0x4c], ecx
test byte [ebp + 0x60], 2
je 0x44c0bc
mov ecx, dword [eax + 8]
mov dword [ebp - 0x60], ecx
test byte [ebp + 0x60], 0x10
je 0x44c0c8
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x5c], ecx
test byte [ebp + 0x60], 4
je 0x44c0d4
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x14], ecx
test byte [ebp + 0x60], 8
je 0x44c0e0
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x50], eax
cmp dword [ebp + 0x50], edx
jne 0x44c0ec
mov dword [ebp + 0x50], 0x465ba0
cmp dword [esi], 0x50435245
je 0x44c12a
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 0x4c]
lea eax, [ebp - 0xb8]
push eax
push esi
call fcn.0044caef
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x44c11b
push 0xfffffffffffffffc
jmp 0x44c78f
cmp dword [ebp + 0x4c], 0
je 0x44c12a
lea eax, [ebp - 0x90]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x74]
mov ecx, eax
or ecx, edx
shr ecx, 4
and ecx, edi
mov dword [ebp + 0x28], ecx
mov ecx, eax
shr ecx, 0x1c
and ecx, edi
mov dword [ebp + 0x3c], ecx
movzx ecx, word [ebx + 0x1c]
shr eax, 0x12
and eax, edi
mov dword [ebp + 0x30], eax
movzx eax, word [ebx + 0x1a]
imul ecx, eax
movzx eax, word [ebx + 0x18]
add ecx, esi
add eax, ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 4], ecx
mov ecx, dword [ebp + 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x14], eax
add eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x60], eax
mov eax, dword [ebx + 8]
shr eax, 5
and eax, edi
mov ecx, edx
shr ecx, 7
and ecx, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
and dword [ebp - 0x1c], 0
and dword [ebp + 0x10], 0
mov dword [ebp - 0x34], ecx
mov ecx, edx
shr ecx, 8
and ecx, edi
mov dword [ebp - 0x30], ecx
mov ecx, edx
shr ecx, 0xa
and ecx, edi
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x50]
mov dword [ebp - 0x40], ecx
add ecx, 0x340
mov esi, edx
shr eax, 0xb
shr esi, 0xf
and eax, edi
mov dword [ebp - 0x3c], ecx
and esi, edi
mov ecx, 0x700000
test ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0x44], eax
mov dword [ebp - 0x20], esi
jne 0x44c1df
mov edx, dword [ebx + 8]
and edx, ecx
je 0x44c237
cmp edx, 0x100000
je 0x44c23c
cmp edx, 0x200000
je 0x44c237
cmp edx, 0x300000
je 0x44c212
cmp edx, 0x400000
je 0x44c249
cmp edx, 0x500000
je 0x44c240
push 0xffffffffffffffe9
jmp 0x44c78f
mov edx, 0xd0a
and dword [ebp - 0x4c], 0
cmp edx, 0xff
jle 0x44c24e
mov ecx, edx
sar ecx, 8
mov dword [ebp - 0x48], 2
mov byte [ebp - 0x44], cl
mov byte [ebp - 0x43], dl
jmp 0x44c254
push 0xa
pop edx
jmp 0x44c217
push 0xd
jmp 0x44c239
mov dword [ebp - 0x4c], 2
jmp 0x44c254
mov dword [ebp - 0x4c], edi
jmp 0x44c254
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x44], dl
test esi, esi
je 0x44c268
test dword [ebx + 8], 0x80000000
je 0x44c268
push 0xfffffffffffffff3
jmp 0x44c78f
test eax, eax
mov esi, 0xc0
je 0x44c2b7
test word [ebp + 0x74], 0x2000
jne 0x44c2b7
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
call fcn.0044c9e8
test eax, eax
pop ecx
pop ecx
jl 0x44c291
push 0xfffffffffffffff6
jmp 0x44c78f
mov eax, dword [ebp + 0x70]
test eax, eax
jle 0x44c2b7
cmp eax, dword [ebp + 0x6c]
jge 0x44c2b7
mov eax, dword [ebp + 0x2c]
movzx eax, byte [eax]
cmp eax, 0x7f
jle 0x44c2b7
and eax, esi
je 0x44c2b7
cmp eax, esi
je 0x44c2b7
push 0xfffffffffffffff5
jmp 0x44c78f
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 0x7c]
and eax, 7
mov dword [ebp - 0x68], eax
mov eax, esi
cdq
push 3
pop ecx
idiv ecx
movzx eax, word [ebx + 0x12]
sub esi, edx
test ax, ax
jbe 0x44c30e
movzx eax, ax
mov dword [ebp + 0x74], eax
mov eax, esi
cdq
idiv ecx
mov ecx, dword [ebp + 0x74]
cmp ecx, eax
jl 0x44c30e
lea esi, [ecx + 1]
imul esi, esi, 3
mov eax, esi
shl eax, 2
push eax
call dword [0x470150]
test eax, eax
pop ecx
mov dword [ebp - 0x58], eax
jne 0x44c309
push 0xfffffffffffffffa
jmp 0x44c78f
mov dword [ebp + 0x40], edi
jmp 0x44c314
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x58], eax
lea eax, [esi + esi]
cdq
push 3
pop ecx
idiv ecx
or dword [ebp], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], eax
movzx eax, word [ebx + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [ebp + 0x7c]
mov dword [ebp + 0x34], eax
jle 0x44c341
mov eax, esi
mov dword [ebp + 0x34], esi
mov edx, dword [ebp - 0x58]
cmp edx, ecx
je 0x44c363
lea esi, [edx + esi*4]
cdq
sub eax, edx
sar eax, 1
mov edx, edi
sub edx, eax
lea eax, [esi + edx*4]
jmp 0x44c35c
or dword [esi], 0xffffffff
sub esi, 4
cmp esi, eax
jae 0x44c359
cmp dword [ebp + 0x28], ecx
jne 0x44c3ae
test dword [ebx + 8], 0x40000000
je 0x44c396
movzx eax, word [ebx + 0x14]
mov ecx, eax
and ecx, 0xff
shr eax, 8
and eax, edi
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x18], eax
je 0x44c3ae
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x54], eax
jmp 0x44c3ae
cmp dword [ebp + 0x3c], ecx
jne 0x44c3ae
mov eax, dword [ebp + 0x4c]
cmp eax, ecx
je 0x44c3ae
test byte [eax + 4], 1
je 0x44c3ae
add eax, 8
mov dword [ebp + 0x20], eax
test dword [ebx + 8], 0x20000000
je 0x44c3dc
movzx eax, word [ebx + 0x16]
mov ecx, eax
shr eax, 8
and ecx, 0xff
and eax, edi
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x50]
movzx eax, byte [eax + ecx + 0x100]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x1c], eax
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp - 0x58]
test edi, edi
mov edx, dword [ebp + 0x60]
mov dword [ebp + 0x74], edx
je 0x44c402
mov eax, dword [ebp + 0x34]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x44c402
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 0x44c45b
cmp esi, dword [ebp - 0x10]
mov edi, esi
jae 0x44c456
cmp dword [ebp - 0x4c], 0
je 0x44c431
push dword [ebp + 0x44]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x4c]
push edi
call fcn.0044c7f7
add esp, 0x14
test eax, eax
jne 0x44c456
jmp 0x44c450
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x48]
cmp edi, eax
ja 0x44c450
mov al, byte [ebp - 0x44]
cmp byte [edi], al
jne 0x44c450
cmp dword [ebp - 0x48], 1
je 0x44c456
mov al, byte [ebp - 0x43]
cmp byte [edi + 1], al
je 0x44c456
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x44c40f
mov edx, edi
mov dword [ebp + 0x60], edx
xor eax, eax
cmp dword [ebp + 0x54], eax
jl 0x44c49c
cmp dword [ebp + 0x18], eax
je 0x44c493
jmp 0x44c47d
movzx eax, byte [esi]
mov ecx, dword [ebp - 0x40]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x54]
je 0x44c550
inc esi
cmp esi, edx
jb 0x44c469
jmp 0x44c550
movzx eax, byte [esi]
cmp eax, dword [ebp + 0x54]
je 0x44c550
inc esi
cmp esi, edx
jb 0x44c486
jmp 0x44c550
cmp dword [ebp + 0x3c], eax
je 0x44c528
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x14]
add ecx, eax
cmp esi, ecx
jbe 0x44c550
cmp esi, edx
ja 0x44c509
jmp 0x44c4be
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x4c], 0
je 0x44c4e2
cmp esi, eax
jbe 0x44c503
push dword [ebp + 0x44]
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0x4c]
push esi
call fcn.0044c8c2
add esp, 0x14
test eax, eax
jne 0x44c509
jmp 0x44c503
mov edi, dword [ebp - 0x48]
add eax, edi
cmp esi, eax
jb 0x44c503
mov cl, byte [ebp - 0x44]
mov eax, esi
sub eax, edi
cmp byte [eax], cl
jne 0x44c503
cmp edi, 1
je 0x44c509
mov cl, byte [ebp - 0x43]
cmp byte [eax + 1], cl
je 0x44c509
inc esi
cmp esi, dword [ebp + 0x60]
jbe 0x44c4bb
cmp byte [esi - 1], 0xd
jne 0x44c550
cmp dword [ebp - 0x4c], 1
je 0x44c51b
cmp dword [ebp - 0x4c], 2
jne 0x44c550
cmp esi, dword [ebp + 0x60]
jae 0x44c550
cmp byte [esi], 0xa
jne 0x44c550
inc esi
jmp 0x44c550
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x44c550
cmp esi, edx
jae 0x44c550
movzx edi, byte [esi]
xor edx, edx
mov ecx, edi
and ecx, 7
inc edx
shl edx, cl
shr edi, 3
mov cl, byte [edi + eax]
test cl, dl
jne 0x44c550
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x44c533
mov edx, dword [ebp + 0x74]
xor edi, edi
cmp dword [ebp + 0x48], edi
mov dword [ebp + 0x60], edx
jl 0x44c5c0
mov eax, edx
sub eax, esi
cmp eax, 0x3e8
jge 0x44c5c0
cmp dword [ebp - 0x20], edi
jne 0x44c5c0
xor eax, eax
cmp dword [ebp + 0x54], edi
setge al
add eax, esi
cmp eax, dword [ebp + 0x38]
jbe 0x44c5c0
cmp dword [ebp + 0x24], edi
je 0x44c59d
cmp eax, edx
jae 0x44c701
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x48]
je 0x44c5b4
cmp ecx, dword [ebp + 0x1c]
je 0x44c5b4
cmp eax, edx
jb 0x44c589
jmp 0x44c5b5
cmp eax, edx
jae 0x44c701
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x48]
je 0x44c5b4
cmp eax, edx
jb 0x44c5a5
jmp 0x44c5b5
dec eax
cmp eax, edx
jae 0x44c6ff
mov dword [ebp + 0x38], eax
xor edi, edi
push edi
push edi
push edi
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
push 2
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
push esi
mov dword [ebp - 0x64], edi
call fcn.00447aa9
add esp, 0x24
cmp eax, 0xfffffc19
mov dword [ebp + 0x68], eax
je 0x44c709
cmp eax, 0xfffffc1a
je 0x44c60c
cmp eax, 0xfffffc1b
je 0x44c617
cmp eax, 0xfffffc1c
je 0x44c60c
cmp eax, edi
jne 0x44c70e
cmp dword [ebp + 0x44], 0
lea edi, [esi + 1]
je 0x44c62a
jmp 0x44c625
mov edi, dword [ebp - 0xc]
jmp 0x44c62a
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x44c62a
inc edi
cmp edi, dword [ebp + 0x74]
jb 0x44c61c
xor eax, eax
cmp dword [ebp + 0x30], eax
mov dword [ebp + 0x68], eax
je 0x44c6ab
cmp dword [ebp - 0x4c], eax
je 0x44c68c
cmp esi, dword [ebp - 0x10]
jae 0x44c6ab
push dword [ebp + 0x44]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x4c]
push esi
call fcn.0044c7f7
add esp, 0x14
test eax, eax
je 0x44c6ab
cmp dword [ebp + 0x40], 0
je 0x44c668
push dword [ebp - 0x58]
call dword [0x470154]
pop ecx
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x44c790
cmp dword [ebp - 0x20], eax
je 0x44c788
cmp dword [ebp - 0x1c], eax
je 0x44c788
push 0xfffffffffffffff4
jmp 0x44c78f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x48]
cmp esi, eax
ja 0x44c6ab
mov al, byte [esi]
cmp al, byte [ebp - 0x44]
jne 0x44c6ab
cmp dword [ebp - 0x48], 1
je 0x44c658
mov al, byte [esi + 1]
cmp al, byte [ebp - 0x43]
je 0x44c658
cmp dword [ebp + 0x28], 0
mov esi, edi
jne 0x44c658
cmp edi, dword [ebp + 0x74]
ja 0x44c658
cmp byte [edi - 1], 0xd
jne 0x44c3df
cmp edi, dword [ebp + 0x74]
jae 0x44c3df
cmp byte [edi], 0xa
jne 0x44c3df
test dword [ebx + 8], 0x4000000
jne 0x44c3df
cmp dword [ebp - 0x4c], 1
je 0x44c6f7
cmp dword [ebp - 0x4c], 2
je 0x44c6f7
cmp dword [ebp - 0x48], 2
jne 0x44c3df
lea esi, [edi + 1]
jmp 0x44c3df
xor edi, edi
mov dword [ebp + 0x68], edi
jmp 0x44c658
xor eax, eax
mov dword [ebp + 0x68], eax
xor edi, edi
inc edi
cmp eax, edi
jne 0x44c658
cmp dword [ebp + 0x40], 0
mov esi, dword [ebp + 0x7c]
je 0x44c757
cmp esi, 4
jl 0x44c745
lea eax, [esi*4 - 8]
push eax
mov eax, dword [ebp - 0x58]
add eax, 8
push eax
mov eax, dword [ebp + 0x78]
add eax, 8
push eax
call fcn.0044f370
add esp, 0xc
cmp dword [ebp - 4], esi
jle 0x44c74d
mov dword [ebp - 0x38], edi
push dword [ebp - 0x58]
call dword [0x470154]
pop ecx
cmp dword [ebp - 0x38], 0
je 0x44c761
xor eax, eax
jmp 0x44c769
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x44c772
xor eax, eax
jmp 0x44c790
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x78]
mov dword [ecx], edx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
jmp 0x44c790
or eax, 0xffffffff
jmp 0x44c790
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret