Function at 0x140002200
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
lea rbp, [rax - 0x38]
sub rsp, 0x130
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
movups xmm0, xmmword [0x140011e38]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x140011e48]
movups xmmword [rsp + 0x50], xmm1
movzx eax, byte [0x140011e58]
mov byte [rsp + 0x60], al
mov ecx, esi
cmp dword [0x140017008], 2
jl 0x1400023b2
movdqa xmm5, xmmword [0x140011f00]
movdqa xmm4, xmmword [0x140011f50]
movdqa xmm6, xmmword [0x140011f20]
movdqa xmm0, xmmword [str.9999999999999999O]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
nop
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140011f30]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140011f30]
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, 0x20
jl 0x1400022b0
cmp ecx, 0x21
jge 0x1400023ec
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x21
jl 0x1400023c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140005730
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x58], 0
movdqu xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x28], 0
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x10], 0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov byte [rbp + 8], 0
cmp qword [rdi + 0x18], 0xf
jbe 0x140002457
mov r8, qword [rdi]
mov rdx, r8
add rdx, qword [rdi + 0x10]
mov rdi, r8
jmp 0x140002461
mov rdx, qword [rdi + 0x10]
add rdx, rdi
mov r8, rdi
mov qword [rsp + 0x28], r8
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x60]
mov rcx, rdi
call fcn.1400072a0
test al, al
je 0x14000253b
mov rcx, qword [rbp - 0x48]
sub rcx, qword [rbp - 0x50]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp - 8]
cmovne rax, qword [rbp - 0x50]
cmp byte [rax + 0x10], 0
je 0x1400024bb
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
jmp 0x1400024c4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
jne 0x1400024f4
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
jmp 0x140002501
sub r8, rdx
lea rcx, [rsp + 0x40]
call fcn.140006400
mov byte [rbx], 1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x18], xmm1
lea rcx, [rbp - 0x50]
call fcn.140005610
nop
lea rcx, [rsp + 0x70]
call fcn.140005fa0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140002596
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x140002583
mov byte [rbx], 0
lea rcx, [rbx + 8]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140011611]
call fcn.140006400
nop
lea rcx, [rbp - 0x50]
call fcn.140005610
nop
lea rcx, [rsp + 0x70]
call fcn.140005fa0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140002596
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140002596
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14000f240
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret