Function at 0x1401588c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
mov rdi, rdx
movdqa xmm6, xmmword [rcx]
lea rdx, [rbp - 0x20]
movaps xmmword [rax - 0x28], xmm7
mov rbx, rcx
movdqa xmm7, xmmword [rcx + 0x10]
lea rcx, [rbp - 0x30]
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
movdqa xmmword [rbp - 0x30], xmm6
movdqa xmmword [rbp - 0x20], xmm7
call fcn.1401558f0
movdqa xmm8, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x20]
movdqa xmm9, xmmword [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140155640
movdqa xmm10, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x20]
movdqa xmm11, xmmword [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140155390
movdqa xmm12, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x20]
movdqa xmm13, xmmword [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.1401550e0
movdqa xmm0, xmmword [rbx + 0x40]
movdqa xmm1, xmmword [rbx + 0x50]
movdqa xmm14, xmmword [rbp - 0x30]
movdqa xmm15, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rbx + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [rbx + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rbx + 0x80]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm1, xmmword [rbx + 0x90]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm0, xmmword [rbx + 0xa0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm1, xmmword [rbx + 0xb0]
mov ebx, select
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x10], xmm6
movdqa xmmword [rbp], xmm7
movdqa xmmword [rbp + 0x10], xmm8
movdqa xmmword [rbp + 0x20], xmm9
movdqa xmmword [rbp + 0x30], xmm10
movdqa xmmword [rbp + 0x40], xmm11
movdqa xmmword [rbp + 0x50], xmm12
movdqa xmmword [rbp + 0x60], xmm13
movdqa xmmword [rbp - 0x30], xmm14
movdqa xmmword [rbp - 0x20], xmm15
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x10]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rax, [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x80]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.14017e110
movdqa xmm4, xmmword [rsp + 0x50]
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmm1, xmmword [rsp + 0x70]
pxor xmm0, xmm4
pxor xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [rbp - 0x70]
pxor xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rbp - 0x70]
pxor xmm4, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm0, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm1, xmmword [rbp - 0x50]
pxor xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x40], xmm4
sub rbx, 1
jne 0x140158a30
lea rbx, [rdi + 0x20]
movdqa xmmword [rbp + 0x60], xmm6
mov edi, 0x8000
movdqa xmmword [rbp + 0x50], xmm7
movdqa xmmword [rbp + 0x40], xmm8
movdqa xmmword [rbp + 0x30], xmm9
movdqa xmmword [rbp + 0x20], xmm10
movdqa xmmword [rbp + 0x10], xmm11
movdqa xmmword [rbp], xmm12
movdqa xmmword [rbp - 0x10], xmm13
movdqa xmmword [rbp - 0x20], xmm14
movdqa xmmword [rbp - 0x30], xmm15
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rax, [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x80]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.14017e110
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14017e110
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbx - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbx - 0x10], xmm1
movdqa xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rbx], xmm0
movdqa xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbx + 0x10], xmm1
movdqa xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rbx + 0x20], xmm0
movdqa xmmword [rbx + 0x30], xmm1
movdqa xmm0, xmmword [rbp - 0x50]
movdqa xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbx + 0x40], xmm0
movdqa xmmword [rbx + 0x50], xmm1
lea rbx, [rbx + 0x80]
sub rdi, 1
jne 0x140158db0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop rbp
ret