Function at 0x1800659e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd8
mov r8, qword [0x1800821d8]
mov r14, rdx
movaps xmmword [rax - 0x58], xmm7
mov r12, rcx
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [r8 + 0x1a80]
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
mov byte [rax + 0x80], 1
mov rdi, qword [r8 + 0x1a80]
cmp byte [rdi + 0x83], 0
jne 0x180065da5
mov r15, qword [0x1800821d8]
mov rdx, rcx
mov rcx, rdi
xor r8d, r8d
call fcn.180034d10
movss xmm13, dword [0x180073458]
lea rcx, [rbp - 0x79]
mov r9b, 1
movss dword [rsp + 0x20], xmm13
xor r8d, r8d
mov rdx, r12
mov ebx, eax
call fcn.180031a70
call fcn.180034c50
movss xmm1, dword [r15 + 0x15a4]
movaps xmm8, xmm0
movss xmm0, dword [rbp - 0x79]
addss xmm1, xmm1
movss xmm10, dword [0x180073d20]
xorps xmm12, xmm12
comiss xmm0, xmm12
addss xmm1, dword [rbp - 0x75]
movss xmm7, dword [rdi + 0xd0]
movss xmm9, dword [rdi + 0xd4]
subss xmm1, xmm10
jbe 0x180065ad5
addss xmm0, dword [r15 + 0x15b8]
jmp 0x180065ad8
xorps xmm0, xmm0
addss xmm0, xmm8
movss dword [rbp - 0x6d], xmm9
addss xmm1, xmm9
lea rcx, [rbp - 0x71]
subss xmm0, dword [0x180073d18]
movss dword [rbp - 0x65], xmm1
addss xmm0, xmm7
subss xmm7, dword [0x180073408]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x71], xmm7
movss xmm1, dword [r15 + 0x15a4]
call fcn.180036e90
xor r8d, r8d
lea rcx, [rbp - 0x71]
mov edx, ebx
call fcn.180036bd0
test al, al
je 0x180065da5
mov qword [rsp + 0x110], rsi
lea r9, [rbp + 0x77]
xor esi, esi
mov qword [rsp + 0xd0], r13
lea r8, [rbp + 0x7f]
mov dword [rsp + 0x20], esi
mov edx, ebx
movaps xmmword [rsp + 0xc0], xmm6
lea rcx, [rbp - 0x71]
call fcn.180057dd0
movzx r13d, al
test al, al
je 0x180065b7c
cmp byte [r14], sil
sete cl
mov byte [r14], cl
mov ecx, ebx
call fcn.1800373c0
mov r8d, 1
lea rcx, [rbp - 0x71]
mov edx, ebx
call fcn.18003ce00
movss xmm6, dword [0x1800733ec]
mov ecx, 0x12
movaps xmm1, xmm6
call fcn.180034af0
test byte [rdi + 0x1b8], 0x40
lea rcx, [rbp - 0x61]
divss xmm8, dword [0x180078e80]
cvttss2si eax, xmm8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm6, xmm0
je 0x180065bfd
movaps xmm0, xmmword [0x180078790]
mov rbx, qword [rdi + 0x2b0]
movups xmmword [rbp - 0x61], xmm0
call fcn.180032820
movaps xmm0, xmm6
mov r9d, eax
addss xmm0, xmm7
mov rcx, rbx
addss xmm6, xmm9
movss dword [rbp + 0x77], xmm0
movss dword [rbp + 0x7b], xmm6
jmp 0x180065c70
mov rdi, qword [rdi + 0x2b0]
cmp byte [r14], sil
je 0x180065c12
movaps xmm0, xmmword [0x180078ec0]
jmp 0x180065c19
movaps xmm0, xmmword [0x180078790]
movups xmmword [rbp - 0x61], xmm0
call fcn.180032820
xor r9d, r9d
movss dword [rsp + 0x20], xmm13
xor r8d, r8d
lea rcx, [rbp + 0x7f]
mov rdx, r12
mov ebx, eax
call fcn.180031a70
movaps xmm0, xmm7
mov rcx, rdi
mov r9d, ebx
addss xmm0, dword [rax]
addss xmm0, dword [0x180073410]
addss xmm0, xmm6
movss dword [rbp + 0x77], xmm0
movaps xmm0, xmm9
addss xmm0, dword [0x180073d18]
addss xmm0, xmm6
movss dword [rbp + 0x7b], xmm0
movaps xmm2, xmm10
mov dword [rsp + 0x20], 0xc
lea rdx, [rbp + 0x77]
call fcn.180043140
movaps xmm6, xmmword [rsp + 0xc0]
cmp byte [r15 + 0x2fc8], sil
je 0x180065d61
cmp byte [r14], sil
je 0x180065cf7
cmp byte [0x180078977], sil
mov eax, dword [0x180078974]
mov dword [rbp + 0x77], eax
je 0x180065cf1
movabs r8, 0x47ae147ae147ae15
nop dword [rax + rax]
mov rax, r8
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, sil
sub al, cl
add al, 0x32
xor byte [rbp + rsi + 0x77], al
inc rsi
cmp rsi, 4
jb 0x180065cc0
lea rdx, [rbp + 0x77]
jmp 0x180065d55
cmp byte [0x18007897b], sil
mov eax, dword [0x180078978]
mov dword [rbp + 0x7f], eax
je 0x180065d51
movabs r8, 0x47ae147ae147ae15
nop dword [rax]
nop word [rax + rax]
mov rax, r8
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, sil
sub al, cl
add al, 0x32
xor byte [rbp + rsi + 0x7f], al
inc rsi
cmp rsi, 4
jb 0x180065d20
lea rdx, [rbp + 0x7f]
xor r8d, r8d
lea rcx, [rbp - 0x71]
call fcn.180037050
movss xmm0, dword [rbp - 0x79]
comiss xmm0, xmm12
mov rsi, qword [rsp + 0x110]
jbe 0x180065d97
addss xmm7, dword [r15 + 0x15b8]
mov r9b, 1
xor r8d, r8d
mov rdx, r12
movaps xmm0, xmm7
unpcklps xmm0, xmm9
movq rcx, xmm0
call fcn.18003d0a0
movzx eax, r13b
mov r13, qword [rsp + 0xd0]
jmp 0x180065da7
xor al, al
lea r11, [rsp + 0xd8]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm12, xmmword [r11 - 0x68]
movaps xmm13, xmmword [r11 - 0x78]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret