Function at 0x1006ea40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ed604
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x598], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x614], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x59c], 0
mov edi, dword [ecx]
mov dword [ebp - 0x5c8], eax
mov dword [eax + 0x34], 2
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x594], edi
mov dword [eax + 0x38], 2
lea eax, [ebp - 0x158]
mov ecx, dword [ebp - 0x5c8]
push eax
call fcn.100749e0
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x110]
push 0
push dword [ebp - 0x13c]
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x134]
push dword [ebp - 0x140]
mov dword [ebp - 0x5e4], eax
call fcn.100dfba0
mov esi, eax
lea edx, [edi + 0x468]
mov eax, dword [esi]
lea ecx, [esi + 0x14]
mov dword [edi + 0x454], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x458], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x45c], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x460], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x464], eax
cmp edx, ecx
je 0x1006eb52
mov eax, dword [ecx]
mov dword [ecx], 0
mov ecx, dword [edx]
mov dword [ebp - 4], 0
mov dword [edx], eax
test ecx, ecx
je 0x1006eb52
push ecx
call fcn.100de900
add esp, 4
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x2c]
mov dword [edi + 0x46c], eax
lea edx, [edi + 0x480]
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x470], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x474], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x478], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x47c], eax
cmp edx, ecx
je 0x1006ebac
mov eax, dword [ecx]
mov dword [ecx], 0
mov ecx, dword [edx]
mov dword [ebp - 4], 1
mov dword [edx], eax
test ecx, ecx
je 0x1006ebac
push ecx
call fcn.100de900
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [edi + 0x484], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x488], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x48c], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x490], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x494], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x498], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x49c], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4a0], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x4a4], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x4a8], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 4], 2
test eax, eax
je 0x1006ec20
push eax
call fcn.100de900
add esp, 4
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 4], 3
test eax, eax
je 0x1006ec3a
push eax
call fcn.100de900
add esp, 4
mov eax, dword [edi + 0x244]
xor esi, esi
mov edi, dword [edi + 0x240]
mov dword [ebp - 0x588], eax
test eax, eax
je 0x1006ec8e
mov ecx, dword [ebp - 0x594]
nop dword [eax + eax]
mov eax, dword [ecx + 0x250]
imul eax, esi
add eax, dword [ecx + 0x254]
test edi, edi
je 0x1006ec85
push edi
push 1
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x594]
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x588]
jb 0x1006ec60
mov edi, dword [ebp - 0x594]
xor esi, esi
cmp dword [edi + 0x440], esi
jbe 0x1006ecd8
mov ecx, dword [edi + 0x43c]
mov edx, dword [edi + 0x44c]
xor eax, eax
imul edx, esi
add edx, dword [edi + 0x450]
test ecx, ecx
je 0x1006eccf
nop dword [eax]
mov byte [eax + edx], 0
inc eax
mov ecx, dword [edi + 0x43c]
cmp eax, ecx
jb 0x1006ecc0
inc esi
cmp esi, dword [edi + 0x440]
jb 0x1006eca4
mov eax, dword [ebp - 0x598]
mov edi, dword [eax]
mov eax, dword [edi + 0xbc4]
mov esi, dword [edi + 0xbc0]
mov dword [ebp - 0x588], eax
cmp esi, eax
je 0x1006ed15
mov ecx, dword [esi]
test ecx, ecx
je 0x1006ed08
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x588]
add esi, 4
cmp esi, eax
jne 0x1006ecf6
mov esi, dword [edi + 0xbc0]
mov dword [edi + 0xbc4], esi
push 0x4c
mov dword [ebp - 4], 4
call fcn.101e8bc4
add esp, 4
mov dword [ebp - 0x584], eax
test eax, eax
je 0x1006ee89
mov esi, dword [ebp - 0x120]
lea edi, [eax + 4]
mov ecx, edi
mov dword [eax], vtable.jxl::ACImageT_int_.0
call fcn.10006fa0
push 4
push esi
push 0x10000
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 6
call fcn.10199ce0
push 4
push esi
push 0x10000
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.10199ce0
push 4
push esi
push 0x10000
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.10199ce0
lea eax, [ebp - 0x100]
mov ecx, eax
mov dword [ebp - 0x58c], eax
lea eax, [ebp - 0xf8]
sub ecx, edi
sub eax, edi
mov dword [ebp - 0x5d0], ecx
mov dword [ebp - 0x588], eax
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0xf4]
sub edx, edi
sub eax, edi
mov dword [ebp - 0x5f4], edx
mov dword [ebp - 0x5e8], eax
lea esi, [edi + 4]
lea eax, [ebp - 0xf0]
sub eax, edi
mov edi, 3
mov dword [ebp - 0x5cc], eax
mov eax, dword [ebp - 0x58c]
mov eax, dword [eax]
mov dword [esi - 4], eax
mov eax, dword [ecx + esi]
mov ecx, dword [ebp - 0x5cc]
mov dword [esi], eax
add ecx, esi
mov eax, dword [edx + esi]
lea edx, [esi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x588]
mov eax, dword [eax + esi]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5e8]
mov eax, dword [eax + esi]
mov dword [esi + 0xc], eax
cmp edx, ecx
je 0x1006ee45
mov eax, dword [ecx]
mov dword [ecx], 0
mov ecx, dword [edx]
mov byte [ebp - 4], 9
mov dword [edx], eax
test ecx, ecx
je 0x1006ee45
push ecx
call fcn.100de900
add esp, 4
mov eax, dword [ebp - 0x58c]
add esi, 0x18
mov ecx, dword [ebp - 0x5d0]
add eax, 0x18
mov edx, dword [ebp - 0x5f4]
mov dword [ebp - 0x58c], eax
sub edi, 1
jne 0x1006edf1
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xa
push eax
call fcn.101e8aaf
mov eax, dword [ebp - 0x584]
jmp 0x1006ee8b
xor eax, eax
mov ecx, dword [ebp - 0x598]
mov byte [ebp - 4], 4
mov dword [ebp - 0x584], eax
mov dword [ebp - 0x59c], 1
mov ecx, dword [ecx]
add ecx, 0xbc0
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x1006eebd
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x1006eef8
lea eax, [ebp - 0x584]
push eax
push edx
call fcn.1003e020
mov esi, dword [ebp - 0x584]
test esi, esi
je 0x1006eef8
push fcn.100075e0
push 3
push 0x18
lea eax, [esi + 4]
mov dword [ebp - 4], 0xc
push eax
call fcn.101e8aaf
push 0x4c
push esi
call fcn.101e8bf4
add esp, 8
push 0xcc
lea eax, [ebp - 0x364]
mov dword [ebp - 0x36c], 0
push 0
push eax
mov dword [ebp - 0x368], 0
call sub.VCRUNTIME140.dll_memset
push 0x6c
lea eax, [ebp - 0x298]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xcc
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x85
mov byte [ebp - 0x15c], 0
lea esi, [ebp - 0x36c]
lea edi, [ebp - 0x580]
rep movsd dword es:[edi], dword [esi]
push 0x2377
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x5c4], 0
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 0x5bc], 0
call fcn.101e8bc4
add esp, 0x28
test eax, eax
je 0x1006fb1f
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [ebp - 0x584], edi
mov dword [edi - 4], eax
lea eax, [edi + 0x2354]
mov dword [ebp - 0x5bc], eax
lea eax, [ebp - 0x5c4]
mov dword [ebp - 0x5c4], edi
mov dword [ebp - 0x5c0], edi
mov dword [ebp - 0x590], eax
mov eax, 0x11
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x5c4]
mov dword [ebp - 0x59c], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xf
mov ecx, 0x85
lea esi, [ebp - 0x36c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x584]
cmp dword [edi], 7
jne 0x1006f04b
cmp dword [edi + 0xd4], 0
je 0x1006f04b
push 0xc
call fcn.101e8bc4
add esp, 4
mov dword [ebp - 0x5f0], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x1006f039
push dword [ebp - 0x298]
mov ecx, eax
call fcn.10031790
jmp 0x1006f03b
xor eax, eax
mov dword [edi + 0xd4], eax
mov eax, dword [ebp - 0x59c]
mov byte [ebp - 4], 0xf
add edi, 0x214
sub eax, 1
mov dword [ebp - 0x584], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x59c], eax
jne 0x1006eff1
mov dword [ebp - 0x5c0], edi
cmp dword [ebp - 0x36c], 7
mov byte [ebp - 4], 0x12
jne 0x1006f08b
mov edx, dword [ebp - 0x298]
test edx, edx
je 0x1006f08b
push 1
mov ecx, edx
call fcn.1006d530
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
mov eax, 0x38e38e39
imul ecx
mov eax, dword [ebp - 0x5c8]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x18]
add ecx, edx
cmp ecx, 1
jne 0x1006f0be
mov dword [ebp - 0x18], 0
xor eax, eax
jmp 0x1006f0e7
test eax, eax
je 0x10070a1c
cmp eax, 2
mov eax, 2
jne 0x1006f0e0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
jmp 0x1006f0ee
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0
movq xmm0, qword [ebp - 0x1c]
push 0x300
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb0], eax
call fcn.101e8bc4
mov esi, eax
push 0x300
push 0
push esi
lea edi, [esi + 0x300]
mov dword [ebp - 0x60c], esi
mov dword [ebp - 0x604], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x608], edi
movss xmm2, dword [0x101fede4]
lea edx, [esi + 0x40]
mov byte [ebp - 4], 0x13
xor edi, edi
mov dword [ebp - 0x584], edx
nop dword [eax]
mov eax, dword [ebp + edi - 0xb8]
movaps xmm1, xmm2
mov esi, dword [ebp + 0xc]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x4c]
mov esi, dword [esi + 0x34]
imul ecx, dword [eax + ecx*4 + 0xc], 0x10c
add esi, ecx
xor ecx, ecx
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp + edi - 0x34], xmm1
mov eax, dword [ecx + esi]
lea edx, [edx + 4]
mov dword [edx - 0x44], eax
mov eax, dword [ecx + esi + 4]
mov dword [edx - 0x24], eax
mov eax, dword [ecx + esi + 8]
mov dword [edx - 4], eax
mov eax, dword [esi + ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + ecx + 0x10]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + ecx + 0x14]
mov dword [edx + 0x5c], eax
mov eax, dword [esi + ecx + 0x18]
mov dword [edx + 0x7c], eax
mov eax, dword [esi + ecx + 0x1c]
add ecx, 0x20
mov dword [edx + 0x9c], eax
cmp ecx, 0x100
jb 0x1006f183
mov edx, dword [ebp - 0x584]
add edi, 4
add edx, 0x100
mov dword [ebp - 0x584], edx
cmp edi, 0xc
jb 0x1006f150
mov eax, dword [ebp - 0x594]
lea ecx, [ebp - 0x34]
add eax, 0x260
push ecx
push eax
call fcn.100a5c90
movss xmm1, dword [0x101f4728]
movaps xmm0, xmm1
divss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm1
divss xmm0, dword [ebp - 0x30]
divss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm1
push 0xd0
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 0x14
push 0
push eax
mov dword [ebp - 0x36c], 7
call sub.VCRUNTIME140.dll_memset
push 0x6c
lea eax, [ebp - 0x298]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xcc
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xc
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x59c], 6
call fcn.101e8bc4
mov esi, eax
add esp, 0x30
test esi, esi
je 0x1006f2c1
lea eax, [ebp - 0x60c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov edi, esi
mov dword [esi + 8], 0
mov dword [ebp - 0x298], esi
cmp esi, eax
je 0x1006f316
jmp 0x1006f2cb
xor edi, edi
xor esi, esi
mov dword [ebp - 0x298], edi
mov ecx, dword [esi]
mov edx, 0xc0
mov eax, dword [esi + 8]
sub eax, ecx
mov dword [ebp - 0x584], ecx
sar eax, 2
cmp edx, eax
jbe 0x1006f2f4
push edx
mov ecx, esi
call fcn.10051e60
mov ecx, dword [esi]
mov dword [ebp - 0x584], ecx
push 0x300
push dword [ebp - 0x60c]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x584]
add esp, 0xc
add eax, 0x300
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x5c4]
lea eax, [ebp - 0x36c]
push eax
mov dword [ebp - 0x294], 0x3a008081
call fcn.1006bc30
cmp dword [ebp - 0x36c], 7
mov byte [ebp - 4], 0x13
jne 0x1006f39f
test edi, edi
je 0x1006f39f
mov ecx, dword [edi]
test ecx, ecx
je 0x1006f394
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x1006f376
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1006fb1f
mov ecx, esi
push edx
push ecx
call fcn.101e8bf4
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0xc
push edi
call fcn.101e8bf4
add esp, 8
push dword [ebp - 0x62c]
mov esi, dword [ebp - 0x594]
lea eax, [ebp - 0x5c4]
push eax
add esi, 0x260
push esi
call fcn.100a59d0
add esp, 0xc
lea ecx, [ebp - 0xfc]
push 0x10000
push 1
push esi
call fcn.101c0810
mov edx, dword [ebp - 0x594]
xor edi, edi
mov dword [ebp - 0x584], edi
movups xmm0, xmmword [eax]
movups xmmword [edx + 0x3e0], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + 0x3f0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edx + 0x400], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [edx + 0x410], xmm0
mov eax, dword [eax + 0x40]
mov dword [edx + 0x420], eax
movd xmm1, dword [edx + 0x400]
cvtdq2pd xmm1, xmm1
movd xmm2, dword [edx + 0x404]
movaps xmm0, xmm1
mulsd xmm0, qword [0x101feda0]
cvtdq2ps xmm2, xmm2
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x40c], xmm0
movsd xmm0, qword [0x101fedd8]
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x408], xmm0
divss xmm0, xmm2
mov eax, dword [edx + 0x420]
movss dword [edx + 0x410], xmm0
mulss xmm0, dword [eax + 0x18]
movss dword [edx + 0x3e0], xmm0
mulss xmm2, dword [edx + 0x40c]
mov eax, dword [edx + 0x420]
movaps xmm0, xmm2
mulss xmm0, dword [eax + 0x24]
movss dword [edx + 0x3f0], xmm0
movss xmm1, dword [edx + 0x410]
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x1c]
movss dword [edx + 0x3e4], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [eax + 0x28]
movss dword [edx + 0x3f4], xmm0
movss xmm0, dword [eax + 0x20]
mulss xmm0, xmm1
movss dword [edx + 0x3e8], xmm0
mulss xmm2, dword [eax + 0x2c]
movss dword [edx + 0x3f8], xmm2
cvttss2si esi, dword [edx + 0x408]
cmp dword [edx + 0x428], edi
jbe 0x1006f54a
mov ecx, dword [edx + 0x424]
nop word [eax + eax]
mov edx, dword [edx + 0x434]
mov eax, dword [ebp - 0x594]
imul edx, edi
add edx, dword [eax + 0x438]
xor eax, eax
test ecx, ecx
je 0x1006f535
mov edi, dword [ebp - 0x594]
mov dword [edx + eax*4], esi
inc eax
mov ecx, dword [edi + 0x424]
cmp eax, ecx
jb 0x1006f521
mov edi, dword [ebp - 0x584]
mov edx, dword [ebp - 0x594]
inc edi
mov dword [ebp - 0x584], edi
cmp edi, dword [edx + 0x428]
jb 0x1006f500
push 0x300
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
mov dword [ebp - 0x5a4], 0
call fcn.101e8bc4
push 0x300
push 0
push eax
lea esi, [eax + 0x300]
mov dword [ebp - 0x5ac], eax
mov dword [ebp - 0x5a4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x5a8], esi
mov edi, dword [ebp - 0x60c]
mov eax, 4
sub eax, edi
mov byte [ebp - 4], 0x15
mov edx, 0xfffffff8
mov dword [ebp - 0x588], eax
sub edx, edi
mov ecx, 8
lea esi, [edi + 0x104]
mov dword [ebp - 0x5f8], edx
mov dword [ebp - 0x5e8], esi
mov dword [ebp - 0x59c], ecx
nop word [eax + eax]
mov eax, esi
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x5b0], eax
add edi, ecx
mov dword [ebp - 0x584], 0x10
nop word [eax + eax]
mov eax, dword [eax - 4]
lea esi, [edx + edi]
shl eax, 0xb
cdq
idiv dword [edi - 8]
mov ecx, dword [ebp - 0x5ac]
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0x5ac]
mov eax, dword [eax]
shl eax, 0xb
cdq
idiv dword [edi - 4]
mov dword [esi + ecx + 4], eax
mov esi, dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0x5ac]
mov eax, dword [esi + 4]
shl eax, 0xb
cdq
idiv dword [edi]
mov edx, dword [ebp - 0x58c]
add dword [ebp - 0x58c], 0x10
mov dword [edx + ecx], eax
mov eax, dword [esi + 8]
add esi, 0x10
shl eax, 0xb
cdq
idiv dword [edi + 4]
mov ecx, dword [ebp - 0x588]
mov edx, dword [ebp - 0x5f8]
add ecx, edi
add ecx, dword [ebp - 0x5ac]
add edi, 0x10
sub dword [ebp - 0x584], 1
mov dword [ebp - 0x5b0], esi
mov dword [ecx], eax
mov eax, esi
jne 0x1006f600
mov ecx, dword [ebp - 0x59c]
mov esi, dword [ebp - 0x5e8]
add ecx, 0x100
mov edi, dword [ebp - 0x60c]
mov dword [ebp - 0x59c], ecx
cmp ecx, 0x308
jb 0x1006f5e0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xac]
mov edi, dword [ebp - 0x5e4]
mov esi, dword [ebp - 0x620]
push 4
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0xb8]
push edi
push esi
mov dword [ebp - 0x630], eax
call fcn.10199ce0
push 4
push edi
push esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x16
call fcn.10199ce0
push 4
push edi
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x17
call fcn.10199ce0
mov eax, dword [ebp - 0x594]
lea edi, [ebp - 0x5d8]
mov esi, dword [ebp - 0x5c8]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x5e0], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x5e0]
mov dword [ebp - 0x5dc], 2
mov ecx, eax
mov dword [ebp - 0x5b8], eax
cmp eax, edi
je 0x1006f767
mov edx, dword [esi + 0x24]
mov eax, dword [ecx]
cmp dword [esi + eax*4 + 0x20], edx
jne 0x1006f944
add ecx, 4
cmp ecx, edi
jne 0x1006f754
mov eax, dword [ebp - 0x598]
mov eax, dword [eax]
cmp byte [eax + 0xd38], 0
je 0x1006f944
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jne 0x1006f944
lea eax, [ebp - 0x5e0]
mov dword [ebp - 0x5e0], 0
lea ecx, [ebp - 0x5d8]
mov dword [ebp - 0x5dc], 2
mov dword [ebp - 0x5b8], eax
mov edi, eax
cmp eax, ecx
je 0x1006f944
mov edx, 0x46c
xorps xmm1, xmm1
mov ecx, dword [edi]
mov eax, 0x454
test ecx, ecx
mov dword [ebp - 0x5e8], ecx
mov dword [ebp - 0x5cc], 0x42a80000
cmovne eax, edx
mov dword [ebp - 0x5d0], 0x7f
mov edx, dword [ebp - 0x594]
add eax, edx
mov dword [ebp - 0x588], eax
movss xmm0, dword [edx + 0x498]
mulss xmm0, xmm1
test ecx, ecx
jne 0x1006f825
addss xmm0, dword [edx + 0x49c]
jmp 0x1006f82d
addss xmm0, dword [edx + 0x4a0]
movss dword [ebp - 0x5f4], xmm0
movss xmm0, dword [ecx*4 + 0x101fdc9c]
lea ecx, [ebp - 0x588]
mulss xmm0, dword [0x101f986c]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0x634]
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0x5e8]
mulss xmm0, dword [0x101fedac]
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x5ac]
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0x5cc]
mov dword [ebp - 0xc8], ecx
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0x5f4]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x59c]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x598]
movss dword [ebp - 0x59c], xmm0
mov eax, dword [eax + 4]
push str.FindCorrelation
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x1006f8fc
lea ecx, [ebp - 0x5b8]
mov dword [ebp - 0x5b8], fcn.100de9e0
mov dword [ebp - 0x5b4], ecx
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x5b8]
jmp 0x1006f903
lea edx, [ebp - 0xdc]
push edx
push 0x10040610
push eax
push 0
lea eax, [ebp - 0x584]
push eax
call fcn.100691b0
mov esi, dword [ebp - 0x584]
test esi, esi
jne 0x1006f9ef
add edi, 4
lea eax, [ebp - 0x5d8]
xorps xmm1, xmm1
mov edx, 0x46c
cmp edi, eax
jne 0x1006f7d7
mov esi, dword [ebp - 0x5c8]
lea ecx, [esi + 0x1c]
call fcn.10073f60
test al, al
jne 0x1006fb25
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0xac]
mov eax, 3
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x584], eax
xor esi, esi
test edi, edi
je 0x1006f9c1
nop dword [eax]
mov ecx, dword [ecx]
mov eax, esi
imul eax, dword [ebp - 0x9c]
add ecx, eax
test edx, edx
je 0x1006f9b0
lea eax, [edx*4]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0xa8]
add esp, 0xc
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x58c]
inc esi
cmp esi, edi
jb 0x1006f980
mov eax, dword [ebp - 0x584]
add ecx, 0x18
sub eax, 1
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x584], eax
jne 0x1006f977
mov esi, dword [ebp - 0x598]
mov eax, dword [esi]
mov eax, dword [eax + 0xbc0]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x1006fb2b
push str.RunOnPool_pool___0__map__ysize____ThreadPool::NoInit__process_row___FindCorrelation__
push esi
push 0x2e1
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x590]
push esi
push eax
call fcn.1000f820
mov edi, dword [ebp - 0x614]
add esp, 0x1c
mov dword [edi], esi
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x19
push eax
call fcn.101e8aaf
mov edx, dword [ebp - 0x5ac]
test edx, edx
je 0x1006fa90
mov ecx, dword [ebp - 0x5a4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1006fa68
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fb1f
push ecx
push edx
call fcn.101e8bf4
add esp, 8
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
mov dword [ebp - 0x5a4], 0
mov eax, dword [ebp - 0x60c]
test eax, eax
je 0x1006fab2
lea ecx, [eax + 0x300]
sub ecx, eax
sar ecx, 2
push ecx
push eax
lea ecx, [ebp - 0x60c]
call fcn.10075300
mov eax, dword [ebp - 0x5c4]
test eax, eax
je 0x10070756
lea ecx, [ebp - 0x5c4]
push ecx
push dword [ebp - 0x5c0]
push eax
call fcn.100107d0
mov ecx, dword [ebp - 0x5bc]
mov eax, 0xf6603d99
mov esi, dword [ebp - 0x5c4]
add esp, 0xc
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x214
mov eax, esi
cmp ecx, 0x1000
jb 0x1007074c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007074c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x598]
push fcn.10007640
push 0x10010b30
push 3
push 0xc
lea eax, [ebp - 0x64]
push eax
call fcn.101e8a3b
push 0x800
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
call fcn.100397e0
push 0x800
lea ecx, [ebp - 0x58]
call fcn.100397e0
push 0x800
lea ecx, [ebp - 0x4c]
call fcn.100397e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x10]
mov dword [ebp - 0x1c], 1
mov ecx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 2
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x588], eax
cmp ecx, edx
je 0x100702b9
mov dword [ebp - 0x640], 0x7ff
jmp 0x1006fbc6
mov esi, dword [ebp - 0x598]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5fc], edi
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x1006fc85
cmp edi, eax
je 0x1006fc85
mov eax, dword [esi]
push edi
mov eax, dword [eax + 0xbc0]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x18]
lea esi, [edi + edi*2]
cmp dword [ebp + esi*8 - 0xac], 0
je 0x1006fc67
cmp dword [ebp + esi*8 - 0xa8], 0
mov dword [ebp - 0x5e8], 0
jbe 0x1006fc67
mov edi, dword [ebp - 0x5e8]
mov ecx, dword [ebp + esi*8 - 0x9c]
mov eax, dword [ebp + esi*8 - 0xac]
imul ecx, edi
shl eax, 2
push eax
push 0
add ecx, dword [ebp + esi*8 - 0x98]
push ecx
call sub.VCRUNTIME140.dll_memset
inc edi
add esp, 0xc
cmp edi, dword [ebp + esi*8 - 0xa8]
jb 0x1006fc30
mov edi, dword [ebp - 0x5fc]
lea eax, [edi + edi*2]
mov dword [ebp + edi*4 - 0x28], 1
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [eax + 0x1000], 1
jmp 0x1007029f
mov edx, dword [ebp - 0x5c8]
mov ecx, dword [edx + edi*4 + 0x20]
movzx esi, byte [edx + 0x2c]
movzx eax, byte [ecx + 0x101f4d8c]
sub esi, eax
movzx eax, byte [ecx + 0x101f4d90]
movzx ecx, byte [edx + 0x2d]
sub ecx, eax
mov dword [ebp - 0x638], esi
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x654], ecx
test edi, edi
jne 0x1006fcd9
lea ecx, [eax + 0x464]
mov dword [ebp - 0x5f4], ecx
lea ecx, [eax + 0x468]
mov dword [ebp - 0x5d0], ecx
jmp 0x1006fcf0
lea ecx, [eax + 0x47c]
add eax, 0x480
mov dword [ebp - 0x5f4], ecx
mov dword [ebp - 0x5d0], eax
xor eax, eax
mov dword [ebp - 0x584], eax
cmp dword [ebp - 0x120], eax
jbe 0x1007029f
xor edx, edx
mov dword [ebp - 0x61c], 0
div dword [ebp - 0x130]
push 0
push dword [ebp - 0x584]
mov esi, eax
mov dword [ebp - 0x650], edx
mov eax, dword [ebp - 0x598]
lea edx, [ebp - 0x5dc]
push edi
push edx
mov eax, dword [eax]
mov eax, dword [eax + 0xbc0]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
shl esi, 5
mov dword [ebp - 0x5b0], esi
mov eax, dword [eax]
mov dword [ebp - 0x64c], eax
cmp esi, dword [ebp - 0x5e4]
jae 0x10070286
lea eax, [esi + 0x20]
mov dword [ebp - 0x590], eax
nop dword [eax + eax]
cmp esi, eax
jae 0x10070286
mov ecx, dword [ebp - 0x654]
shr esi, cl
mov eax, esi
shl eax, cl
cmp eax, dword [ebp - 0x5b0]
jne 0x10070267
mov eax, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x634]
mov eax, dword [eax + edi*4]
mov edx, dword [ecx + 0x4c]
lea eax, [eax + eax*8]
mov ecx, dword [edx + eax*4 + 0x10]
imul ecx, esi
imul esi, dword [ebp - 0x9c]
shl ecx, 7
add ecx, dword [edx + eax*4 + 0x18]
mov eax, dword [ebp - 0x630]
mov dword [ebp - 0x610], ecx
mov eax, dword [eax + 4]
lea ecx, [eax + eax*8]
lea eax, [eax + eax*8]
mov eax, dword [edx + eax*4 + 0x10]
imul eax, dword [ebp - 0x5b0]
shl eax, 7
add eax, dword [edx + ecx*4 + 0x18]
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ebp - 0x650]
mov dword [ebp - 0x5cc], eax
lea eax, [edi + edi*2]
mov eax, dword [ebp + eax*8 - 0x98]
add eax, esi
shl edx, 5
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x5b0]
shr eax, 3
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x624], edx
add eax, dword [ecx]
mov dword [ebp - 0x648], eax
cmp edx, dword [ebp - 0x620]
jae 0x10070267
mov ecx, dword [ebp - 0x64c]
lea esi, [edx + 0x20]
mov eax, dword [ebp - 0x61c]
add ecx, 8
mov edi, dword [ebp - 0x610]
mov dword [ebp - 0x5f0], esi
lea eax, [ecx + eax*4]
mov dword [ebp - 0x58c], eax
lea ecx, [edi + 0x10]
mov eax, edx
shl eax, 7
add ecx, eax
mov dword [ebp - 0x59c], ecx
mov ecx, dword [ebp - 0x5cc]
add ecx, 0x30
add eax, ecx
mov dword [ebp - 0x5f8], eax
nop dword [eax]
cmp edx, esi
jae 0x10070261
mov ecx, dword [ebp - 0x638]
mov esi, edx
shr esi, cl
mov eax, esi
shl eax, cl
cmp eax, edx
jne 0x1007023a
mov eax, esi
shl eax, 6
cmp dword [ebp - 0x63c], 2
mov dword [ebp - 0x600], eax
movsx edi, word [edi + eax*2]
je 0x1006fecf
mov ecx, dword [ebp - 0x5fc]
mov eax, 0x400
shl ecx, 8
add ecx, dword [ebp - 0x60c]
cdq
idiv dword [ecx]
add edi, eax
mov edx, dword [ebp - 0x5fc]
lea ecx, [edi + 0x400]
cmp ecx, 0x7ff
movd xmm0, edi
cvtdq2ps xmm0, xmm0
cmova ecx, dword [ebp - 0x640]
inc dword [ebp + edx*4 - 0x28]
lea eax, [edx + edx*2]
mov eax, dword [ebp + eax*4 - 0x64]
mulss xmm0, dword [ebp + edx*4 - 0x40]
inc dword [eax + ecx*4]
mov eax, dword [ebp - 0x644]
movss dword [eax + esi*4], xmm0
cmp edx, 1
je 0x100701c3
mov eax, dword [ebp - 0x598]
mov eax, dword [eax]
cmp byte [eax + 0xd38], 0
je 0x100701c3
mov edx, dword [ebp - 0x5c8]
lea ecx, [ebp - 0x5b8]
lea edi, [ebp - 0x5b0]
mov dword [ebp - 0x5b8], 0
mov eax, ecx
mov dword [ebp - 0x5b4], 2
cmp eax, edi
je 0x1006ff73
mov esi, dword [edx + 0x24]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp dword [edx + eax*4 + 0x20], esi
jne 0x100701c3
add ecx, 4
cmp ecx, edi
jne 0x1006ff60
mov eax, dword [ebp - 0x624]
mov ecx, dword [ebp - 0x648]
shr eax, 3
mov edi, dword [ebp - 0x59c]
mov dword [ebp - 0x5e8], 8
movsx ecx, byte [eax + ecx]
mov eax, 0x30c30c31
shl ecx, 0xb
imul ecx
mov eax, dword [ebp - 0x5f8]
mov ecx, dword [ebp - 0x5fc]
sar edx, 4
mov esi, edx
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp - 0x58c]
shr esi, 0x1f
add esi, edx
shl ecx, 8
mov edx, dword [ebp - 0x5ac]
add edx, 8
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp - 0x5cc]
add edx, ecx
sub eax, dword [ebp - 0x610]
mov dword [ebp - 0x618], edx
mov dword [ebp - 0x600], eax
nop
mov ecx, dword [edx - 8]
imul ecx, esi
mov eax, dword [ebp - 0x5d8]
movsx eax, word [eax - 0x30]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi - 0x10]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx - 8], eax
mov ecx, dword [edx - 4]
imul ecx, esi
mov eax, dword [ebp - 0x600]
movsx eax, word [edi + eax]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx - 4], eax
mov ecx, dword [edx]
imul ecx, esi
mov eax, dword [ebp - 0x5d8]
movsx eax, word [eax - 0x10]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi + 0x10]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx], eax
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x5d8]
imul ecx, esi
movsx eax, word [eax]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi + 0x20]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x5d8]
imul ecx, esi
movsx eax, word [eax + 0x10]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi + 0x30]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx + 8], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x5d8]
imul ecx, esi
movsx eax, word [eax + 0x20]
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
movsx eax, word [edi + 0x40]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx + 0xc], eax
mov ecx, dword [edx + 0x10]
imul ecx, esi
add ecx, 0x400
mov edx, dword [ebp - 0x5d8]
lea edi, [edi + 2]
sar ecx, 0xb
add dword [ebp - 0x5d8], 2
movsx eax, word [edx + 0x30]
imul ecx, eax
movsx eax, word [edi + 0x4e]
add ecx, 0x400
sar ecx, 0xb
sub eax, ecx
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x618]
movsx eax, word [edx + 0x40]
movsx edx, word [edi + 0x5e]
mov ecx, dword [ecx + 0x14]
imul ecx, esi
add ecx, 0x400
sar ecx, 0xb
imul ecx, eax
mov eax, dword [ebp - 0x5d4]
add ecx, 0x400
sar ecx, 0xb
sub edx, ecx
mov dword [eax + 0x14], edx
add eax, 0x20
mov edx, dword [ebp - 0x618]
add edx, 0x20
mov dword [ebp - 0x5d4], eax
sub dword [ebp - 0x5e8], 1
mov dword [ebp - 0x618], edx
jne 0x1006fff0
mov edi, dword [ebp - 0x610]
jmp 0x10070223
mov ecx, dword [ebp - 0x600]
mov esi, 8
mov edi, dword [ebp - 0x610]
add ecx, 0x10
mov edx, dword [ebp - 0x58c]
lea ecx, [edi + ecx*2]
movsx eax, word [ecx - 0x20]
lea ecx, [ecx + 2]
mov dword [edx - 8], eax
lea edx, [edx + 0x20]
movsx eax, word [ecx - 0x12]
mov dword [edx - 0x24], eax
movsx eax, word [ecx - 2]
mov dword [edx - 0x20], eax
movsx eax, word [ecx + 0xe]
mov dword [edx - 0x1c], eax
movsx eax, word [ecx + 0x1e]
mov dword [edx - 0x18], eax
movsx eax, word [ecx + 0x2e]
mov dword [edx - 0x14], eax
movsx eax, word [ecx + 0x3e]
mov dword [edx - 0x10], eax
movsx eax, word [ecx + 0x4e]
mov dword [edx - 0xc], eax
sub esi, 1
jne 0x100701e0
add dword [ebp - 0x61c], 0x40
add dword [ebp - 0x58c], 0x100
mov edx, dword [ebp - 0x624]
sub dword [ebp - 0x5f8], 0xffffff80
inc edx
sub dword [ebp - 0x59c], 0xffffff80
mov esi, dword [ebp - 0x5f0]
mov dword [ebp - 0x624], edx
cmp edx, dword [ebp - 0x620]
jb 0x1006fe80
mov edi, dword [ebp - 0x5fc]
mov esi, dword [ebp - 0x5b0]
mov eax, dword [ebp - 0x590]
inc esi
mov dword [ebp - 0x5b0], esi
cmp esi, dword [ebp - 0x5e4]
jb 0x1006fd70
mov eax, dword [ebp - 0x584]
inc eax
mov dword [ebp - 0x584], eax
cmp eax, dword [ebp - 0x120]
jb 0x1006fd04
mov eax, dword [ebp - 0x588]
lea ecx, [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x588], eax
cmp eax, ecx
jne 0x1006fbc0
mov eax, dword [ebp - 0x598]
xor ecx, ecx
mov dword [ebp - 0x584], ecx
mov eax, dword [eax]
lea edi, [ecx + 2]
mov dword [ebp - 0x5e4], eax
lea esi, [eax + 0x5a8]
mov dword [eax + 0x5e8], 1
lea eax, [ebp - 0x64]
sub eax, esi
mov dword [ebp - 0x590], eax
nop dword [eax]
mov edx, dword [ebp + ecx*4 - 0x28]
mov ecx, 0x1f
mov eax, dword [esi]
mov dword [esi + 4], eax
bsr eax, edx
mov dword [ebp - 0x588], 0
sub ecx, eax
mov dword [ebp - 0x5d0], 0x800
xor ecx, 0x1f
lea eax, [edx - 1]
test edx, eax
lea eax, [ecx + 1]
cmovne ecx, eax
mov eax, edx
sub ecx, 0xc
shr ecx, 1
cmp ecx, 2
cmova ecx, edi
xor edx, edx
mov dword [ebp - 0x600], ecx
mov edi, 0xfffffbff
inc ecx
div ecx
xor edx, edx
mov dword [ebp - 0x5e8], eax
mov dword [ebp - 0x5cc], edx
mov eax, dword [ebp - 0x590]
mov ecx, dword [ebp - 0x588]
mov eax, dword [eax + esi]
add ecx, dword [eax + edx]
mov dword [ebp - 0x588], ecx
cmp ecx, dword [ebp - 0x5e8]
jbe 0x100703c0
mov eax, dword [esi + 4]
mov dword [ebp - 0x5f0], edi
cmp eax, dword [esi + 8]
je 0x10070386
mov dword [eax], edi
add dword [esi + 4], 4
jmp 0x10070395
lea ecx, [ebp - 0x5f0]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
mov eax, dword [esi + 4]
xor edx, edx
sub eax, dword [esi]
mov ecx, dword [ebp - 0x584]
sar eax, 2
inc eax
imul eax, dword [ebp + ecx*4 - 0x28]
mov ecx, dword [ebp - 0x600]
inc ecx
div ecx
mov edx, dword [ebp - 0x5cc]
mov dword [ebp - 0x5e8], eax
mov ecx, dword [esi]
add edx, 4
inc edi
mov dword [ebp - 0x5cc], edx
sub dword [ebp - 0x5d0], 1
jne 0x10070350
mov eax, dword [esi + 4]
mov edi, 2
sub eax, ecx
add esi, 0xc
mov ecx, dword [ebp - 0x5e4]
sar eax, 2
inc eax
imul eax, dword [ecx + 0x5e8]
mov dword [ecx + 0x5e8], eax
mov ecx, dword [ebp - 0x584]
inc ecx
mov dword [ebp - 0x584], ecx
cmp ecx, 3
jb 0x100702f0
mov eax, dword [ebp - 0x598]
mov esi, dword [ebp - 0x5e4]
mov byte [ebp - 0x59d], 0
mov edx, dword [eax]
add edx, 0x5d8
mov dword [ebp - 0x58c], edx
mov ecx, dword [edx]
mov dword [edx + 4], ecx
imul edi, dword [esi + 0x5e8], 0x27
mov dword [ebp - 0x590], ecx
test edi, edi
je 0x10070487
mov eax, dword [edx + 8]
sub eax, ecx
cmp edi, eax
jbe 0x1007046a
lea eax, [ebp - 0x59d]
mov ecx, edx
push eax
push edi
call fcn.1006a050
mov edx, dword [ebp - 0x58c]
jmp 0x10070487
push edi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x58c]
add esp, 0xc
mov eax, dword [ebp - 0x590]
add eax, edi
mov dword [edx + 4], eax
mov eax, dword [esi + 0x5b8]
xor edi, edi
sub eax, dword [esi + 0x5b4]
sar eax, 2
inc eax
mov dword [ebp - 0x588], eax
cmp dword [esi + 0x5e8], edi
jbe 0x10070501
mov ecx, dword [edx]
mov eax, edi
xor edx, edx
div dword [ebp - 0x588]
mov byte [ecx + edi], al
mov eax, dword [esi + 0x5e8]
mov dword [ebp - 0x590], edx
xor edx, edx
imul esi, eax, 0x1a
div dword [ebp - 0x588]
mov ecx, dword [ebp - 0x58c]
mov edx, dword [ebp - 0x58c]
add esi, dword [ecx]
mov cl, al
add cl, byte [ebp - 0x590]
mov byte [esi + edi], cl
mov esi, dword [ebp - 0x5e4]
imul eax, dword [esi + 0x5e8], 0xd
add eax, dword [edx]
mov byte [eax + edi], cl
inc edi
cmp edi, dword [esi + 0x5e8]
jb 0x100704a7
mov esi, dword [edx + 4]
mov ecx, dword [edx]
mov edx, ecx
cmp ecx, esi
je 0x1007051d
inc ecx
cmp ecx, esi
je 0x1007051d
mov al, byte [edx]
cmp al, byte [ecx]
cmovb edx, ecx
inc ecx
cmp ecx, esi
jne 0x10070511
movzx ecx, byte [edx]
mov edx, dword [ebp - 0x598]
inc ecx
mov eax, dword [edx]
mov dword [eax + 0x5e4], ecx
mov edi, dword [edx]
mov eax, dword [ebp - 0x594]
add edi, 0xddc
mov esi, dword [eax + 0x230]
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x588], eax
cmp esi, ecx
jae 0x1007055b
lea eax, [esi + edx]
jmp 0x10070592
jbe 0x10070595
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x10070577
lea eax, [ebp - 0x59d]
mov ecx, edi
push eax
push esi
call fcn.10030c20
jmp 0x10070595
sub esi, ecx
push esi
push 0
push dword [ebp - 0x588]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x588]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x594]
mov ecx, dword [ebp - 0x598]
push str.Compute_DC_coeffs
mov eax, dword [edi + 0x1c]
and dword [edi + 0x18], 0xffffffdf
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x658], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x65c], eax
mov eax, dword [edi + 0x234]
test ecx, ecx
jne 0x10070600
lea ecx, [ebp - 0x5b8]
mov dword [ebp - 0x5b8], fcn.100de9e0
mov dword [ebp - 0x5b4], ecx
lea ecx, [ebp - 0x660]
push ecx
lea ecx, [ebp - 0x5b8]
jmp 0x10070607
lea edx, [ebp - 0x660]
push edx
push 0x10040610
push eax
push 0
lea eax, [ebp - 0x588]
push eax
call fcn.10069230
mov esi, dword [ebp - 0x588]
test esi, esi
je 0x10070775
push str.RunOnPool_pool___0__shared.frame_dim.num_dc_groups__ThreadPool::NoInit__compute_dc_coeffs___Compute_DC_coeffs__
push esi
push 0x36b
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x5dc]
push esi
push eax
call fcn.1000f820
mov edi, dword [ebp - 0x614]
lea eax, [ebp - 0x64]
add esp, 0x1c
mov byte [ebp - 4], 0x18
mov dword [edi], esi
push fcn.10007640
push 3
push 0xc
push eax
call fcn.101e8aaf
mov byte [ebp - 4], 0x1b
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0xac]
push eax
call fcn.101e8aaf
mov ecx, dword [ebp - 0x5ac]
test ecx, ecx
je 0x100706c5
mov eax, dword [ebp - 0x5a4]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x5ac]
call fcn.10075300
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a4], 0
mov dword [ebp - 0x5a8], 0
mov eax, dword [ebp - 0x60c]
test eax, eax
je 0x100706e7
lea ecx, [eax + 0x300]
sub ecx, eax
sar ecx, 2
push ecx
push eax
lea ecx, [ebp - 0x60c]
call fcn.10075300
mov eax, dword [ebp - 0x5c4]
test eax, eax
je 0x10070756
lea ecx, [ebp - 0x5c4]
push ecx
push dword [ebp - 0x5c0]
push eax
call fcn.100107d0
mov ecx, dword [ebp - 0x5bc]
mov eax, 0xf6603d99
mov esi, dword [ebp - 0x5c4]
add esp, 0xc
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x214
mov eax, esi
cmp ecx, 0x1000
jb 0x1007074c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fb1f
push ecx
push esi
call fcn.101e8bf4
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x598]
or dword [edi + 0x18], 0x80
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi]
push dword [ecx + 0xbd8]
add ecx, 0xdd0
call fcn.100755c0
mov eax, dword [esi]
mov ecx, dword [eax + 0xdd4]
mov edi, dword [eax + 0xdd0]
mov dword [ebp - 0x5f0], ecx
cmp edi, ecx
je 0x10070862
nop word [eax + eax]
mov eax, dword [ebp - 0x594]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov esi, dword [eax + 0x230]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x590], eax
cmp esi, eax
jae 0x10070806
mov edx, dword [edi]
lea eax, [esi + esi*2]
push edi
lea esi, [edx + eax*4]
mov eax, dword [edi + 4]
push eax
push esi
call fcn.10030450
add esp, 0xc
mov dword [edi + 4], esi
jmp 0x1007084b
jbe 0x1007084b
mov ecx, dword [edi + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
mov ecx, edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x10070832
lea eax, [ebp - 0x590]
push eax
push esi
call fcn.10031280
jmp 0x1007084b
push dword [ebp - 0x590]
sub esi, dword [ebp - 0x590]
mov eax, dword [edi + 4]
push esi
push eax
call fcn.10039620
mov dword [edi + 4], eax
add edi, 0x58
cmp edi, dword [ebp - 0x5f0]
jne 0x100707c0
mov esi, dword [ebp - 0x598]
mov eax, dword [esi]
mov ecx, dword [eax + 0xdd4]
sub ecx, dword [eax + 0xdd0]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x10070a3a
lea eax, [ebp - 0x158]
mov ecx, esi
push eax
call fcn.1006e650
mov edi, dword [ebp - 0x594]
lea eax, [ebp - 0x5c8]
push str.TokenizeGroup
mov dword [edi + 0xb8c], 1
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x628], esi
mov dword [ebp - 0x66c], edi
mov dword [ebp - 0x668], esi
mov dword [ebp - 0x664], eax
mov eax, dword [edi + 0x230]
test ecx, ecx
jne 0x10070902
lea ecx, [ebp - 0x5b8]
mov dword [ebp - 0x5b8], fcn.100de9e0
mov dword [ebp - 0x5b4], ecx
lea ecx, [ebp - 0x66c]
push ecx
lea ecx, [ebp - 0x628]
push ecx
lea ecx, [ebp - 0x5b8]
jmp 0x10070910
lea edx, [ebp - 0x66c]
push edx
lea edx, [ebp - 0x628]
push edx
push eax
push 0
lea eax, [ebp - 0x588]
push eax
call fcn.10069330
mov esi, dword [ebp - 0x588]
test esi, esi
je 0x10070975
push str.RunOnPool_pool___0__shared.frame_dim.num_groups__tokenize_group_init__tokenize_group___TokenizeGroup__
push esi
push 0x398
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x5dc]
push esi
push eax
call fcn.1000f820
mov edi, dword [ebp - 0x614]
lea eax, [ebp - 0x64]
add esp, 0x1c
mov byte [ebp - 4], 0x18
mov dword [edi], esi
push fcn.10007640
push 3
push 0xc
push eax
call fcn.101e8aaf
mov byte [ebp - 4], 0x1c
jmp 0x10070670
mov ecx, dword [ebp - 0x5c8]
lea eax, [edi + 8]
push eax
call fcn.1006b6e0
mov eax, dword [ebp - 0x598]
mov edi, dword [ebp - 0x614]
push fcn.10007640
push 3
mov byte [eax + 0x30], 1
lea eax, [ebp - 0x64]
push 0xc
push eax
mov dword [edi], 0
mov byte [ebp - 4], 0x18
call fcn.101e8aaf
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x1d
push eax
call fcn.101e8aaf
mov ecx, dword [ebp - 0x5ac]
test ecx, ecx
je 0x10070a09
mov eax, dword [ebp - 0x5a4]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x5ac]
call fcn.10075300
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
mov dword [ebp - 0x5a4], 0
mov eax, dword [ebp - 0x60c]
test eax, eax
je 0x1006fab2
jmp 0x1006fa9a
push 0x101fdca8
push 0x45
push str.C:Projectslibjxllib_jxl_frame_header.h
push str._s:_d:_JXL_ASSERT:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
push str.enc_state___passes.size____1
push 0x376
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_CHECK:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
int3