Function at 0x1402cc740
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 0x1402cc77f
cmp dword [rsp + 0xe0], 0
jne 0x1402cc77f
mov dword [rsp + 0x24], 1
jmp 0x1402cc787
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.1402c2f10
test eax, eax
je 0x1402cc7ce
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 0x1402cc7d7
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 0x1402cc84d
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], 3
jne 0x1402cc84d
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 0x11
jbe 0x1402cc835
mov dword [rsp + 0x28], send
jmp 0x1402cc843
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 0x1402cc855
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402cc884
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 0x1402cc88d
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xd8], 1
jne 0x1402cc8c1
mov rax, qword [rsp + 0xb0]
mov rcx, rax
call fcn.1402cdaa0
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7ca0
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0xb0]
call fcn.1402c9e20
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7920
mov rax, qword [rsp + 0x50]
shl rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7f30
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.1402c7f30
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.1402c7f30
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14004fb80
test eax, eax
je 0x1402cc98b
xor eax, eax
test eax, eax
je 0x1402cc97f
lea rcx, [0x14046dae8]
call fcn.1402ce410
mov rax, 0xffffffffffffffc0
jmp 0x1402ccbcd
cmp dword [rsp + 0xd0], 1
je 0x1402cc9a2
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7860
cmp dword [rsp + 0xe0], 1
jne 0x1402cca88
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x18], 7
jl 0x1402cca88
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x80], rax
mov edx, 0x90
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x88], rax
mov edx, 0xd4
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x90], rax
mov edx, 0x80
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x98], rax
mov edx, 0x8008
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xa0], rax
mov edx, 0x1c01c
mov rcx, qword [rsp + 0xb8]
call fcn.1402c7d20
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.1402cce10
test eax, eax
je 0x1402ccb81
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.1402c7d20
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x38], 0
je 0x1402ccaf6
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 0x1402ccb15
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
jmp 0x1402ccb1d
mov dword [rsp + 0x30], 6
cmp dword [rsp + 0x30], 4
jae 0x1402ccb2e
mov dword [rsp + 0x38], 4
jmp 0x1402ccb5d
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 6
jae 0x1402ccb4d
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
jmp 0x1402ccb55
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.14004fb80
test eax, eax
je 0x1402ccbcb
xor eax, eax
test eax, eax
je 0x1402ccbc2
lea rcx, str.failed_a_workspace_allocation_in_ZSTD_reset_matchState
call fcn.1402ce410
mov rax, 0xffffffffffffffc0
jmp 0x1402ccbcd
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
ret