Function at 0x1402dbde0
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 0x1402dbe1f
cmp dword [rsp + 0xe0], 0
jne 0x1402dbe1f
mov dword [rsp + 0x24], 1
jmp 0x1402dbe27
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.1402d25b0
test eax, eax
je 0x1402dbe6e
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 0x1402dbe77
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 0x1402dbeed
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], 3
jne 0x1402dbeed
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 0x11
jbe 0x1402dbed5
mov dword [rsp + 0x28], send
jmp 0x1402dbee3
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 0x1402dbef5
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402dbf24
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 0x1402dbf2d
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xd8], 1
jne 0x1402dbf61
mov rax, qword [rsp + 0xb0]
mov rcx, rax
call fcn.1402dd140
mov rcx, qword [rsp + 0xb8]
call fcn.1402d7340
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0xb0]
call fcn.1402d94c0
mov rcx, qword [rsp + 0xb8]
call fcn.1402d6fc0
mov rax, qword [rsp + 0x50]
shl rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1402d75d0
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.1402d75d0
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.1402d75d0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14005f740
test eax, eax
je 0x1402dc02b
xor eax, eax
test eax, eax
je 0x1402dc01f
lea rcx, [0x14047eaf8]
call fcn.1402ddab0
mov rax, 0xffffffffffffffc0
jmp 0x1402dc26d
cmp dword [rsp + 0xd0], 1
je 0x1402dc042
mov rcx, qword [rsp + 0xb8]
call fcn.1402d6f00
cmp dword [rsp + 0xe0], 1
jne 0x1402dc128
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x18], 7
jl 0x1402dc128
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x80], rax
mov edx, 0x90
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x88], rax
mov edx, 0xd4
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x90], rax
mov edx, 0x80
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x98], rax
mov edx, 0x8008
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xa0], rax
mov edx, 0x1c01c
mov rcx, qword [rsp + 0xb8]
call fcn.1402d73c0
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.1402dc4b0
test eax, eax
je 0x1402dc221
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.1402d73c0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x38], 0
je 0x1402dc196
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 0x1402dc1b5
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
jmp 0x1402dc1bd
mov dword [rsp + 0x30], 6
cmp dword [rsp + 0x30], 4
jae 0x1402dc1ce
mov dword [rsp + 0x38], 4
jmp 0x1402dc1fd
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 6
jae 0x1402dc1ed
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
jmp 0x1402dc1f5
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.14005f740
test eax, eax
je 0x1402dc26b
xor eax, eax
test eax, eax
je 0x1402dc262
lea rcx, str.failed_a_workspace_allocation_in_ZSTD_reset_matchState
call fcn.1402ddab0
mov rax, 0xffffffffffffffc0
jmp 0x1402dc26d
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
ret