Function at 0x5c2f30
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, 0x1b8
cmp dword [rcx + 0x110], 5
mov rbx, rcx
mov qword [rsp + 0x208], rdx
mov qword [rsp + 0x210], r8
mov qword [rsp + 0x218], r9
ja 0x5c2f80
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.MAX_4__MIN_6__ms__cParams.minMatch____6
mov r8d, 0x574
call fcn.0059d7c0
cmp dword [rbx + 0x10c], 4
jbe 0x5c2fa2
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.MAX_4__MIN_6__ms__cParams.searchLog____4
mov r8d, 0x574
call fcn.0059d7c0
mov rax, qword [rbx + 0x38]
mov r14, qword [rsp + 0x208]
mov ecx, dword [rbx + 0x100]
mov edx, dword [rbx + 0x1c]
mov r15, qword [rbx + 0x70]
mov r8d, dword [rbx + 0x34]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 8]
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
mov rsi, qword [rsp + 0x30]
sub r14, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x48], r14d
add rsi, rax
mov dword [rsp + 0x90], eax
add rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x68], rax
mov eax, 1
shl eax, cl
mov ecx, r14d
sub ecx, edx
cmp eax, ecx
jae 0x5c3021
mov esi, r14d
sub esi, eax
mov dword [rsp + 0x3c], esi
cmp dword [rbx + 0x28], 0
mov rax, qword [rbx + 0x60]
mov ecx, 4
cmove edx, dword [rsp + 0x3c]
cmp dword [rbx + 0x10c], 4
cmovbe ecx, dword [rbx + 0x10c]
mov qword [rsp + 0x70], rax
mov eax, 1
mov dword [rsp + 0x3c], edx
shl eax, cl
cmp dword [rbx + 0x12c], 0
mov dword [rsp + 0x94], eax
lea eax, [r8 + 8]
mov dword [rsp + 0x38], eax
jne 0x5c35da
mov esi, dword [rbx + 0x2c]
lea rax, [rbx + 0x40]
mov qword [rsp + 0x50], rax
mov eax, r14d
sub eax, esi
cmp eax, 0x180
jbe 0x5c3336
lea eax, [rsi + 0x60]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
lea r13, [rax + rsi]
cmp dword [rsp + 0x78], esi
mov dword [rsp + 0x60], esi
jbe 0x5c3216
cmp dword [rsp + 0x38], 0x20
mov rbp, qword [rbx + 0x60]
lea rdi, [r13 + 8]
jbe 0x5c30cf
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov edx, dword [rsp + 0x38]
mov r8, rbp
mov rcx, rdi
call fcn.005ff5b0
mov ebp, eax
mov edx, 0x40
mov rdi, rax
shr ebp, 8
shl ebp, 4
lea rcx, [r15 + rbp*4]
add rbp, qword [rsp + 0x40]
prefetcht0 byte [rcx]
prefetcht0 byte [rbp]
call fcn.00600910
test eax, eax
jne 0x5c3120
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_hashTable__relRow__64_
mov r8d, 0x32e
call fcn.0059d7c0
mov edx, 0x10
mov rcx, rbp
call fcn.00600910
test eax, eax
jne 0x5c314a
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
mov r8d, 0x32f
call fcn.0059d7c0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
and eax, 7
lea rax, [rcx + rax*4]
mov ecx, dword [rax]
mov dword [rax], edi
mov rax, qword [rsp + 0x40]
mov ebp, ecx
mov dword [rsp + 0x4c], ecx
shr ebp, 8
shl ebp, 4
lea r12, [rax + rbp]
movzx edi, byte [r12]
dec edi
and edi, 0xf
cmp edi, 1
sbb eax, eax
and eax, 0xf
add edi, eax
mov eax, ecx
cmp dword [rsp + 0x38], 0x20
mov byte [r12], dil
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x88], rax
jbe 0x5c31c1
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x38]
mov rcx, r13
call fcn.005ff5b0
cmp qword [rsp + 0x80], rax
je 0x5c31f8
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_
mov r8d, 0x375
call fcn.0059d7c0
mov al, byte [rsp + 0x4c]
inc r13
inc rsi
mov byte [r12 + rdi], al
mov eax, dword [rsp + 0x60]
add rdi, rbp
mov dword [r15 + rdi*4], eax
jmp 0x5c3099
mov rax, qword [rsp + 0x208]
lea edi, [r14 - 0x20]
mov ecx, dword [rbx + 0x34]
mov rsi, rdi
add rdi, qword [rsp + 0x30]
lea rdx, [rax + 1]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x78], rax
xor eax, eax
cmp rdx, rdi
jb 0x5c3250
sub rdx, rdi
lea eax, [rdx + 1]
cmp eax, 8
mov edx, 8
mov r12d, esi
cmova eax, edx
add eax, esi
mov dword [rsp + 0x80], eax
lea eax, [rcx + 8]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x80], r12d
jbe 0x5c3336
cmp dword [rsp + 0x4c], 0x20
mov rbp, qword [rbx + 0x60]
jbe 0x5c32a0
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov edx, dword [rsp + 0x4c]
mov r8, rbp
mov rcx, rdi
call fcn.005ff5b0
mov ebp, eax
mov r13, rax
mov rax, qword [rsp + 0x60]
shr ebp, 8
mov edx, 0x40
shl ebp, 4
lea rcx, [rax + rbp*4]
add rbp, qword [rsp + 0x78]
prefetcht0 byte [rcx]
prefetcht0 byte [rbp]
call fcn.00600910
test eax, eax
jne 0x5c32f6
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_hashTable__relRow__64_
mov r8d, 0x32e
call fcn.0059d7c0
mov edx, 0x10
mov rcx, rbp
call fcn.00600910
test eax, eax
jne 0x5c3320
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
mov r8d, 0x32f
call fcn.0059d7c0
mov eax, r12d
inc rdi
inc r12d
and eax, 7
mov dword [rbx + rax*4 + 0x40], r13d
jmp 0x5c326e
cmp r14d, esi
jae 0x5c3354
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.target___idx
mov r8d, 0x397
call fcn.0059d7c0
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 8]
add rax, rsi
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x34]
add eax, 8
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x48], esi
mov dword [rsp + 0x88], esi
jbe 0x5c3518
cmp dword [rsp + 0x4c], 0x20
mov rax, qword [rsp + 0x60]
mov rbp, qword [rbx + 0x60]
lea rdi, [rax + 8]
jbe 0x5c33bd
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov edx, dword [rsp + 0x4c]
mov r8, rbp
mov rcx, rdi
call fcn.005ff5b0
mov ebp, eax
mov rdi, rax
mov rax, qword [rsp + 0x78]
shr ebp, 8
mov edx, 0x40
shl ebp, 4
lea rcx, [rax + rbp*4]
add rbp, qword [rsp + 0x80]
prefetcht0 byte [rcx]
prefetcht0 byte [rbp]
call fcn.00600910
test eax, eax
jne 0x5c3416
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_hashTable__relRow__64_
mov r8d, 0x32e
call fcn.0059d7c0
mov edx, 0x10
mov rcx, rbp
call fcn.00600910
test eax, eax
jne 0x5c3440
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
mov r8d, 0x32f
call fcn.0059d7c0
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
and eax, 7
lea rax, [rcx + rax*4]
mov r13d, dword [rax]
mov dword [rax], edi
mov rax, qword [rsp + 0x80]
mov ebp, r13d
shr ebp, 8
shl ebp, 4
lea r12, [rax + rbp]
movzx edi, byte [r12]
dec edi
and edi, 0xf
cmp edi, 1
sbb eax, eax
and eax, 0xf
add edi, eax
mov eax, r13d
cmp dword [rsp + 0x4c], 0x20
mov byte [r12], dil
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0xa8], rax
jbe 0x5c34bc
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x60]
call fcn.005ff5b0
cmp qword [rsp + 0xa0], rax
je 0x5c34f5
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_
mov r8d, 0x375
call fcn.0059d7c0
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x88]
inc rsi
mov byte [r12 + rdi], r13b
add rdi, rbp
inc qword [rsp + 0x60]
mov dword [rax + rdi*4], ecx
jmp 0x5c337f
cmp dword [rsp + 0x38], 0x20
mov rsi, qword [rsp + 0x30]
mov eax, r14d
mov dword [rbx + 0x2c], r14d
lea rsi, [rsi + rax + 8]
jbe 0x5c3549
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.005ff5b0
mov esi, eax
mov edx, 0x40
mov rdi, rax
shr esi, 8
shl esi, 4
lea rcx, [r15 + rsi*4]
add rsi, qword [rsp + 0x40]
prefetcht0 byte [rcx]
prefetcht0 byte [rsi]
call fcn.00600910
test eax, eax
jne 0x5c359b
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_hashTable__relRow__64_
mov r8d, 0x32e
call fcn.0059d7c0
mov edx, 0x10
mov rcx, rsi
call fcn.00600910
test eax, eax
jne 0x5c35c5
lea rdx, str.zstd_lib_compress_zstd_lazy.c
lea rcx, str.ZSTD_isAligned_tagTable__relRow___size_t_1____rowLog_
mov r8d, 0x32f
call fcn.0059d7c0
mov rsi, qword [rsp + 0x50]
mov rax, r14
and eax, 7
lea rdx, [rsi + rax*4]
mov eax, dword [rdx]
mov dword [rdx], edi
jmp 0x5c3614
cmp dword [rsp + 0x38], 0x20
jbe 0x5c35fa
lea rdx, [0x0079d3c0]
lea rcx, [0x0079d4f9]
mov r8d, 0x353
call fcn.0059d7c0
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x208]
call fcn.005ff5b0
mov dword [rbx + 0x2c], r14d
mov r12, qword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov r9d, eax
movd xmm0, dword [rsp + 0x40]
add dword [rbx + 0x68], eax
shr r9d, 8
shl r9d, 4
lea r14, str.numMatches___rowEntries
mov bpl, al
punpcklbw xmm0, xmm0
add r12, r9
mov cl, byte [r12]
lea rsi, [r15 + r9*4]
punpcklwd xmm0, xmm0
movups xmm1, xmmword [r12]
and ecx, 0xf
movzx edi, cl
pshufd xmm0, xmm0, 0
mov dword [rsp + 0x38], edi
xor edi, edi
pcmpeqb xmm0, xmm1
pmovmskb r15d, xmm0
ror r15w, cl
movzx r15d, r15w
test r15, r15
jne 0x5c36cc
movzx eax, byte [r12]
dec eax
and eax, 0xf
cmp eax, 1
sbb edx, edx
and edx, 0xf
add eax, edx
mov byte [r12], al
mov byte [r12 + rax], bpl
xor ebp, ebp
mov edx, dword [rbx + 0x2c]
lea r12, str.zstd_lib_compress_zstd_lazy.c
lea ecx, [rdx + 1]
mov dword [rbx + 0x2c], ecx
mov dword [rsi + rax*4], edx
mov esi, 3
mov eax, dword [rsp + 0x48]
add eax, 3
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x208]
lea r14, [rax + 4]
jmp 0x5c37c5
cmp dword [rsp + 0x94], 0
je 0x5c367a
mov rcx, r15
call fcn.005fb900
add eax, dword [rsp + 0x38]
and eax, 0xf
je 0x5c3742
mov eax, eax
cmp rdi, 0xf
mov r13d, dword [rsi + rax*4]
jbe 0x5c3708
lea rdx, str.zstd_lib_compress_zstd_lazy.c
mov r8d, 0x4bb
mov rcx, r14
call fcn.0059d7c0
cmp r13d, dword [rsp + 0x3c]
jb 0x5c367a
cmp dword [rsp + 0x90], r13d
mov edx, r13d
ja 0x5c3727
mov rax, qword [rsp + 0x30]
jmp 0x5c372c
mov rax, qword [rsp + 0x58]
prefetcht0 byte [rax + rdx]
dec dword [rsp + 0x94]
mov dword [rsp + rdi*4 + 0xb0], r13d
inc rdi
lea rax, [r15 - 1]
and r15, rax
jmp 0x5c3675
mov ebx, dword [rsp + rbp*4 + 0xb0]
cmp dword [rsp + 0x48], ebx
ja 0x5c3770
lea rcx, [0x0079d5f0]
mov r8d, 0x4d3
mov rdx, r12
call fcn.0059d7c0
cmp dword [rsp + 0x3c], ebx
jbe 0x5c378b
lea rcx, str.matchIndex___lowLimit
mov r8d, 0x4d4
mov rdx, r12
call fcn.0059d7c0
cmp dword [rsp + 0x90], ebx
mov edx, ebx
ja 0x5c37cf
add rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x208]
mov ecx, dword [rdx + rsi - 3]
cmp dword [rax + rsi - 3], ecx
jne 0x5c37c2
mov r8, qword [rsp + 0x210]
mov rcx, rax
call fcn.005fb670
cmp rsi, rax
jb 0x5c3832
inc rbp
cmp rdi, rbp
jne 0x5c374e
jmp 0x5c3887
mov rax, qword [rsp + 0x58]
lea r15, [rax + rdx]
lea r13, [r15 + 4]
cmp qword [rsp + 0x68], r13
jae 0x5c37f8
lea rcx, str.match4___dictEnd
mov r8d, 0x4de
mov rdx, r12
call fcn.0059d7c0
mov rax, qword [rsp + 0x208]
mov edx, dword [r15]
cmp dword [rax], edx
jne 0x5c37c2
mov rax, qword [rsp + 0x98]
mov r9, qword [rsp + 0x68]
mov rdx, r13
mov r8, qword [rsp + 0x210]
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.005fb9e0
add rax, 4
jmp 0x5c37bd
cmp dword [rsp + 0x48], ebx
jne 0x5c3857
lea rcx, [0x0079d631]
mov r8d, 0x4e6
mov rdx, r12
mov qword [rsp + 0x40], rax
call fcn.0059d7c0
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x38]
sub edx, ebx
mov rbx, qword [rsp + 0x218]
mov esi, edx
mov rdx, qword [rsp + 0x208]
mov qword [rbx], rsi
add rdx, rax
cmp qword [rsp + 0x210], rdx
je 0x5c388a
mov rsi, rax
jmp 0x5c37c2
mov rax, rsi
add rsp, 0x1b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret