Function at 0x140284960
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x978
movaps xmmword [rsp + 0x960], xmm7
movaps xmmword [rsp + 0x950], xmm6
mov rbx, r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x948], rax
movabs rsi, 0xffffffffffffe
lea rcx, [rsp + 0x240]
mov r8d, 0x708
mov dl, 0xaa
call fcn.1401496f0
xor ebp, ebp
movabs rdi, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1402cdfe0]
mov qword [rsp + 0x140], rdi
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0xa0], rdi
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
lea rcx, [rsp + 0x120]
mov rdx, rbx
call fcn.140285020
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x80]
call fcn.140285020
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov r11, qword [rsp + 0x120]
mov r13, qword [rsp + 0x128]
lea r9, [r11 + rax]
lea rdi, [r13 + rcx]
mov rdx, qword [rsp + 0x90]
mov r12, qword [rsp + 0x130]
lea r14, [r12 + rdx]
mov r8, qword [rsp + 0x98]
mov r10, qword [rsp + 0x138]
mov qword [rsp + rbp + 0x240], r9
lea r15, [r10 + r8]
mov qword [rsp + rbp + 0x248], rdi
mov r9, qword [rsp + 0xa0]
mov qword [rsp + rbp + 0x250], r14
mov rdi, qword [rsp + 0x140]
mov qword [rsp + rbp + 0x258], r15
lea r14, [rdi + r9]
mov qword [rsp + rbp + 0x260], r14
add rax, rsi
sub rax, r11
add rcx, rsi
sub rcx, r13
add rdx, rsi
sub rdx, r12
add r8, rsi
sub r8, r10
add r9, rsi
sub r9, rdi
movabs rdi, 0xaaaaaaaaaaaaaaaa
add rax, 0xffffffffffffffdc
mov qword [rsp + rbp + 0x268], rax
mov qword [rsp + rbp + 0x270], rcx
mov qword [rsp + rbp + 0x278], rdx
mov qword [rsp + rbp + 0x280], r8
mov qword [rsp + rbp + 0x288], r9
lea rax, [rsp + 0x290]
lea r13, [rax + rbp]
mov rcx, r13
lea rdx, [rsp + 0x120]
lea r8, [rsp + 0x80]
call fcn.1400c2000
mov rcx, r13
mov rdx, r13
lea r8, [0x140333e00]
call fcn.1400c2000
add rbp, 0x78
add rbx, 0x40
cmp rbp, 0x708
jne 0x1402849d4
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + 0x28]
mov qword [rsp + 0x68], rax
xorps xmm7, xmm7
movups xmmword [rcx + 0x20], xmm7
movups xmmword [rcx + 0x40], xmm7
movups xmmword [rcx + 0x30], xmm7
movups xmmword [rcx + 0x10], xmm7
movups xmmword [rcx], xmm7
mov eax, 1
mov qword [rcx + 0x28], rax
lea rdx, [rcx + 0x50]
mov qword [rsp + 0x60], rdx
movups xmmword [rcx + 0x58], xmm7
movups xmmword [rcx + 0x68], xmm7
mov qword [rcx + 0x50], rax
lea rax, [rcx + 0x78]
mov qword [rsp + 0x58], rax
movups xmmword [rcx + 0x78], xmm7
movups xmmword [rcx + 0x88], xmm7
mov qword [rcx + 0x98], 0
mov ecx, 0x3f
mov eax, ecx
shr eax, 3
mov r10, qword [rsp + 0x70]
movzx edx, byte [r10 + rax]
mov dword [rsp + 0x44], ecx
and cl, 7
movzx ecx, cl
xor r8d, r8d
bt edx, ecx
setb r8b
movzx edx, byte [r10 + rax + 8]
shr edx, cl
movzx r9d, byte [r10 + rax + 0x10]
shr r9d, cl
and edx, 1
lea edx, [r8 + rdx*2]
and r9d, 1
movzx eax, byte [r10 + rax + 0x18]
shr eax, cl
lea ecx, [rdx + r9*4]
and eax, 1
lea eax, [rcx + rax*8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1f0]
mov qword [rax + 0x20], rdi
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax], xmm6
movups xmmword [rax - 0x10], xmm7
movups xmmword [rax - 0x20], xmm7
mov qword [rsp + 0x1c8], 1
movups xmmword [rax + 0x38], xmm7
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x30], rax
lea rbp, [rsp + 0x2b0]
mov r8d, 0
mov r12d, 0
mov eax, 1
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
xor r13d, r13d
xor esi, esi
xor ebx, ebx
mov r15d, 1
xor r14d, r14d
xor edi, edi
xor edx, edx
mov ecx, 1
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
xor rcx, qword [rsp + 0x78]
dec rcx
sar rcx, 0x3f
mov rax, qword [rbp - 0x70]
xor rax, qword [rsp + 0x20]
and rax, rcx
xor rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], r12
mov r12, qword [rbp - 0x68]
xor r12, qword [rsp + 0x20]
and r12, rcx
xor r12, qword [rsp + 0x20]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 0x60]
xor rdx, qword [rsp + 0x20]
and rdx, rcx
xor rdx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov rdi, qword [rbp - 0x58]
xor rdi, qword [rsp + 0x20]
and rdi, rcx
xor rdi, qword [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp - 0x50]
xor r14, qword [rsp + 0x20]
and r14, rcx
xor r14, qword [rsp + 0x20]
mov qword [rsp + 0x20], r15
mov r15, qword [rbp - 0x48]
xor r15, qword [rsp + 0x20]
and r15, rcx
xor r15, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp - 0x40]
xor rbx, qword [rsp + 0x20]
and rbx, rcx
xor rbx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rsi
mov rsi, qword [rbp - 0x38]
xor rsi, qword [rsp + 0x20]
and rsi, rcx
xor rsi, qword [rsp + 0x20]
mov qword [rsp + 0x20], r13
mov r13, qword [rbp - 0x30]
xor r13, qword [rsp + 0x20]
and r13, rcx
xor r13, qword [rsp + 0x20]
mov qword [rsp + 0x20], r11
mov r11, qword [rbp - 0x28]
xor r11, qword [rsp + 0x20]
and r11, rcx
xor r11, qword [rsp + 0x20]
mov qword [rsp + 0x20], r10
mov r10, qword [rbp - 0x20]
xor r10, qword [rsp + 0x20]
and r10, rcx
xor r10, qword [rsp + 0x20]
mov qword [rsp + 0x20], r9
mov r9, qword [rbp - 0x18]
xor r9, qword [rsp + 0x20]
and r9, rcx
xor r9, qword [rsp + 0x20]
mov qword [rsp + 0x20], r8
mov r8, qword [rbp - 0x10]
mov rbp, qword [rsp + 0x20]
xor r8, rbp
and r8, rcx
xor r8, rbp
mov rbp, qword [rsp + 0x28]
mov qword [rsp + 0x20], rbp
mov rbp, qword [rsp + 0x38]
mov rbp, qword [rbp - 8]
xor rbp, qword [rsp + 0x20]
and rbp, rcx
xor rbp, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbp
mov rbp, qword [rsp + 0x30]
mov qword [rsp + 0x20], rbp
mov rbp, qword [rsp + 0x38]
mov rbp, qword [rbp]
xor rbp, qword [rsp + 0x20]
and rbp, rcx
mov rcx, qword [rsp + 0x50]
xor rbp, qword [rsp + 0x20]
mov qword [rsp + 0x30], rbp
mov rbp, qword [rsp + 0x38]
inc rcx
add rbp, 0x78
cmp rcx, 0x10
jne 0x140284c95
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], rdx
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1e8], r14
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], rbx
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x208], r13
mov qword [rsp + 0x210], r11
mov qword [rsp + 0x218], r10
mov qword [rsp + 0x220], r9
mov qword [rsp + 0x228], r8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x238], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x148]
mov qword [rbx + 0x70], rdi
movups xmmword [rbx + 0x60], xmm6
movups xmmword [rbx + 0x50], xmm6
movups xmmword [rbx + 0x40], xmm6
movups xmmword [rbx + 0x30], xmm6
movups xmmword [rbx + 0x20], xmm6
movups xmmword [rbx + 0x10], xmm6
movups xmmword [rbx], xmm6
mov r8d, 0xa0
lea r14, [rsp + 0x80]
mov rcx, r14
mov dl, 0xaa
call fcn.1401496f0
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
add rax, qword [rsi + 0x28]
add rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x10]
add rdx, qword [rsi + 0x38]
mov r8, qword [rsi + 0x18]
add r8, qword [rsi + 0x40]
mov r9, qword [rsi + 0x20]
add r9, qword [rsi + 0x48]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rdx
mov qword [rsp + 0x138], r8
mov qword [rsp + 0x140], r9
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
mov r8, rsi
call fcn.140284860
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + 0x20]
mov qword [rbx + 0x48], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbx + 0x38], xmm1
movups xmmword [rbx + 0x28], xmm0
lea rcx, [rsp + 0x198]
mov rdx, qword [rsp + 0x58]
lea r8, [0x140333e00]
call fcn.1400c2000
mov rcx, r14
mov rdx, rsi
lea r8, [rsp + 0x120]
call fcn.1400bec30
mov rcx, rsi
mov rdx, r14
call fcn.1400bebd0
mov rcx, r14
mov rdx, rsi
lea r8, [rsp + 0x1c8]
call fcn.1400bf2c0
mov rcx, rsi
mov rdx, r14
call fcn.1400bebd0
mov ecx, dword [rsp + 0x44]
dec ecx
cmp ecx, 0x40
jb 0x140284bb7
mov rcx, qword [rsp + 0x948]
xor rcx, rsp
call fcn.140110970
movaps xmm6, xmmword [rsp + 0x950]
movaps xmm7, xmmword [rsp + 0x960]
add rsp, 0x978
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret