Function at 0x14008bca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x29], rcx
xor r12d, r12d
mov rsi, qword [rdx + 8]
cmp rsi, 8
jae 0x14008bd08
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov r8d, 0x19
lea rdx, str.Compressed_data_too_short
call fcn.140002930
jmp 0x14008bee4
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov qword [rbp - 0x11], r12
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.140021fe0
mov rbx, qword [rbp - 0x21]
mov r8, rsi
mov rdx, qword [r14]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov qword [rbp - 0x19], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r12
mov edx, 4
lea rcx, [rbp - 9]
call fcn.140021fe0
mov rax, qword [rbp - 9]
lea rcx, [rax + 4]
xor edx, edx
mov dword [rax], edx
mov qword [rbp - 1], rcx
mov rax, qword [rbp - 0x21]
movzx ecx, byte [rax]
xor cl, 0x52
mov rax, qword [rbp - 9]
mov byte [rax], cl
mov rax, qword [rbp - 0x21]
movzx ecx, byte [rax + 1]
xor cl, 0x53
mov rax, qword [rbp - 9]
mov byte [rax + 1], cl
mov rax, qword [rbp - 9]
add byte [rax + 1], 0xd7
mov rax, qword [rbp - 0x21]
movzx ecx, byte [rax + 2]
xor cl, 0x42
mov rax, qword [rbp - 9]
mov byte [rax + 2], cl
mov rax, qword [rbp - 9]
add byte [rax + 2], 0xae
mov rax, qword [rbp - 0x21]
movzx ecx, byte [rax + 3]
xor cl, 0x31
mov rax, qword [rbp - 9]
mov byte [rax + 3], cl
mov rcx, qword [rbp - 9]
sub byte [rcx + 3], 0x7b
mov r8, r12
mov rdx, qword [rbp - 0x19]
mov r9, qword [rbp - 0x21]
cmp rdx, r9
je 0x14008be00
mov rcx, r8
and ecx, 3
movzx eax, r8b
imul edx, eax, 0x29
mov rax, qword [rbp - 9]
add dl, byte [rcx + rax]
xor byte [r9 + r8], dl
inc r8
mov rdx, qword [rbp - 0x19]
mov rax, rdx
mov r9, qword [rbp - 0x21]
sub rax, r9
cmp r8, rax
jb 0x14008bdd2
mov r8, qword [rbp - 9]
movzx ebx, byte [r8 + 3]
shl ebx, 8
movzx eax, byte [r8 + 2]
or ebx, eax
shl ebx, 8
movzx eax, byte [r8 + 1]
or ebx, eax
shl ebx, 8
movzx eax, byte [r8]
or ebx, eax
sub rdx, r9
mov r8d, 0x2a
mov rcx, r9
call qword [sym.imp.xxhash.dll_XXH32]
xorps xmm0, xmm0
cmp eax, ebx
je 0x14008bf0f
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 0x22
lea rdx, str.Hash_mismatch_during_decompression
mov rcx, rdi
call fcn.140002930
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14008beaa
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008be99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c3c7
call fcn.1400cec64
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14008bee4
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bedf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c41c
call fcn.1400cec64
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ce8a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [rbp - 0x21]
movzx esi, byte [rcx + 7]
shl rsi, 8
movzx eax, byte [rcx + 6]
or rsi, rax
shl rsi, 8
movzx eax, byte [rcx + 5]
or rsi, rax
shl rsi, 8
movzx eax, byte [rcx + 4]
or rsi, rax
lea r15, [rcx + 8]
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r12
mov r14, qword [rbp - 0x19]
sub r14, r15
je 0x14008bf78
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140021fe0
mov rbx, qword [rbp - 0x49]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rbx]
mov qword [rbp - 0x41], rax
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14008bfb1
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bfac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bfac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x39]
movsd qword [rbp - 0x11], xmm1
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], r12
test rsi, rsi
je 0x14008bff6
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.140021fe0
mov rcx, qword [rbp + 0xf]
lea rbx, [rcx + rsi]
mov r8, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x17], rbx
mov r9, qword [rbp - 0x19]
mov r8, qword [rbp - 0x21]
sub r9, r8
mov rdx, rsi
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.zstd.dll_ZSTD_decompress]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.zstd.dll_ZSTD_isError]
test eax, eax
je 0x14008c212
mov rcx, rsi
call qword [sym.imp.zstd.dll_ZSTD_getErrorName]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14008c041
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140002930
nop
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
sub rax, r8
mov r15d, 0x1a
lea r14, str.ZSTD_decompression_error:
cmp rax, r15
jb 0x14008c0f0
lea rax, [r8 + 0x1a]
mov qword [rbp - 0x59], rax
lea rbx, [rbp - 0x69]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x69]
lea rax, [0x1400f04a2]
cmp rax, rbx
jbe 0x14008c0b4
lea rax, [rbx + r8]
cmp r14, rax
ja 0x14008c0b4
cmp rbx, r14
ja 0x14008c0ac
mov rsi, r12
jmp 0x14008c0b7
mov rsi, rbx
sub rsi, r14
jmp 0x14008c0b7
mov rsi, r15
inc r8
lea rcx, [rbx + 0x1a]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, rsi
lea rdx, [r14 + 0x1a]
add rdx, rsi
lea rcx, [rbx + rsi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x69]
jmp 0x14008c106
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp - 0x69]
call fcn.140020510
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp - 0x69]
call fcn.140013250
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14008c185
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14008c1ce
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c1bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c1bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14008bee4
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bedf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bedf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9, qword [rbp + 0x17]
mov rcx, r9
mov r14, qword [rbp + 0xf]
sub rcx, r14
cmp rsi, rcx
jae 0x14008c22f
lea rax, [r14 + rsi]
mov qword [rbp + 0x17], rax
jmp 0x14008c267
jbe 0x14008c267
mov rax, qword [rbp + 0x1f]
sub rax, r14
cmp rsi, rax
jbe 0x14008c24b
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.14008d280
jmp 0x14008c263
sub rsi, rcx
lea rbx, [rsi + r9]
mov r8, rsi
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x17], rbx
mov r14, qword [rbp + 0xf]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], rbx
mov rsi, qword [rbp + 0x17]
cmp r14, rsi
jne 0x14008c28b
mov byte [rdi], 0
jmp 0x14008c34d
sub rsi, r14
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14008c423
cmp rsi, rbx
jbe 0x14008c32a
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x14008c2e5
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ce9e0
mov rcx, rax
test rax, rax
je 0x14008c317
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008c323
mov eax, reloc.WS2_32.dll_shutdown
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14008c2ff
mov rax, r12
jmp 0x14008c323
cmp rcx, 0x1000
jb 0x14008c31e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008c429
jmp 0x14008c2c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce9e0
mov qword [rdi], rax
mov qword [rdi + 0x18], rbx
mov r15, rdi
cmp rbx, 0xf
jbe 0x14008c336
mov r15, qword [rdi]
mov r8, rsi
mov rdx, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], rsi
mov byte [r15 + rsi], 0
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14008c396
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14008c3df
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c3ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c3ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14008bee4
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bedf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bedf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001e10
int3
call fcn.140001d60
int3