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

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4e03a6
push rbp
mov rbp, rsp
sub rsp, 0x90
mov r8, qword [rdx + 8]
mov r9d, ecx
sub ecx, ebx
mov r10, qword [rdx + 0x30]
mov r11, qword [rdx + 0x28]
cmp dword [r8 + 4], ecx
jle 0x4e025a
test ecx, ecx
jle 0x4e025a
mov rcx, qword [rdx + 0x18]
movsxd r12, ebx
cmp rcx, r12
jb 0x4e039c
mov r13, rcx
sub r13, r12
mov r15, r13
neg r13
sar r13, 0x3f
and r12, r13
cmp r15, 3
jbe 0x4e038f
mov r13, qword [rdx + 0x10]
mov r12d, dword [r13 + r12]
cmp r12d, edi
jne 0x4e025a
mov qword [rsp + 0x50], rcx
mov edi, dword [rax + 8]
cmp edi, 0x10
jle 0x4e0136
mov r12d, dword [rax + 4]
lea r15d, [rdi + r12]
movsxd r15, r15d
sub rcx, r15
nop dword [rax + rax]
test rcx, rcx
jle 0x4e012d
mov r15d, r9d
sub r9d, r12d
sub edi, r9d
cmp rcx, 2
jle 0x4e0126
lea r9d, [rdi - 8]
cmp r9d, 4
jle 0x4e011f
lea r9d, [rbx + rdi]
lea r9d, [r9 - 8]
movsxd r9, r9d
mov rcx, qword [rsp + 0x50]
nop word [rax + rax]
cmp rcx, r9
jb 0x4e0387
mov r12, rcx
sub r12, r9
mov qword [rsp + 0x60], r12
neg r12
sar r12, 0x3f
and r9, r12
mov r12, qword [rsp + 0x60]
cmp r12, 3
jbe 0x4e037a
lea edi, [r15 + rdi]
lea edi, [rdi - 8]
movsxd rdi, edi
mov r9d, dword [r9 + r13]
nop dword [rax + rax]
cmp rcx, rdi
jb 0x4e0372
mov r12, rcx
sub r12, rdi
mov qword [rsp + 0x58], r12
neg r12
sar r12, 0x3f
and rdi, r12
mov r12, qword [rsp + 0x58]
cmp r12, 3
jbe 0x4e0365
mov edi, dword [rdi + r13]
cmp edi, r9d
je 0x4e0139
add rsp, 0x90
pop rbp
ret
mov rcx, qword [rsp + 0x50]
jmp 0x4e0139
mov rcx, qword [rsp + 0x50]
jmp 0x4e0139
add rsp, 0x90
pop rbp
ret
mov r15d, r9d
lea edi, [r15 + 4]
movsxd rdi, edi
cmp rcx, rdi
jb 0x4e035b
mov rdx, qword [rdx + 0x20]
lea r9d, [rbx + 4]
mov r12, rdx
sub rdx, rdi
mov qword [rsp + 0x68], rdx
neg rdx
sar rdx, 0x3f
and rdx, rdi
movsxd r9, r9d
sub rcx, rdi
add rdx, r13
mov rdi, qword [rsp + 0x50]
cmp rdi, r9
jb 0x4e0350
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], ebx
mov dword [rsp + 0x4c], r15d
mov dword [rsp + 0xb4], esi
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x80], r11
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x70], r13
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x10], rax
sub r12, r9
sub rdi, r9
mov rcx, r12
neg r12
sar r12, 0x3f
and r9, r12
lea rdx, [r9 + r13]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rcx
call sym.github.com_klauspost_compress_zstd.matchLen.abi0
xorps xmm15, xmm15
mov r14, qword [0x0066fa48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
add eax, 4
mov ecx, dword [rsp + 0xb4]
test ecx, ecx
jge 0x4e024d
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx + 4]
mov esi, dword [rsp + 0x4c]
mov edi, esi
sub esi, edx
test esi, esi
mov edx, 0
cmovl esi, edx
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
mov ebx, dword [rsp + 0xa8]
jmp 0x4e02ed
mov edx, dword [rsp + 0xa8]
mov ebx, dword [rsp + 0x4c]
jmp 0x4e0263
add rsp, 0x90
pop rbp
ret
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x3c], xmm15
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ecx
mov rcx, qword [rsp + 0x88]
mov ebx, dword [rcx]
lea rax, [rsp + 0x38]
call sym.github.com_klauspost_compress_zstd._match_.estBits
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rcx + 0x10]
nop
cmp edx, 0x100010
jge 0x4e02cb
mov eax, dword [rsp + 0x48]
sub eax, edx
mov edx, dword [rsp + 0x3c]
sub edx, dword [rcx + 4]
mov rbx, qword [rsp + 0x88]
mov ebx, dword [rbx]
imul edx, ebx
sar edx, 0xa
add eax, edx
test eax, eax
jge 0x4e02dc
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
movups xmm0, xmmword [rsp + 0x3c]
movups xmmword [rcx + 4], xmm0
add rsp, 0x90
pop rbp
ret
inc eax
mov ebx, r10d
mov edi, r12d
cmp ebx, esi
jle 0x4e032c
cmp dword [rdx], edi
jge 0x4e032c
lea r10d, [rbx - 1]
movsxd r11, r10d
nop dword [rax]
cmp r9, r11
jbe 0x4e0345
lea r12d, [rdi - 1]
movsxd r13, r12d
movzx r11d, byte [r11 + r8]
cmp r9, r13
jbe 0x4e0335
movzx r13d, byte [r13 + r8]
nop dword [rax]
cmp r13b, r11b
jne 0x4e032c
cmp eax, 0x20002
jl 0x4e02e5
mov edx, ebx
mov ebx, edi
jmp 0x4e0263
mov rax, r13
mov rcx, r9
nop dword [rax + rax]
call sym.runtime.panicIndex
mov rax, r11
mov rcx, r9
call sym.runtime.panicIndex
mov rax, r9
mov rcx, rdi
call sym.runtime.panicSliceB
mov rax, rdi
nop
call sym.runtime.panicSliceB
mov eax, 3
mov rcx, r12
call sym.runtime.panicIndex
mov rax, rdi
call sym.runtime.panicSliceB
mov eax, 3
mov rcx, r12
call sym.runtime.panicIndex
mov rax, r9
call sym.runtime.panicSliceB
mov eax, 3
mov rcx, r15
call sym.runtime.panicIndex
mov rax, r12
nop
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x14], ecx
mov dword [rsp + 0x18], edi
mov dword [rsp + 0x1c], esi
nop dword [rax + rax]
call sym.runtime.morestack.abi0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x14]
mov edi, dword [rsp + 0x18]
mov esi, dword [rsp + 0x1c]
jmp sym.github.com_klauspost_compress_zstd._bestFastEncoder_.Encode.func2