Function at 0x18010be86
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
cmp r11w, sp
push rbp
cmc
push rbx
xchg bl, bpl
rol bl, cl
push rsi
not bp
push rdi
movsx ebp, dx
add bpl, sil
sub ebp, 0x38fe32fe
push r12
movsx rsi, dx
push r13
btr esi, r13d
dec rsi
sal r13b, cl
push r14
movsx si, r11b
rol r14w, cl
cmp sil, 0xb8
push r15
btr rbx, rsi
lea rbp, [rax - 0xc8]
sub rsp, 0x188
jmp 0x18010bee3
movaps xmmword [rax - 0x58], xmm6
adc si, 0x24dd
test r10b, 0x80
movaps xmmword [rax - 0x68], xmm7
cmp r12, rsp
setb r15b
bt r13w, r9w
movaps xmmword [rax - 0x78], xmm8
btc si, di
movaps xmmword [rax - 0x88], xmm9
mov rax, qword [0x180085010]
rcr r14w, cl
xor rax, rsp
or r12b, 0x77
sbb bh, al
ror r12b, 0x9f
mov qword [rbp + 0x30], rax
cmp di, 0x4695
shrd r13, r10, 0xb
mov eax, dword [0x18007c810]
sub r10d, r10d
sbb r13b, 0x4f
bts bx, cx
movups xmm0, xmmword [0x18007c7c0]
mov r15, r8
movzx r8w, spl
movups xmm1, xmmword [0x18007c7d0]
mov rsi, rcx
rol r8b, 0x76
clc
mov ebx, dword [0x180085018]
mov r12d, r9d
bswap r13d
movsx rcx, r15w
mov r13, qword [rbp + 0xf0]
shr cx, cl
mov r14, rdx
bts cx, r12w
movups xmmword [rsp + 0x30], xmm0
sal cx, cl
mov r8d, r10d
bswap rcx
sbb ecx, 0x2e1420f0
movups xmm0, xmmword [0x18007c7e0]
adc cx, 0x7f73
mov dword [rbp - 0x80], eax
rol al, cl
nop
sub rcx, rdx
movzx eax, word [0x18007c814]
movzx ecx, cx
sbb cx, r11w
and cx, 0x402a
movups xmmword [rsp + 0x50], xmm0
movsx ecx, di
rol cx, cl
movups xmm0, xmmword [0x18007c800]
shl cx, cl
not cx
btr ecx, edi
movups xmmword [rsp + 0x40], xmm1
movsxd rcx, edi
sal cx, cl
movups xmm1, xmmword [0x18007c7f0]
test bx, 0xe84
sal ch, 0xff
movzx ecx, r13w
mov word [rbp - 0x7c], ax
movsx ax, r14b
lea eax, [r10 + 5]
rol ch, 0x95
bts cx, r10w
movups xmmword [rsp + 0x70], xmm0
lea ecx, [rax + 0x1a]
movups xmmword [rsp + 0x60], xmm1
test r8w, bp
cmp ebx, 2
jmp 0x18010c02c
jl 0x18010c1a6
movdqa xmm5, xmmword [0x18007e940]
movdqa xmm4, xmmword [0x18007ee20]
movdqa xmm7, xmmword [0x18007e9e0]
movdqa xmm9, xmmword [0x18007eab0]
movd xmm8, ecx
lea rcx, [rsp + 0x30]
jmp 0x18010c062
movd xmm6, eax
nop
jmp 0x18010c06d
movd xmm2, r8d
lea eax, [r8 + 4]
jmp 0x18010c07b
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
jmp 0x18010c089
paddd xmm2, xmm5
add r8d, 8
jmp 0x18010c096
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
jmp 0x18010c0e1
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
jmp 0x18010c0f0
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
jmp 0x18010c110
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
jmp 0x18010c15f
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
jmp 0x18010c16e
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
test dh, 0x9b
jmp 0x18010c188
cmp r8d, 0x28
jmp 0x18010c191
jl 0x18010c06d
cmp r8d, 0x2b
jmp 0x18010c1a0
jge 0x18010c232
movsxd rax, r8d
or cl, 0x6e
rcl rdx, cl
movsx r9w, dl
lea r9, [rsp + 0x30]
clc
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
sub cl, r10b
bsr ax, r10w
mov eax, edx
movsxd rcx, esi
movzx ecx, r13w
shr eax, 0x1f
not ecx
movsxd rcx, r10d
sar cx, cl
add edx, eax
movsx rax, r14w
rcr eax, 0x93
bt ax, si
movzx eax, dx
sbb cl, dil
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
clc
test rbx, rsi
test ecx, 0x45a550ed
cmp r8d, 0x2b
jl 0x18010c1c7
mov dword [rsp + 0x28], r10d
mov r8b, 0x62
shr r8d, cl
lea r8, [rsp + 0x30]
sub r9d, r9d
mov dword [rsp + 0x20], r10d
cmc
test bpl, 0x24
test r13d, esi
sub edx, edx
jmp 0x18010c259
xor ecx, ecx
jmp 0x18010c260
call qword [0x180087f48]
movups xmm0, xmmword [0x18007c650]
adc dil, 0xe5
sub ecx, ecx
shl rdi, cl
movups xmm1, xmmword [0x18007c660]
or edi, r15d
shrd di, r12w, 0xf1
and rdi, 0x2ce57d24
mov rdi, rax
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x18007c670]
test r11b, r9b
clc
movups xmmword [rbp - 0x50], xmm0
cmp r15b, r8b
movsd xmm0, qword [0x18007c690]
jmp 0x18010c2b4
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x18007c680]
stc
movsd qword [rbp - 0x30], xmm0
cmp rax, 0x14422fa7
cmc
test r12b, r8b
movups xmmword [rbp - 0x40], xmm1
cmc
clc
cmp ebx, 2
jmp 0x18010c2de
jl 0x18010c45b
movdqa xmm5, xmmword [0x18007e940]
lea rdx, [rbp - 0x70]
jmp 0x18010c2f5
movdqa xmm4, xmmword [0x18007ee20]
mov eax, 5
movdqa xmm7, xmmword [0x18007e9e0]
sub ebx, ebx
jmp 0x18010c311
movdqa xmm9, xmmword [0x18007eab0]
movd xmm6, eax
mov eax, 0x1f
jmp 0x18010c328
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
jmp 0x18010c34d
paddd xmm2, xmm5
add ecx, 8
jmp 0x18010c359
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 [rdx - 0x10]
jmp 0x18010c3ae
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
jmp 0x18010c3ce
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
jmp 0x18010c41d
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
jmp 0x18010c42c
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
stc
cmp ecx, 0x20
jl 0x18010c338
cmp ecx, 0x24
jmp 0x18010c450
jge 0x18010c4fc
jmp 0x18010c461
sub ebx, ebx
bts eax, r9d
movsxd rax, ecx
mov dx, 0x4018
bts r8w, si
movsx dx, r15b
lea r8, [rbp - 0x70]
ror edx, cl
lea r8, [r8 + rax*2]
sal eax, cl
adc eax, esp
nop word [rax + rax]
shrd eax, esp, 0x35
cmovl ax, ax
mov eax, 0x92492493
dec rdx
lea r8, [r8 + 2]
imul ecx
adc ax, 0xfb1
add edx, ecx
xadd rax, rax
sar edx, 5
mov eax, edx
cmp r12w, r10w
shr eax, 0x1f
test bp, di
jmp 0x18010c4bf
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
nop
movzx ax, bl
movzx eax, cx
jmp 0x18010c4d5
inc ecx
test ch, 0x32
sub ax, dx
cmp dil, sil
add ax, 0x35
cmc
xor word [r8 - 2], ax
test r13b, 0xbe
cmp ecx, 0x24
jmp 0x18010c4f6
jl 0x18010c493
mov dword [rsp + 0x28], ebx
neg r8d
test spl, r12b
lea r8, [rbp - 0x70]
stc
cmc
xor r9d, r9d
cmp r12b, 0xbc
cmc
cmp r13w, r15w
mov dword [rsp + 0x20], ebx
sub edx, edx
clc
jmp 0x18010c525
xor ecx, ecx
jmp 0x18010c52c
call qword [0x180087f48]
movups xmm0, xmmword [r14]
lea r8, [rbp - 0x20]
xchg cl, dl
mov rdx, rdi
not cl
movups xmm1, xmmword [r15]
jmp 0x18010c550
mov rcx, rax
jmp 0x18010c558
mov qword [rbp + 0x18], rbx
jmp 0x18010c561
movups xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13]
jmp 0x18010c56f
mov qword [rbp + 0x20], 0
jmp 0x18010c57c
movups xmmword [rbp - 0x10], xmm1
jmp 0x18010c585
movups xmmword [rbp + 8], xmm0
mov dword [rbp], r12d
jmp 0x18010c592
call fcn.1801137cd
movups xmm0, xmmword [rbp + 0x18]
mov rax, rsi
ror ecx, cl
shrd ecx, r9d, 0x31
movups xmmword [rsi], xmm0
mov cx, 0x69ef
bsf cx, r8w
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18012808d
lea r11, [rsp + 0x188]
setae r14b
mov r14, 0x60b174a3
cmovl rsi, rdx
movaps xmm6, xmmword [r11 - 0x18]
movzx r13d, r12w
mov r13, 0x673c46f1
cmovae di, r8w
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movsx r13d, r10w
movzx bp, r12b
movsxd rsi, r10d
mov rsp, r11
pop r15
mov r14b, 0xfc
pop r14
mov rsi, 0x1fcd6e52
movsxd rsi, r15d
movzx r12w, r14b
pop r13
cmovno r12w, r11w
pop r12
movsx bp, sil
mov bh, 0x1d
not rdi
pop rdi
pop rsi
setnp bpl
pop rbx
movsx bp, r8b
pop rbp
ret