Function at 0x14000ba30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14001c010]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13, rcx
mov qword [rbp - 0x59], rcx
xor r12d, r12d
movups xmm0, xmmword [0x1400108d8]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1400108e8]
movsd qword [rbp - 0x79], xmm0
movzx eax, word [0x1400108f0]
mov word [rbp - 0x71], ax
movzx eax, byte [0x1400108f2]
mov byte [rbp - 0x6f], al
mov ecx, r12d
cmp dword [0x14001c018], 2
jl 0x14000bc08
movdqa xmm5, xmmword [0x140019070]
movdqa xmm4, xmmword [0x140019120]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x140019090]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400190e0]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14000bb00
cmp ecx, 0x1b
jge 0x14000bc4e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x14000bc20
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14000bc70
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x29]
call fcn.14000d560
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp - 0x19]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
cmp r9, rcx
jb 0x14000bed4
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14000d560
nop
lea r9, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rbp - 0x71]
cmp r14, 0x10
cmovae r9, rdi
mov r15, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
sub rax, r15
mov rsi, qword [rbp - 0x79]
cmp rsi, rax
ja 0x14000bd59
lea rax, [rsi + r15]
mov qword [rbp - 0x39], rax
lea rbx, [rbp - 0x49]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x49]
lea rcx, [rbx + r15]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r15], 0
jmp 0x14000bd73
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.14000d3d0
mov r14, qword [rbp - 0x71]
mov rdi, qword [rsp + 0x30]
cmp r14, 0x10
jb 0x14000bdaa
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000bda2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be3b
mov rcx, rdi
call fcn.14000db70
cmp qword [rbp - 0x39], 0xf
jne 0x14000bca0
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0xf
mov qword [r13 + 0x18], 0xf
movsd xmm0, qword [rcx]
movsd qword [r13], xmm0
mov eax, dword [rcx + 8]
mov dword [r13 + 8], eax
movzx eax, word [rcx + 0xc]
mov word [r13 + 0xc], ax
movzx eax, byte [rcx + 0xe]
mov byte [r13 + 0xe], al
mov byte [r13 + 0xf], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000be47
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000db70
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000be95
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000db70
mov rax, r13
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14000d8b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000d320
nop
int3