Function at 0x140091520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14009156d
mov rcx, qword [rdx]
lea rdx, [rbp - 0x38]
call qword [0x140151aa0]
mov esi, eax
xorps xmm0, xmm0
test eax, eax
jne 0x1400915be
mov byte [rsp + 0x20], r12b
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1400915a0
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140059090
jmp 0x1400916b6
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
cmp rsi, 0x1000
jb 0x1400915f9
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140091c5e
call fcn.14014885c
test rax, rax
je 0x140091beb
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140091604
mov rcx, rsi
call fcn.14014885c
mov r14, rax
mov qword [rbp - 0x50], r14
lea r15, [r14 + rsi]
mov qword [rbp - 0x40], r15
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.140149da4
mov qword [rbp - 0x48], r15
cmp qword [rbx + 0x18], 0xf
jbe 0x14009162b
mov rbx, qword [rbx]
mov r9, r14
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [0x140151a98]
test eax, eax
jne 0x1400916e8
mov byte [rsp + 0x20], al
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x140091664
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140059090
nop
test r14, r14
je 0x1400916b6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x1400916ab
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140091beb
mov rdx, r15
mov rcx, r14
call fcn.140148ad8
mov rax, r13
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140148480
mov rbx, qword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [0x1401721d0]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x1401721e0]
movsd qword [rsp + 0x38], xmm0
movzx eax, byte [0x1401721e8]
mov byte [rsp + 0x40], al
xor r8d, r8d
mov ebx, dword [0x14018e0d8]
cmp ebx, 2
jl 0x140091855
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x1401784e0]
movdqa xmm6, xmmword [0x140178240]
movdqa xmm0, xmmword [0x140178370]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x60]
nop
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, 4
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 [0x140178340]
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, 4
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 [0x140178340]
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 0x140091750
cmp r8d, 0x19
jge 0x140091890
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x140091860
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [0x140151a90]
xorps xmm0, xmm0
test eax, eax
jne 0x1400918e0
mov byte [rsp + 0x20], al
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400918d2
jmp 0x14009166d
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
xor r12d, r12d
lea rsi, [r12 - 1]
test dword [rbp - 0x78], 0xfffffffc
jbe 0x140091b70
nop dword [rax]
mov rax, qword [rbp - 0x80]
movzx r9d, word [rax + r12*4 + 2]
movzx r11d, word [rax + r12*4]
movups xmm0, xmmword [0x140172270]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x140172280]
movups xmmword [rsp + 0x38], xmm1
movsd xmm0, qword [0x140172290]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x140172298]
mov word [rsp + 0x50], ax
xor ecx, ecx
cmp ebx, 2
jl 0x140091a92
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x1401784e0]
movdqa xmm6, xmmword [0x140178240]
movdqa xmm0, xmmword [0x140178370]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
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, 4
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 [0x140178340]
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, 4
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 [0x140178340]
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, 0x28
jl 0x140091990
cmp ecx, 0x2a
jge 0x140091acc
movsxd rax, ecx
lea r10, [rsp + 0x28]
add r10, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r10], al
inc ecx
lea r10, [r10 + 1]
cmp ecx, 0x2a
jl 0x140091aa0
mov r8d, r11d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.140092a80
lea rax, [rbp - 0x30]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x140091ae4
mov rax, qword [rbp - 0x58]
cmp rdi, rax
ja 0x140091b22
lea rbx, [rbp - 0x70]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdi
mov r8, rdi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140149db6
mov byte [rbx + rdi], 0
mov ebx, dword [0x14018e0d8]
jmp 0x140091b32
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400601b0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov rcx, r14
call qword [0x140151a90]
test eax, eax
jne 0x140091bf2
inc r12d
mov eax, dword [rbp - 0x78]
shr eax, 2
cmp r12d, eax
jb 0x140091910
nop dword [rax]
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140091b92
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140059090
nop
lea rcx, [rbp - 0x70]
call fcn.14003d650
nop
test r14, r14
je 0x1400916b6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x1400916ab
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400916ab
call qword [0x140151e28]
nop
mov r8d, dword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor r12d, r12d
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov rdx, qword [rsp + 0x78]
mov rcx, r13
call fcn.140059090
nop
lea rcx, [rbp - 0x70]
call fcn.14003d650
nop
test r14, r14
je 0x1400916b6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x1400916ab
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400916ab
call qword [0x140151e28]
int3
call fcn.140024860
int3