Function at 0x1800afe10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
test byte [rcx + 0xc], 0x42
mov ebx, r9d
mov rsi, qword [0x1800f2b60]
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
jne 0x1800b07cb
xor r15d, r15d
cmp byte [rcx + 0xc8], r15b
jg 0x1800b07cb
cmp byte [rcx + 0xc9], r15b
jg 0x1800b07cb
cmp byte [rcx + 0xaf], r15b
je 0x1800b07cb
movss xmm1, dword [rsi + 0x3c10]
xorps xmm12, xmm12
movss xmm0, dword [rcx + 0x50]
movaps xmm2, xmm1
addss xmm0, dword [0x180005fd0]
mulss xmm1, dword [0x180005fa4]
mov r12b, byte [rsi + 0x7e]
mulss xmm2, dword [0x180008b24]
mov byte [rsp + 0x32], r15b
mov byte [rsp + 0x31], r12b
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x180005fc4]
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
movss dword [rsp + 0x68], xmm10
test r12b, r12b
je 0x1800aff2d
movss xmm15, dword [0x180006040]
jmp 0x1800aff31
xorps xmm15, xmm15
movss xmm9, dword [0x1800060f8]
lea r9, [rbp + 0x70]
movaps xmm6, xmm9
movss dword [rsp + 0x3c], xmm9
movaps xmm7, xmm9
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x38], xmm7
movaps xmm8, xmm9
mov dword [rsp + 0x54], 0x7f7fffff
mov r8d, r15d
mov dword [rcx + 0x150], 1
mov dword [rbp + 0x70], 0x65706610
mov dword [rbp + 0x74], 0x3a7c627e
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 8
jl 0x1800aff80
lea rcx, [rbp + 0x70]
call fcn.1800aa1a0
movss xmm14, dword [0x180008460]
mov r14d, r15d
test ebx, ebx
jle 0x1800b0319
mov r13, qword [rbp + 0x90]
lea r15, [0x180008a24]
mov r12, qword [rbp + 0x78]
movss xmm0, dword [r15 + 4]
movss xmm1, dword [r15 + 8]
movaps xmm5, xmm0
movss xmm3, dword [rdi + 0x18]
movaps xmm4, xmm1
addss xmm3, dword [rdi + 0x20]
movss xmm2, dword [rdi + 0x1c]
addss xmm2, dword [rdi + 0x24]
mulss xmm5, xmm10
subss xmm3, dword [rdi + 0x18]
mulss xmm4, xmm10
subss xmm2, dword [rdi + 0x1c]
mulss xmm0, xmm15
mulss xmm3, dword [r15 - 4]
mulss xmm2, dword [r15]
addss xmm3, dword [rdi + 0x18]
mulss xmm1, xmm15
addss xmm2, dword [rdi + 0x1c]
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x60], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x64], xmm4
jbe 0x1800b0068
movss dword [rsp + 0x58], xmm5
movss dword [rsp + 0x60], xmm3
comiss xmm2, xmm4
jbe 0x1800b0079
movss dword [rsp + 0x5c], xmm4
movss dword [rsp + 0x64], xmm2
movsxd rax, dword [rdi + 0xe8]
lea rcx, [rsp + 0x40]
mov r8, qword [rdi + 0xf0]
mov edx, 4
mov dword [rsp + 0x40], r14d
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1800a4464
mov r9d, 8
lea rcx, [rsp + 0x58]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.1800a5250
lea r9, [rbp + 0x70]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.1800ca4ac
mov r8b, byte [rsp + 0x30]
mov dl, byte [rbp + 0x70]
test r8b, r8b
jne 0x1800b00e9
test dl, dl
je 0x1800b0297
mov eax, r14d
not eax
and eax, 1
add eax, 5
mov dword [rsi + 0x4a38], eax
test dl, dl
je 0x1800b0297
mov eax, 2
cmp word [rsi + 0x3742], ax
jne 0x1800b0157
test r14d, r14d
jne 0x1800b0157
mov r8, r12
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.1800a0a1c
xor edx, edx
mov byte [rsp + 0x32], 1
xor ecx, ecx
movss xmm7, dword [rax]
movss xmm8, dword [rax + 4]
movss dword [rsp + 0x38], xmm7
movss dword [rsp + 0x3c], xmm8
call fcn.1800acd14
mov dl, byte [rbp + 0x70]
mov r8b, byte [rsp + 0x30]
jmp 0x1800b02a5
movss xmm11, dword [r15]
ucomiss xmm11, dword [0x180005fd0]
jp 0x1800b0176
jne 0x1800b0176
mov rax, qword [rbp + 0x98]
movss xmm6, dword [rax + 4]
jmp 0x1800b0181
mov rax, qword [rbp + 0x98]
movaps xmm6, xmm14
lea r8, [r15 - 4]
movss xmm10, dword [r8]
ucomiss xmm10, dword [0x180005fd0]
jp 0x1800b019c
jne 0x1800b019c
movss xmm4, dword [rax]
jmp 0x1800b01a0
movaps xmm4, xmm14
ucomiss xmm11, xmm12
jp 0x1800b01b0
jne 0x1800b01b0
movss xmm8, dword [rax + 0xc]
jmp 0x1800b01b4
movaps xmm8, xmm9
ucomiss xmm10, xmm12
jp 0x1800b01c3
jne 0x1800b01c3
movss xmm7, dword [rax + 8]
jmp 0x1800b01c7
movaps xmm7, xmm9
movss xmm5, dword [r15 + 4]
movss xmm3, dword [r15 + 8]
movaps xmm0, xmm5
movss xmm2, dword [rsp + 0x68]
movaps xmm1, xmm3
xorps xmm2, xmmword [0x180008410]
mulss xmm0, xmm15
mulss xmm5, xmm2
mulss xmm3, xmm2
subss xmm5, xmm0
mulss xmm1, xmm15
subss xmm3, xmm1
mulss xmm5, xmm10
addss xmm5, xmm0
mulss xmm3, xmm11
movss xmm0, dword [rsi + 0xdfc]
subss xmm0, dword [rsi + 0x3f24]
addss xmm3, xmm1
addss xmm5, xmm0
movss xmm0, dword [rsi + 0xe00]
subss xmm0, dword [rsi + 0x3f28]
addss xmm0, xmm3
comiss xmm6, xmm0
ja 0x1800b0247
movaps xmm6, xmm8
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x1800b0253
movaps xmm4, xmm7
minss xmm4, xmm5
lea rax, [rsp + 0x38]
movss dword [rsp + 0x70], xmm4
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x74], xmm6
mov rcx, rdi
call fcn.1800a0360
mov dl, byte [rbp + 0x70]
mov r8b, byte [rsp + 0x30]
movss xmm8, dword [rsp + 0x3c]
movss xmm7, dword [rsp + 0x38]
movss xmm10, dword [rsp + 0x68]
test r14d, r14d
je 0x1800b02a5
test dl, dl
jne 0x1800b02a5
test r8b, r8b
je 0x1800b02f6
mov rcx, qword [0x1800f2b60]
neg r8b
mov r8d, 0x21
sbb rax, rax
neg rax
add rax, 0x1f
test dl, dl
cmovne rax, r8
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x38a8]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x37e0]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x4c], xmm0
call fcn.1800a1484
mov dword [r13], eax
inc r14d
add r15, 0x18
add r13, 4
cmp r14d, dword [rbp + 0x88]
jl 0x1800affd6
movss xmm6, dword [rsp + 0x50]
mov r12b, byte [rsp + 0x31]
xor r14d, r14d
neg r12b
sbb r12, r12
and r12d, 4
jbe 0x1800b052c
movss xmm6, dword [0x180006040]
lea r15, [0x180008a94]
cmp r14d, 1
jbe 0x1800b0360
mov r13d, 3
mov qword [rsp + 0x70], 0xe00
mov qword [rsp + 0x68], 0x3f28
lea rax, [rsp + 0x44]
jmp 0x1800b037d
mov r13d, 4
mov qword [rsp + 0x70], 0xdfc
mov qword [rsp + 0x68], 0x3f24
lea rax, [rsp + 0x40]
movaps xmm3, xmm10
movss dword [rsp + 0x20], xmm6
mov r8d, r14d
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1800a3b14
mov r8, qword [rdi + 0xf0]
lea eax, [r14 + 4]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x40]
movsxd rax, dword [rdi + 0xe8]
mov edx, 4
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1800a4464
mov r9d, 8
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.1800a5250
lea r9, [rbp + 0x70]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1800ca4ac
cmp byte [rsp + 0x31], 0
mov al, byte [rbp + 0x70]
je 0x1800b0412
movss xmm0, dword [rsi + 0x3f08]
comiss xmm0, dword [0x180008b00]
ja 0x1800b041a
test al, al
je 0x1800b0508
mov dword [rsi + 0x4a38], r13d
test al, al
je 0x1800b0508
mov rax, qword [rbp + 0x80]
mov dword [rax], r14d
cmp r14d, 3
jne 0x1800b044b
mov rax, qword [rbp + 0x98]
movaps xmm3, xmm14
movss xmm2, dword [rax + 4]
jmp 0x1800b0464
movaps xmm2, xmm14
cmp r14d, 1
jne 0x1800b0593
mov rax, qword [rbp + 0x98]
movss xmm3, dword [rax]
movaps xmm4, xmm9
movaps xmm5, xmm9
mov rax, qword [rsp + 0x70]
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x40], xmm0
movss xmm1, dword [rax + rsi]
mov rax, qword [rsp + 0x68]
subss xmm1, dword [rax + rsi]
mov rax, qword [rsp + 0x58]
addss xmm1, xmm6
movss dword [rax], xmm1
comiss xmm2, dword [rsp + 0x44]
ja 0x1800b04a8
movaps xmm2, xmm4
minss xmm2, dword [rsp + 0x44]
comiss xmm3, dword [rsp + 0x40]
ja 0x1800b04b8
movaps xmm3, xmm5
minss xmm3, dword [rsp + 0x40]
movss xmm0, dword [r15 - 0xc]
lea rax, [rsp + 0x38]
movss xmm1, dword [r15 - 8]
lea r9, [rsp + 0x50]
minss xmm0, dword [r15 - 4]
minss xmm1, dword [r15]
lea r8, [rsp + 0x78]
movss dword [rsp + 0x40], xmm3
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x44], xmm2
mov rcx, rdi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
call fcn.1800a0360
inc r14d
add r15, 0x1c
sub r12, 1
jne 0x1800b033b
movss xmm6, dword [rsp + 0x50]
movss xmm8, dword [rsp + 0x3c]
movss xmm7, dword [rsp + 0x38]
mov rax, qword [0x1800f2b60]
mov rcx, qword [rax + 0x3eb0]
dec dword [rcx + 0xe8]
and dword [rdi + 0x150], 0
mov rax, qword [rsi + 0x4a00]
test rax, rax
je 0x1800b076e
cmp qword [rax + 0x370], rdi
jne 0x1800b076e
mov eax, dword [rsi + 0x48c8]
cmp eax, 2
jne 0x1800b05d0
cmp byte [rsi + 0xe15], 0
je 0x1800b076e
mov edx, 0x201
mov dword [rsp + 0x20], 0x204
lea r9d, [rdx + 2]
lea r8d, [rdx + 1]
jmp 0x1800b05f2
mov eax, 2
movaps xmm3, xmm14
cmp r14d, eax
jne 0x1800b05b2
mov rax, qword [rbp + 0x98]
movss xmm4, dword [rax + 0xc]
jmp 0x1800b0468
movaps xmm4, xmm9
test r14d, r14d
jne 0x1800b0468
mov rax, qword [rbp + 0x98]
movss xmm5, dword [rax + 8]
jmp 0x1800b046c
movaps xmm2, xmm12
movaps xmm3, xmm12
cmp eax, 3
jne 0x1800b0604
mov edx, 0x26f
mov dword [rsp + 0x20], 0x272
lea r9d, [rdx + 2]
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x70]
call fcn.1800a37d8
movss xmm3, dword [rax + 4]
movss xmm2, dword [rax]
ucomiss xmm2, xmm12
jp 0x1800b0618
jne 0x1800b0618
ucomiss xmm3, xmm12
jp 0x1800b0618
je 0x1800b076e
movss xmm1, dword [rsi + 0x70]
lea rcx, [rbp - 0x80]
minss xmm1, dword [rsi + 0x74]
movss xmm0, dword [rsi + 0x18]
mulss xmm0, dword [0x180008b3c]
mov rax, qword [rbp + 0x98]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rsi + 0x4a2c]
addss xmm3, dword [rsi + 0x4a30]
movss dword [rsi + 0x4a2c], xmm2
movss dword [rsi + 0x4a30], xmm3
movss xmm0, dword [rax]
subss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rax + 4]
subss xmm1, dword [rdi + 0x1c]
subss xmm0, dword [rdi + 0x20]
subss xmm1, dword [rdi + 0x24]
mov byte [rsi + 0x4a20], 0
mov byte [rsi + 0x48d3], 1
maxss xmm2, xmm0
maxss xmm3, xmm1
movss dword [rsi + 0x4a2c], xmm2
movss dword [rsi + 0x4a30], xmm3
mov rax, qword [0x1800f2b60]
movdqu xmm0, xmmword [rax + 0x3ab8]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x74], xmm0
call fcn.1800a1484
mov rcx, qword [rbp + 0x90]
mov dword [rcx], eax
cvttss2si eax, dword [rsi + 0x4a2c]
movd xmm11, eax
cvttss2si eax, dword [rsi + 0x4a30]
cvtdq2ps xmm11, xmm11
movd xmm10, eax
ucomiss xmm11, xmm12
cvtdq2ps xmm10, xmm10
jp 0x1800b070d
jne 0x1800b070d
ucomiss xmm10, xmm12
jp 0x1800b070d
je 0x1800b076e
movaps xmm0, xmm11
lea r8, [rbp + 0x70]
addss xmm0, dword [rdi + 0x28]
movaps xmm1, xmm10
lea rcx, [rsp + 0x78]
addss xmm1, dword [rdi + 0x2c]
mov rdx, rdi
movss dword [rbp + 0x70], xmm0
movss dword [rbp + 0x74], xmm1
call fcn.1800a0a1c
movss xmm0, dword [rsi + 0x4a2c]
movss xmm1, dword [rsi + 0x4a30]
subss xmm0, xmm11
subss xmm1, xmm10
movss xmm7, dword [rax]
movss xmm8, dword [rax + 4]
movss dword [rsi + 0x4a2c], xmm0
movss dword [rsi + 0x4a30], xmm1
ucomiss xmm7, xmm9
jp 0x1800b0776
je 0x1800b0789
mov rcx, rdi
movss dword [rdi + 0x28], xmm7
movss dword [rdi + 0x2c], xmm8
call fcn.1800a5e64
ucomiss xmm6, xmm9
jp 0x1800b0791
je 0x1800b07bb
cvttss2si ecx, xmm6
movd xmm1, ecx
cvttss2si ecx, dword [rsp + 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
mov rcx, rdi
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x18], xmm1
movss dword [rdi + 0x1c], xmm0
call fcn.1800a5e64
movsd xmm0, qword [rdi + 0x28]
mov al, byte [rsp + 0x32]
movsd qword [rdi + 0x20], xmm0
jmp 0x1800b07cd
xor al, al
lea r11, [rsp + 0x128]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm14, xmmword [r11 - 0x88]
movaps xmm15, xmmword [r11 - 0x98]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret