Function at 0x180069ed0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rax - 0x10], rbx
mov rdi, rcx
mov qword [rax - 0x18], rbp
mov rbp, qword [0x180147368]
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r12
xor r12d, r12d
mov qword [rax - 0x30], r13
mov ebx, r12d
mov qword [rax - 0x38], r14
mov r11d, r12d
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov byte [rcx + 0x61], 0
mov ecx, dword [rcx]
mov eax, ecx
movaps xmmword [rsp + 0x50], xmm10
test ecx, ecx
jle 0x180069f90
mov r10d, r12d
mov r9d, r12d
mov r8d, r12d
mov edx, r12d
nop word [rax + rax]
mov rcx, qword [rdi + 8]
mov eax, dword [rdi + 0x24]
cmp dword [rdx + rcx + 8], eax
jge 0x180069f5b
mov eax, dword [rdi + 0x14]
cmp dword [rdx + rcx], eax
jne 0x180069f7d
mov dword [rdi + 0x14], r12d
jmp 0x180069f7d
cmp r9, r10
je 0x180069f74
movups xmm0, xmmword [rdx + rcx]
movups xmm1, xmmword [rdx + rcx + 0x10]
movups xmmword [r8 + rcx], xmm0
movups xmmword [r8 + rcx + 0x10], xmm1
inc ebx
inc r9
add r8, 0x20
mov ecx, dword [rdi]
inc r11d
inc r10
add rdx, 0x20
mov eax, ecx
cmp r11d, ecx
jl 0x180069f40
mov r13d, 8
cmp ecx, ebx
je 0x180069ffb
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x180069ff5
test ecx, ecx
je 0x180069fb0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180069fb3
mov eax, r13d
cmp eax, ebx
mov esi, ebx
cmovg esi, eax
cmp esi, ecx
jle 0x180069ff5
movsxd rcx, esi
shl rcx, 5
call fcn.18004aa80
mov rdx, qword [rdi + 8]
mov r14, rax
test rdx, rdx
je 0x180069fee
movsxd r8, dword [rdi]
mov rcx, rax
shl r8, 5
call fcn.18007feb0
mov rcx, qword [rdi + 8]
call fcn.18004aaa0
mov qword [rdi + 8], r14
mov dword [rdi + 4], esi
mov dword [rdi], ebx
mov ecx, ebx
mov eax, ebx
mov edx, dword [rdi + 0x18]
mov esi, r12d
mov dword [rsp + 0xf0], r12d
test edx, edx
je 0x18006a01f
mov esi, edx
mov dword [rsp + 0xf0], edx
mov dword [rdi + 0x14], edx
mov ecx, eax
mov dword [rdi + 0x18], r12d
mov r8d, dword [rdi + 0x5c]
test r8d, r8d
je 0x18006a0c0
mov eax, r12d
test ecx, ecx
jle 0x18006a0bc
mov r9, qword [rdi + 8]
mov rdx, r9
nop
cmp dword [rdx], r8d
je 0x18006a053
mov ecx, dword [rdi]
inc eax
add rdx, 0x20
cmp eax, ecx
jl 0x18006a040
jmp 0x18006a0bc
movsxd r8, eax
shl r8, 5
add r8, r9
je 0x18006a0bc
movsx eax, byte [rdi + 0x60]
mov rdx, r8
sub rdx, r9
sar rdx, 5
add edx, eax
js 0x18006a0ae
cmp edx, ecx
jge 0x18006a0ae
movups xmm2, xmmword [r8]
movsxd rax, edx
movups xmm3, xmmword [r8 + 0x10]
shl rax, 5
add rax, r9
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
mov eax, dword [rax]
cmp eax, dword [rdi + 0x14]
cmove esi, eax
mov dword [rsp + 0xf0], esi
test dword [rdi + 0x58], 0x400000
je 0x18006a0bc
call fcn.18004aa40
mov dword [rdi + 0x5c], r12d
mov eax, dword [rdi + 0x58]
xorps xmm7, xmm7
shr eax, 2
test al, 1
je 0x18006a27f
mov rax, qword [0x180147368]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rdi + 0x28]
xor ecx, ecx
movss xmm0, dword [rax + 0x15a4]
mov r12, qword [rax + 0x1a80]
subss xmm1, xmm0
movaps xmm2, xmm0
mov qword [rsp + 0x108], r12
addss xmm2, dword [rax + 0x1928]
movss xmm0, dword [rdi + 0x2c]
movss xmm6, dword [r12 + 0xd0]
movss xmm8, dword [r12 + 0xd4]
movss dword [r12 + 0xd4], xmm0
movss dword [r12 + 0xd0], xmm1
addss xmm2, dword [rdi + 0x28]
movss dword [rdi + 0x28], xmm2
movups xmm0, xmmword [rax + 0x161c]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x180004c48]
movss dword [rsp + 0x3c], xmm0
call fcn.18004faa0
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
mov ecx, 0x15
movups xmmword [rsp + 0x40], xmm0
call fcn.18004faa0
cmp byte [0x180006247], 0
mov eax, dword [0x180006244]
mov dword [rsp + 0xf8], eax
je 0x18006a1d5
xor r8d, r8d
movabs r9, 0x29e4129e4129e413
nop
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0xf8], al
inc r8
cmp r8, 4
jb 0x18006a1a0
xor edx, edx
lea rcx, [rsp + 0xf8]
lea r8d, [rdx + 0x40]
call fcn.18005bcd0
mov ecx, 2
movzx ebx, al
call fcn.18004f2d0
xor r14d, r14d
test bl, bl
je 0x18006a256
xor r15d, r15d
cmp dword [rdi], r14d
jle 0x18006a251
mov qword [rsp + 0x100], r14
xor r12d, r12d
nop
mov rbx, qword [rdi + 8]
lea r9, [rsp + 0x100]
add rbx, r12
movsxd rcx, dword [rbx + 0x10]
add rcx, qword [rdi + 0x78]
mov eax, dword [rbx]
cmp dword [rdi + 0x14], eax
sete dl
xor r8d, r8d
call fcn.1800689f0
test al, al
cmovne r14, rbx
inc r15d
add r12, 0x20
cmp r15d, dword [rdi]
jl 0x18006a210
mov r12, qword [rsp + 0x108]
call fcn.1800471a0
movss dword [r12 + 0xd0], xmm6
movss dword [r12 + 0xd4], xmm8
xor r12d, r12d
test r14, r14
je 0x18006a27f
mov esi, dword [r14]
mov dword [rsp + 0xf0], esi
mov dword [rdi + 0x14], esi
mov r14d, dword [rdi]
mov ecx, dword [rbp + 0x2004]
cmp r14d, ecx
jle 0x18006a2f1
test ecx, ecx
je 0x18006a29c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r13d, [rcx + rax]
cmp r13d, r14d
mov ebx, r14d
cmovg ebx, r13d
cmp ebx, ecx
jle 0x18006a2f1
movsxd rcx, ebx
shl rcx, 3
call fcn.18004aa80
mov rdx, qword [rbp + 0x2008]
mov r15, rax
test rdx, rdx
je 0x18006a2e4
movsxd r8, dword [rbp + 0x2000]
mov rcx, rax
shl r8, 3
call fcn.18007feb0
mov rcx, qword [rbp + 0x2008]
call fcn.18004aaa0
mov qword [rbp + 0x2008], r15
mov dword [rbp + 0x2004], ebx
movss xmm10, dword [0x180004c54]
xor bl, bl
movss xmm8, dword [0x180004ffc]
movaps xmm6, xmm7
mov dword [rbp + 0x2000], r14d
mov r13, r12
mov r8d, dword [rdi]
mov r15d, r12d
mov dword [rsp + 0xf8], ebx
mov ecx, r8d
test r8d, r8d
jle 0x18006a494
movaps xmmword [rsp + 0x60], xmm9
mov r9, r12
movss xmm9, dword [0x180004ce4]
mov esi, ebx
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], r12
nop
mov r14, qword [rdi + 8]
mov ecx, 1
add r14, r9
test r13, r13
je 0x18006a36b
mov eax, dword [r14 + 0xc]
cmp dword [r13 + 0xc], eax
jge 0x18006a36e
mov r13, r14
mov eax, dword [rdi + 0x14]
mov r9b, 1
cmp dword [r14], eax
mov ebx, dword [r14 + 4]
movsxd rdx, dword [r14 + 0x10]
mov r12, qword [0x180147368]
movzx esi, sil
cmove esi, ecx
movss dword [rsp + 0x20], xmm9
add rdx, qword [rdi + 0x78]
lea rcx, [rsp + 0xf8]
shr ebx, 0x14
xor r8d, r8d
not bl
call fcn.180044f90
movss xmm1, dword [r12 + 0x15a0]
movaps xmm2, xmm1
addss xmm2, dword [rsp + 0xf8]
and bl, 1
je 0x18006a3de
movss xmm0, dword [r12 + 0x1928]
addss xmm0, dword [r12 + 0x15b8]
jmp 0x18006a3e2
movaps xmm0, xmm10
mov rax, qword [0x180147368]
addss xmm1, xmm0
movss xmm0, dword [rax + 0x1928]
mulss xmm0, xmm8
addss xmm1, xmm2
minss xmm1, xmm0
movss dword [r14 + 0x1c], xmm1
test r15d, r15d
jle 0x18006a417
movss xmm0, dword [rbp + 0x15b8]
jmp 0x18006a41a
movaps xmm0, xmm7
mov rdx, qword [rsp + 0x108]
addss xmm1, xmm0
mov rax, qword [rbp + 0x2008]
mov r9, qword [rsp + 0x100]
add r9, 0x20
mov qword [rsp + 0x100], r9
mov dword [rdx + rax], r15d
addss xmm6, xmm1
mov rcx, qword [rbp + 0x2008]
inc r15d
mov eax, dword [r14 + 0x1c]
mov dword [rdx + rcx + 4], eax
add rdx, 8
mov r8d, dword [rdi]
mov ecx, r8d
mov qword [rsp + 0x108], rdx
cmp r15d, r8d
jl 0x18006a350
movaps xmm9, xmmword [rsp + 0x60]
xor r12d, r12d
mov dword [rsp + 0xf8], esi
mov esi, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf8]
movss xmm0, dword [rdi + 0x30]
subss xmm0, dword [rdi + 0x28]
mov r15, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
subss xmm0, xmm7
maxss xmm0, xmm7
comiss xmm6, xmm0
jbe 0x18006a527
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x18006a527
test byte [rdi + 0x58], 0x40
je 0x18006a527
mov edx, dword [rbp + 0x2000]
movaps xmm2, xmm6
mov rcx, qword [rbp + 0x2008]
call fcn.1800692f0
mov ecx, dword [rdi]
mov r8d, r12d
test ecx, ecx
jle 0x18006a56a
mov rdx, r12
nop
mov rcx, qword [rbp + 0x2008]
lea rdx, [rdx + 8]
inc r8d
cvttss2si eax, dword [rdx + rcx - 4]
movsxd rcx, dword [rdx + rcx - 8]
shl rcx, 5
movd xmm0, eax
mov rax, qword [rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + rax + 0x18], xmm0
mov ecx, dword [rdi]
cmp r8d, ecx
jl 0x18006a4f0
jmp 0x18006a56a
mov rax, qword [0x180147368]
mov edx, r12d
movss xmm1, dword [rax + 0x1928]
mulss xmm1, xmm8
test r8d, r8d
jle 0x18006a56a
mov rax, qword [rdi + 8]
add rax, 0x18
nop dword [rax + rax]
movss xmm0, dword [rax + 4]
lea rax, [rax + 0x20]
minss xmm0, xmm1
inc edx
movss dword [rax - 0x20], xmm0
mov ecx, dword [rdi]
cmp edx, ecx
jl 0x18006a550
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm2, xmm7
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm3, xmm7
mov dword [rdi + 0x44], r12d
mov r8d, r12d
test ecx, ecx
jle 0x18006a5d7
mov rdx, r12
nop dword [rax]
mov rcx, qword [rdi + 8]
movss dword [rdx + rcx + 0x14], xmm2
test esi, esi
jne 0x18006a5aa
mov eax, dword [rdx + rcx]
cmp dword [rbp + 0x1c1c], eax
cmove esi, eax
movss xmm1, dword [rbp + 0x15b8]
inc r8d
movaps xmm0, xmm1
addss xmm0, dword [rdx + rcx + 0x18]
addss xmm1, dword [rdx + rcx + 0x1c]
mov ecx, dword [rdi]
add rdx, 0x20
addss xmm2, xmm0
addss xmm3, xmm1
cmp r8d, ecx
jl 0x18006a590
subss xmm2, dword [rbp + 0x15b8]
maxss xmm2, xmm7
movss dword [rdi + 0x3c], xmm2
subss xmm3, dword [rbp + 0x15b8]
maxss xmm3, xmm7
movss dword [rdi + 0x40], xmm3
movss xmm0, dword [rdi + 0x30]
subss xmm0, dword [rdi + 0x28]
comiss xmm2, xmm0
jbe 0x18006a62a
cmp ecx, 1
jle 0x18006a62a
mov eax, dword [rdi + 0x58]
test al, 0x10
jne 0x18006a62a
test al, al
jns 0x18006a62a
mov rcx, rdi
call fcn.18006a8a0
test rax, rax
je 0x18006a62a
mov esi, dword [rax]
mov dword [rdi + 0x14], esi
test bl, bl
mov rbx, qword [rsp + 0xd8]
jne 0x18006a63c
mov dword [rdi + 0x14], r12d
jmp 0x18006a643
mov eax, dword [rdi + 0x14]
test eax, eax
jne 0x18006a65a
cmp dword [rdi + 0x18], 0
mov eax, r12d
jne 0x18006a65a
test r13, r13
je 0x18006a65a
mov esi, dword [r13]
mov eax, esi
mov dword [rdi + 0x14], esi
mov r13, qword [rsp + 0xb8]
mov dword [rdi + 0x1c], eax
mov byte [rdi + 0x62], 0
test esi, esi
je 0x18006a75d
mov edx, dword [rdi]
mov ecx, r12d
test edx, edx
jle 0x18006a75d
mov r9, qword [rdi + 8]
mov rax, r9
cmp dword [rax], esi
je 0x18006a698
inc ecx
add rax, 0x20
cmp ecx, edx
jl 0x18006a685
jmp 0x18006a75d
movsxd r8, ecx
shl r8, 5
add r8, r9
je 0x18006a75d
mov rax, qword [0x180147368]
movss xmm3, dword [rax + 0x1928]
test ecx, ecx
jle 0x18006a6c7
movaps xmm0, xmm3
xorps xmm0, xmmword [0x180004d70]
jmp 0x18006a6ca
movaps xmm0, xmm7
movss xmm2, dword [r8 + 0x14]
lea eax, [rcx + 1]
movaps xmm1, xmm2
addss xmm1, xmm0
cmp eax, edx
jl 0x18006a6e2
movaps xmm3, xmm10
addss xmm2, dword [r8 + 0x18]
movss xmm4, dword [rdi + 0x4c]
comiss xmm4, xmm1
mov dword [rdi + 0x50], r12d
addss xmm2, xmm3
ja 0x18006a746
movss xmm5, dword [rdi + 0x28]
movaps xmm0, xmm2
movss xmm3, dword [rdi + 0x30]
subss xmm0, xmm1
subss xmm3, xmm5
comiss xmm0, xmm3
jae 0x18006a746
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, xmm4
jbe 0x18006a75d
subss xmm1, xmm3
subss xmm1, dword [rdi + 0x48]
maxss xmm1, xmm7
movss dword [rdi + 0x50], xmm1
movss xmm0, dword [rdi + 0x30]
subss xmm0, xmm5
subss xmm2, xmm0
movss dword [rdi + 0x4c], xmm2
jmp 0x18006a75d
movss xmm0, dword [rdi + 0x48]
subss xmm0, xmm2
movss dword [rdi + 0x4c], xmm1
maxss xmm0, xmm7
movss dword [rdi + 0x50], xmm0
movss xmm0, dword [rdi + 0x30]
subss xmm0, dword [rdi + 0x28]
movss xmm3, dword [rdi + 0x3c]
movss xmm4, dword [rdi + 0x48]
movaps xmm1, xmm3
movaps xmm10, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0xc8]
subss xmm1, xmm0
minss xmm4, xmm1
maxss xmm4, xmm7
movss dword [rdi + 0x48], xmm4
movss xmm0, dword [rdi + 0x30]
subss xmm0, dword [rdi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
minss xmm0, xmm3
maxss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x80]
ucomiss xmm4, xmm0
movss dword [rdi + 0x4c], xmm0
jp 0x18006a7cb
jne 0x18006a7cb
mov dword [rdi + 0x54], r12d
jmp 0x18006a866
movss xmm2, dword [rbp + 0x1928]
subss xmm0, xmm4
movss xmm1, dword [rdi + 0x54]
mulss xmm2, dword [0x1800062a0]
maxss xmm1, xmm2
movss dword [rdi + 0x54], xmm1
call fcn.18003f510
divss xmm0, dword [0x180004c44]
mov eax, dword [rdi + 0x24]
inc eax
movss xmm2, dword [rdi + 0x54]
maxss xmm2, xmm0
movss dword [rdi + 0x54], xmm2
cmp eax, dword [rbp + 0x1a08]
jl 0x18006a85c
movss xmm1, dword [rbp + 0x1928]
mulss xmm1, dword [0x180004ca0]
movss xmm0, dword [rdi + 0x50]
comiss xmm0, xmm1
ja 0x18006a85c
movss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x48]
comiss xmm1, xmm0
mulss xmm2, dword [rbp + 0x18]
jbe 0x18006a84d
addss xmm0, xmm2
minss xmm0, xmm1
jmp 0x18006a861
comiss xmm0, xmm1
jbe 0x18006a861
subss xmm0, xmm2
maxss xmm0, xmm1
jmp 0x18006a861
movss xmm0, dword [rdi + 0x4c]
movss dword [rdi + 0x48], xmm0
test dword [rdi + 0x58], 0x100000
mov r12, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xd0]
jne 0x18006a88a
lea rcx, [rdi + 0x70]
xor edx, edx
call fcn.18006c330
add rsp, 0xe0
pop rdi
ret