Function at 0x18000e040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0xd0
movups xmm0, xmmword [0x180071460]
mov edi, dword [0x18036ed30]
xor ebx, ebx
movaps xmmword [rax - 0x18], xmm6
mov r8d, ebx
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
lea ebp, [rbx + 1]
movzx eax, word [0x180071480]
lea r14d, [rbx + 0x1f]
mov word [rsp + 0x40], ax
movups xmm1, xmmword [0x180071470]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
cmp edi, 2
jl 0x18000e1d3
movdqa xmm5, xmmword [0x180073170]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x180073200]
movdqa xmm7, xmmword [0x1800731d0]
movdqa xmm9, xmmword [0x1800731e0]
movd xmm6, ebp
movd xmm8, r14d
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x18000e0e0
cmp r8d, 0x11
jge 0x18000e214
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x11
jl 0x18000e1e0
lea rcx, [rsp + 0x20]
call fcn.18000e900
add rax, 0x3298ee0
cmp rax, 0x400000
jbe 0x18000e5e9
movzx eax, word [0x1800714a8]
mov r8d, ebx
mov qword [rsp + 0xe0], rsi
mov word [rsp + 0x62], ax
movups xmm0, xmmword [0x180071488]
movups xmm1, xmmword [0x180071498]
movups xmmword [rsp + 0x42], xmm0
movups xmmword [rsp + 0x52], xmm1
cmp edi, 2
jl 0x18000e393
movdqa xmm5, xmmword [0x180073170]
lea rcx, [rsp + 0x42]
movdqa xmm4, xmmword [0x180073200]
movdqa xmm7, xmmword [0x1800731d0]
movdqa xmm9, xmmword [0x1800731e0]
movd xmm6, ebp
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x18000e2a0
cmp r8d, 0x11
jge 0x18000e3d4
movsxd rax, r8d
lea r9, [rsp + 0x42]
lea r9, [r9 + rax*2]
nop
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x11
jl 0x18000e3a0
lea rcx, [rsp + 0x42]
call fcn.18000e900
add rax, 0x3298ee8
movabs rsi, 0x7fffffff0000
cmp rax, rsi
jae 0x18000e5e1
movzx eax, word [0x1800714d0]
mov word [rsp + 0x84], ax
movups xmm0, xmmword [0x1800714b0]
movups xmm1, xmmword [0x1800714c0]
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm1
cmp edi, 2
jl 0x18000e54e
movdqa xmm5, xmmword [0x180073170]
lea rcx, [rsp + 0x64]
movdqa xmm4, xmmword [0x180073200]
movdqa xmm7, xmmword [0x1800731d0]
movdqa xmm9, xmmword [0x1800731e0]
movd xmm6, ebp
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x10
jl 0x18000e460
cmp ebx, 0x11
jge 0x18000e590
movsxd rax, ebx
lea r8, [rsp + 0x64]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8 - 2], ax
cmp ebx, 0x11
jl 0x18000e560
lea rcx, [rsp + 0x64]
call fcn.18000e900
mov rax, qword [rax + 0x3298ee0]
lea rcx, [rax + 0xb8]
cmp rcx, 0x400000
jbe 0x18000e5e1
add rax, 0xc0
cmp rax, rsi
jae 0x18000e5e1
mov rax, qword [rcx]
lea rcx, [rax + 0x18]
cmp rcx, 0x400000
jbe 0x18000e5e1
add rax, 0x1c
cmp rax, rsi
jae 0x18000e5e1
movss xmm0, dword [0x180210708]
movss dword [rcx], xmm0
mov rsi, qword [rsp + 0xe0]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
ret