Function at 0x14000b5a0
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 [0x140024010]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13, rcx
mov qword [rbp - 0x59], rcx
xor r12d, r12d
movups xmm0, xmmword [str.bcpdcalstlm]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x140018b20]
movsd qword [rbp - 0x79], xmm0
movzx eax, word [0x140018b28]
mov word [rbp - 0x71], ax
movzx eax, byte [0x140018b2a]
mov byte [rbp - 0x6f], al
mov r8d, r12d
cmp dword [0x140024018], 2
jl 0x14000b773
movdqa xmm5, xmmword [0x1400219d0]
movdqa xmm4, xmmword [0x140021a70]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140021a00]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x140021a40]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, r8d
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
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 [0x140021a30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
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 [0x140021a30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14000b670
cmp r8d, 0x1b
jge 0x14000b7b0
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x14000b780
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 + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14000b7d0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x29]
call fcn.140015820
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 0x14000ba34
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.140015820
nop
lea r9, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rbp - 0x71]
cmp r14, 0x10
cmovae r9, rbx
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 0x14000b8b9
lea rax, [rsi + r15]
mov qword [rbp - 0x39], rax
lea rdi, [rbp - 0x49]
cmp rcx, 0x10
cmovae rdi, qword [rbp - 0x49]
lea rcx, [rdi + r15]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x14000b8d3
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140015690
mov r14, qword [rbp - 0x71]
mov rbx, qword [rsp + 0x30]
cmp r14, 0x10
jb 0x14000b90a
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000b902
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b99b
mov rcx, rbx
call fcn.140015e30
cmp qword [rbp - 0x39], 0xf
jne 0x14000b800
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 0x14000b9a7
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9a2
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.140015e30
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000b9f5
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015e30
mov rax, r13
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140015b70
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.1400155e0
nop
int3