Function at 0x1400c3bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov dword [rsp + 0x20], 0x31425352
cmp qword [rdx + 0x18], 0xf
jbe 0x1400c3c14
mov r12, qword [rdx]
add r12, qword [rdx + 0x10]
mov rdi, qword [rdx]
jmp 0x1400c3c1b
mov r12, qword [rdx + 0x10]
add r12, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r14, rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x80], rbx
mov r14, r12
sub r14, rdi
je 0x1400c3cc0
movabs r15, 0x7fffffffffffffff
cmp r14, r15
ja 0x1400c4787
cmp r14, 0x1000
jb 0x1400c3c85
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1400c478c
call fcn.1400ff5ac
test rax, rax
je 0x1400c4737
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400c3c90
mov rcx, r14
call fcn.1400ff5ac
mov rsi, rax
mov qword [rsp + 0x70], rsi
add r14, rsi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x80], r14
sub r12, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r12, r14
mov qword [rsp + 0x78], r14
jmp 0x1400c3cca
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rbx
mov ecx, 4
call fcn.1400ff5ac
mov r14, rax
mov qword [rsp + 0xd0], rax
add rax, 4
mov qword [rsp + 0xe0], rax
xor ecx, ecx
mov dword [r14], ecx
mov qword [rsp + 0xd8], rax
mov r9, rbx
lea rax, [rsp + 0x20]
mov r10, rsi
sub r10, rax
lea rax, [rsp + 0x20]
mov r11, r14
sub r11, rax
nop word [rax + rax]
lea r8, [rsp + 0x20]
add r8, r9
movzx edx, byte [r10 + r8]
xor dl, byte [r8]
movzx eax, r9b
imul ecx, eax, 0x29
sub dl, cl
mov byte [r11 + r8], dl
inc r9
cmp r9, 4
jb 0x1400c3d30
mov rdx, rbx
mov r9, r12
sub r9, rsi
je 0x1400c3d90
mov r8, rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, rdx
and ecx, 3
movzx eax, r8b
add al, byte [rcx + r14]
xor byte [rsi + rdx], al
inc rdx
add r8, 0x29
cmp rdx, r9
jb 0x1400c3d70
nop dword [rax]
movzx edi, byte [r14 + 3]
shl edi, 8
movzx eax, byte [r14 + 2]
or edi, eax
shl edi, 8
movzx eax, byte [r14 + 1]
or edi, eax
shl edi, 8
movzx eax, byte [r14]
or edi, eax
mov rdx, r12
sub rdx, rsi
mov r8d, 0x2a
mov rcx, rsi
call sub.xxhash.dll_XXH32
cmp eax, edi
je 0x1400c4080
xor edx, edx
mov cl, 0x46
call fcn.140072910
mov byte [rsp + 0xf0], al
mov edx, 1
mov cl, 0x61
call fcn.140072910
mov byte [rsp + 0xf1], al
mov edx, 2
mov cl, 0x69
call fcn.140072910
mov byte [rsp + 0xf2], al
mov edx, 3
mov cl, 0x6c
call fcn.140072910
mov byte [rsp + 0xf3], al
mov edx, 4
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0xf4], al
mov edx, 5
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0xf5], al
mov edx, 6
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0xf6], al
mov edx, 7
mov cl, 0x74
call fcn.140072910
mov byte [rsp + 0xf7], al
mov edx, 8
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0xf8], al
mov edx, 9
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0xf9], al
mov edx, 0xa
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0xfa], al
mov edx, 0xb
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0xfb], al
mov edx, 0xc
mov cl, 0x63
call fcn.140072910
mov byte [rsp + 0xfc], al
mov edx, 0xd
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0xfd], al
mov edx, 0xe
mov cl, 0x6d
call fcn.140072910
mov byte [rsp + 0xfe], al
mov edx, 0xf
mov cl, 0x70
call fcn.140072910
mov byte [rsp + 0xff], al
mov edx, 0x10
mov cl, 0x72
call fcn.140072910
mov byte [rsp + 0x100], al
mov edx, 0x11
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x101], al
mov edx, 0x12
mov cl, 0x73
call fcn.140072910
mov byte [rsp + 0x102], al
mov edx, 0x13
mov cl, 0x73
call fcn.140072910
mov byte [rsp + 0x103], al
mov edx, 0x14
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x104], al
mov edx, 0x15
mov cl, 0x62
call fcn.140072910
mov byte [rsp + 0x105], al
mov edx, 0x16
mov cl, 0x79
call fcn.140072910
mov byte [rsp + 0x106], al
mov edx, 0x17
mov cl, 0x74
call fcn.140072910
mov byte [rsp + 0x107], al
mov edx, 0x18
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x108], al
mov edx, 0x19
mov cl, 0x63
call fcn.140072910
mov byte [rsp + 0x109], al
mov edx, 0x1a
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0x10a], al
mov edx, 0x1b
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0x10b], al
mov edx, 0x1c
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x10c], al
mov edx, 0x1d
mov cl, 0x2e
call fcn.140072910
mov byte [rsp + 0x10d], al
mov edx, 0x1e
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x10e], al
mov edx, 0x1f
mov cl, 0x28
call fcn.140072910
mov byte [rsp + 0x10f], al
mov edx, 0x20
mov cl, 0x31
call fcn.140072910
mov byte [rsp + 0x110], al
mov edx, 0x21
mov cl, 0x29
call fcn.140072910
mov byte [rsp + 0x111], al
xor eax, eax
mov byte [rsp + 0x112], al
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0xf0]
add rcx, rax
lea eax, [rbx + 0x13]
xor byte [rcx], al
inc ebx
cmp ebx, 0x22
jae 0x1400c4792
jmp 0x1400c4060
movzx edi, byte [rsi + 7]
shl edi, 8
movzx eax, byte [rsi + 6]
or edi, eax
shl edi, 8
movzx eax, byte [rsi + 5]
or edi, eax
shl edi, 8
movzx eax, byte [rsi + 4]
or edi, eax
mov dword [rsp + 0x20], edi
lea rax, [rsi + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rbx
mov r15, r12
sub r15, rax
je 0x1400c4151
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x1400c47c3
cmp r15, 0x1000
jb 0x1400c410d
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400c47c8
call fcn.1400ff5ac
test rax, rax
je 0x1400c46b9
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x1400c4118
mov rcx, r15
call fcn.1400ff5ac
mov r12, rax
mov qword [rsp + 0xf0], r12
add r15, r12
mov qword [rsp + 0x100], r15
mov r8, qword [rsp + 0x28]
lea rdx, [rsi + 8]
sub r8, rdx
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xf8], rcx
jmp 0x1400c4166
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0xf0]
mov r15d, edi
mov qword [rsp + 0x90], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rbx
test edi, edi
je 0x1400c41fd
cmp r15, 0x1000
jb 0x1400c41bf
lea rcx, [rdi + 0x27]
cmp rcx, r15
jbe 0x1400c47ce
call fcn.1400ff5ac
test rax, rax
je 0x1400c4674
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400c41ca
mov rcx, r15
call fcn.1400ff5ac
mov rdi, rax
mov qword [rsp + 0x40], rdi
add r15, rdi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x50], r15
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rax, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rax
jmp 0x1400c4207
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
sub r9, r12
mov edx, dword [rsp + 0x20]
mov r8, r12
mov rcx, rdi
call qword [sym.imp.zstd.dll_ZSTD_decompress]
mov qword [rsp + 0x20], rax
mov rcx, rax
call qword [sym.imp.zstd.dll_ZDICT_isError]
test eax, eax
je 0x1400c44e1
xor edx, edx
mov cl, 0x46
call fcn.140072910
mov byte [rsp + 0x118], al
mov edx, 1
mov cl, 0x61
call fcn.140072910
mov byte [rsp + 0x119], al
mov edx, 2
mov cl, 0x69
call fcn.140072910
mov byte [rsp + 0x11a], al
mov edx, 3
mov cl, 0x6c
call fcn.140072910
mov byte [rsp + 0x11b], al
mov edx, 4
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x11c], al
mov edx, 5
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0x11d], al
mov edx, 6
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x11e], al
mov edx, 7
mov cl, 0x74
call fcn.140072910
mov byte [rsp + 0x11f], al
mov edx, 8
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0x120], al
mov edx, 9
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x121], al
mov edx, 0xa
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0x122], al
mov edx, 0xb
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x123], al
mov edx, 0xc
mov cl, 0x63
call fcn.140072910
mov byte [rsp + 0x124], al
mov edx, 0xd
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0x125], al
mov edx, 0xe
mov cl, 0x6d
call fcn.140072910
mov byte [rsp + 0x126], al
mov edx, 0xf
mov cl, 0x70
call fcn.140072910
mov byte [rsp + 0x127], al
mov edx, 0x10
mov cl, 0x72
call fcn.140072910
mov byte [rsp + 0x128], al
mov edx, 0x11
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x129], al
mov edx, 0x12
mov cl, 0x73
call fcn.140072910
mov byte [rsp + 0x12a], al
mov edx, 0x13
mov cl, 0x73
call fcn.140072910
mov byte [rsp + 0x12b], al
mov edx, 0x14
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x12c], al
mov edx, 0x15
mov cl, 0x62
call fcn.140072910
mov byte [rsp + 0x12d], al
mov edx, 0x16
mov cl, 0x79
call fcn.140072910
mov byte [rsp + 0x12e], al
mov edx, 0x17
mov cl, 0x74
call fcn.140072910
mov byte [rsp + 0x12f], al
mov edx, 0x18
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x130], al
mov edx, 0x19
mov cl, 0x63
call fcn.140072910
mov byte [rsp + 0x131], al
mov edx, 0x1a
mov cl, 0x6f
call fcn.140072910
mov byte [rsp + 0x132], al
mov edx, 0x1b
mov cl, 0x64
call fcn.140072910
mov byte [rsp + 0x133], al
mov edx, 0x1c
mov cl, 0x65
call fcn.140072910
mov byte [rsp + 0x134], al
mov edx, 0x1d
mov cl, 0x2e
call fcn.140072910
mov byte [rsp + 0x135], al
mov edx, 0x1e
mov cl, 0x20
call fcn.140072910
mov byte [rsp + 0x136], al
mov edx, 0x1f
mov cl, 0x28
call fcn.140072910
mov byte [rsp + 0x137], al
mov edx, 0x20
mov cl, 0x32
call fcn.140072910
mov byte [rsp + 0x138], al
mov edx, 0x21
mov cl, 0x29
call fcn.140072910
mov byte [rsp + 0x139], al
xor eax, eax
mov byte [rsp + 0x13a], al
movsxd rax, ebx
lea rcx, [rsp + 0x118]
add rcx, rax
lea eax, [rbx + 0x13]
xor byte [rcx], al
inc ebx
cmp ebx, 0x22
jae 0x1400c47d4
jmp 0x1400c44c1
mov r9, qword [rsp + 0x28]
mov rdx, r9
sub rdx, rdi
mov rcx, qword [rsp + 0x20]
cmp rcx, rdx
jae 0x1400c44fc
lea r15, [rdi + rcx]
jmp 0x1400c4552
jbe 0x1400c4557
mov rax, qword [rsp + 0x38]
sub rax, rdi
cmp rcx, rax
jbe 0x1400c4533
lea r8, [rsp + 0x30]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400c34b0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x1400c4557
sub rcx, rdx
mov qword [rsp + 0x20], rcx
mov r8, rcx
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov r15, qword [rsp + 0x20]
add r15, qword [rsp + 0x28]
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov eax, 0xf
mov qword [r13 + 0x18], rax
cmp rdi, r15
jne 0x1400c457b
mov byte [r13], 0
jmp 0x1400c4646
sub r15, rdi
movabs rcx, 0x7fffffffffffffff
cmp r15, rcx
ja 0x1400c4805
cmp r15, rax
jbe 0x1400c4622
mov rax, r15
or rax, 0xf
cmp rax, rcx
jbe 0x1400c45d4
mov qword [rsp + 0x28], rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ff5ac
test rax, rax
je 0x1400c4601
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400c4615
mov ecx, 0x16
cmp rax, rcx
cmovb rax, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400c4608
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c480a
jmp 0x1400c45b9
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400c461a
call fcn.1400ff5ac
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [r13], rbx
mov qword [r13 + 0x18], rax
mov rbx, r13
cmp rax, 0xf
jbe 0x1400c462f
mov rbx, qword [r13]
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [r13 + 0x10], r15
mov byte [rbx + r15], 0
test rdi, rdi
je 0x1400c4687
mov rcx, qword [rsp + 0x38]
sub rcx, rdi
mov rax, rdi
cmp rcx, 0x1000
jb 0x1400c467b
add rcx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c467b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, rdi
call fcn.1400ff5e8
nop
test r12, r12
je 0x1400c46cc
mov rcx, qword [rsp + 0x100]
sub rcx, r12
mov rax, r12
cmp rcx, 0x1000
jb 0x1400c46c0
add rcx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c46c0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, r12
call fcn.1400ff5e8
nop
test r14, r14
je 0x1400c4709
mov rcx, qword [rsp + 0xe0]
sub rcx, r14
cmp rcx, 0x1000
jb 0x1400c46fd
add rcx, 0x27
mov rdx, qword [r14 - 8]
sub r14, rdx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400c473e
mov r14, rdx
mov rdx, rcx
mov rcx, r14
call fcn.1400ff5e8
nop
test rsi, rsi
je 0x1400c4750
mov rcx, qword [rsp + 0x60]
sub rcx, rsi
mov rax, rsi
cmp rcx, 0x1000
jb 0x1400c4745
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4745
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rcx
mov rcx, rsi
call fcn.1400ff5e8
mov rax, r13
jmp 0x1400c475a
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ff9a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140072b10
call fcn.140072ad0
nop
mov byte [rsp + 0x112], 0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa0]
call fcn.14008c7f0
lea rdx, [0x140130698]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.140072b10
call fcn.140072ad0
nop
call fcn.140072ad0
nop
mov byte [rsp + 0x13a], 0
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xb8]
call fcn.14008c7f0
lea rdx, [0x140130698]
lea rcx, [rsp + 0xb8]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.140072af0
call fcn.140072ad0
int3