Function at 0x1400a7260
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movups xmm0, xmmword [0x140163fd0]
xor ebx, ebx
mov eax, dword [0x140164018]
mov r9, rcx
movups xmm1, xmmword [0x140163fe0]
mov rdi, rdx
mov esi, dword [0x14017d0d8]
mov ecx, ebx
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x140163ff0]
mov dword [rbp - 1], eax
movzx eax, word [0x14016401c]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x140164010]
movups xmmword [rbp - 0x39], xmm1
movups xmm1, xmmword [0x140164000]
mov word [rbp + 3], ax
movzx eax, byte [0x14016401e]
movsd qword [rbp - 9], xmm0
movups xmmword [rbp - 0x19], xmm1
mov byte [rbp + 5], al
cmp esi, 2
jl 0x1400a7444
movdqa xmm0, xmmword [0x140168180]
lea rdx, [rbp - 0x45]
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x140168310]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movaps xmmword [rsp + 0xd0], xmm6
movdqa xmm6, xmmword [0x140167fb0]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
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
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x48
jl 0x1400a7330
movaps xmm6, xmmword [rsp + 0xd0]
cmp ecx, 0x4f
jge 0x1400a747f
movsxd rax, ecx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x4f
jl 0x1400a7450
lea rax, [rbp - 0x49]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400a7490
mov rdx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1400a76f2
cmp qword [r9 + 0x18], 0xf
jbe 0x1400a74bc
mov r9, qword [r9]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r9
lea r9, [rbp - 0x49]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xf]
call fcn.140061040
cmp qword [rbp + 0x27], 0xf
lea rax, [rbp + 7]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rax
cmova rdx, qword [rbp + 0xf]
mov r9d, 0x102
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [0x140142020]
test eax, eax
jne 0x1400a76ca
mov eax, dword [0x140163fc0]
mov r9d, dword [rdi + 0x10]
movsd xmm0, qword [0x140163fb8]
inc r9d
cmp qword [rdi + 0x18], 0xf
mov dword [rbp - 0x51], eax
movzx eax, word [0x140163fc4]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x140163fc6]
mov byte [rbp - 0x4b], al
movsd qword [rbp - 0x59], xmm0
jbe 0x1400a7549
mov rdi, qword [rdi]
cmp esi, 2
jl 0x1400a7658
movdqa xmm2, xmmword [0x140167f70]
mov ebx, 8
movdqa xmm3, xmmword [0x140167f90]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140168310]
movdqa xmm0, xmm2
mov eax, dword [0x140168180]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140167fb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140163fb8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x59], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140167fb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
movd xmm1, dword [rbp - 0x55]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x1400a7670
mov rcx, qword [rbp + 7]
lea rdx, [rbp - 0x59]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [0x140142028]
mov rcx, qword [rbp + 7]
call qword [0x140142040]
lea rcx, [rbp + 0xf]
call fcn.14003cfb0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14013a000
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
call fcn.140050260
int3