// File: sisong[P]ApkDiffPatch/src/patch/ZipDiffData.cpp
// Function: ZipDiffData_openRead
bool ZipDiffData_openRead(ZipDiffData* self,const hpatch_TStreamInput* diffData,
                          hpatch_TDecompress* decompressPlugin){
    size_t  headDataSize=0;
    size_t  headDataCompressedSize=0;
    size_t  headDataPos=0;
    size_t  hdiffzSize=0;
    {
        size_t  headInoPos=0;
        check(_openZipDiffData(diffData,decompressPlugin,&headInoPos));
        //read head info
        TByte buf[hpatch_kMaxPackedUIntBytes*(16+3)];
        int readLen=sizeof(buf);
        if (headInoPos+readLen>diffData->streamSize)
            readLen=(int)(diffData->streamSize-headInoPos);
        check(diffData->read(diffData,headInoPos,buf,buf+readLen));
        //unpack head info
        const TByte* curBuf=buf;
        #define kSoSmallPageAlignSize (1024*4)
        self->normalizeSoPageAlign=kSoSmallPageAlignSize/4;
        while ((curBuf<buf+readLen)&&(kPackedEmptyPrefix==(*curBuf))){//test have normalizeSoPageAlign tag? starting with v1.8.0
            self->normalizeSoPageAlign*=4;
            ++curBuf;
        }// else old version diffData, not saved normalizeSoPageAlign tag
        if (self->normalizeSoPageAlign==kSoSmallPageAlignSize) self->normalizeSoPageAlign=0;
        self->pageAlignCompatible=(self->normalizeSoPageAlign==(kSoSmallPageAlignSize/4));
        if (self->pageAlignCompatible) self->normalizeSoPageAlign=kSoSmallPageAlignSize;
        checkUnpackSize(&curBuf,buf+readLen,&self->PatchModel,size_t);
        check(self->PatchModel<=1);//now must 0 or 1
        checkUnpackSize(&curBuf,buf+readLen,&self->newZipFileCount,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newZipIsDataNormalized,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newZipAlignSize,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newCompressLevel,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newCompressMemLevel,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newOtherCompressLevel,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newOtherCompressMemLevel,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newZipCESize,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->samePairCount,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newRefOtherCompressedCount,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->newRefCompressedSizeCount,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->oldZipIsDataNormalized,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->oldIsFileDataOffsetMatch,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->oldZipCESize,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->oldRefCount,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&self->oldCrc,uint32_t);
        checkUnpackSize(&curBuf,buf+readLen,&headDataSize,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&headDataCompressedSize,size_t);
        checkUnpackSize(&curBuf,buf+readLen,&hdiffzSize,size_t);
        headDataPos=(curBuf-buf)+headInoPos;
        
        check(headDataCompressedSize <= diffData->streamSize-headDataPos);
        check(hdiffzSize <= diffData->streamSize-headDataPos-headDataCompressedSize);
    }
    {//head data
        //  memBuf used as:
        //  [     compressed headData   ]     [ uncompressed headData(packed list) ]
        //  [           unpacked_list        ]
        size_t memLeft=(self->samePairCount*2+self->newRefOtherCompressedCount
                        +self->newRefCompressedSizeCount+self->oldRefCount)*sizeof(uint32_t);
        if (headDataCompressedSize>memLeft) memLeft=_hpatch_align_upper(headDataCompressedSize,sizeof(uint32_t));
        assert(self->_buf==0);
        self->_buf=(TByte*)malloc(memLeft+headDataSize);
        check(self->_buf!=0);
        
        check(diffData->read(diffData,headDataPos,self->_buf,self->_buf+headDataCompressedSize));
        if (headDataSize>0){
            check(hpatch_deccompress_mem(decompressPlugin,self->_buf,self->_buf+headDataCompressedSize,
                                         self->_buf+memLeft,self->_buf+memLeft+headDataSize));
        }
        
        self->samePairList=(uint32_t*)self->_buf;
        self->newRefOtherCompressedList=self->samePairList+self->samePairCount*2;
        self->newRefCompressedSizeList=self->newRefOtherCompressedList+self->newRefOtherCompressedCount;
        self->oldRefList=self->newRefCompressedSizeList+self->newRefCompressedSizeCount;
        const TByte* curBuf=self->_buf+memLeft;
        const TByte* const bufEnd=self->_buf+memLeft+headDataSize;
        
        uint32_t backPairNew=~(uint32_t)0;
        hpatch_StreamPos_t backPairOld=~(hpatch_StreamPos_t)0;
        for (size_t i=0; i<self->samePairCount; ++i) {
            uint32_t curPairNew=0;
            checkUnpackSize(&curBuf,bufEnd,&curPairNew,uint32_t);
            backPairNew+=1+curPairNew;
            self->samePairList[i*2+0]=backPairNew;
            
            check(curBuf<bufEnd);
            TByte sign=(*curBuf)>>(8-1);
            hpatch_StreamPos_t incPairOld=0;
            check(hpatch_unpackUIntWithTag(&curBuf,bufEnd,&incPairOld,1));
            if (!sign)
                backPairOld+=1+incPairOld;
            else
                backPairOld=backPairOld+1-incPairOld;
            check(backPairOld==(uint32_t)backPairOld);
            self->samePairList[i*2+1]=(uint32_t)backPairOld;
        }
        _unpackIncList(self->newRefOtherCompressedList,self->newRefOtherCompressedCount);
        for (size_t i=0; i<self->newRefCompressedSizeCount; ++i) {
            checkUnpackSize(&curBuf,bufEnd,&self->newRefCompressedSizeList[i],uint32_t);
        }
        _unpackIncList(self->oldRefList,self->oldRefCount);
        check(curBuf==bufEnd);
    }
    {//HDiffZ stream
        size_t hdiffzPos=headDataPos+headDataCompressedSize;
        TStreamInputClip_init(&self->_hdiffzData,diffData,hdiffzPos,hdiffzPos+hdiffzSize);
        self->hdiffzData=&self->_hdiffzData.base;
    }
    {//ExtraEdit stream
        //read size+tag
        check(diffData->streamSize>=4+kExtraEditLen);
        unsigned char buf4s[4+kExtraEditLen];
        check(diffData->read(diffData,diffData->streamSize-4-kExtraEditLen,buf4s,buf4s+4+kExtraEditLen));
        check(0==memcmp(kExtraEdit,buf4s+4,kExtraEditLen));//check tag
        uint32_t extraEditSize=readUInt32(buf4s);

        check(4+kExtraEditLen+self->_hdiffzData.clipBeginPos+hdiffzSize+extraEditSize<=diffData->streamSize);
        hpatch_StreamPos_t extraEditPos=diffData->streamSize-extraEditSize-4-kExtraEditLen;
        TStreamInputClip_init(&self->_extraEdit,diffData,extraEditPos,extraEditPos+extraEditSize);
        self->extraEdit=&self->_extraEdit.base;
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x7c860
testb $0x1, %al
jne 0x7cb41
leaq 0x36864(%rip), %rdi     # 0xb337f
movb $0x0, %al
callq 0x4060
leaq 0x30747(%rip), %rdi     # 0xad270
leaq 0x3688f(%rip), %rsi     # 0xb33bf
movl $0x66, %edx
leaq 0x3689d(%rip), %rcx     # 0xb33d9
callq 0x4270
movl $0xd1, -0x124(%rbp)
movq -0x40(%rbp), %rax
movslq -0x124(%rbp), %rcx
addq %rcx, %rax
movq -0x10(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jbe 0x7cb75
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
subq -0x40(%rbp), %rax
movl %eax, -0x124(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x120(%rbp), %rdx
leaq -0x120(%rbp), %rcx
movslq -0x124(%rbp), %r8
addq %r8, %rcx
callq *%rax
cmpl $0x0, %eax
jne 0x7cbd1
leaq 0x3688a(%rip), %rdi     # 0xb3435
movb $0x0, %al
callq 0x4060
leaq 0x306b7(%rip), %rdi     # 0xad270
leaq 0x367ff(%rip), %rsi     # 0xb33bf
movl $0x6c, %edx
leaq 0x3680d(%rip), %rcx     # 0xb33d9
callq 0x4270
leaq -0x120(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x8(%rbp), %rax
movq $0x400, 0xa8(%rax) # imm = 0x400
movq -0x130(%rbp), %rcx
leaq -0x120(%rbp), %rdx
movslq -0x124(%rbp), %rax
addq %rax, %rdx
xorl %eax, %eax
cmpq %rdx, %rcx
movb %al, -0x2a1(%rbp)
jae 0x7cc2d
movq -0x130(%rbp), %rax
movzbl (%rax), %ecx
movl $0x80, %eax
cmpl %ecx, %eax
sete %al
movb %al, -0x2a1(%rbp)
movb -0x2a1(%rbp), %al
testb $0x1, %al
jne 0x7cc39
jmp 0x7cc63
movq -0x8(%rbp), %rax
movq 0xa8(%rax), %rcx
shlq $0x2, %rcx
movq %rcx, 0xa8(%rax)
movq -0x130(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x130(%rbp)
jmp 0x7cbee
movq -0x8(%rbp), %rax
cmpq $0x1000, 0xa8(%rax) # imm = 0x1000
jne 0x7cc83
movq -0x8(%rbp), %rax
movq $0x0, 0xa8(%rax)
movq -0x8(%rbp), %rax
cmpq $0x400, 0xa8(%rax) # imm = 0x400
sete %cl
movq -0x8(%rbp), %rax
andb $0x1, %cl
movb %cl, 0xb0(%rax)
movq -0x8(%rbp), %rax
testb $0x1, 0xb0(%rax)
je 0x7ccbe
movq -0x8(%rbp), %rax
movq $0x1000, 0xa8(%rax) # imm = 0x1000
movq $0x0, -0x138(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x138(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7cd21
leaq 0x36776(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30567(%rip), %rdi     # 0xad270
leaq 0x366af(%rip), %rsi     # 0xb33bf
movl $0x78, %edx
leaq 0x366bd(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x138(%rbp), %rax
cmpq -0x138(%rbp), %rax
je 0x7cd5e
leaq 0x3676b(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x3052a(%rip), %rdi     # 0xad270
leaq 0x36672(%rip), %rsi     # 0xb33bf
movl $0x78, %edx
leaq 0x36680(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x138(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
cmpq $0x1, (%rax)
jbe 0x7cda3
leaq 0x3673b(%rip), %rdi     # 0xb34b8
movb $0x0, %al
callq 0x4060
leaq 0x304e5(%rip), %rdi     # 0xad270
leaq 0x3662d(%rip), %rsi     # 0xb33bf
movl $0x79, %edx
leaq 0x3663b(%rip), %rcx     # 0xb33d9
callq 0x4270
movq $0x0, -0x140(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x140(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7ce06
leaq 0x36691(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30482(%rip), %rdi     # 0xad270
leaq 0x365ca(%rip), %rsi     # 0xb33bf
movl $0x7a, %edx
leaq 0x365d8(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x140(%rbp), %rax
cmpq -0x140(%rbp), %rax
je 0x7ce43
leaq 0x36686(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x30445(%rip), %rdi     # 0xad270
leaq 0x3658d(%rip), %rsi     # 0xb33bf
movl $0x7a, %edx
leaq 0x3659b(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x140(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq $0x0, -0x148(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x148(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7ceb5
leaq 0x365e2(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x303d3(%rip), %rdi     # 0xad270
leaq 0x3651b(%rip), %rsi     # 0xb33bf
movl $0x7b, %edx
leaq 0x36529(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x148(%rbp), %rax
cmpq -0x148(%rbp), %rax
je 0x7cef2
leaq 0x365d7(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x30396(%rip), %rdi     # 0xad270
leaq 0x364de(%rip), %rsi     # 0xb33bf
movl $0x7b, %edx
leaq 0x364ec(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x148(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq $0x0, -0x150(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x150(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7cf64
leaq 0x36533(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30324(%rip), %rdi     # 0xad270
leaq 0x3646c(%rip), %rsi     # 0xb33bf
movl $0x7c, %edx
leaq 0x3647a(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x150(%rbp), %rax
cmpq -0x150(%rbp), %rax
je 0x7cfa1
leaq 0x36528(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x302e7(%rip), %rdi     # 0xad270
leaq 0x3642f(%rip), %rsi     # 0xb33bf
movl $0x7c, %edx
leaq 0x3643d(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x150(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq $0x0, -0x158(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x158(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d013
leaq 0x36484(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30275(%rip), %rdi     # 0xad270
leaq 0x363bd(%rip), %rsi     # 0xb33bf
movl $0x7d, %edx
leaq 0x363cb(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x158(%rbp), %rax
cmpq -0x158(%rbp), %rax
je 0x7d050
leaq 0x36479(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x30238(%rip), %rdi     # 0xad270
leaq 0x36380(%rip), %rsi     # 0xb33bf
movl $0x7d, %edx
leaq 0x3638e(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x158(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq $0x0, -0x160(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x160(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d0c2
leaq 0x363d5(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x301c6(%rip), %rdi     # 0xad270
leaq 0x3630e(%rip), %rsi     # 0xb33bf
movl $0x7e, %edx
leaq 0x3631c(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x160(%rbp), %rax
cmpq -0x160(%rbp), %rax
je 0x7d0ff
leaq 0x363ca(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x30189(%rip), %rdi     # 0xad270
leaq 0x362d1(%rip), %rsi     # 0xb33bf
movl $0x7e, %edx
leaq 0x362df(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x160(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq $0x0, -0x168(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x168(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d171
leaq 0x36326(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30117(%rip), %rdi     # 0xad270
leaq 0x3625f(%rip), %rsi     # 0xb33bf
movl $0x7f, %edx
leaq 0x3626d(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x168(%rbp), %rax
cmpq -0x168(%rbp), %rax
je 0x7d1ae
leaq 0x3631b(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x300da(%rip), %rdi     # 0xad270
leaq 0x36222(%rip), %rsi     # 0xb33bf
movl $0x7f, %edx
leaq 0x36230(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x168(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x30(%rax)
movq $0x0, -0x170(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x170(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d220
leaq 0x36277(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x30068(%rip), %rdi     # 0xad270
leaq 0x361b0(%rip), %rsi     # 0xb33bf
movl $0x80, %edx
leaq 0x361be(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x170(%rbp), %rax
cmpq -0x170(%rbp), %rax
je 0x7d25d
leaq 0x3626c(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x3002b(%rip), %rdi     # 0xad270
leaq 0x36173(%rip), %rsi     # 0xb33bf
movl $0x80, %edx
leaq 0x36181(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x170(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x38(%rax)
movq $0x0, -0x178(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x178(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d2cf
leaq 0x361c8(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2ffb9(%rip), %rdi     # 0xad270
leaq 0x36101(%rip), %rsi     # 0xb33bf
movl $0x81, %edx
leaq 0x3610f(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x178(%rbp), %rax
cmpq -0x178(%rbp), %rax
je 0x7d30c
leaq 0x361bd(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2ff7c(%rip), %rdi     # 0xad270
leaq 0x360c4(%rip), %rsi     # 0xb33bf
movl $0x81, %edx
leaq 0x360d2(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x178(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x40(%rax)
movq $0x0, -0x180(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x180(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d37e
leaq 0x36119(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2ff0a(%rip), %rdi     # 0xad270
leaq 0x36052(%rip), %rsi     # 0xb33bf
movl $0x82, %edx
leaq 0x36060(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x180(%rbp), %rax
cmpq -0x180(%rbp), %rax
je 0x7d3bb
leaq 0x3610e(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fecd(%rip), %rdi     # 0xad270
leaq 0x36015(%rip), %rsi     # 0xb33bf
movl $0x82, %edx
leaq 0x36023(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x180(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x50(%rax)
movq $0x0, -0x188(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x188(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d42d
leaq 0x3606a(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fe5b(%rip), %rdi     # 0xad270
leaq 0x35fa3(%rip), %rsi     # 0xb33bf
movl $0x83, %edx
leaq 0x35fb1(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x188(%rbp), %rax
cmpq -0x188(%rbp), %rax
je 0x7d46a
leaq 0x3605f(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fe1e(%rip), %rdi     # 0xad270
leaq 0x35f66(%rip), %rsi     # 0xb33bf
movl $0x83, %edx
leaq 0x35f74(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x188(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x60(%rax)
movq $0x0, -0x190(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x190(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d4dc
leaq 0x35fbb(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fdac(%rip), %rdi     # 0xad270
leaq 0x35ef4(%rip), %rsi     # 0xb33bf
movl $0x84, %edx
leaq 0x35f02(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x190(%rbp), %rax
cmpq -0x190(%rbp), %rax
je 0x7d519
leaq 0x35fb0(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fd6f(%rip), %rdi     # 0xad270
leaq 0x35eb7(%rip), %rsi     # 0xb33bf
movl $0x84, %edx
leaq 0x35ec5(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x190(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x70(%rax)
movq $0x0, -0x198(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x198(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d58b
leaq 0x35f0c(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fcfd(%rip), %rdi     # 0xad270
leaq 0x35e45(%rip), %rsi     # 0xb33bf
movl $0x85, %edx
leaq 0x35e53(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x198(%rbp), %rax
cmpq -0x198(%rbp), %rax
je 0x7d5c8
leaq 0x35f01(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fcc0(%rip), %rdi     # 0xad270
leaq 0x35e08(%rip), %rsi     # 0xb33bf
movl $0x85, %edx
leaq 0x35e16(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x198(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x78(%rax)
movq $0x0, -0x1a0(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1a0(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d63a
leaq 0x35e5d(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fc4e(%rip), %rdi     # 0xad270
leaq 0x35d96(%rip), %rsi     # 0xb33bf
movl $0x86, %edx
leaq 0x35da4(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1a0(%rbp), %rax
cmpq -0x1a0(%rbp), %rax
je 0x7d677
leaq 0x35e52(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fc11(%rip), %rdi     # 0xad270
leaq 0x35d59(%rip), %rsi     # 0xb33bf
movl $0x86, %edx
leaq 0x35d67(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1a0(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x80(%rax)
movq $0x0, -0x1a8(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1a8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d6ec
leaq 0x35dab(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fb9c(%rip), %rdi     # 0xad270
leaq 0x35ce4(%rip), %rsi     # 0xb33bf
movl $0x87, %edx
leaq 0x35cf2(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1a8(%rbp), %rax
cmpq -0x1a8(%rbp), %rax
je 0x7d729
leaq 0x35da0(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2fb5f(%rip), %rdi     # 0xad270
leaq 0x35ca7(%rip), %rsi     # 0xb33bf
movl $0x87, %edx
leaq 0x35cb5(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1a8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x88(%rax)
movq $0x0, -0x1b0(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1b0(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d79e
leaq 0x35cf9(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2faea(%rip), %rdi     # 0xad270
leaq 0x35c32(%rip), %rsi     # 0xb33bf
movl $0x88, %edx
leaq 0x35c40(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1b0(%rbp), %rax
cmpq -0x1b0(%rbp), %rax
je 0x7d7db
leaq 0x35cee(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2faad(%rip), %rdi     # 0xad270
leaq 0x35bf5(%rip), %rsi     # 0xb33bf
movl $0x88, %edx
leaq 0x35c03(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1b0(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x98(%rax)
movq $0x0, -0x1b8(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1b8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d850
leaq 0x35c47(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2fa38(%rip), %rdi     # 0xad270
leaq 0x35b80(%rip), %rsi     # 0xb33bf
movl $0x89, %edx
leaq 0x35b8e(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1b8(%rbp), %rax
movq -0x1b8(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7d892
leaq 0x35c68(%rip), %rdi     # 0xb34d4
movb $0x0, %al
callq 0x4060
leaq 0x2f9f6(%rip), %rdi     # 0xad270
leaq 0x35b3e(%rip), %rsi     # 0xb33bf
movl $0x89, %edx
leaq 0x35b4c(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1b8(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xa0(%rax)
movq $0x0, -0x1c0(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1c0(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d908
leaq 0x35b8f(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2f980(%rip), %rdi     # 0xad270
leaq 0x35ac8(%rip), %rsi     # 0xb33bf
movl $0x8a, %edx
leaq 0x35ad6(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1c0(%rbp), %rax
cmpq -0x1c0(%rbp), %rax
je 0x7d945
leaq 0x35b84(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2f943(%rip), %rdi     # 0xad270
leaq 0x35a8b(%rip), %rsi     # 0xb33bf
movl $0x8a, %edx
leaq 0x35a99(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1c0(%rbp), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x1c8(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7d9b3
leaq 0x35ae4(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2f8d5(%rip), %rdi     # 0xad270
leaq 0x35a1d(%rip), %rsi     # 0xb33bf
movl $0x8b, %edx
leaq 0x35a2b(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1c8(%rbp), %rax
cmpq -0x1c8(%rbp), %rax
je 0x7d9f0
leaq 0x35ad9(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2f898(%rip), %rdi     # 0xad270
leaq 0x359e0(%rip), %rsi     # 0xb33bf
movl $0x8b, %edx
leaq 0x359ee(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1c8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x1d0(%rbp)
leaq -0x120(%rbp), %rsi
movslq -0x124(%rbp), %rax
addq %rax, %rsi
leaq -0x130(%rbp), %rdi
leaq -0x1d0(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7da5e
leaq 0x35a39(%rip), %rdi     # 0xb3471
movb $0x0, %al
callq 0x4060
leaq 0x2f82a(%rip), %rdi     # 0xad270
leaq 0x35972(%rip), %rsi     # 0xb33bf
movl $0x8c, %edx
leaq 0x35980(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1d0(%rbp), %rax
cmpq -0x1d0(%rbp), %rax
je 0x7da9b
leaq 0x35a2e(%rip), %rdi     # 0xb34a3
movb $0x0, %al
callq 0x4060
leaq 0x2f7ed(%rip), %rdi     # 0xad270
leaq 0x35935(%rip), %rsi     # 0xb33bf
movl $0x8c, %edx
leaq 0x35943(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1d0(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x130(%rbp), %rax
leaq -0x120(%rbp), %rcx
subq %rcx, %rax
addq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rcx
subq -0x30(%rbp), %rcx
cmpq %rcx, %rax
jbe 0x7db01
leaq 0x35a10(%rip), %rdi     # 0xb34eb
movb $0x0, %al
callq 0x4060
leaq 0x2f787(%rip), %rdi     # 0xad270
leaq 0x358cf(%rip), %rsi     # 0xb33bf
movl $0x8f, %edx
leaq 0x358dd(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rcx
subq -0x30(%rbp), %rcx
subq -0x28(%rbp), %rcx
cmpq %rcx, %rax
jbe 0x7db47
leaq 0x35a0d(%rip), %rdi     # 0xb352e
movb $0x0, %al
callq 0x4060
leaq 0x2f741(%rip), %rdi     # 0xad270
leaq 0x35889(%rip), %rsi     # 0xb33bf
movl $0x90, %edx
leaq 0x35897(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
shlq %rax
movq -0x8(%rbp), %rcx
addq 0x60(%rcx), %rax
movq -0x8(%rbp), %rcx
addq 0x70(%rcx), %rax
movq -0x8(%rbp), %rcx
addq 0x98(%rcx), %rax
shlq $0x2, %rax
movq %rax, -0x1d8(%rbp)
movq -0x28(%rbp), %rax
cmpq -0x1d8(%rbp), %rax
jbe 0x7db98
movq -0x28(%rbp), %rax
addq $0x3, %rax
andq $-0x4, %rax
movq %rax, -0x1d8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
jne 0x7dba8
jmp 0x7dbc7
leaq 0x354b1(%rip), %rdi     # 0xb3060
leaq 0x35809(%rip), %rsi     # 0xb33bf
movl $0x99, %edx
leaq 0x35817(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1d8(%rbp), %rdi
addq -0x20(%rbp), %rdi
callq 0x44d0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0xc8(%rax)
movq -0x8(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
jne 0x7dc20
leaq 0x354df(%rip), %rdi     # 0xb30d9
movb $0x0, %al
callq 0x4060
leaq 0x2f668(%rip), %rdi     # 0xad270
leaq 0x357b0(%rip), %rsi     # 0xb33bf
movl $0x9b, %edx
leaq 0x357be(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x8(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movq -0x8(%rbp), %rcx
movq 0xc8(%rcx), %rcx
addq -0x28(%rbp), %rcx
callq *%rax
cmpl $0x0, %eax
jne 0x7dc7e
leaq 0x35924(%rip), %rdi     # 0xb357c
movb $0x0, %al
callq 0x4060
leaq 0x2f60a(%rip), %rdi     # 0xad270
leaq 0x35752(%rip), %rsi     # 0xb33bf
movl $0x9d, %edx
leaq 0x35760(%rip), %rcx     # 0xb33d9
callq 0x4270
cmpq $0x0, -0x20(%rbp)
jbe 0x7dd04
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rsi
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rdx
addq -0x28(%rbp), %rdx
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rcx
addq -0x1d8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %r8
addq -0x1d8(%rbp), %r8
addq -0x20(%rbp), %r8
callq 0x85d00
cmpl $0x0, %eax
jne 0x7dd02
leaq 0x358fa(%rip), %rdi     # 0xb35d6
movb $0x0, %al
callq 0x4060
leaq 0x2f586(%rip), %rdi     # 0xad270
leaq 0x356ce(%rip), %rsi     # 0xb33bf
movl $0xa0, %edx
leaq 0x356dc(%rip), %rcx     # 0xb33d9
callq 0x4270
jmp 0x7dd04
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
shlq %rax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x58(%rax)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x60(%rax), %rax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x68(%rax)
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x70(%rax), %rax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rax
addq -0x1d8(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x8(%rbp), %rax
movq 0xc8(%rax), %rax
addq -0x1d8(%rbp), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movl $0xffffffff, -0x1ec(%rbp) # imm = 0xFFFFFFFF
movq $-0x1, -0x1f8(%rbp)
movq $0x0, -0x200(%rbp)
movq -0x200(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x50(%rcx), %rax
jae 0x7e028
movl $0x0, -0x204(%rbp)
movq $0x0, -0x210(%rbp)
movq -0x1e8(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
leaq -0x210(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7de48
leaq 0x35846(%rip), %rdi     # 0xb3668
movb $0x0, %al
callq 0x4060
leaq 0x2f440(%rip), %rdi     # 0xad270
leaq 0x35588(%rip), %rsi     # 0xb33bf
movl $0xae, %edx
leaq 0x35596(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x210(%rbp), %rax
movq -0x210(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7de8a
leaq 0x35670(%rip), %rdi     # 0xb34d4
movb $0x0, %al
callq 0x4060
leaq 0x2f3fe(%rip), %rdi     # 0xad270
leaq 0x35546(%rip), %rsi     # 0xb33bf
movl $0xae, %edx
leaq 0x35554(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x210(%rbp), %rax
movl %eax, -0x204(%rbp)
movl -0x204(%rbp), %eax
addl $0x1, %eax
addl -0x1ec(%rbp), %eax
movl %eax, -0x1ec(%rbp)
movl -0x1ec(%rbp), %edx
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq -0x200(%rbp), %rcx
shlq %rcx
movl %edx, (%rax,%rcx,4)
movq -0x1e0(%rbp), %rax
cmpq -0x1e8(%rbp), %rax
jb 0x7df04
leaq 0x357b7(%rip), %rdi     # 0xb3695
movb $0x0, %al
callq 0x4060
leaq 0x2f384(%rip), %rdi     # 0xad270
leaq 0x354cc(%rip), %rsi     # 0xb33bf
movl $0xb2, %edx
leaq 0x354da(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1e0(%rbp), %rax
movzbl (%rax), %eax
sarl $0x7, %eax
movb %al, -0x211(%rbp)
movq $0x0, -0x220(%rbp)
movq -0x1e8(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
leaq -0x220(%rbp), %rdx
movl $0x1, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7df73
leaq 0x3575e(%rip), %rdi     # 0xb36ab
movb $0x0, %al
callq 0x4060
leaq 0x2f315(%rip), %rdi     # 0xad270
leaq 0x3545d(%rip), %rsi     # 0xb33bf
movl $0xb5, %edx
leaq 0x3546b(%rip), %rcx     # 0xb33d9
callq 0x4270
cmpb $0x0, -0x211(%rbp)
jne 0x7df97
movq -0x220(%rbp), %rax
addq $0x1, %rax
addq -0x1f8(%rbp), %rax
movq %rax, -0x1f8(%rbp)
jmp 0x7dfb0
movq -0x1f8(%rbp), %rax
addq $0x1, %rax
subq -0x220(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
movq -0x1f8(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7dff2
leaq 0x3571e(%rip), %rdi     # 0xb36ea
movb $0x0, %al
callq 0x4060
leaq 0x2f296(%rip), %rdi     # 0xad270
leaq 0x353de(%rip), %rsi     # 0xb33bf
movl $0xba, %edx
leaq 0x353ec(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x1f8(%rbp), %rax
movl %eax, %edx
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq -0x200(%rbp), %rcx
shlq %rcx
movl %edx, 0x4(%rax,%rcx,4)
movq -0x200(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x200(%rbp)
jmp 0x7ddd0
movl $0xffffffff, -0x224(%rbp) # imm = 0xFFFFFFFF
movq $0x0, -0x230(%rbp)
movq -0x230(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x60(%rcx), %rax
jae 0x7e148
movl $0x0, -0x234(%rbp)
movq $0x0, -0x240(%rbp)
movq -0x1e8(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
leaq -0x240(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7e0b5
leaq 0x355d9(%rip), %rdi     # 0xb3668
movb $0x0, %al
callq 0x4060
leaq 0x2f1d3(%rip), %rdi     # 0xad270
leaq 0x3531b(%rip), %rsi     # 0xb33bf
movl $0xbd, %edx
leaq 0x35329(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x240(%rbp), %rax
movq -0x240(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7e0f7
leaq 0x35403(%rip), %rdi     # 0xb34d4
movb $0x0, %al
callq 0x4060
leaq 0x2f191(%rip), %rdi     # 0xad270
leaq 0x352d9(%rip), %rsi     # 0xb33bf
movl $0xbd, %edx
leaq 0x352e7(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x240(%rbp), %rax
movl %eax, -0x234(%rbp)
movl -0x234(%rbp), %eax
addl $0x1, %eax
addl -0x224(%rbp), %eax
movl %eax, -0x224(%rbp)
movl -0x224(%rbp), %edx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x230(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x230(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x230(%rbp)
jmp 0x7e03d
movq $0x0, -0x248(%rbp)
movq -0x248(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x70(%rcx), %rax
jae 0x7e235
movq $0x0, -0x250(%rbp)
movq -0x1e8(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
leaq -0x250(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7e1c1
leaq 0x354cd(%rip), %rdi     # 0xb3668
movb $0x0, %al
callq 0x4060
leaq 0x2f0c7(%rip), %rdi     # 0xad270
leaq 0x3520f(%rip), %rsi     # 0xb33bf
movl $0xbf, %edx
leaq 0x3521d(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x250(%rbp), %rax
movq -0x250(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7e203
leaq 0x352f7(%rip), %rdi     # 0xb34d4
movb $0x0, %al
callq 0x4060
leaq 0x2f085(%rip), %rdi     # 0xad270
leaq 0x351cd(%rip), %rsi     # 0xb33bf
movl $0xbf, %edx
leaq 0x351db(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x250(%rbp), %rax
movl %eax, %edx
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rax
movq -0x248(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x248(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x248(%rbp)
jmp 0x7e153
movl $0xffffffff, -0x254(%rbp) # imm = 0xFFFFFFFF
movq $0x0, -0x260(%rbp)
movq -0x260(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x98(%rcx), %rax
jae 0x7e35b
movl $0x0, -0x264(%rbp)
movq $0x0, -0x270(%rbp)
movq -0x1e8(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
leaq -0x270(%rbp), %rdx
xorl %ecx, %ecx
callq 0x85a10
cmpl $0x0, %eax
jne 0x7e2c5
leaq 0x353c9(%rip), %rdi     # 0xb3668
movb $0x0, %al
callq 0x4060
leaq 0x2efc3(%rip), %rdi     # 0xad270
leaq 0x3510b(%rip), %rsi     # 0xb33bf
movl $0xc1, %edx
leaq 0x35119(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x270(%rbp), %rax
movq -0x270(%rbp), %rcx
movl %ecx, %ecx
cmpq %rcx, %rax
je 0x7e307
leaq 0x351f3(%rip), %rdi     # 0xb34d4
movb $0x0, %al
callq 0x4060
leaq 0x2ef81(%rip), %rdi     # 0xad270
leaq 0x350c9(%rip), %rsi     # 0xb33bf
movl $0xc1, %edx
leaq 0x350d7(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x270(%rbp), %rax
movl %eax, -0x264(%rbp)
movl -0x264(%rbp), %eax
addl $0x1, %eax
addl -0x254(%rbp), %eax
movl %eax, -0x254(%rbp)
movl -0x254(%rbp), %edx
movq -0x8(%rbp), %rax
movq 0x90(%rax), %rax
movq -0x260(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x260(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x260(%rbp)
jmp 0x7e24a
movq -0x1e0(%rbp), %rax
cmpq -0x1e8(%rbp), %rax
je 0x7e398
leaq 0x353a3(%rip), %rdi     # 0xb3715
movb $0x0, %al
callq 0x4060
leaq 0x2eef0(%rip), %rdi     # 0xad270
leaq 0x35038(%rip), %rsi     # 0xb33bf
movl $0xc2, %edx
leaq 0x35046(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x30(%rbp), %rax
addq -0x28(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x8(%rbp), %rdi
addq $0xd0, %rdi
movq -0x10(%rbp), %rsi
movq -0x278(%rbp), %rdx
movq -0x278(%rbp), %rcx
addq -0x38(%rbp), %rcx
callq 0x86680
movq -0x8(%rbp), %rcx
addq $0xd0, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0xb8(%rax)
movq -0x10(%rbp), %rax
cmpq $0x10, 0x8(%rax)
jae 0x7e41b
leaq 0x35337(%rip), %rdi     # 0xb372c
movb $0x0, %al
callq 0x4060
leaq 0x2ee6d(%rip), %rdi     # 0xad270
leaq 0x34fb5(%rip), %rsi     # 0xb33bf
movl $0xcb, %edx
leaq 0x34fc3(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rsi
subq $0x4, %rsi
subq $0xc, %rsi
leaq -0x290(%rbp), %rdx
leaq -0x290(%rbp), %rcx
addq $0x4, %rcx
addq $0xc, %rcx
callq *%rax
cmpl $0x0, %eax
jne 0x7e481
leaq 0x352ff(%rip), %rdi     # 0xb375a
movb $0x0, %al
callq 0x4060
leaq 0x2ee07(%rip), %rdi     # 0xad270
leaq 0x34f4f(%rip), %rsi     # 0xb33bf
movl $0xcd, %edx
leaq 0x34f5d(%rip), %rcx     # 0xb33d9
callq 0x4270
movq 0x68118(%rip), %rdi     # 0xe65a0
leaq -0x290(%rbp), %rsi
addq $0x4, %rsi
movl $0xc, %edx
callq 0x4190
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je 0x7e4d2
leaq 0x35310(%rip), %rdi     # 0xb37bc
movb $0x0, %al
callq 0x4060
leaq 0x2edb6(%rip), %rdi     # 0xad270
leaq 0x34efe(%rip), %rsi     # 0xb33bf
movl $0xce, %edx
leaq 0x34f0c(%rip), %rcx     # 0xb33d9
callq 0x4270
leaq -0x290(%rbp), %rdi
callq 0x7e5b0
movl %eax, -0x294(%rbp)
movq -0x8(%rbp), %rax
movq 0xf8(%rax), %rax
addq $0x10, %rax
addq -0x38(%rbp), %rax
movl -0x294(%rbp), %ecx
addq %rcx, %rax
movq -0x10(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jbe 0x7e537
leaq 0x352df(%rip), %rdi     # 0xb37f0
movb $0x0, %al
callq 0x4060
leaq 0x2ed51(%rip), %rdi     # 0xad270
leaq 0x34e99(%rip), %rsi     # 0xb33bf
movl $0xd1, %edx
leaq 0x34ea7(%rip), %rcx     # 0xb33d9
callq 0x4270
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x294(%rbp), %ecx
subq %rcx, %rax
subq $0x4, %rax
subq $0xc, %rax
movq %rax, -0x2a0(%rbp)
movq -0x8(%rbp), %rdi
addq $0x100, %rdi            # imm = 0x100
movq -0x10(%rbp), %rsi
movq -0x2a0(%rbp), %rdx
movq -0x2a0(%rbp), %rcx
movl -0x294(%rbp), %eax
addq %rax, %rcx
callq 0x86680
movq -0x8(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movq -0x8(%rbp), %rax
movq %rcx, 0xc0(%rax)
movb $0x1, %al
andb $0x1, %al
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
nopw %cs:(%rax,%rax)