Function at 0x140186130
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x130
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14026d1c0]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov r9d, 4
mov rdi, rcx
mov r8, rdx
lea rcx, [rbp + 0xc0]
lea edx, [r9 + 0x1d]
call fcn.140187b30
movzx eax, byte [rbp + 0xc0]
lea rcx, [rbp + 0x60]
and eax, 0x7f
xor edx, edx
lea r8d, [rax + rax]
call fcn.140186410
mov rax, qword [rbp + 0x90]
movabs rsi, 0xffffffff00000000
mov r10, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x78]
mov r9, qword [rbp + 0x70]
mov r11, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
mov qword [rbp + 0x38], r10
or r10, rax
or r10, rcx
mov qword [rbp + 0x30], rax
or r10, rdx
mov qword [rbp + 0x48], rsi
or r10, r8
mov qword [rbp], rbx
or r10, r9
mov qword [rbp + 8], r11
or r10, r11
mov qword [rbp + 0x10], r9
or r10, rbx
mov qword [rbp + 0x18], r8
mov esi, 0xfffffffe
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x40], 1
lea rax, [r10 - 1]
mov qword [rbp + 0x50], 0xffffffffffffffff
shr rax, 0x3f
not r10
shr r10, 0x3f
and rax, r10
mov qword [rbp + 0x58], rsi
neg rax
movq xmm2, rax
not rax
punpcklqdq xmm2, xmm2
movq xmm3, rax
xor eax, eax
punpcklqdq xmm3, xmm3
nop word [rax + rax]
movdqu xmm1, xmmword [rbp + rax*8]
movdqu xmm0, xmmword [rbp + rax*8 + 0x40]
pand xmm1, xmm2
pand xmm0, xmm3
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8 + 0x40], xmm1
add rax, 2
cmp rax, 4
jl 0x140186250
mov r15d, 6
lea rsi, [0x1401c2000]
lea r14d, [r15 + 0x1e]
nop dword [rax]
movzx ecx, r15b
mov rax, r15
shr rax, 3
and cl, 7
add r15, 7
movzx edx, byte [rbp + rax + 0xc1]
movzx eax, byte [rbp + rax + 0xc0]
shl rdx, 8
or rdx, rax
shr rdx, cl
movzx ecx, dl
mov edx, 0xff
sub rdx, rcx
mov eax, ecx
shr rax, 7
dec rax
mov rbx, rax
and rax, rcx
not rbx
lea rcx, [rbp + 0x60]
and rdx, rbx
or rdx, rax
mov r8, rdx
and edx, 1
shr r8, 1
add r8, rdx
mov rdx, rsi
call fcn.1400c11e0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1400bf880
and ebx, 1
dec rbx
shr rbx, 0x3f
dec rbx
xor eax, eax
movq xmm3, rbx
not rbx
punpcklqdq xmm3, xmm3
movq xmm4, rbx
punpcklqdq xmm4, xmm4
nop
movdqu xmm0, xmmword [rbp + rax + 0x80]
movdqu xmm2, xmmword [rbp + rax + 0xa0]
movdqa xmm1, xmm4
pand xmm2, xmm3
pand xmm1, xmm0
pxor xmm2, xmm1
movdqu xmmword [rbp + rax + 0x80], xmm2
add rax, 0x10
cmp rax, 0x20
jl 0x140186330
lea r8, [rbp + 0x60]
lea rdx, [rbp]
lea rcx, [rbp]
call fcn.1400c2240
add rsi, 0x1000
sub r14, 1
jne 0x140186290
mov rax, qword [rbp]
mov qword [rdi], rax
mov rax, qword [rbp + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp + 0x18]
mov qword [rdi + 0x18], rax
mov rax, qword [rbp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x28]
mov qword [rdi + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rdi + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x38], rax
mov rax, qword [rbp + 0x40]
mov qword [rdi + 0x40], rax
mov rax, qword [rbp + 0x48]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp + 0x50]
mov qword [rdi + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rdi + 0x58], rax
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.1401880e0
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret