Function at 0x180118797
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
stc
movzx rax, r11w
push rbx
cmova rax, r14
sar bl, cl
sbb bh, 0x74
sub rsp, 0xc0
mov rax, qword [0x180085010]
clc
xor rax, rsp
shrd bx, r8w, 0xb
shr bx, 0x26
shld bx, cx, 0xa9
mov qword [rsp + 0x78], rax
sub bh, 0xd3
sbb bl, r8b
rol rbx, cl
movups xmm0, xmmword [0x18007e1b0]
shl bl, cl
test bl, 0x75
movsxd rbx, r14d
sub r9d, r9d
cmp dword [0x180085018], 2
mov rbx, rcx
movups xmm1, xmmword [0x18007e1c0]
xchg rcx, rcx
cmovl ecx, esi
movsx rcx, r11w
mov ecx, r9d
jmp 0x18011880d
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007e1d0]
jmp 0x18011881e
movups xmmword [rsp + 0x40], xmm1
jmp 0x180118828
movups xmm1, xmmword [0x18007e1e0]
movups xmmword [rsp + 0x50], xmm0
jmp 0x180118839
movups xmmword [rsp + 0x60], xmm1
jl 0x180118a19
movdqa xmm5, xmmword [0x18007e940]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007ee10]
mov eax, 5
cwd
movaps xmmword [r11 - 0x18], xmm6
mov dl, r13b
mov edx, r9d
jmp 0x180118870
movaps xmmword [r11 - 0x28], xmm7
jmp 0x18011889b
movdqa xmm7, xmmword [0x18007e9f0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
jmp 0x1801188b6
movaps xmmword [r11 - 0x48], xmm9
jmp 0x1801188c0
movdqa xmm9, xmmword [0x18007eab0]
movd xmm8, eax
movd xmm2, edx
lea eax, [rdx + 4]
jmp 0x1801188da
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
jmp 0x1801188ef
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 0x18011893a
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
jmp 0x180118949
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
jmp 0x180118969
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
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
jmp 0x1801189c2
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
clc
cmp edx, 0x20
jl 0x1801188ce
movaps xmm9, xmmword [rsp + 0x80]
jmp 0x1801189ec
movaps xmm8, xmmword [rsp + 0x90]
jmp 0x1801189fa
movaps xmm7, xmmword [rsp + 0xa0]
jmp 0x180118a07
movaps xmm6, xmmword [rsp + 0xb0]
jmp 0x180118a14
jmp 0x180118a8d
lea r8, [rsp + 0x30]
or dh, 0x7b
sal dx, cl
xadd eax, eax
nop word [rax + rax]
movsx ax, dh
bswap rdx
mov eax, 0x1f7047dd
lea r8, [r8 + 2]
mul ecx
setns al
movsxd rax, esi
mov eax, ecx
stc
cmp rsi, r9
sub eax, edx
shr eax, 1
stc
test r13, rsi
add eax, edx
shr dx, 0x67
shr eax, 5
movzx eax, ax
rcl dl, cl
imul edx, eax, 0x39
mov eax, 0x1a4010d8
setns ah
nop
movzx eax, cx
inc ecx
sub ax, dx
clc
add ax, 0x35
clc
xor word [r8 - 2], ax
cmp r14d, r13d
cmp ecx, 0x20
jl 0x180118a34
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x30]
cmp sil, 0x40
sub edx, edx
cmc
mov dword [rsp + 0x20], r9d
cmc
sub ecx, ecx
call qword [0x180087f48]
lea r8, [rsp + 0x70]
movzx rcx, cx
mov rcx, rbx
movzx rdx, bx
not dh
movsxd rdx, ecx
mov rdx, rax
jmp 0x180118ac9
call fcn.1801137cd
movzx eax, byte [rsp + 0x70]
xor rcx, 0x2065795d
bsf rcx, r11
mov rcx, qword [rsp + 0x78]
cmc
cmp bpl, dl
xor rcx, rsp
jmp 0x180118aef
call fcn.18012808d
add rsp, 0xc0
mov bl, r11b
jmp 0x180118b03
pop rbx
jmp 0x180118b09
ret