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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x7c], 0
je 0x1401e1b1f
cmp dword [rsp + 0xe0], 0
jne 0x1401e1b1f
mov dword [rsp + 0x24], 1
jmp 0x1401e1b27
mov dword [rsp + 0x24], 0
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x18]
call fcn.1401d82a0
test eax, eax
je 0x1401e1b6e
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
mov ecx, 1
mov qword [rsp + 0x60], rcx
movzx ecx, al
mov rax, qword [rsp + 0x60]
shl rax, cl
mov qword [rsp + 0x40], rax
jmp 0x1401e1b77
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov ecx, 1
mov qword [rsp + 0x68], rcx
movzx ecx, al
mov rax, qword [rsp + 0x68]
shl rax, cl
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0xe0], 1
jne 0x1401e1bed
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], 3
jne 0x1401e1bed
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 0x11
jbe 0x1401e1bd5
mov dword [rsp + 0x28], 0x11
jmp 0x1401e1be3
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
jmp 0x1401e1bf5
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401e1c24
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov qword [rsp + 0x70], rcx
movzx ecx, al
mov rax, qword [rsp + 0x70]
shl rax, cl
mov qword [rsp + 0x48], rax
jmp 0x1401e1c2d
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xd8], 1
jne 0x1401e1c61
mov rax, qword [rsp + 0xb0]
mov rcx, rax
call fcn.1401e2e40
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd030
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0xb0]
call fcn.1401df1c0
mov rcx, qword [rsp + 0xb8]
call fcn.1401dccb0
mov rax, qword [rsp + 0x50]
shl rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd2d0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x78]
shl rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd2d0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x70], rax
mov rax, qword [rsp + 0x80]
shl rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd2d0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd120
test eax, eax
je 0x1401e1d2b
xor eax, eax
test eax, eax
je 0x1401e1d1f
lea rcx, [0x14031f8e8]
call fcn.1401e37b0
mov rax, 0xffffffffffffffc0
jmp 0x1401e1f6d
cmp dword [rsp + 0xd0], 1
je 0x1401e1d42
mov rcx, qword [rsp + 0xb8]
call fcn.1401dcbf0
cmp dword [rsp + 0xe0], 1
jne 0x1401e1e28
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x18], 7
jl 0x1401e1e28
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x80], rax
mov edx, 0x90
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x88], rax
mov edx, 0xd4
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x90], rax
mov edx, 0x80
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x98], rax
mov edx, 0x8008
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xa0], rax
mov edx, 0x1c01c
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xa8], rax
mov edx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x18]
call fcn.1401e21b0
test eax, eax
je 0x1401e1f21
mov rax, qword [rsp + 0x50]
shl rax, 1
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd0b0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x38], 0
je 0x1401e1e96
mov rax, qword [rsp + 0xb0]
mov rdi, qword [rax + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x58]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 6
jae 0x1401e1eb5
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
jmp 0x1401e1ebd
mov dword [rsp + 0x30], 6
cmp dword [rsp + 0x30], 4
jae 0x1401e1ece
mov dword [rsp + 0x38], 4
jmp 0x1401e1efd
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 6
jae 0x1401e1eed
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
jmp 0x1401e1ef5
mov dword [rsp + 0x34], 6
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 8]
sub eax, ecx
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0xb0]
lea rdi, [rax + 0xf0]
mov rsi, qword [rsp + 0xc0]
mov ecx, 0x1c
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xb8]
call fcn.1401dd120
test eax, eax
je 0x1401e1f6b
xor eax, eax
test eax, eax
je 0x1401e1f62
lea rcx, str.failed_a_workspace_allocation_in_ZSTD_reset_matchState
call fcn.1401e37b0
mov rax, 0xffffffffffffffc0
jmp 0x1401e1f6d
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
ret