Function at 0x1400d4640
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, r8
mov qword [rcx + 8], rdx
mov rdi, rdx
lea r8, [r11 + 8]
mov rsi, rcx
xor ebx, ebx
mov rdx, rax
mov qword [r11 + 8], rbx
lea rcx, [0x14024b0f0]
call fcn.1400b3980
test al, al
jne 0x1400d46ed
lea r8d, [rbx + 2]
lea rdx, [rsp + 0x30]
lea rcx, [0x14024ae20]
call fcn.1400a5ac0
cmp qword [rax + 0x18], 8
jb 0x1400d469c
mov rax, qword [rax]
mov rcx, rax
call fcn.1400a1310
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400d46e6
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d46e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d49e0
call fcn.1400dcd18
xor al, al
jmp 0x1400d49cb
mov rcx, rdi
call fcn.1400d2680
mov rcx, qword [rsp + 0xf0]
movabs r9, 0x9024ae7fadc439f4
mov r10, qword [rax + 0x68]
mov rdx, qword [rcx + 0xb0]
xor r10, r9
mov r8, qword [rcx + 0xb8]
xor r9d, r9d
mov rcx, qword [rax]
sub r8, rdx
lea rax, [rsi + 0x10]
mov qword [rsp + 0x20], rax
call r10
mov r9d, eax
test eax, eax
jns 0x1400d4964
cmp dword [0x140248200], 2
movups xmm0, xmmword [str.r_VUASa_KNDnV__0kme_____vm7u_tR]
movups xmm1, xmmword [0x140114010]
mov ecx, dword [0x140114040]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x90], ecx
movups xmm0, xmmword [0x140114020]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x140114030]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm1
jl 0x1400d4908
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x14010d8d0]
mov eax, 5
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movdqa xmm7, xmmword [str.8888]
movaps xmmword [rsp + 0xb0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xa0], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x20
jl 0x1400d47f0
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp ebx, 0x22
jge 0x1400d4953
movsxd rax, ebx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp ebx, 0x22
jl 0x1400d4920
mov edx, r9d
lea rcx, [rsp + 0x50]
call fcn.1400a1310
xor al, al
jmp 0x1400d49cb
mov rdi, qword [rsp + 0xf0]
lea rbx, [rsi + 0x18]
add rdi, 0xb0
cmp rbx, rdi
je 0x1400d49c9
mov rsi, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xf8], rbp
sub rax, rsi
mov rbp, qword [rdi]
mov rdi, qword [rdi + 8]
sub rdi, rbp
cmp rdi, rax
jbe 0x1400d49ab
mov rdx, rdi
mov rcx, rbx
call fcn.140034d20
mov rsi, qword [rbx]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400deed0
mov rbp, qword [rsp + 0xf8]
lea rax, [rdi + rsi]
mov qword [rbx + 8], rax
mov al, 1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400e39cc
int3