Function at 0x1400d0600
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x1400d062c
and al, 1
je 0x1400d08da
movzx eax, byte [rdi + 0x30]
test eax, eax
je 0x1400d06ad
cmp eax, 1
jne 0x1400d0751
movzx eax, byte [0x141934140]
mov edx, 0x50
xor ecx, ecx
call fcn.1400e65f0
test rax, rax
je 0x1400d08da
movaps xmm0, xmmword [0x140111560]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140111570]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x140111580]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140111590]
movups xmmword [rax + 0x30], xmm0
movdqa xmm0, xmmword [0x1401115a0]
movdqu xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x48], 0xa
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xa
jmp 0x1400d0880
movzx eax, byte [0x141934140]
mov edx, 0x200
xor ecx, ecx
call fcn.1400e65f0
test rax, rax
je 0x1400d08da
lea rdx, [0x1418e9d0c]
lea rcx, [0x1418e9b0c]
cmp rax, rdx
jae 0x1400d0803
mov rdx, rax
add rdx, 0x200
cmp rdx, rcx
jbe 0x1400d0803
xor edx, edx
nop word cs:[rax + rax]
mov r8d, dword [rcx + rdx*8]
mov r9d, dword [rcx + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rcx + rdx*8 + 8]
mov r9d, dword [rcx + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rdx, 0x40
jne 0x1400d0700
jmp 0x1400d0869
movzx eax, byte [0x141934140]
mov edx, 0x1818
xor ecx, ecx
call fcn.1400e65f0
test rax, rax
je 0x1400d08da
xor ecx, ecx
lea rdx, [0x1418e82a4]
movdqa xmm0, xmmword [0x140111550]
nop
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x1400d0780
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov qword [rsp + 0x48], 0x303
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x303
jmp 0x1400d0880
xor edx, edx
movdqa xmm0, xmmword [0x140111550]
nop dword [rax]
movdqu xmm1, xmmword [rdx + rcx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx], xmm2
add rdx, 0x10
cmp rdx, 0x200
jne 0x1400d0810
mov qword [rsp + 0x48], 0x40
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x40
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x48]
call fcn.1400dc540
mov rax, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movabs r14, 0x8000000000000000
cmp rax, r14
jne 0x1400d08dc
mov r14, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1400d0920
js 0x1400d08da
movzx eax, byte [0x141934140]
xor ecx, ecx
mov rdx, rbx
call fcn.1400e65f0
mov r15, rax
test rax, rax
jne 0x1400d0926
ud2
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r12
cmp byte [rdi + 0x31], 0
je 0x1400d0900
lea rcx, [rsp + 0x28]
call fcn.1400ca640
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov qword [rsi], r14
jmp 0x1400d097a
mov r15d, 1
add r12b, 3
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rdi + 0x10]
movups xmm1, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsi], rbx
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x18], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmm1, xmmword [rsp + 0x80]
movdqu xmmword [rsi + 0x38], xmm1
movups xmmword [rsi + 0x28], xmm0
mov byte [rsi + 0x48], r12b
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret