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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
mov rbx, rcx
mov qword [rsp + 0x1d8], rdx
lea rcx, str.MAX_4__MIN_6__ms__cParams.minMatch____4
lea rdx, str.zstd_lib_compress_zstd_lazy.c
cmp dword [rbx + 0x110], 4
mov qword [rsp + 0x1e0], r8
mov r8d, 0x574
mov qword [rsp + 0x1e8], r9
ja 0x1402bcb58
cmp dword [rbx + 0x10c], 5
ja 0x1402bcb5e
mov r8d, 0x574
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.MAX_4__MIN_6__ms__cParams.searchLog____6
call qword [sym.imp.msvcrt.dll__assert]
mov rax, qword [rbx + 0x38]
mov rdi, qword [rsp + 0x1d8]
mov ecx, dword [rbx + 0x100]
mov edx, dword [rbx + 0x1c]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x3c], edx
mov r13, qword [rbx + 0x70]
mov dword [rsp + 0x48], eax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
sub rdi, rax
mov eax, 1
shl eax, cl
mov ecx, edi
mov dword [rsp + 0x4c], edi
sub ecx, edx
cmp eax, ecx
jae 0x1402bcbba
mov esi, edi
sub esi, eax
mov dword [rsp + 0x3c], esi
cmp dword [rbx + 0x28], 0
mov rax, qword [rbx + 0x60]
cmove edx, dword [rsp + 0x3c]
cmp dword [rbx + 0x12c], 0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x3c], edx
jne 0x1402bcfd3
lea rax, [rbx + 0x40]
mov esi, dword [rbx + 0x2c]
mov qword [rsp + 0x40], rax
mov eax, edi
sub eax, esi
cmp eax, 0x180
jbe 0x1402bce25
lea eax, [rsi + 0x60]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x30]
lea r12, [rax + rsi]
mov eax, dword [rsp + 0x48]
add eax, 8
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
mov r14d, esi
cmp esi, eax
jae 0x1402bcd5d
cmp dword [rsp + 0x50], 0x20
mov r8, qword [rbx + 0x60]
lea rcx, [r12 + 8]
jbe 0x1402bcc4b
mov r8d, 0x353
lea rdx, [0x1404f3cc0]
lea rcx, [0x1404f3df9]
jmp 0x1402bcb58
mov edx, dword [rsp + 0x50]
call fcn.1402ef4a0
mov r11, qword [rsp + 0x28]
mov rdx, rax
shr eax, 8
shl eax, 6
lea rcx, [rax*4]
prefetcht0 byte [r11 + rax + 0x20]
lea r8, [r13 + rcx]
prefetcht0 byte [r13 + rcx + 0x40]
mov rcx, qword [rsp + 0x28]
prefetcht0 byte [r8]
add rcx, rax
and r8d, 0x3f
prefetcht0 byte [rcx]
je 0x1402bcca9
mov r8d, 0x32e
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_hashTable__relRow__64_
jmp 0x1402bcb58
and cl, 0x3f
je 0x1402bccc7
mov r8d, 0x32f
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
jmp 0x1402bcb58
mov rcx, qword [rsp + 0x40]
mov eax, r14d
and eax, 7
lea rax, [rcx + rax*4]
mov rcx, r12
mov r10d, dword [rax]
mov dword [rax], edx
mov rax, qword [rsp + 0x28]
mov edx, dword [rsp + 0x50]
mov r15d, r10d
mov dword [rsp + 0x70], r10d
shr r15d, 8
shl r15d, 6
lea r9, [rax + r15]
movzx ebp, byte [r9]
mov qword [rsp + 0x68], r9
dec ebp
and ebp, 0x3f
cmp ebp, 1
sbb eax, eax
inc r12
inc rsi
and eax, 0x3f
add ebp, eax
mov byte [r9], bpl
mov r8d, dword [rbx + 0x60]
call fcn.1402ef4a0
mov edx, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
cmp rdx, rax
je 0x1402bcd4c
mov r8d, 0x375
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.hash__ZSTD_hashPtrSalted_base__updateStartIdx__hashLog__ZSTD_ROW_HASH_TAG_BITS__mls__ms__hashSalt_
jmp 0x1402bcb58
add r15, rbp
mov byte [r9 + rbp], dl
mov dword [r13 + r15*4], r14d
jmp 0x1402bcc13
mov rcx, qword [rsp + 0x30]
lea ebp, [rdi - 0x20]
mov r15, qword [rbx + 0x70]
xor r12d, r12d
mov rax, qword [rsp + 0x1d8]
mov rsi, rbp
mov r9, qword [rbx + 0x38]
add rbp, rcx
lea rdx, [rax + 1]
mov eax, dword [rbx + 0x34]
cmp rdx, rbp
jb 0x1402bcd91
sub rdx, rbp
lea r12d, [rdx + 1]
mov edx, 8
mov r14d, esi
cmp r12d, edx
cmova r12d, edx
add eax, 8
mov dword [rsp + 0x50], eax
add r12d, esi
cmp r14d, r12d
jae 0x1402bce25
cmp dword [rsp + 0x50], 0x20
mov r8, qword [rbx + 0x60]
mov qword [rsp + 0x58], r9
ja 0x1402bcc32
mov edx, dword [rsp + 0x50]
mov rcx, rbp
call fcn.1402ef4a0
mov r9, qword [rsp + 0x58]
mov rdx, rax
shr eax, 8
shl eax, 6
lea rcx, [rax*4]
prefetcht0 byte [r9 + rax + 0x20]
lea r8, [r15 + rcx]
prefetcht0 byte [r15 + rcx + 0x40]
lea rcx, [r9 + rax]
prefetcht0 byte [r8]
and r8d, 0x3f
prefetcht0 byte [rcx]
jne 0x1402bcc90
inc rbp
and cl, 0x3f
jne 0x1402bccae
mov eax, r14d
inc r14d
and eax, 7
mov dword [rbx + rax*4 + 0x40], edx
jmp 0x1402bcdaa
mov r8d, 0x397
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.target___idx
cmp edi, esi
jb 0x1402bcb58
mov rax, qword [rbx + 8]
mov r14, qword [rbx + 0x70]
mov r15, qword [rbx + 0x38]
add rax, rsi
mov qword [rsp + 0x50], rax
mov eax, dword [rbx + 0x34]
add eax, 8
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x68], esi
cmp esi, eax
jae 0x1402bcf53
mov rax, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0x20
mov r8, qword [rbx + 0x60]
lea rcx, [rax + 8]
ja 0x1402bcc32
mov edx, dword [rsp + 0x58]
call fcn.1402ef4a0
mov rdx, rax
shr eax, 8
shl eax, 6
lea rcx, [rax*4]
prefetcht0 byte [r15 + rax + 0x20]
lea r8, [r14 + rcx]
prefetcht0 byte [r14 + rcx + 0x40]
lea rcx, [r15 + rax]
prefetcht0 byte [r8]
and r8d, 0x3f
prefetcht0 byte [rcx]
jne 0x1402bcc90
and cl, 0x3f
jne 0x1402bccae
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
and eax, 7
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x50]
mov r11d, dword [rax]
mov dword [rax], edx
mov edx, dword [rsp + 0x58]
mov r12d, r11d
mov dword [rsp + 0x7c], r11d
shr r12d, 8
shl r12d, 6
lea r10, [r15 + r12]
movzx ebp, byte [r10]
mov qword [rsp + 0x70], r10
dec ebp
and ebp, 0x3f
cmp ebp, 1
sbb eax, eax
inc rsi
and eax, 0x3f
add ebp, eax
mov byte [r10], bpl
mov r8d, dword [rbx + 0x60]
call fcn.1402ef4a0
mov edx, dword [rsp + 0x7c]
inc qword [rsp + 0x50]
cmp rdx, rax
jne 0x1402bcd33
mov r10, qword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
add r12, rbp
mov byte [r10 + rbp], dl
mov dword [r14 + r12*4], eax
jmp 0x1402bce5f
mov edx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x30]
mov eax, edi
mov dword [rbx + 0x2c], edi
add edx, 8
lea rcx, [rsi + rax + 8]
cmp edx, 0x20
ja 0x1402bcc32
mov r8d, dword [rsp + 0x60]
call fcn.1402ef4a0
mov rsi, qword [rsp + 0x28]
mov rdx, rax
shr eax, 8
shl eax, 6
lea rcx, [rax*4]
prefetcht0 byte [rsi + rax + 0x20]
lea r8, [r13 + rcx]
prefetcht0 byte [r13 + rcx + 0x40]
lea rcx, [rsi + rax]
prefetcht0 byte [r8]
and r8d, 0x3f
prefetcht0 byte [rcx]
jne 0x1402bcc90
and cl, 0x3f
jne 0x1402bccae
mov rax, qword [rsp + 0x40]
and edi, 7
lea rax, [rax + rdi*4]
mov r9d, dword [rax]
mov dword [rax], edx
jmp 0x1402bcffb
mov edx, dword [rsp + 0x48]
add edx, 8
cmp edx, 0x20
ja 0x1402bcc32
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x1d8]
call fcn.1402ef4a0
mov dword [rbx + 0x2c], edi
mov r9d, eax
mov r8d, r9d
mov rax, qword [rsp + 0x28]
add dword [rbx + 0x68], r9d
movd xmm0, r9d
shr r8d, 8
punpcklbw xmm0, xmm0
shl r8d, 6
punpcklwd xmm0, xmm0
add rax, r8
lea r10, [r13 + r8*4]
pshufd xmm0, xmm0, 0
mov bpl, byte [rax]
mov r8, rax
xor eax, eax
mov qword [rsp + 0x80], rax
mov edx, ebp
mov r11d, ebp
mov qword [rsp + 0x88], rax
xor eax, eax
and edx, 0x3f
and r11d, 0x3f
mov rcx, rax
shl rcx, 4
movups xmm1, xmmword [r8 + rcx]
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
mov dword [rsp + rax*4 + 0x80], ecx
inc rax
cmp rax, 4
jne 0x1402bd04f
movsxd rcx, dword [rsp + 0x8c]
movsxd rax, dword [rsp + 0x88]
xor edi, edi
mov esi, 0x40
shl rcx, 0x30
shl rax, 0x20
or rax, rcx
movsxd rcx, dword [rsp + 0x80]
or rax, rcx
movsxd rcx, dword [rsp + 0x84]
shl rcx, 0x10
or rax, rcx
mov ecx, edx
ror rax, cl
mov rcx, rax
test rcx, rcx
jne 0x1402bd0f1
lea eax, [rbp + 0x3f]
mov ebp, 3
and eax, 0x3f
cmp eax, 1
sbb edx, edx
xor r13d, r13d
and edx, 0x3f
add eax, edx
mov byte [r8], al
mov byte [r8 + rax], r9b
mov edx, dword [rbx + 0x2c]
lea ecx, [rdx + 1]
mov dword [rbx + 0x2c], ecx
mov dword [r10 + rax*4], edx
mov eax, dword [rsp + 0x4c]
lea ebx, [rax + 3]
jmp 0x1402bd16c
test esi, esi
je 0x1402bd0bc
call fcn.1402ebde0
add eax, r11d
and eax, 0x3f
mov edx, eax
mov edx, dword [r10 + rdx*4]
je 0x1402bd147
cmp rdi, 0x3f
jbe 0x1402bd127
mov r8d, 0x4bb
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.numMatches___rowEntries
jmp 0x1402bcb58
mov eax, dword [rsp + 0x3c]
cmp edx, eax
jb 0x1402bd0bc
mov r14, qword [rsp + 0x30]
mov eax, edx
dec esi
prefetcht0 byte [r14 + rax]
mov dword [rsp + rdi*4 + 0x80], edx
inc rdi
lea rax, [rcx - 1]
and rcx, rax
jmp 0x1402bd0b7
mov rax, qword [rsp + 0x1d8]
mov eax, dword [rax + rbp - 3]
cmp dword [rdx + rbp - 3], eax
je 0x1402bd1f2
inc r13
cmp rdi, r13
je 0x1402bd238
mov r12d, dword [rsp + r13*4 + 0x80]
mov eax, dword [rsp + 0x4c]
cmp r12d, eax
jb 0x1402bd19f
mov r8d, 0x4d3
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, [0x1404f3ef0]
jmp 0x1402bcb58
mov eax, dword [rsp + 0x3c]
cmp r12d, eax
jae 0x1402bd1c1
mov r8d, 0x4d4
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.matchIndex___lowLimit
jmp 0x1402bcb58
mov rax, qword [rsp + 0x30]
mov edx, r12d
add rdx, rax
mov eax, dword [rsp + 0x78]
cmp r12d, eax
jae 0x1402bd153
mov r8d, 0x4d8
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.matchIndex___dictLimit
jmp 0x1402bcb58
mov r8, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d8]
call fcn.1402ebb50
cmp rbp, rax
jae 0x1402bd169
mov rcx, qword [rsp + 0x1e8]
mov edx, ebx
sub edx, r12d
mov qword [rcx], rdx
mov rdx, qword [rsp + 0x1d8]
add rdx, rax
cmp r8, rdx
je 0x1402bd23b
mov rbp, rax
jmp 0x1402bd169
mov rax, rbp
mov r8d, 0x4ec
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.nbAttempts____1U____ZSTD_SEARCHLOG_MAX_
cmp esi, 0x40000000
ja 0x1402bcb58
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret