Function at 0x1400d2c40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdi, rcx
mov rcx, qword [0x14023ae60]
mov rax, qword [rcx + 0x4018]
mov byte [rax + 0xb8], 1
mov rsi, qword [rcx + 0x4018]
movsxd r8, dword [rsi + 0xf0]
mov rax, qword [rsi + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, rdi
call fcn.1400251d0
mov ebx, eax
mov rcx, qword [rsi]
cmp dword [rcx + 0x4060], eax
jne 0x1400d2cd2
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14003c160
movss xmm2, dword [rsi + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [0x140167df8]
movss xmm0, dword [rsi + 0x100]
movaps xmm1, xmm0
addss xmm1, dword [0x140167e00]
movss dword [rbp - 0x21], xmm0
movss dword [rbp - 0x1d], xmm2
movss dword [rbp - 0x19], xmm1
movss dword [rbp - 0x15], xmm3
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
lea rcx, [rbp - 0x21]
call fcn.1400345f0
movss xmm1, dword [rbp - 0x15]
subss xmm1, dword [rbp - 0x1d]
movss xmm0, dword [rbp - 0x19]
subss xmm0, dword [rbp - 0x21]
movss dword [rbp - 0x51], xmm0
movss dword [rbp - 0x4d], xmm1
movss xmm1, dword [0x140167edc]
lea rcx, [rbp - 0x51]
call fcn.140034480
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x59]
mov edx, ebx
lea rcx, [rbp - 0x21]
call fcn.140050bd0
movzx r15d, al
cmp byte [rbp - 0x59], 0
jne 0x1400d2d7c
cmp byte [rbp - 0x58], 0
jne 0x1400d2d7c
xor r14d, r14d
jmp 0x1400d2d7f
mov r14b, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1400d2da0
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.140058960
nop
movups xmm0, xmmword [0x1401668f0]
movups xmmword [rbp - 0x51], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400d2f53
cmp dword [0x14017d0d8], 2
jl 0x1400d2f17
movdqa xmm5, xmmword [0x140167f70]
xor edx, edx
movdqa xmm4, xmmword [0x140168310]
movdqa xmm6, xmmword [0x140167fb0]
movdqa xmm0, xmmword [0x140168180]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x4d]
mov r8d, dword [rbp - 9]
nop
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1400d2e10
jmp 0x1400d2f53
lea r9, [rbp - 0x51]
xor r8d, r8d
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400d2f20
lea rax, [rbp - 0x51]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400d2f57
mov r8, rbx
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x41]
call fcn.1400584e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400d2f7a
mov rax, qword [rax]
movss xmm0, dword [0x140167d30]
movss dword [rsp + 0x28], xmm0
movss xmm1, dword [0x140167d88]
movss dword [rsp + 0x20], xmm1
xorps xmm8, xmm8
xorps xmm3, xmm3
movzx r8d, r14b
mov rcx, rax
call fcn.1400d1810
movaps xmm7, xmm0
lea rcx, [rbp - 0x41]
call fcn.14003cfb0
mov r8, qword [0x14023ae60]
movups xmm1, xmmword [r8 + 0x39e4]
movups xmmword [rbp - 9], xmm1
movss xmm6, dword [r8 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm6
movss dword [rbp + 3], xmm1
lea rcx, [rbp - 9]
call fcn.140025780
mov r9d, eax
movups xmm0, xmmword [r8 + 0x39f4]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp + 3], xmm0
lea rcx, [rbp - 9]
call fcn.140025780
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x140167d14]
mulss xmm1, xmm6
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm2, xmm2
cvtsi2ss xmm2, rcx
mulss xmm2, xmm6
mov ecx, eax
shr ecx, 0x10
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm6
shr r8d, 0x18
mov eax, r8d
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm6
movzx eax, r9b
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm1
movss dword [rbp - 0x51], xmm0
mov eax, r9d
shr eax, 8
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm2
movss dword [rbp - 0x4d], xmm0
mov eax, r9d
shr eax, 0x10
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm3
mulss xmm0, xmm7
addss xmm0, xmm3
movss dword [rbp - 0x49], xmm0
shr r9d, 0x18
mov eax, r9d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm4
movss dword [rbp - 0x45], xmm0
lea rcx, [rbp - 0x51]
call fcn.140025780
movzx ecx, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 9], xmm0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 5], xmm0
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 1], xmm0
shr eax, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [rbp + 3], xmm0
movss xmm0, dword [rbp - 0x19]
movss dword [rbp - 0x51], xmm0
movss xmm2, dword [rbp - 0x1d]
addss xmm2, dword [rbp - 0x15]
movss xmm1, dword [0x140167d54]
mulss xmm2, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [rbp - 0x4d], xmm0
movss xmm0, dword [rbp - 0x21]
movss dword [rbp - 0x21], xmm0
subss xmm2, xmm1
movss dword [rbp - 0x1d], xmm2
lea rcx, [rbp - 9]
call fcn.140025780
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x21]
mov rcx, qword [rsi + 0x298]
call fcn.1400489d0
test r15b, r15b
je 0x1400d31da
mov edx, 6
mov rcx, qword [0x14023c0a0]
call qword [0x140142960]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14013a000
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret