Function at 0x1400d5d98
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rax, r8
mov rbx, rcx
mov rcx, qword [rbp + 0x200]
mov r8d, 0x40
cmp r9, r8
mov qword [rsp + 0x38], rcx
mov rdi, rdx
lea rcx, [rbp + 0x130]
cmovb r8, r9
mov rdx, rax
mov rsi, r9
call fcn.14011c290
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0xa8
call fcn.14011cde0
mov r8, rdi
lea rcx, [rbp + 0x50]
mov rdx, rbx
call fcn.1400d5cd8
mov ecx, dword [rbp + 0x208]
mov eax, 0xcccccccd
dec ecx
mov ebx, 0x14
mul ecx
lea edi, [rbx - 0x14]
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x1400d6050
mov r14d, dword [rbp + 0x210]
lea r15, [rsi + 4]
dec r14d
lea rax, [rbp + 0x50]
movups xmm0, xmmword [rax]
lea rcx, [rbp - 0x60]
movups xmm1, xmmword [rax + 0x10]
lea r12d, [rdi + 1]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rcx + 0x70], xmm1
movups xmm1, xmmword [rax + 0x90]
mov rax, qword [rax + 0xa0]
movups xmmword [rcx + 0x80], xmm0
movups xmmword [rcx + 0x90], xmm1
mov qword [rcx + 0xa0], rax
mov eax, r12d
shr eax, 0x18
mov byte [rbp + rsi + 0x130], al
mov eax, r12d
shr eax, 0x10
mov byte [rbp + rsi + 0x131], al
mov eax, r12d
shr eax, 8
mov byte [rbp + rsi + 0x132], al
lea eax, [rdi + 1]
mov byte [rbp + rsi + 0x133], al
test r15, r15
je 0x1400d5f0c
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x60]
call fcn.1400ab744
and qword [rsp + 0x20], 0
lea rdx, [rbp + 0x100]
xor r9d, r9d
lea rcx, [rbp - 0x60]
mov r8, rbx
call fcn.1400d5ba0
mov eax, dword [rbp + 0x110]
mov dword [rbp + 0x128], eax
mov byte [rsp + 0x30], 0
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rbp + 0x118], xmm0
test r14d, r14d
je 0x1400d601c
mov ebx, r14d
lea rax, [rbp + 0x50]
mov edx, 0x80
movups xmm0, xmmword [rax]
lea rcx, [rbp - 0x60]
movups xmm1, xmmword [rax + 0x10]
lea r8d, [rdx - 0x6c]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm0, xmmword [rax + rdx]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + rdx + 0x10]
mov rax, qword [rax + rdx + 0x20]
lea rdx, [rbp + 0x100]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.1400ab744
lea rax, [rsp + 0x30]
mov r8d, 0x14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x60]
call fcn.1400d5ba0
xor ecx, ecx
lea edx, [rcx + 0x14]
mov al, byte [rbp + rcx + 0x100]
xor byte [rbp + rcx + 0x118], al
inc rcx
sub rdx, 1
jne 0x1400d5ff8
sub rbx, 1
jne 0x1400d5f53
lea ebx, [rdx + 0x14]
mov eax, dword [rbp + 0x208]
lea ecx, [rdi + rdi*4]
shl ecx, 2
lea rdx, [rbp + 0x118]
sub eax, ecx
cmp eax, ebx
mov r8d, eax
cmova r8, rbx
add rcx, qword [rsp + 0x38]
call fcn.14011c290
mov edi, r12d
cmp r12d, r13d
jb 0x1400d5e4f
mov edx, 0x44
lea rcx, [rbp + 0x130]
call fcn.1400a9f40
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.1400a9f40
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.1400a9f40
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret