Function at 0x18008d180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r8d, dword [rcx + 8]
mov rbx, rcx
mov edx, dword [rcx + 0x28]
movaps xmmword [rsp + 0x60], xmm6
lea eax, [rdx + r8]
mov dword [rcx + 0x28], eax
mov eax, dword [rcx + 0x2c]
sub eax, edx
cmp r8d, eax
jbe 0x18008d1bd
add rcx, 0x20
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x38]
lea eax, [rdx + rcx]
mov dword [rbx + 0x38], eax
mov eax, dword [rbx + 0x3c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d1db
lea rcx, [rbx + 0x30]
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x48]
lea eax, [rdx + rcx]
mov dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x4c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d1f9
lea rcx, [rbx + 0x40]
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x58]
lea eax, [rdx + rcx]
mov dword [rbx + 0x58], eax
mov eax, dword [rbx + 0x5c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d217
lea rcx, [rbx + 0x50]
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x68]
lea eax, [rdx + rcx]
mov dword [rbx + 0x68], eax
mov eax, dword [rbx + 0x6c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d235
lea rcx, [rbx + 0x60]
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x78]
lea eax, [rdx + rcx]
mov dword [rbx + 0x78], eax
mov eax, dword [rbx + 0x7c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d253
lea rcx, [rbx + 0x70]
call fcn.180067160
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0x88]
lea eax, [rdx + rcx]
mov dword [rbx + 0x88], eax
mov eax, dword [rbx + 0x8c]
sub eax, edx
cmp ecx, eax
jbe 0x18008d27d
lea rcx, [rbx + 0x80]
call fcn.180067160
mov ecx, dword [rbx + 8]
lea r8, [rbx + 0x90]
mov edx, dword [r8 + 8]
lea eax, [rdx + rcx]
mov dword [r8 + 8], eax
mov eax, dword [r8 + 0xc]
sub eax, edx
cmp ecx, eax
jbe 0x18008d2ab
mov rcx, r8
call fcn.180067160
lea r8, [rbx + 0x90]
mov eax, dword [rbx + 8]
mov rdx, qword [r8]
xor r8d, r8d
movss xmm6, dword [0x1800ecb1c]
mov r15, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
mov rsi, qword [rbx + 0x40]
mov r14, qword [rbx + 0x50]
mov rbp, qword [rbx + 0x60]
mov r12, qword [rbx + 0x70]
mov r13, qword [rbx + 0x80]
movd xmm0, eax
mov dword [rsp + 0xb0], r8d
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
test eax, eax
jle 0x18008d43d
movaps xmmword [rsp + 0x50], xmm7
lea rdi, [rcx + 4]
movss xmm7, dword [0x1800ecab8]
sub r15, rcx
movaps xmmword [rsp + 0x40], xmm8
sub rsi, rcx
movss xmm8, dword [0x1800ecd00]
sub r14, rcx
movaps xmmword [rsp + 0x30], xmm9
sub rbp, rcx
movss xmm9, dword [0x1800ecad4]
sub r12, rcx
sub r13, rcx
movaps xmmword [rsp + 0x20], xmm10
movss xmm10, dword [0x1800ecb88]
sub rdx, rcx
mov qword [rsp + 0xb8], rdx
movd xmm1, r8d
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movaps xmm0, xmm1
call fcn.1800de8d0
mov rax, qword [rsp + 0xb8]
movaps xmm4, xmm0
mov r8d, dword [rsp + 0xb0]
movaps xmm5, xmm0
shufps xmm5, xmm0, 1
add r8d, 2
movaps xmm2, xmm5
mov dword [rsp + 0xb0], r8d
mulss xmm5, xmm7
movaps xmm3, xmm9
subss xmm3, xmm4
mulss xmm2, xmm10
addss xmm4, xmm9
movaps xmm0, xmm2
mulss xmm3, xmm7
xorps xmm0, xmm8
mulss xmm4, xmm7
movss dword [r15 + rdi - 4], xmm4
movaps xmm1, xmm4
xorps xmm1, xmm8
movss dword [r15 + rdi], xmm1
movss dword [rdi - 4], xmm5
movss dword [rdi], xmm5
movss dword [rsi + rdi - 4], xmm3
movss dword [rsi + rdi], xmm3
movss dword [r14 + rdi - 4], xmm0
movss dword [r14 + rdi], xmm2
movss dword [rdi + rbp - 4], xmm4
movss dword [rdi + rbp], xmm1
movss dword [r12 + rdi - 4], xmm5
movss dword [r12 + rdi], xmm5
movss dword [rdi + r13 - 4], xmm3
movss dword [rdi + r13], xmm3
movss dword [rax + rdi - 4], xmm0
movss dword [rax + rdi], xmm2
add rdi, 8
cmp r8d, dword [rbx + 8]
jl 0x18008d351
movaps xmm10, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
mov rbx, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret