Function at 0x140054f40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401070a8]
xor rax, rsp
mov qword [rbp - 9], rax
xor r15d, r15d
movups xmm0, xmmword [0x1400f3928]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x1400f3938]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400f3940]
mov dword [rbp - 0x51], eax
lea r12d, [r15 + 4]
lea r13d, [r15 + 0x1f]
mov r14d, dword [0x1401070c0]
cmp byte [0x1400f3943], r15b
je 0x140055140
mov r8d, r15d
cmp r14d, 2
jl 0x140055104
movdqa xmm5, xmmword [0x1400f3f10]
movdqa xmm4, xmmword [0x1400f4120]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400f3f40]
movd xmm8, r13d
movdqa xmm0, xmmword [0x1400f3fd0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
movd xmm2, r8d
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f3fa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f3fa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140055001
cmp r8d, 0x1c
jge 0x140055140
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1c
jl 0x140055110
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x69]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140055160
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.14004d9d0
nop
mov rdi, qword [rbp - 0x19]
lea rbx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rbx, qword [rbp - 0x29]
call fcn.1400d1534
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], rdi
lea r8, [rbp - 0x79]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14004f990
nop
lea rcx, [rbp - 0x49]
call fcn.140050410
movzx ebx, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400551f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400551f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400551f0
call fcn.140f1327d
nop
int3
call fcn.1400d0290
test bl, bl
je 0x1400553d3
movups xmm0, xmmword [0x1400f2d18]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x1400f2d28]
movsd qword [rbp - 0x59], xmm0
movzx eax, byte [0x1400f2d30]
mov byte [rbp - 0x51], al
mov ecx, r15d
cmp r14d, 2
jl 0x140055363
movdqa xmm5, xmmword [0x1400f3f10]
movdqa xmm4, xmmword [0x1400f4120]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400f3f40]
movd xmm8, r13d
movdqa xmm0, xmmword [0x1400f3fd0]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x79]
movd xmm2, ecx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f3fa0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f3fa0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140055263
cmp ecx, 0x19
jge 0x14005539c
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x19
jl 0x140055370
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r15
lea rax, [rbp - 0x69]
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400553b0
mov r8, rsi
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.14004d9d0
lea rcx, [rbp - 0x49]
call fcn.14005cbe0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140055411
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005540c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005540c
call fcn.140f1327d
nop
int3
call fcn.1400d0290
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400d0ad0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret