Function at 0x1800b6918
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
mov r13, r8
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmm8, xmm1
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
call fcn.180080020
mov rdx, qword [0x1800cdb78]
mov r12, rax
mov rcx, qword [rdx + 0x3eb0]
mov byte [rcx + 0xb0], 1
mov r15, qword [rdx + 0x3eb0]
call fcn.18007f9a4
movss xmm11, dword [r15 + 0xf8]
xorps xmm12, xmm12
comiss xmm12, dword [r12]
mov qword [rbp - 0x60], rax
movss xmm15, dword [r15 + 0xfc]
movaps xmm0, xmm11
subss xmm0, dword [r15 + 0x18]
movss xmm10, dword [r15 + 0x20]
movaps xmm9, xmm11
movss xmm14, dword [0x180005f00]
movaps xmm13, xmm15
addss xmm13, dword [0x180005f80]
movss dword [rsp + 0x50], xmm11
subss xmm10, xmm0
movss dword [rsp + 0x54], xmm15
movss dword [rsp + 0x5c], xmm13
subss xmm10, dword [r12 + 8]
addss xmm9, xmm10
movss dword [rsp + 0x58], xmm9
jbe 0x1800b6a25
xorps xmm0, xmm0
jmp 0x1800b6a2f
movaps xmm0, xmm14
minss xmm0, dword [r12]
mulss xmm0, dword [0x180005fe8]
lea rsi, [rsp + 0x70]
movaps xmm6, xmm10
divss xmm6, dword [0x180008a60]
addss xmm0, dword [0x180005eec]
cvttss2si ecx, xmm0
shl ecx, 0x18
mov eax, ecx
mov edi, ecx
or eax, 0xffff
or edi, 0xff
mov dword [rsp + 0x74], eax
mov eax, ecx
or eax, 0xff00
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x78], eax
mov eax, ecx
or eax, 0xffff00
mov dword [rbp - 0x78], edi
mov dword [rsp + 0x7c], eax
mov eax, ecx
or eax, 0xff0000
or ecx, 0xff00ff
mov dword [rbp - 0x80], eax
xor eax, eax
mov dword [rbp - 0x7c], ecx
mov rcx, qword [r15 + 0x290]
lea ebx, [rax + 1]
mov r9d, edi
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x30], r9d
lea r8, [rbp + 0xc8]
lea rdx, [rbp - 0x70]
add rsi, 4
movd xmm1, eax
mov edi, dword [rsi]
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm0, xmm11
movss dword [rbp + 0xcc], xmm13
movss dword [rbp - 0x6c], xmm15
addss xmm1, xmm11
movss dword [rbp + 0xc8], xmm0
movss dword [rbp - 0x70], xmm1
call fcn.180091950
mov eax, ebx
cmp ebx, 6
jl 0x1800b6a9c
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
call fcn.18007d6d0
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov r14d, eax
call fcn.18007d6d0
xorps xmm0, xmm0
lea rcx, [rbp - 0x48]
movups xmmword [rbp - 0x48], xmm0
mov esi, eax
call fcn.18007d6d0
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
mov edi, eax
call fcn.18007d6d0
movaps xmm1, xmm14
mov ecx, 3
mov ebx, eax
call fcn.18007f63c
mov dword [rsp + 0x40], 0xf0
lea rdx, [rsp + 0x58]
movaps xmm7, xmm13
lea rcx, [rsp + 0x50]
subss xmm7, xmm15
mov r9d, ebx
mov r8d, eax
movaps xmm6, xmm7
mulss xmm6, dword [0x180005eec]
movss dword [rsp + 0x38], xmm6
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
call fcn.1800b4e80
movss xmm0, dword [r12]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x64]
movss dword [rsp + 0x6c], xmm0
movaps xmm2, xmm14
mov qword [rsp + 0x20], rax
movaps xmm1, xmm14
mov dword [rsp + 0x60], 0x3f800000
movaps xmm0, xmm8
mov dword [rsp + 0x64], 0x3f800000
mov dword [rsp + 0x68], 0x3f800000
call fcn.18007d770
lea rcx, [rsp + 0x60]
call fcn.18007d6d0
movss xmm0, dword [r12]
mov edi, eax
mulss xmm0, dword [0x180005fe8]
mov rbx, qword [r15 + 0x290]
mov dword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x54], 0x3f800000
cvttss2si ecx, xmm0
mov dword [rsp + 0x58], 0x3f800000
movd xmm1, ecx
lea rcx, [rsp + 0x50]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x180008a2c]
movss dword [rsp + 0x5c], xmm1
call fcn.18007d6d0
and dword [rsp + 0x20], 0
subss xmm10, xmm7
movss xmm2, dword [0x18000cab8]
addss xmm13, xmm15
movaps xmm0, xmm6
lea rdx, [rbp + 0xc8]
addss xmm0, xmm11
mov r9d, eax
mov rcx, rbx
mulss xmm10, xmm8
mulss xmm13, dword [0x180005eec]
addss xmm10, xmm0
movss dword [rbp + 0xcc], xmm13
movss dword [rbp + 0xc8], xmm10
call fcn.18008fcd8
mov rcx, qword [r15 + 0x290]
lea rdx, [rbp + 0xc8]
and dword [rsp + 0x20], 0
mov r9d, edi
movaps xmm2, xmm6
movss dword [rbp + 0xc8], xmm10
movss dword [rbp + 0xcc], xmm13
call fcn.18008fcd8
subss xmm9, xmm11
movss dword [rbp + 0xcc], xmm7
mov dword [rbp + 0xb8], 0x3551465a
lea r9, [rbp + 0xb8]
xor r8d, r8d
movss dword [rbp + 0xc8], xmm9
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9], al
inc r9
cmp r8d, 4
jl 0x1800b6d06
xor r8d, r8d
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xb8]
call fcn.1800abc80
call fcn.180080e48
test al, al
je 0x1800b6d8a
mov rax, qword [rbp - 0x60]
addss xmm9, xmm14
movss xmm0, dword [rax + 0xdf4]
subss xmm0, xmm11
divss xmm0, xmm9
comiss xmm12, xmm0
jbe 0x1800b6d7c
movaps xmm8, xmm12
jmp 0x1800b6d85
movaps xmm8, xmm14
minss xmm8, xmm0
mov byte [r13], 1
lea r11, [rsp + 0x170]
movaps xmm0, xmm8
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret