Function at 0x1021d3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ac
cmp dword [eax + 0xc8], 5
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ecx
jbe 0x1021e3d0
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0xc4]
cmp eax, 5
je 0x1021d405
mov dword [esp + 8], 0x574
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.MAX_4__MIN_6__ms__cParams.searchLog____5
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esi + 0xc4]
mov ebp, dword [esp + 0x20]
mov ebx, 1
mov edi, dword [ebp + 0x5c]
mov esi, dword [ebp + 0x28]
mov ecx, dword [ebp + 0xb8]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x7c], edi
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x80], esi
mov esi, dword [ebp + 4]
mov dword [esp + 0x30], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
add edi, esi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x18]
sub edi, esi
mov esi, ebx
shl esi, cl
mov dword [esp + 0x1c], edi
mov ecx, esi
mov esi, edi
sub edi, edx
sub esi, ecx
cmp ecx, edi
mov ecx, dword [ebp + 0x18]
cmovae esi, edx
test ecx, ecx
mov ecx, dword [ebp + 0x54]
cmove edx, esi
mov esi, dword [ebp + 0xb4]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x50]
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], edx
mov edx, 5
cmp eax, edx
cmovbe edx, eax
mov ecx, edx
mov edx, dword [esi + 0x28]
shl ebx, cl
mov dword [esp + 0x6c], ebx
mov ebx, dword [esi + 0x5c]
mov esi, dword [esi + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
add esi, 8
cmp esi, 0x20
ja 0x1021e378
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
imul eax, edi, 0xcf1bbcdc
imul ecx, ebp, 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul edi
add edx, ecx
mov ecx, 0x40
sub ecx, esi
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov edx, eax
movzx eax, al
shr edx, 8
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov ecx, edx
shl edx, 7
shl ecx, 5
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [ebx + edx]
and ebx, 0x3f
mov dword [esp + 0x38], eax
jne 0x1021e350
test byte [esp + 0x48], 0x1f
jne 0x1021e328
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [eax + 0xdc]
add ebp, 8
test esi, esi
jne 0x1021d7b0
mov esi, dword [eax + 0x1c]
lea edi, [eax + 0x2c]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], edi
mov dword [esp + 0x50], esi
sub ebx, eax
mov dword [esp + 0x30], eax
mov eax, ebx
sub eax, esi
cmp eax, 0x180
ja 0x1021e4c5
mov eax, dword [esp + 0x50]
cmp ebx, eax
jb 0x1021e7c8
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x28]
mov esi, dword [eax + 0x5c]
mov dword [esp + 0x40], edi
mov edi, eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0x3c], esi
mov esi, dword [edi + 4]
mov dword [esp + 0x4c], esi
cmp dword [esp + 0x50], ebx
jae 0x1021d717
lea edi, [eax + 8]
mov eax, 0x40
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x50]
sub eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x98], ebp
lea esi, [esi]
nop
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x30], 0x20
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
ja 0x1021db30
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
imul eax, ebx, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul ebx
add edx, ecx
movzx ecx, byte [esp + 0x60]
xor eax, edi
xor edx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov edi, eax
mov ebx, eax
mov eax, dword [esp + 0x40]
shr edi, 8
shl edi, 5
add edi, eax
test byte [esp + 0x3c], 0x3f
jne 0x1021db90
and edi, 0x1f
jne 0x1021db08
mov edi, dword [esp + 0x64]
mov eax, esi
mov edx, dword [esp + 0x40]
and eax, 7
lea eax, [edi + eax*4]
mov ebp, dword [eax]
mov dword [eax], ebx
mov eax, ebp
shr eax, 8
shl eax, 5
lea edi, [edx + eax]
mov dword [esp + 0x50], eax
mov eax, 0x1f
movzx ebx, byte [edi]
sub ebx, 1
and ebx, 0x1f
cmove ebx, eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x30], 0x20
mov byte [edi], bl
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
ja 0x1021da98
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, edx
mov edx, 0xbf9b0000
mul edx
xor eax, dword [esp + 0x58]
add edx, ecx
movzx ecx, byte [esp + 0x60]
xor edx, dword [esp + 0x5c]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x1021d6c6
mov eax, edx
cmp ebp, eax
je 0x1021da70
mov dword [esp + 8], 0x375
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.hash__ZSTD_hashPtrSalted_base__updateStartIdx__hashLog__ZSTD_ROW_HASH_TAG_BITS__mls__ms__hashSalt_
call dword [sym.imp.msvcrt.dll__assert]
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x50]
add eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [eax + ebx*4], esi
add esi, 1
cmp dword [esp + 0x68], esi
jne 0x1021d5c8
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [eax + 0x1c], ebx
mov eax, dword [esp + 0x28]
lea esi, [eax + esi + 8]
cmp ebp, 0x20
ja 0x1021e832
mov ebx, dword [esi]
mov esi, dword [esi + 4]
imul eax, ebx, 0xcf1bbcdc
imul ecx, esi, 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul ebx
xor eax, dword [esp + 0x88]
add edx, ecx
mov ecx, 0x40
xor edx, dword [esp + 0x8c]
sub ecx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov ebx, eax
mov esi, eax
mov eax, dword [esp + 0x80]
shr ebx, 8
shl ebx, 5
add ebx, eax
test byte [esp + 0x7c], 0x3f
jne 0x1021e7ea
and ebx, 0x1f
jne 0x1021e810
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x64]
and eax, 7
lea edx, [edi + eax*4]
mov eax, dword [edx]
mov dword [edx], esi
jmp 0x1021d804
cmp ebp, 0x20
ja 0x1021e469
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
imul ecx, esi, 0xbf9b0000
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
imul eax, ebx, 0xcf1bbcdc
mov dword [esi + 0x1c], edi
add ecx, eax
mov eax, 0xbf9b0000
mul ebx
xor eax, dword [esp + 0x88]
add edx, ecx
mov ecx, 0x40
xor edx, dword [esp + 0x8c]
sub ecx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov ecx, eax
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x80]
mov byte [esp + 0x4c], al
shr ecx, 8
mov edx, ecx
add dword [edi + 0x58], eax
mov edi, dword [esp + 0x7c]
shl ecx, 7
shl edx, 5
movzx eax, al
add ebp, edx
imul eax, eax, 0x1010101
add edi, ecx
movzx ecx, byte [ebp]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x30], edi
mov ebx, dword [ebp + 0x18]
mov edi, ecx
xor edx, eax
mov byte [esp + 0x40], cl
and edi, 0x1f
xor ebx, eax
mov dword [esp + 0x3c], edi
mov edi, edx
or edi, 0x80808080
mov ecx, edi
sub ecx, 0x1010101
or ecx, edx
mov edx, ebx
and ecx, 0x80808080
or edx, 0x80808080
imul ecx, ecx, 0x204081
sub edx, 0x1010101
or edx, ebx
and edx, 0x80808080
shr ecx, 0x1c
mov esi, ecx
shl esi, 4
mov ecx, esi
imul esi, edx, 0x204081
mov edx, dword [ebp + 0x14]
xor edx, eax
shr esi, 0x1c
or esi, ecx
mov ecx, edx
or edx, 0x80808080
sub edx, 0x1010101
shl esi, 4
or edx, ecx
and edx, 0x80808080
imul ecx, edx, 0x204081
shr ecx, 0x1c
or ecx, esi
mov esi, dword [ebp + 0x10]
xor esi, eax
mov edx, esi
or edx, 0x80808080
sub edx, 0x1010101
or edx, esi
mov esi, ecx
and edx, 0x80808080
shl esi, 4
imul ecx, edx, 0x204081
shr ecx, 0x1c
or ecx, esi
mov esi, dword [ebp + 0xc]
xor esi, eax
mov edx, esi
or edx, 0x80808080
sub edx, 0x1010101
or edx, esi
mov esi, ecx
and edx, 0x80808080
shl esi, 4
imul ecx, edx, 0x204081
shr ecx, 0x1c
or ecx, esi
mov esi, dword [ebp + 8]
xor esi, eax
mov edx, esi
or edx, 0x80808080
sub edx, 0x1010101
or edx, esi
mov esi, ecx
and edx, 0x80808080
shl esi, 4
imul ecx, edx, 0x204081
shr ecx, 0x1c
or ecx, esi
mov esi, dword [ebp + 4]
xor esi, eax
mov edx, esi
or edx, 0x80808080
sub edx, 0x1010101
or edx, esi
mov esi, ecx
shl esi, 4
and edx, 0x80808080
xor eax, dword [ebp]
imul ecx, edx, 0x204081
mov edx, eax
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
shr ecx, 0x1c
imul eax, eax, 0x204081
or ecx, esi
mov edx, ecx
movzx ecx, byte [esp + 0x40]
shl edx, 4
shr eax, 0x1c
or eax, edx
xor edx, edx
not eax
ror eax, cl
test eax, eax
je 0x1021e8ae
mov dword [esp + 0x50], ebp
mov esi, dword [sym.imp.msvcrt.dll__assert]
xor edi, edi
mov ebp, dword [esp + 0x6c]
jmp 0x1021d9fe
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x1021da4c
mov dword [esp + edi*4 + 0xa0], ebx
sub ebp, 1
add edi, 1
mov ecx, eax
mov ebx, edx
add ecx, 0xffffffff
adc ebx, 0xffffffff
and eax, ecx
and edx, ebx
test ebp, ebp
mov ebx, eax
setne cl
or ebx, edx
je 0x1021dbb8
test cl, cl
je 0x1021dbb8
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
tzcnt ecx, eax
add ecx, ebx
mov ebx, dword [esp + 0x30]
and ecx, 0x1f
mov ebx, dword [ebx + ecx*4]
je 0x1021d9d9
cmp edi, 0x1f
jbe 0x1021d9c0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 8], 0x4bb
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.numMatches___rowEntries
call esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
cmp ebx, ecx
jae 0x1021d9cc
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x50]
mov byte [esp + 0x60], 1
movzx eax, byte [ebp]
mov byte [esp + 0x40], al
jmp 0x1021dbcc
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
add eax, ebx
mov dword [edi + eax*4], esi
add esi, 1
cmp dword [esp + 0x68], esi
jne 0x1021d5c8
jmp 0x1021d70c
mov edx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp + 0x78], edx
mov dword [esp], 0x1044d091
call edx
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x30], 0x40
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
jbe 0x1021d696
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], eax
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edx
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
jmp 0x1021d696
mov dword [esp + 8], 0x32f
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d638
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x30], 0x40
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
jbe 0x1021d5e9
mov dword [esp + 0x50], ecx
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call dword [sym.imp.msvcrt.dll__assert]
mov ecx, dword [esp + 0x50]
jmp 0x1021d5e9
mov dword [esp + 8], 0x32e
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d62f
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x50]
mov byte [esp + 0x60], cl
movzx eax, byte [ebp]
mov byte [esp + 0x40], al
add eax, 0x1f
mov edx, 0x1f
mov esi, dword [esp + 0x20]
and eax, 0x1f
cmove eax, edx
movzx edx, byte [esp + 0x4c]
mov byte [ebp], al
mov byte [ebp + eax], dl
mov edx, dword [esi + 0x1c]
lea ecx, [edx + 1]
mov dword [esi + 0x1c], ecx
mov esi, dword [esp + 0x30]
mov dword [esi + eax*4], edx
test edi, edi
je 0x1021e8a1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edi
mov ebp, 3
xor esi, esi
sub eax, 3
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 0x3c], eax
jmp 0x1021dc6c
mov eax, dword [esp + 0x24]
cmp edi, eax
jb 0x1021dca0
mov eax, dword [esp + 0x28]
lea ebx, [eax + edi]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jb 0x1021dcd0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebp - 3]
cmp dword [ebx + ebp - 3], eax
je 0x1021dcff
mov eax, dword [esp + 0x30]
add esi, 1
cmp esi, eax
je 0x1021dd70
mov eax, dword [esp + 0x20]
mov edi, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x1021dc30
mov dword [esp + 8], 0x4d3
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], 0x1044d106
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x24]
cmp edi, eax
jae 0x1021dc38
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0x4d4
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.matchIndex___lowLimit
call eax
mov eax, dword [esp + 0x28]
lea ebx, [eax + edi]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jae 0x1021dc4b
mov dword [esp + 8], 0x4d8
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.matchIndex___dictLimit
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebp - 3]
cmp dword [ebx + ebp - 3], eax
jne 0x1021dc5d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp edx, eax
jae 0x1021e128
mov eax, dword [ebx]
mov edx, dword [edx]
cmp eax, edx
je 0x1021e1f0
xor eax, edx
xor ebx, ebx
tzcnt ebx, eax
shr ebx, 3
cmp ebp, ebx
jae 0x1021dc5d
cmp dword [esp + 0x1c], edi
je 0x1021e3f8
mov eax, dword [esp + 0x1c]
add eax, 3
sub eax, edi
mov edi, dword [esp + 0x1c0]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, ebx
cmp dword [esp + 0x34], eax
je 0x1021e898
mov eax, dword [esp + 0x30]
add esi, 1
mov ebp, ebx
cmp esi, eax
jne 0x1021dc6c
lea esi, [esi]
nop
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x90]
movzx ecx, byte [ebx]
mov edi, dword [eax + 0xc]
mov edx, dword [ebx + 0x1c]
mov byte [esp + 0x20], cl
mov ebp, ecx
imul ecx, dword [esp + 0x94], 0x1010101
mov dword [esp + 0x24], edi
mov edi, dword [eax + 4]
and ebp, 0x1f
mov eax, dword [eax]
mov dword [esp + 0x30], edi
xor edx, ecx
mov dword [esp + 0x28], eax
sub eax, edi
mov edi, dword [esp + 0x2c]
sub edi, eax
mov eax, edx
or eax, 0x80808080
mov dword [esp + 0x4c], edi
sub eax, 0x1010101
or eax, edx
mov edx, dword [ebx + 0x18]
and eax, 0x80808080
xor edx, ecx
imul eax, eax, 0x204081
mov edi, edx
or edi, 0x80808080
mov ebx, edi
shr eax, 0x1c
sub ebx, 0x1010101
shl eax, 4
or ebx, edx
and ebx, 0x80808080
imul esi, ebx, 0x204081
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx + 0x14]
shr esi, 0x1c
xor edx, ecx
or esi, eax
mov eax, edx
shl esi, 4
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, esi
mov ebx, eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x10]
xor edx, ecx
mov edi, edx
or edi, 0x80808080
mov eax, edi
sub eax, 0x1010101
or eax, edx
shl ebx, 4
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, ebx
mov ebx, dword [esp + 0x48]
mov esi, eax
mov edx, dword [ebx + 0xc]
shl esi, 4
xor edx, ecx
mov eax, edx
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, esi
mov ebx, eax
mov eax, dword [esp + 0x48]
shl ebx, 4
mov edx, dword [eax + 8]
xor edx, ecx
mov edi, edx
or edi, 0x80808080
mov eax, edi
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, ebx
mov ebx, dword [esp + 0x48]
mov esi, eax
mov edx, dword [ebx + 4]
mov ebx, dword [ebx]
shl esi, 4
xor edx, ecx
mov eax, edx
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, esi
xor ebx, ecx
xor edx, edx
mov edi, ebx
shl eax, 4
or edi, 0x80808080
mov esi, eax
mov ecx, edi
sub ecx, 0x1010101
or ecx, ebx
and ecx, 0x80808080
imul eax, ecx, 0x204081
movzx ecx, byte [esp + 0x20]
shr eax, 0x1c
or eax, esi
not eax
ror eax, cl
test eax, eax
je 0x1021e0fe
cmp byte [esp + 0x60], 0
je 0x1021e0fe
mov esi, dword [esp + 0x6c]
xor edi, edi
jmp 0x1021df5d
mov dword [esp + edi*4 + 0xa0], ebx
sub esi, 1
add edi, 1
mov ecx, eax
mov ebx, edx
add ecx, 0xffffffff
adc ebx, 0xffffffff
and eax, ecx
and edx, ebx
mov ebx, eax
or ebx, edx
je 0x1021df79
test esi, esi
je 0x1021df79
xor ecx, ecx
mov ebx, dword [esp + 0x38]
tzcnt ecx, eax
add ecx, ebp
and ecx, 0x1f
mov ebx, dword [ebx + ecx*4]
je 0x1021df45
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jae 0x1021df38
mov dword [esp + 0x2c], edi
test edi, edi
je 0x1021e0fe
lea eax, [esp + 0xa0]
xor ebp, ebp
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 0x48], eax
jmp 0x1021dfd5
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jae 0x1021e009
mov eax, dword [esp + 0x30]
lea esi, [eax + ebx]
lea edi, [esi + 4]
cmp dword [esp + 0x28], edi
jb 0x1021e036
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp dword [esi], eax
je 0x1021e061
mov eax, dword [esp + 0x2c]
add ebp, 1
cmp ebp, eax
je 0x1021e0fe
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + ebp*4]
mov eax, dword [esp + 0x24]
cmp ebx, eax
jae 0x1021dfa0
mov dword [esp + 8], 0x50d
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.matchIndex___dmsLowestIndex
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jb 0x1021dfa8
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0x50e
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], 0x1044d106
call eax
mov eax, dword [esp + 0x30]
lea esi, [eax + ebx]
lea edi, [esi + 4]
cmp dword [esp + 0x28], edi
jae 0x1021dfb8
mov dword [esp + 8], 0x511
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.match4___dmsEnd
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp dword [esi], eax
jne 0x1021dfc6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, edx
cmp ecx, eax
cmovbe eax, ecx
mov dword [esp + 0x38], eax
sub eax, 3
cmp edx, eax
jae 0x1021e170
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x40], ecx
je 0x1021e230
mov eax, dword [esp + 0x40]
xor eax, ecx
tzcnt eax, eax
shr eax, 3
add edi, eax
cmp dword [esp + 0x28], edi
je 0x1021e1b5
lea esi, [eax + 4]
cmp dword [esp + 0x3c], esi
jae 0x1021dfc6
mov eax, dword [esp + 0x4c]
add ebx, eax
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jae 0x1021e278
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c0]
mov dword [esp + 0x3c], esi
add eax, 3
sub eax, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, esi
cmp dword [esp + 0x34], eax
jne 0x1021dfc6
mov eax, dword [esp + 0x3c]
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x40]
add edx, 4
add ebx, 4
cmp edx, eax
jb 0x1021e206
lea esi, [esi]
mov eax, dword [esp + 0x34]
sub eax, 1
cmp edx, eax
jae 0x1021e148
movzx eax, word [edx]
cmp word [ebx], ax
jne 0x1021e148
add edx, 2
add ebx, 2
lea esi, [esi]
mov eax, dword [esp + 0x34]
cmp edx, eax
jae 0x1021e15d
movzx eax, byte [edx]
cmp byte [ebx], al
sete al
movzx eax, al
add edx, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov ebx, edx
jmp 0x1021dd26
mov esi, edi
mov ecx, edx
mov eax, dword [esp + 0x38]
sub eax, 1
cmp ecx, eax
jae 0x1021e190
movzx eax, word [ecx]
cmp word [esi], ax
jne 0x1021e190
add ecx, 2
add esi, 2
lea esi, [esi]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jae 0x1021e1a5
movzx eax, byte [ecx]
cmp byte [esi], al
sete al
movzx eax, al
add ecx, eax
mov eax, ecx
sub eax, edx
add edi, eax
cmp dword [esp + 0x28], edi
jne 0x1021e0b9
mov edi, dword [esp + 0x34]
lea esi, [edx + eax]
lea ecx, [edi - 3]
mov edi, dword [esp + 0x84]
cmp esi, ecx
jae 0x1021e2c0
mov edx, dword [edi]
mov edi, dword [esi]
cmp edx, edi
je 0x1021e420
xor edx, edi
xor edi, edi
tzcnt edi, edx
shr edi, 3
add eax, edi
jmp 0x1021e0b9
mov eax, dword [esp + 0x18]
add ebx, 4
lea edx, [eax + 4]
mov eax, dword [esp + 0x40]
cmp edx, eax
jae 0x1021e128
mov eax, dword [ebx]
mov ecx, dword [edx]
cmp eax, ecx
je 0x1021e110
xor eax, ecx
tzcnt eax, eax
shr eax, 3
lea ebx, [edx + eax]
mov eax, dword [esp + 0x18]
sub ebx, eax
jmp 0x1021dd26
mov ecx, dword [esp + 0x18]
add esi, 8
add ecx, 8
cmp ecx, eax
jae 0x1021e174
mov dword [esp + 0x60], eax
mov eax, ebx
mov ebx, dword [esi]
mov dword [esp + 0x40], ebx
mov ebx, dword [ecx]
cmp dword [esp + 0x40], ebx
je 0x1021e308
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x40]
xor eax, esi
tzcnt eax, eax
shr eax, 3
add eax, ecx
sub eax, edx
jmp 0x1021e0ad
mov dword [esp + 8], 0x518
mov edi, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.curr___matchIndex__dmsIndexDelta
call edi
cmp dword [esp + 0x1c], ebx
jne 0x1021e0d8
mov dword [esp + 8], 0x519
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str._curr____matchIndex__dmsIndexDelta___0
call edi
jmp 0x1021e0d8
mov dword [esp + 0x38], edi
mov edi, esi
mov edx, dword [esp + 0x34]
sub edx, 1
cmp edi, edx
jae 0x1021e2e1
mov edx, dword [esp + 0x38]
movzx ecx, word [edi]
cmp word [edx], cx
je 0x1021e4b8
mov edx, dword [esp + 0x34]
cmp edi, edx
jae 0x1021e2fa
mov ecx, dword [esp + 0x38]
movzx edx, byte [edi]
cmp byte [ecx], dl
sete dl
movzx edx, dl
add edi, edx
sub edi, esi
add eax, edi
jmp 0x1021e0b9
mov ebx, dword [esp + 0x60]
add ecx, 4
add esi, 4
cmp ecx, ebx
jb 0x1021e248
mov ebx, eax
jmp 0x1021e174
mov dword [esp + 8], 0x32f
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d52b
mov dword [esp + 8], 0x32e
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d520
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x342
mov dword [esp + 4], 0x1044cfac
mov dword [esp + 0x3c], eax
mov dword [esp], 0x1044d091
call eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
cmp esi, 0x40
jbe 0x1021d4c6
mov dword [esp + 8], 0x32e
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call eax
jmp 0x1021d4c6
mov dword [esp + 8], 0x574
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.MAX_4__MIN_6__ms__cParams.minMatch____6
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d3d3
mov dword [esp + 8], 0x4e6
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], 0x1044d0ad
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021dd38
mov edx, dword [esp + 0x84]
lea edi, [esi + 4]
add edx, 4
mov dword [esp + 0x38], edx
cmp edi, ecx
jae 0x1021e2c6
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov edx, dword [edi]
cmp dword [esp + 0x40], edx
je 0x1021e87d
mov ecx, dword [esp + 0x40]
xor ecx, edx
xor edx, edx
tzcnt edx, ecx
shr edx, 3
add edi, edx
sub edi, esi
add eax, edi
jmp 0x1021e0b9
mov dword [esp + 8], 0x353
mov edi, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call edi
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
cmp ebp, 0x40
jbe 0x1021d7c2
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edi
jmp 0x1021d7c2
add dword [esp + 0x38], 2
add edi, 2
jmp 0x1021e2e1
mov eax, dword [esp + 0x20]
lea edi, [esi + 0x60]
mov dword [esp + 0x68], edi
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], edx
cmp esi, edi
jae 0x1021e676
lea edi, [eax + 8]
mov eax, 0x40
mov dword [esp + 0x98], ebx
sub eax, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x9c], ebp
lea esi, [esi]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x4c], 0x20
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
ja 0x1021e9f7
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
imul eax, ebx, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul ebx
add edx, ecx
movzx ecx, byte [esp + 0x60]
xor eax, edi
xor edx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov edi, eax
mov ebx, eax
mov eax, dword [esp + 0x40]
shr edi, 8
shl edi, 5
add edi, eax
test byte [esp + 0x3c], 0x3f
jne 0x1021e9d5
and edi, 0x1f
jne 0x1021e9b3
mov edi, dword [esp + 0x64]
mov eax, esi
and eax, 7
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x40]
mov ebp, dword [eax]
mov dword [eax], ebx
mov eax, ebp
shr eax, 8
shl eax, 5
add edi, eax
mov dword [esp + 0x58], eax
mov eax, 0x1f
movzx ebx, byte [edi]
sub ebx, 1
and ebx, 0x1f
cmove ebx, eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x4c], 0x20
mov byte [edi], bl
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
ja 0x1021e948
mov edx, dword [esp + 0x30]
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, edx
mov edx, 0xbf9b0000
mul edx
xor eax, dword [esp + 0x50]
add edx, ecx
movzx ecx, byte [esp + 0x60]
xor edx, dword [esp + 0x54]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x1021e60d
mov eax, edx
cmp ebp, eax
je 0x1021e8e0
mov dword [esp + 8], 0x375
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.hash__ZSTD_hashPtrSalted_base__updateStartIdx__hashLog__ZSTD_ROW_HASH_TAG_BITS__mls__ms__hashSalt_
call dword [sym.imp.msvcrt.dll__assert]
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x58]
add eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [eax + ebx*4], esi
add esi, 1
cmp dword [esp + 0x68], esi
jne 0x1021e510
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
mov esi, dword [eax + 0x5c]
mov dword [esp + 0x3c], esi
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x18]
lea edi, [ebx - 0x20]
mov dword [esp + 0x50], edi
lea edx, [esi + 1]
mov esi, dword [esp + 0x30]
lea ecx, [esi + edi]
cmp edx, ecx
jb 0x1021e8bf
sub edx, ecx
mov ecx, 8
add edx, 1
cmp edx, ecx
cmova edx, ecx
lea esi, [edx + edi]
mov dword [esp + 0x60], esi
cmp edi, esi
jae 0x1021d56e
lea esi, [eax + 8]
mov eax, 0x40
mov dword [esp + 0x78], ebx
sub eax, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 0x74], eax
jmp 0x1021e74e
mov edx, dword [esp + 0x30]
mov eax, dword [edx + edi]
mov ecx, dword [edx + edi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, edx
mov edx, 0xbf9b0000
mul edx
add edx, ecx
movzx ecx, byte [esp + 0x58]
xor eax, ebx
xor edx, esi
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov esi, eax
mov ebx, eax
mov eax, dword [esp + 0x40]
shr esi, 8
shl esi, 5
add esi, eax
test byte [esp + 0x3c], 0x3f
jne 0x1021e926
and esi, 0x1f
jne 0x1021e904
mov eax, edi
mov esi, dword [esp + 0x20]
add edi, 1
and eax, 7
mov dword [esi + eax*4 + 0x2c], ebx
mov eax, dword [esp + 0x60]
cmp edi, eax
jae 0x1021ea55
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x4c], 0x20
mov ebx, dword [eax + 0x50]
mov esi, dword [eax + 0x54]
jbe 0x1021e6d8
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call dword [sym.imp.msvcrt.dll__assert]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x4c], 0x40
mov eax, dword [edx + edi]
mov ecx, dword [edx + edi + 4]
jbe 0x1021e6e3
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call dword [sym.imp.msvcrt.dll__assert]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
jmp 0x1021e6e3
mov dword [esp + 8], 0x397
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.target___idx
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d57a
mov dword [esp + 8], 0x32e
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call dword [sym.imp.msvcrt.dll__assert]
and ebx, 0x1f
je 0x1021d796
mov dword [esp + 8], 0x32f
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021d796
mov dword [esp + 8], 0x353
mov edi, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call edi
mov ebx, dword [esi]
mov esi, dword [esi + 4]
cmp ebp, 0x40
jbe 0x1021d738
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edi
jmp 0x1021d738
add edi, 4
add dword [esp + 0x38], 4
cmp edi, ecx
jb 0x1021e439
jmp 0x1021e2c6
mov dword [esp + 0x3c], ebx
jmp 0x1021dd74
mov dword [esp + 0x3c], 3
jmp 0x1021dd74
mov byte [esp + 0x60], 1
movzx eax, byte [esp + 0x40]
xor edi, edi
jmp 0x1021dbcc
cmp ebx, edi
jb 0x1021e7c8
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 4]
mov dword [esp + 0x4c], esi
jmp 0x1021d5a2
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
add eax, ebx
mov dword [edi + eax*4], esi
add esi, 1
cmp dword [esp + 0x68], esi
jne 0x1021e510
jmp 0x1021e653
mov dword [esp + 8], 0x32f
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021e732
mov dword [esp + 8], 0x32e
mov eax, dword [esp + 0x74]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call eax
jmp 0x1021e729
mov edx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp + 0x78], edx
mov dword [esp], 0x1044d091
call edx
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x4c], 0x40
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
jbe 0x1021e5dd
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], eax
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edx
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
jmp 0x1021e5dd
mov dword [esp + 8], 0x32f
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021e580
mov dword [esp + 8], 0x32e
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x1021e577
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x4c], 0x40
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
jbe 0x1021e531
mov dword [esp + 0x50], ecx
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call dword [sym.imp.msvcrt.dll__assert]
mov ecx, dword [esp + 0x50]
jmp 0x1021e531
mov ebx, dword [esp + 0x78]
jmp 0x1021d56e