Function at 0x1401593a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x28
call fcn.1400a7e30
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov qword [rcx], r14
mov rdi, rdx
mov qword [rcx + 8], r14
mov rbx, rcx
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], r14
mov qword [rcx + 0x170], r14
cmp r8, 0xc
jne 0x1401593fe
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov byte [rcx + 0xf], 1
jmp 0x1401595da
mov qword [rsp + 0x58], rbp
mov rbp, rsi
mov qword [rsp + 0x50], rsi
cmp rsi, 0x10
jb 0x1401594ba
mov qword [rsp + 0x60], r12
mov r12, rbx
shr rbp, 4
neg r12
imul rax, rbp, 0xfffffffffffffff0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x20], r15
add rsi, rax
lea r15, [rcx + 0xf]
nop dword [rax]
lea r8, [r12 + rdi]
lea rax, [r8 + r15]
cmp rbx, rax
ja 0x140159480
cmp r15, rdi
jb 0x140159480
mov rax, rbx
mov edx, 0x10
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140159460
jmp 0x140159490
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.140159850
add rdi, 0x10
sub rbp, 1
jne 0x140159440
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
test rsi, rsi
je 0x14015955c
cmp rsi, 0x20
jb 0x140159524
lea rcx, [rbx - 1]
lea rax, [rdi - 1]
add rcx, rsi
add rax, rsi
cmp rbx, rax
ja 0x1401594e1
cmp rcx, rdi
jae 0x140159524
mov rdx, rsi
mov rcx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rbx
sub rcx, rbx
movdqu xmm0, xmmword [rax]
add r14, 0x20
movdqu xmm1, xmmword [rax + rcx]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r14, rdx
jb 0x1401594f1
cmp r14, rsi
jae 0x140159550
sub rdi, rbx
lea rcx, [r14 + rbx]
sub rsi, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x140159540
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.140159850
shl rbp, 3
lea rdx, [rbx + 0x60]
xor byte [rbx + 0xf], bpl
mov rax, rbp
shr rax, 0x38
mov rcx, rbx
xor byte [rbx + 8], al
mov rax, rbp
shr rax, 0x30
xor byte [rbx + 9], al
mov rax, rbp
shr rax, 0x28
xor byte [rbx + 0xa], al
mov rax, rbp
shr rax, 0x20
xor byte [rbx + 0xb], al
mov rax, rbp
shr rax, 0x18
xor byte [rbx + 0xc], al
mov rax, rbp
shr rax, 0x10
xor byte [rbx + 0xd], al
mov rax, rbp
shr rax, 8
xor byte [rbx + 0xe], al
call fcn.140159850
movzx eax, byte [rbx + 0xd]
movzx edi, byte [rbx + 0xc]
mov rbp, qword [rsp + 0x58]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xf]
shl edi, 8
or edi, eax
mov r8, qword [rbx + 0x180]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call qword [rbx + 0x178]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret