Function at 0x140098670
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, rsi
mov r11, rsi
xchg rsi, rsp
push rbx
xchg rsi, rsi
push rsi
sub rsp, 0x710ba276
add rsp, 0x710ba1ce
xorps xmm0, xmm0
mov qword [r11 + 8], rbp
mov rdx, rdx
mov eax, 0x1274b7ba
add eax, 0xdf6d50d
xor eax, 0x2cb8714d
sub eax, 0xcd3fd4b
mov qword [r11 + 0x20], r14
cmp r9d, eax
mov rcx, rcx
xchg r15, rbp
mov qword [r11 - 0x18], rbp
xchg r15, rbp
movups xmmword [rsp + 0x20], xmm0
mov rbx, rbx
cmovbe eax, r9d
mov rbp, r8
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp - 0x1c], edx
xor ebx, ebx
xchg rdx, rsi
mov rdx, rsi
xchg rsi, rdx
movsxd r14, eax
mov r15, rcx
mov dword [rsp - 0x28], 0x69ffa566
xchg r12, rsp
movups xmmword [r12 + 0x40], xmm0
xchg rsp, r12
xchg rsp, rdx
movups xmmword [rdx + 0x50], xmm0
xchg rdx, rsp
xchg r11, rsp
movups xmmword [r11 + 0x60], xmm0
xchg r11, rsp
xchg rsp, r14
movups xmmword [r14 + 0x70], xmm0
xchg rsp, r14
xchg rcx, r11
movups xmmword [rcx - 0x38], xmm0
xchg rcx, r11
xchg r11, r12
movups xmmword [r12 - 0x28], xmm0
xchg r11, r12
test eax, eax
jle 0x1400986f4
mov dword [rsp - 0x28], edx
mov qword [r11 + 0x10], rdi
mov edi, ebx
mov qword [r11 + 0x18], r12
movabs r12, 0x51ee76abb
add r12, 0x57a3cef9
sub r12, 0x635853be
add r12, 0x7fffffff
xor r12, 0x4dde0398
mov ecx, dword [rbp + 0x38]
test ecx, ecx
jg 0x140098687
mov dword [rsp - 0x28], 0x64234f8c
mov edx, ebx
jmp 0x1400986b5
xchg rdx, rax
mov rdx, qword [r15]
xchg rdx, rax
imul rax, r12
neg rax
add rax, 0xfffffffffffffff5
neg rax
mov qword [r15], rax
shr rax, 0xb
shr rax, 4
shr rax, 1
and eax, 0x7fff
xchg r13, r13
cdq
idiv ecx
movsxd rdx, edx
xchg rcx, rbp
mov rbp, rcx
xchg rcx, rbp
call fcn.140055de0
mov word [rsp + rdi*2 + 0x20], ax
inc rdi
mov dword [rsp - 0x2c], edi
cmp rdi, r14
jl 0x14009866d
xchg r12, r8
mov r8, qword [rsp + 0xd0]
xchg r12, r8
mov rdi, qword [rsp + 0xc8]
xchg rbx, rbx
xchg rbx, r15
mov rbx, qword [rsp + 0xa0]
xchg r15, rbx
lea rax, [rsi + 8]
xchg r14, r11
mov r11, qword [rsp + 0xd8]
xchg r14, r11
xorps xmm0, xmm0
mov dword [rsp - 0x3c], 0x3d8f2cc3
xchg rbp, r14
mov r14, qword [rsp + 0xc0]
xchg rbp, r14
nop
movabs rdx, 0xffffffff032f00ac
add rdx, 0x7b1f7bf9
sub rdx, 0x1de30a35
add rdx, 0x7fffffff
xor rdx, 0x1f948d90
xchg r10, rax
mov qword [rsi], r10
xchg r10, rax
xchg r13, rax
movups xmmword [r13], xmm0
xchg r13, rax
xchg r14, rax
movups xmmword [r14 + 0x10], xmm0
xchg r14, rax
movups xmmword [rax + 0x20], xmm0
mov dword [rsp - 0x44], ebp
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rdx
mov dword [rsp - 0x20], 0x2ce9c38d
cmp word [rax + rdx*2], bx
jne 0x14009877f
xchg rsi, rcx
mov rsi, rcx
xchg rsi, rcx
xchg rdx, r8
mov qword [rsi + 0x38], r8
xchg r8, rdx
call fcn.140017b4c
xchg rbx, rbx
mov edx, 0x3e89270f
xor edx, 0x78f4700
xor edx, 0x4b20fcdb
sub edx, 0x574768e9
cmp qword [rsi + 0x38], rbx
mov dword [rsp - 0x2c], esi
jbe 0x14009882c
lea r8, [rsp + 0x20]
mov r9d, 0x2d995371
xor r9d, 0x386c8d79
xor r9d, 0x5ca54074
xor r9d, 0x49509e83
sub r8, rax
mov dword [rsp - 0xc], ebp
nop
movzx ecx, dx
lea rax, [rax + 2]
mov dword [rsp - 0x20], ebp
and cx, r9w
ror edx, 8
xor cx, word [r8 + rax - 2]
xchg rsi, rsi
inc rbx
mov word [rax - 2], cx
cmp rbx, qword [rsi + 0x38]
xchg rbp, rbp
jb 0x1400987fd
xchg rsi, rbp
mov rax, rbp
xchg rsi, rbp
add rsp, 0x220c5892
sub rsp, 0x220c57ea
nop
add rsp, 8
mov rsi, qword [rsp - 8]
nop
add rsp, 8
mov rbx, qword [rsp - 8]
ret