Function at 0x1021bc90
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 + 0x24], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ecx
jbe 0x1021cb70
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc4]
cmp eax, 4
ja 0x1021cb40
mov ebp, dword [esp + 0x24]
mov ebx, 1
mov esi, dword [ebp + 0x5c]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 0xb8]
mov dword [esp + 0x7c], esi
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x80], esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x30], esi
add esi, edx
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x1c]
sub esi, edx
mov edx, ebx
shl edx, cl
mov edi, esi
mov dword [esp + 0x20], esi
mov ecx, edx
mov edx, dword [ebp + 0x10]
sub esi, ecx
sub edi, edx
cmp ecx, edi
mov edi, esi
mov esi, ebp
mov ebp, dword [ebp + 0x18]
cmovae edi, edx
test ebp, ebp
mov ebp, dword [esi + 0x54]
cmove edx, edi
mov edi, dword [esi + 0x50]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x28], edx
mov edx, 4
cmp eax, edx
mov dword [esp + 0x88], edi
mov edi, dword [esi + 0xb4]
cmovbe edx, eax
mov dword [esp + 0x90], edi
mov ebp, dword [edi + 0x28]
mov ecx, edx
shl ebx, cl
mov dword [esp + 0x6c], ebx
mov ebx, dword [edi + 0x5c]
mov edi, dword [edi + 0x24]
lea esi, [edi + 8]
mov dword [esp + 0x3c], edi
cmp esi, 0x20
ja 0x1021cad8
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
imul eax, edi, 0xcf1bbcdc
imul ecx, ecx, 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 ecx, edx
shl edx, 6
shl ecx, 4
lea eax, [ebp + ecx]
mov dword [esp + 0x64], eax
lea eax, [ebx + edx]
and ebx, 0x3f
mov dword [esp + 0x3c], eax
jne 0x1021ca88
test byte [esp + 0x64], 0xf
jne 0x1021cab0
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov esi, dword [eax + 0xdc]
add ebp, 8
test esi, esi
jne 0x1021c070
lea esi, [eax + 0x2c]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x68], esi
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], edi
sub eax, esi
mov dword [esp + 0x60], eax
sub eax, edi
cmp eax, 0x180
ja 0x1021cc65
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x60], edi
jb 0x1021cf16
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x5c]
mov edi, dword [eax + 0x28]
mov dword [esp + 0x40], esi
mov esi, eax
mov eax, dword [eax + 0x24]
mov esi, dword [esi + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x50], esi
jae 0x1021bfd2
lea esi, [eax + 8]
mov eax, 0x40
mov dword [esp + 0x98], ebp
sub eax, esi
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
lea esi, [esi]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x34], 0x20
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
ja 0x1021c340
mov eax, dword [esp + 0x48]
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 + 0x4c]
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 + 0x44]
shr edi, 8
shl edi, 4
add edi, eax
test byte [esp + 0x40], 0x3f
jne 0x1021c3a0
and edi, 0xf
jne 0x1021c318
mov edi, dword [esp + 0x68]
mov eax, esi
and eax, 7
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x44]
mov ebp, dword [eax]
mov dword [eax], ebx
mov eax, ebp
shr eax, 8
shl eax, 4
add edi, eax
mov dword [esp + 0x50], eax
mov eax, 0xf
movzx ebx, byte [edi]
sub ebx, 1
and ebx, 0xf
cmove ebx, eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x34], 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 0x1021c2a8
mov edx, dword [esp + 0x48]
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 + 0x4c]
xor edx, dword [esp + 0x5c]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x1021bf85
mov eax, edx
cmp ebp, eax
je 0x1021c280
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 + 0x40]
mov dword [eax + ebx*4], esi
add esi, 1
cmp dword [esp + 0x60], esi
jne 0x1021be88
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x2c]
lea esi, [eax + esi + 8]
cmp ebp, 0x20
ja 0x1021cf80
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, 4
add ebx, eax
test byte [esp + 0x7c], 0x3f
jne 0x1021cf38
and ebx, 0xf
jne 0x1021cf5e
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
and eax, 7
lea edx, [edi + eax*4]
mov eax, dword [edx]
mov dword [edx], esi
jmp 0x1021c0c4
cmp ebp, 0x20
ja 0x1021cc09
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
imul ecx, esi, 0xbf9b0000
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
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 edi, dword [esp + 0x24]
mov ecx, eax
mov byte [esp + 0x4c], al
shr ecx, 8
add dword [edi + 0x58], eax
mov edi, dword [esp + 0x7c]
mov edx, ecx
shl ecx, 6
shl edx, 4
movzx eax, al
add edi, ecx
imul eax, eax, 0x1010101
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x80]
add edi, edx
mov edx, dword [edi + 0xc]
movzx ecx, byte [edi]
mov dword [esp + 0x40], edi
mov ebx, dword [edi + 8]
mov edi, dword [esp + 0x40]
xor edx, eax
mov byte [esp + 0x44], cl
mov ebp, ecx
mov esi, edx
xor ebx, eax
and ebp, 0xf
or esi, 0x80808080
mov ecx, esi
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 [esp + 0x40]
mov ebx, dword [edx + 4]
shr esi, 0x1c
xor ebx, eax
or esi, ecx
mov edx, ebx
shl esi, 4
or edx, 0x80808080
sub edx, 0x1010101
or edx, ebx
and edx, 0x80808080
imul ecx, edx, 0x204081
shr ecx, 0x1c
or ecx, esi
xor eax, dword [edi]
xor edi, edi
mov edx, eax
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
mov edx, ecx
movzx ecx, byte [esp + 0x44]
and eax, 0x80808080
shl edx, 4
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, edx
not eax
ror ax, cl
movzx eax, ax
mov esi, eax
test eax, eax
je 0x1021cff6
mov ecx, ebp
xor ebx, ebx
mov ebp, dword [esp + 0x6c]
jmp 0x1021c216
mov eax, dword [esp + 0x28]
cmp edx, eax
jb 0x1021c264
mov dword [esp + ebx*4 + 0xa0], edx
sub ebp, 1
add ebx, 1
mov eax, esi
mov edx, edi
add eax, 0xffffffff
adc edx, 0xffffffff
and esi, eax
and edi, edx
test ebp, ebp
mov edx, esi
setne al
or edx, edi
je 0x1021c3c8
test al, al
je 0x1021c3c8
xor eax, eax
mov edx, dword [esp + 0x34]
tzcnt eax, esi
add eax, ecx
and eax, 0xf
mov edx, dword [edx + eax*4]
je 0x1021c1f1
cmp ebx, 0xf
jbe 0x1021c1d8
mov dword [esp + 0x48], ecx
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 dword [sym.imp.msvcrt.dll__assert]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
cmp edx, eax
jae 0x1021c1e4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], ebp
mov ecx, ebx
mov byte [esp + 0x48], 1
movzx eax, byte [eax]
mov byte [esp + 0x44], al
jmp 0x1021c3dd
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x40]
add eax, ebx
mov dword [edi + eax*4], esi
add esi, 1
cmp dword [esp + 0x60], esi
jne 0x1021be88
jmp 0x1021bfcb
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 + 0x48]
cmp dword [esp + 0x34], 0x40
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
jbe 0x1021bf55
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 0x1021bf55
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 0x1021bef8
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 + 0x48]
cmp dword [esp + 0x34], 0x40
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
jbe 0x1021bea9
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 0x1021bea9
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 0x1021beef
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [esp + 0x6c], ebp
movzx eax, byte [eax]
mov byte [esp + 0x44], al
add eax, 0xf
mov edx, 0xf
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
and eax, 0xf
cmove eax, edx
movzx edx, byte [esp + 0x4c]
mov byte [edi], al
mov byte [edi + eax], dl
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x1c]
lea ebx, [edx + 1]
mov dword [edi + 0x1c], ebx
mov dword [esi + eax*4], edx
test ecx, ecx
je 0x1021cfe9
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ebp, 3
xor esi, esi
sub eax, 3
mov dword [esp + 0x44], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 0x40], eax
jmp 0x1021c484
mov eax, dword [esp + 0x28]
cmp ebx, eax
jb 0x1021c4b8
mov eax, dword [esp + 0x2c]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jb 0x1021c4e8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebp - 3]
cmp dword [edi + ebp - 3], eax
je 0x1021c517
mov eax, dword [esp + 0x34]
add esi, 1
cmp esi, eax
je 0x1021c588
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + esi*4]
mov eax, dword [esp + 0x20]
cmp ebx, eax
jb 0x1021c448
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 + 0x28]
cmp ebx, eax
jae 0x1021c450
mov eax, dword [esp + 0x40]
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 + 0x2c]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jae 0x1021c463
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 + 0x1c]
mov eax, dword [eax + ebp - 3]
cmp dword [edi + ebp - 3], eax
jne 0x1021c475
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
cmp edx, eax
jae 0x1021c888
mov eax, dword [edi]
mov edx, dword [edx]
cmp eax, edx
je 0x1021c998
xor eax, edx
xor edi, edi
tzcnt edi, eax
shr edi, 3
cmp ebp, edi
jae 0x1021c475
cmp dword [esp + 0x20], ebx
je 0x1021cb98
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c0]
add eax, 3
sub eax, ebx
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
add eax, edi
cmp dword [esp + 0x38], eax
je 0x1021cfe0
mov eax, dword [esp + 0x34]
add esi, 1
mov ebp, edi
cmp esi, eax
jne 0x1021c484
lea esi, [esi]
nop
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x64]
mov esi, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x34], esi
movzx ebp, byte [ebx]
mov dword [esp + 0x2c], eax
sub eax, esi
imul esi, dword [esp + 0x94], 0x1010101
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x30]
xor edx, esi
sub edi, eax
mov eax, edx
mov dword [esp + 0x4c], edi
mov edi, ebp
or eax, 0x80808080
and edi, 0xf
sub eax, 0x1010101
or eax, edx
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x64]
and eax, 0x80808080
xor edx, esi
imul eax, eax, 0x204081
mov ecx, edx
or ecx, 0x80808080
sub ecx, 0x1010101
shr eax, 0x1c
or ecx, edx
shl eax, 4
and ecx, 0x80808080
imul ecx, ecx, 0x204081
shr ecx, 0x1c
or ecx, eax
mov eax, dword [esp + 0x64]
shl ecx, 4
mov edx, dword [eax + 4]
xor edx, esi
xor esi, dword [ebx]
mov eax, edx
or eax, 0x80808080
sub eax, 0x1010101
or eax, edx
and eax, 0x80808080
imul eax, eax, 0x204081
shr eax, 0x1c
or eax, ecx
mov ecx, esi
or ecx, 0x80808080
sub ecx, 0x1010101
or esi, ecx
shl eax, 4
xor edx, edx
and esi, 0x80808080
mov ecx, eax
imul eax, esi, 0x204081
shr eax, 0x1c
or eax, ecx
mov ecx, ebp
not eax
ror ax, cl
movzx ecx, ax
mov eax, ecx
test ecx, ecx
je 0x1021c85e
cmp byte [esp + 0x48], 0
je 0x1021c85e
mov esi, dword [esp + 0x6c]
xor ebp, ebp
jmp 0x1021c6bd
mov dword [esp + ebp*4 + 0xa0], ebx
sub esi, 1
add ebp, 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 0x1021c6d9
test esi, esi
je 0x1021c6d9
xor ecx, ecx
mov ebx, dword [esp + 0x3c]
tzcnt ecx, eax
add ecx, edi
and ecx, 0xf
mov ebx, dword [ebx + ecx*4]
je 0x1021c6a5
mov ecx, dword [esp + 0x28]
cmp ebx, ecx
jae 0x1021c698
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x1021c85e
lea eax, [esp + 0xa0]
xor ebp, ebp
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 0x44], eax
jmp 0x1021c735
mov eax, dword [esp + 0x20]
cmp ebx, eax
jae 0x1021c769
mov eax, dword [esp + 0x34]
lea esi, [eax + ebx]
lea edi, [esi + 4]
cmp dword [esp + 0x2c], edi
jb 0x1021c796
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp dword [esi], eax
je 0x1021c7c1
mov eax, dword [esp + 0x30]
add ebp, 1
cmp ebp, eax
je 0x1021c85e
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + ebp*4]
mov eax, dword [esp + 0x28]
cmp ebx, eax
jae 0x1021c700
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 + 0x20]
cmp ebx, eax
jb 0x1021c708
mov eax, dword [esp + 0x44]
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 + 0x34]
lea esi, [eax + ebx]
lea edi, [esi + 4]
cmp dword [esp + 0x2c], edi
jae 0x1021c718
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 + 0x1c]
mov eax, dword [eax]
cmp dword [esi], eax
jne 0x1021c726
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
lea edx, [eax + 4]
mov eax, dword [esp + 0x2c]
sub eax, edi
add eax, edx
cmp ecx, eax
cmovbe eax, ecx
mov dword [esp + 0x3c], eax
sub eax, 3
cmp edx, eax
jae 0x1021c8d0
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x48], ecx
je 0x1021c950
mov eax, dword [esp + 0x48]
xor eax, ecx
tzcnt eax, eax
shr eax, 3
add edi, eax
cmp dword [esp + 0x2c], edi
je 0x1021c915
lea esi, [eax + 4]
cmp dword [esp + 0x40], esi
jae 0x1021c726
mov eax, dword [esp + 0x4c]
add ebx, eax
mov eax, dword [esp + 0x20]
cmp ebx, eax
jae 0x1021c9d8
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c0]
mov dword [esp + 0x40], esi
add eax, 3
sub eax, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, esi
cmp dword [esp + 0x38], eax
jne 0x1021c726
mov eax, dword [esp + 0x40]
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x44]
add edx, 4
add edi, 4
cmp edx, eax
jb 0x1021c9ae
lea esi, [esi]
mov eax, dword [esp + 0x38]
sub eax, 1
cmp edx, eax
jae 0x1021c8a8
movzx eax, word [edx]
cmp word [edi], ax
jne 0x1021c8a8
add edx, 2
add edi, 2
lea esi, [esi]
mov eax, dword [esp + 0x38]
cmp edx, eax
jae 0x1021c8bd
movzx eax, byte [edx]
cmp byte [edi], al
sete al
movzx eax, al
add edx, eax
mov eax, dword [esp + 0x1c]
mov edi, edx
sub edi, eax
jmp 0x1021c53e
mov esi, edi
mov ecx, edx
mov eax, dword [esp + 0x3c]
sub eax, 1
cmp ecx, eax
jae 0x1021c8f0
movzx eax, word [ecx]
cmp word [esi], ax
jne 0x1021c8f0
add ecx, 2
add esi, 2
lea esi, [esi]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jae 0x1021c905
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 + 0x2c], edi
jne 0x1021c819
mov edi, dword [esp + 0x38]
lea esi, [edx + eax]
lea ecx, [edi - 3]
mov edi, dword [esp + 0x84]
cmp esi, ecx
jae 0x1021ca20
mov edx, dword [edi]
mov edi, dword [esi]
cmp edx, edi
je 0x1021cbc0
xor edx, edi
xor edi, edi
tzcnt edi, edx
shr edi, 3
add eax, edi
jmp 0x1021c819
mov ecx, dword [esp + 0x1c]
add esi, 8
add ecx, 8
cmp ecx, eax
jae 0x1021c8d4
mov dword [esp + 0x50], eax
mov eax, ebx
mov ebx, dword [esi]
mov dword [esp + 0x48], ebx
mov ebx, dword [ecx]
cmp dword [esp + 0x48], ebx
je 0x1021ca68
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x48]
xor eax, esi
tzcnt eax, eax
shr eax, 3
add eax, ecx
sub eax, edx
jmp 0x1021c80d
mov eax, dword [esp + 0x1c]
add edi, 4
lea edx, [eax + 4]
mov eax, dword [esp + 0x44]
cmp edx, eax
jae 0x1021c888
mov eax, dword [edi]
mov ecx, dword [edx]
cmp eax, ecx
je 0x1021c870
xor eax, ecx
tzcnt eax, eax
shr eax, 3
lea edi, [edx + eax]
mov eax, dword [esp + 0x1c]
sub edi, eax
jmp 0x1021c53e
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 + 0x20], ebx
jne 0x1021c838
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 0x1021c838
mov dword [esp + 0x3c], edi
mov edi, esi
mov edx, dword [esp + 0x38]
sub edx, 1
cmp edi, edx
jae 0x1021ca41
mov edx, dword [esp + 0x3c]
movzx ecx, word [edi]
cmp word [edx], cx
je 0x1021cc58
mov edx, dword [esp + 0x38]
cmp edi, edx
jae 0x1021ca5a
mov ecx, dword [esp + 0x3c]
movzx edx, byte [edi]
cmp byte [ecx], dl
sete dl
movzx edx, dl
add edi, edx
sub edi, esi
add eax, edi
jmp 0x1021c819
mov ebx, dword [esp + 0x50]
add ecx, 4
add esi, 4
cmp ecx, ebx
jb 0x1021c968
mov ebx, eax
jmp 0x1021c8d4
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]
test byte [esp + 0x64], 0xf
je 0x1021bdea
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 0x1021bdea
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x342
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
mov dword [esp + 0x44], eax
call eax
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
mov ecx, dword [edx + 4]
cmp esi, 0x40
jbe 0x1021bd87
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call eax
mov ecx, dword [esp + 0x3c]
jmp 0x1021bd87
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____4
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc4]
jmp 0x1021bcc6
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 0x1021bcb3
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 0x1021c550
mov edx, dword [esp + 0x84]
lea edi, [esi + 4]
add edx, 4
mov dword [esp + 0x3c], edx
cmp edi, ecx
jae 0x1021ca26
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov edx, dword [edi]
cmp dword [esp + 0x48], edx
je 0x1021cfcb
mov ecx, dword [esp + 0x48]
xor ecx, edx
xor edx, edx
tzcnt edx, ecx
shr edx, 3
add edi, edx
sub edi, esi
add eax, edi
jmp 0x1021c819
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 + 0x1c]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
cmp ebp, 0x40
jbe 0x1021c082
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edi
jmp 0x1021c082
add dword [esp + 0x3c], 2
add edi, 2
jmp 0x1021ca41
mov eax, dword [esp + 0x24]
lea ebx, [edi + 0x60]
mov dword [esp + 0x70], ebx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x34], edx
cmp edi, ebx
jae 0x1021ce13
lea ebx, [eax + 8]
mov eax, 0x40
mov dword [esp + 0x9c], ebp
sub eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], esi
mov esi, edi
lea esi, [esi]
nop
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x44], 0x20
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
ja 0x1021d109
mov eax, dword [esp + 0x48]
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 + 0x4c]
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 + 0x34]
shr edi, 8
shl edi, 4
add edi, eax
test byte [esp + 0x40], 0x3f
jne 0x1021d0e7
and edi, 0xf
jne 0x1021d0c5
mov edi, dword [esp + 0x68]
mov eax, esi
and eax, 7
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x34]
mov ebp, dword [eax]
mov dword [eax], ebx
mov eax, ebp
shr eax, 8
shl eax, 4
add edi, eax
mov dword [esp + 0x58], eax
mov eax, 0xf
movzx ebx, byte [edi]
sub ebx, 1
and ebx, 0xf
cmove ebx, eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x44], 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 0x1021d054
mov edx, dword [esp + 0x48]
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 + 0x4c]
xor edx, dword [esp + 0x54]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x1021cdad
mov eax, edx
cmp ebp, eax
je 0x1021d030
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 + 0x40]
mov dword [eax + ebx*4], esi
add esi, 1
cmp dword [esp + 0x70], esi
jne 0x1021ccb0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x9c]
mov edi, dword [eax + 0x5c]
mov dword [esp + 0x40], edi
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
lea edi, [ebx - 0x20]
add edx, 1
lea ecx, [esi + edi]
mov dword [esp + 0x50], edi
cmp edx, ecx
jb 0x1021d007
sub edx, ecx
mov ecx, 8
mov ebx, edi
add edx, 1
cmp edx, ecx
cmova edx, ecx
lea edi, [edx + edi]
mov dword [esp + 0x4c], edi
cmp ebx, edi
jae 0x1021be2b
mov edi, dword [sym.imp.msvcrt.dll__assert]
add eax, 8
mov edx, 0x40
sub edx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], edi
cmp eax, 0x20
jbe 0x1021ce9d
jmp 0x1021d19a
and edx, 0xf
jne 0x1021d167
mov edx, ebx
mov ecx, dword [esp + 0x24]
and edx, 7
mov dword [ecx + edx*4 + 0x2c], eax
mov eax, dword [esp + 0x4c]
add ebx, 1
cmp ebx, eax
jae 0x1021be2b
imul eax, dword [esi + ebx], 0xcf1bbcdc
imul ecx, dword [esi + ebx + 4], 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul dword [esi + ebx]
add edx, ecx
mov ecx, dword [esp + 0x24]
xor edx, dword [ecx + 0x54]
xor eax, dword [ecx + 0x50]
movzx ecx, byte [esp + 0x48]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x1021ced3
mov eax, edx
mov edx, eax
mov ecx, dword [esp + 0x34]
shr edx, 8
shl edx, 4
add edx, ecx
test byte [esp + 0x40], 0x3f
je 0x1021ce78
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
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 edi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
jmp 0x1021ce78
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 0x1021be39
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, 0xf
je 0x1021c055
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 0x1021c055
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 0x1021bff7
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edi
jmp 0x1021bff7
add edi, 4
add dword [esp + 0x3c], 4
cmp edi, ecx
jb 0x1021cbd9
jmp 0x1021ca26
mov dword [esp + 0x40], edi
jmp 0x1021c58c
mov dword [esp + 0x40], 3
jmp 0x1021c58c
mov byte [esp + 0x48], 1
movzx eax, byte [esp + 0x44]
xor ecx, ecx
jmp 0x1021c3dd
cmp ebx, edi
jb 0x1021cf16
mov esi, dword [esp + 0x34]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x24]
mov esi, dword [esi + 4]
mov dword [esp + 0x48], esi
jmp 0x1021be65
mov eax, ebp
mov byte [edi + ebx], al
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
add eax, ebx
mov dword [edi + eax*4], esi
add esi, 1
cmp dword [esp + 0x70], esi
jne 0x1021ccb0
jmp 0x1021cdf3
mov edx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x353
mov dword [esp + 4], 0x1044cfac
mov dword [esp + 0x98], edx
mov dword [esp], 0x1044d091
call edx
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x44], 0x40
mov eax, dword [edx + esi]
mov ecx, dword [edx + esi + 4]
jbe 0x1021cd7d
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x74], eax
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d09d
call edx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
jmp 0x1021cd7d
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 0x1021cd20
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 0x1021cd17
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 + 0x48]
cmp dword [esp + 0x44], 0x40
mov ebx, dword [eax + esi + 8]
mov ecx, dword [eax + esi + 0xc]
jbe 0x1021ccd1
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 0x1021ccd1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
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 eax
mov edx, ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
and edx, 7
jmp 0x1021ce8a
cmp eax, 0x40
jbe 0x1021d2c2
mov dword [esp + 0x70], esi
mov esi, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x74], ebp
jmp 0x1021d1d8
and ebx, 0xf
jne 0x1021d297
mov eax, dword [esp + 0x24]
mov edx, esi
add esi, 1
and edx, 7
mov dword [eax + edx*4 + 0x2c], edi
mov eax, dword [esp + 0x4c]
cmp esi, eax
jae 0x1021d2b9
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
mov dword [esp + 8], 0x353
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call eax
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + esi]
mov ebx, dword [ebx + esi + 4]
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044cfac
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp], 0x1044d09d
call eax
mov eax, dword [esp + 0x58]
imul ecx, ebx, 0xbf9b0000
mov ebx, 0xbf9b0000
imul edx, eax, 0xcf1bbcdc
add ecx, edx
mul ebx
add edx, ecx
movzx ecx, byte [esp + 0x48]
xor eax, edi
xor edx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov ebx, eax
mov edi, eax
mov eax, dword [esp + 0x34]
shr ebx, 8
shl ebx, 4
add ebx, eax
test byte [esp + 0x40], 0x3f
je 0x1021d1b3
mov dword [esp + 8], 0x32e
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call eax
jmp 0x1021d1b3
mov dword [esp + 8], 0x32f
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call eax
jmp 0x1021d1bc
mov ebp, dword [esp + 0x74]
jmp 0x1021be2b
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], ebp
jmp 0x1021d2f1
and ebp, 0xf
jne 0x1021d384
mov eax, ebx
mov edx, dword [esp + 0x24]
add ebx, 1
and eax, 7
mov dword [edx + eax*4 + 0x2c], edi
mov eax, dword [esp + 0x4c]
cmp ebx, eax
jae 0x1021d3a6
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x50]
mov ebp, dword [eax + 0x54]
mov dword [esp + 8], 0x353
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x1044cfac
mov dword [esp], 0x1044d091
call eax
imul eax, dword [esi + ebx], 0xcf1bbcdc
imul ecx, dword [esi + ebx + 4], 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul dword [esi + ebx]
add edx, ecx
movzx ecx, byte [esp + 0x48]
xor eax, edi
xor edx, ebp
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov ebp, eax
mov edi, eax
mov eax, dword [esp + 0x34]
shr ebp, 8
shl ebp, 4
add ebp, eax
test byte [esp + 0x40], 0x3f
je 0x1021d2cc
mov dword [esp + 8], 0x32e
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_hashTable__relRow__64_
call eax
jmp 0x1021d2cc
mov dword [esp + 8], 0x32f
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.zstd_lib_compress_zstd_lazy.c
mov dword [esp], str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
call eax
jmp 0x1021d2d5
mov ebp, dword [esp + 0x58]
jmp 0x1021be2b