Function at 0x18009bac0
Capabilities:
Encrypt data using speck

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2b0
movups xmm0, xmmword [rcx + 0x70]
mov rbx, r8
xor r8d, r8d
movups xmm1, xmmword [rcx + 0x50]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x74], r8d
movaps xmmword [rax - 0x48], xmm6
mov r15d, r8d
movaps xmmword [rax - 0x68], xmm8
mov r13d, r8d
movaps xmmword [rax - 0x78], xmm9
mov r12d, 1
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
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x7c], r8d
mov r8d, edx
movaps xmmword [rax - 0xd8], xmm15
lea rdx, [rbp - 0x80]
movaps xmmword [rax - 0x58], xmm7
mov dword [rsp + 0x70], r12d
movups xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x80], xmm1
call fcn.180099920
movss xmm13, dword [rbp - 0x58]
xorps xmm8, xmm8
movss xmm14, dword [rbp - 0x5c]
xor r10d, r10d
movss xmm15, dword [rbp - 0x60]
movups xmm2, xmmword [rax]
movss xmm11, dword [rbp - 0x64]
movss xmm10, dword [rbp - 0x68]
movdqa xmm0, xmm2
movss xmm12, dword [rbp - 0x6c]
movdqa xmm1, xmm2
movss xmm9, dword [rbp - 0x70]
movq rdx, xmm2
movss xmm6, dword [rbp - 0x50]
psrldq xmm0, 0xc
movd r9d, xmm0
movdqa xmm0, xmm2
psrldq xmm1, 8
movd r8d, xmm1
psrldq xmm0, 8
movaps xmmword [rsp + 0x60], xmm2
movq qword [rsp + 0x68], xmm0
mov dword [rsp + 0x44], r9d
mov dword [rbp + 0x208], r8d
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x68]
lea r11, [0x180000000]
movss xmm5, dword [0x18011a840]
movss xmm4, dword [0x18011a870]
shr rax, 0x20
cmp r8d, eax
jge 0x18009bfae
movsxd rax, r8d
mov edi, r10d
inc r8d
mov dword [rsp + 0x40], 1
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx r14d, byte [rax + rdx]
movzx esi, r14b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x18009bc57.2
cdqe
mov ecx, dword [r11 + rax*4 + 0x9c990]
add rcx, r11
jmp rcx
mov edi, dword [rsp + 0x74]
test r12d, r12d
je 0x18009bc70
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rsp + 0x74], edi
lea eax, [rdi + 7]
mov dword [rsp + 0x70], r10d
cdq
mov r12d, r10d
and edx, 7
add eax, edx
sar eax, 3
add eax, r8d
mov dword [rbp + 0x208], eax
mov r8d, eax
cmp eax, r9d
jg 0x18009bca2
test eax, eax
js 0x18009bca2
mov dword [rsp + 0x68], eax
jmp 0x18009bf8a
mov r8d, r9d
mov dword [rbp + 0x208], r9d
mov dword [rsp + 0x68], r9d
jmp 0x18009bf8a
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
add dword [rsp + 0x74], eax
jmp 0x18009bf8a
mov dword [rsp + 0x70], r10d
mov r12d, r10d
cmp r13d, 2
jl 0x18009bfae
mov rcx, rbx
call fcn.18009b790
movsxd rax, r13d
movss xmm2, dword [rbp + rax*4 - 0x78]
addss xmm2, dword [rbx + 0x10]
movss xmm0, dword [rbp + rax*4 - 0x74]
addss xmm0, dword [rbx + 0x14]
cmp dword [rbx], 0
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 8], xmm2
movss dword [rbx + 0x14], xmm0
movss dword [rbx + 0xc], xmm0
cvttss2si r8d, xmm0
cvttss2si edx, xmm2
je 0x18009bd2c
mov rcx, rbx
call fcn.18009b720
inc dword [rbx + 0x30]
jmp 0x18009bf7b
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov byte [rcx + rax + 0xc], 1
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
xor r8d, r8d
inc dword [rbx + 0x30]
mov qword [rcx + rax + 4], r8
jmp 0x18009bf7b
mov dword [rsp + 0x70], r10d
mov r12d, r10d
cmp r13d, 1
jl 0x18009bfae
mov rcx, rbx
call fcn.18009b790
movss xmm2, dword [rbx + 0x10]
addss xmm2, xmm8
movsxd rax, r13d
jmp 0x18009bcef
mov dword [rsp + 0x70], r10d
mov r12d, r10d
cmp r13d, 1
jl 0x18009bfae
mov rcx, rbx
call fcn.18009b790
movss xmm0, dword [rbx + 0x14]
movsxd rax, r13d
addss xmm0, xmm8
movss xmm2, dword [rbp + rax*4 - 0x74]
addss xmm2, dword [rbx + 0x10]
jmp 0x18009bcfa
cmp r13d, 2
jl 0x18009bfae
mov eax, dword [rbx + 0x30]
lea r11, [rbp - 0x70]
mov edi, 1
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, dword [r11]
movss xmm0, dword [r11 + 4]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18009be0a
mov rcx, rbx
call fcn.18009b720
xor r10d, r10d
jmp 0x18009be2c
cdqe
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], 0
inc dword [rbx + 0x30]
add edi, 2
mov eax, dword [rbx + 0x30]
add r11, 8
cmp edi, r13d
jl 0x18009bdd0
jmp 0x18009bf7e
cmp r13d, 1
jl 0x18009bfae
lea r14, [rbx + 0x10]
lea r15, [rbx + 0x14]
lea r12, [rbx + 0x30]
lea r11, [rbx + 0x28]
jmp 0x18009bee9
cmp r13d, 1
jl 0x18009bfae
lea r12, [rbx + 0x30]
lea r14, [rbx + 0x10]
mov rsi, r12
lea r15, [rbx + 0x14]
mov r10, r12
lea r11, [rbx + 0x28]
mov rcx, r15
mov r9, r11
mov rdx, r14
cmp dword [rbx], 0
movss xmm0, dword [rcx]
addss xmm0, xmm8
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x70]
addss xmm1, dword [rdx]
movss dword [rcx], xmm0
cvttss2si r8d, xmm0
movss dword [rdx], xmm1
cvttss2si edx, xmm1
je 0x18009bec4
mov rcx, rbx
call fcn.18009b720
xor r10d, r10d
jmp 0x18009bee5
movsxd rax, dword [r10]
imul rcx, rax, 0xe
mov rax, qword [r9]
xor r10d, r10d
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], r10
inc dword [rsi]
inc edi
cmp edi, r13d
jge 0x18009c96f
cmp dword [rbx], 0
movss xmm1, dword [r14]
addss xmm1, xmm8
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x70]
addss xmm0, dword [r15]
movss dword [r14], xmm1
cvttss2si edx, xmm1
movss dword [r15], xmm0
cvttss2si r8d, xmm0
je 0x18009bf30
mov rcx, rbx
call fcn.18009b720
lea r11, [rbx + 0x28]
jmp 0x18009bf53
movsxd rax, dword [r12]
imul rcx, rax, 0xe
mov rax, qword [r11]
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], 0
inc dword [r12]
inc edi
mov rsi, r12
mov r9, r11
mov r10, r12
mov rcx, r15
mov rdx, r14
cmp edi, r13d
jl 0x18009be8b
mov r15d, dword [rsp + 0x78]
mov r12d, dword [rsp + 0x70]
xor r10d, r10d
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rbp + 0x208]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
mov eax, r10d
test ecx, ecx
cmove eax, r13d
mov r13d, eax
jmp 0x18009bbef
cmp r13d, 4
jge 0x18009c061
xor eax, eax
movaps xmm7, xmmword [rsp + 0x290]
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
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
cmp r13d, 4
jl 0x18009bfae
mov eax, r13d
sub eax, edi
cmp eax, 5
jne 0x18009c021
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x60]
jmp 0x18009c025
movaps xmm0, xmm8
movsxd rax, edi
mov rcx, rbx
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [rbp + rax*4 - 0x68]
movss xmm0, dword [rbp + rax*4 - 0x64]
movss xmm3, dword [rbp + rax*4 - 0x6c]
movss xmm2, dword [rbp + rax*4 - 0x70]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
movaps xmm1, xmm8
call fcn.18009b800
add edi, 4
lea eax, [rdi + 3]
cmp eax, r13d
jge 0x18009bf7b
movsxd rcx, edi
mov eax, r13d
sub eax, edi
movss xmm1, dword [rbp + rcx*4 - 0x64]
cmp eax, 5
jne 0x18009c088
movss xmm0, dword [rbp + rcx*4 - 0x60]
jmp 0x18009c08c
movaps xmm0, xmm8
movss xmm3, dword [rbp + rcx*4 - 0x6c]
movaps xmm2, xmm8
movss dword [rsp + 0x30], xmm1
movss xmm1, dword [rbp + rcx*4 - 0x70]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rbp + rcx*4 - 0x68]
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
add edi, 4
lea eax, [rdi + 3]
cmp eax, r13d
jl 0x18009c00c
jmp 0x18009bf7b
cmp r13d, 6
jl 0x18009bfae
mov esi, 5
lea rdi, [rbp - 0x60]
movss xmm0, dword [rdi + 4]
mov rcx, rbx
movss xmm1, dword [rdi]
movss xmm3, dword [rdi - 8]
movss xmm2, dword [rdi - 0xc]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rdi - 4]
movss dword [rsp + 0x28], xmm1
movss xmm1, dword [rdi - 0x10]
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
add esi, 6
lea rdi, [rdi + 0x18]
cmp esi, r13d
jl 0x18009c0e3
jmp 0x18009bf7b
cmp r13d, 8
jl 0x18009bfae
lea r15d, [r13 - 2]
cmp r15d, 5
jle 0x18009c1a7
mov r14d, 5
lea rsi, [rbp - 0x60]
nop dword [rax]
movss xmm0, dword [rsi + 4]
mov rcx, rbx
movss xmm1, dword [rsi]
movss xmm3, dword [rsi - 8]
movss xmm2, dword [rsi - 0xc]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsi - 4]
movss dword [rsp + 0x28], xmm1
movss xmm1, dword [rsi - 0x10]
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
add edi, 6
lea rsi, [rsi + 0x18]
add r14d, 6
mov eax, edi
cmp r14d, r15d
jl 0x18009c150
inc eax
cmp eax, r13d
jge 0x18009bfae
xor r10d, r10d
cmp dword [rbx], 0
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x70]
addss xmm1, dword [rbx + 0x10]
movss xmm0, dword [rbp + rax*4 - 0x6c]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18009c1f0
mov rcx, rbx
call fcn.18009b720
mov r15d, dword [rsp + 0x78]
xor r10d, r10d
inc dword [rbx + 0x30]
jmp 0x18009bf7e
movsxd rax, dword [rbx + 0x30]
mov r15d, dword [rsp + 0x78]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
inc dword [rbx + 0x30]
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], 0
jmp 0x18009bf7e
cmp r13d, 8
jl 0x18009bfae
lea r14d, [r13 - 6]
cmp r14d, 1
jle 0x18009c2d0
mov ecx, dword [rbx + 0x30]
lea r11, [rbp - 0x70]
mov esi, 1
nop word [rax + rax]
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, dword [r11]
movss xmm0, dword [r11 + 4]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18009c28a
mov rcx, rbx
call fcn.18009b720
xor r10d, r10d
jmp 0x18009c2ad
movsxd rax, ecx
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], 0
inc dword [rbx + 0x30]
add edi, 2
mov ecx, dword [rbx + 0x30]
add esi, 2
add r11, 8
mov eax, edi
cmp esi, r14d
jl 0x18009c250
add eax, 5
cmp eax, r13d
jge 0x18009bfae
movsxd rax, edi
mov rcx, rbx
movss xmm0, dword [rbp + rax*4 - 0x5c]
movss xmm2, dword [rbp + rax*4 - 0x60]
movss xmm3, dword [rbp + rax*4 - 0x68]
movss xmm1, dword [rbp + rax*4 - 0x70]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rbp + rax*4 - 0x64]
movss dword [rsp + 0x28], xmm2
movss xmm2, dword [rbp + rax*4 - 0x6c]
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
jmp 0x18009bf7b
cmp r13d, 4
jl 0x18009bfae
mov eax, r13d
movaps xmm5, xmm8
and eax, 1
je 0x18009c330
movaps xmm5, xmm9
lea esi, [rax + 3]
cmp esi, r13d
jge 0x18009bf8f
lea rdi, [rbp - 0x64]
lea rdi, [rdi + rax*4]
nop dword [rax]
nop dword [rax + rax]
movss xmm0, dword [rdi]
movss xmm1, dword [rdi - 0xc]
cmp r14b, 0x1b
jne 0x18009c36b
movaps xmm2, xmm0
movaps xmm4, xmm1
movaps xmm0, xmm8
jmp 0x18009c375
movaps xmm4, xmm5
movaps xmm2, xmm8
movaps xmm5, xmm1
movss xmm3, dword [rdi - 8]
movaps xmm1, xmm4
movss dword [rsp + 0x30], xmm0
mov rcx, rbx
movss xmm0, dword [rdi - 4]
movss dword [rsp + 0x28], xmm2
movaps xmm2, xmm5
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
add esi, 4
add rdi, 0x10
movaps xmm5, xmm8
cmp esi, r13d
jl 0x18009c350
jmp 0x18009bf7b
cmp dword [rsp + 0x7c], 0
mov rdi, qword [rbp + 0x1f0]
jne 0x18009c3f9
cmp dword [rdi + 0x9c], 0
je 0x18009c3e8
mov r8d, dword [rbp + 0x1f8]
lea rcx, [rbp + 0x60]
mov rdx, rdi
call fcn.18009b8f0
xor r10d, r10d
movups xmm2, xmmword [rax]
movups xmmword [rbp + 0x50], xmm2
mov dword [rsp + 0x7c], 1
jmp 0x18009c3f9
mov rdi, qword [rbp + 0x1f0]
cmp r13d, 1
jl 0x18009bfae
dec r13d
cmp r15d, 0xa
jge 0x18009bfae
movaps xmm0, xmmword [rsp + 0x60]
movsxd rax, r15d
inc r15d
add rax, rax
mov dword [rsp + 0x78], r15d
movups xmmword [rbp + rax*8 + 0x70], xmm0
movsxd rax, r13d
cvttss2si r8d, dword [rbp + rax*4 - 0x70]
lea rax, [rbp + 0x50]
cmp esi, 0xa
je 0x18009c43f
lea rax, [rdi + 0x60]
movups xmm1, xmmword [rax]
mov rax, qword [rax + 8]
shr rax, 0x20
movaps xmmword [rsp + 0x60], xmm1
test eax, eax
psrldq xmm1, 0xc
movd r9d, xmm1
mov ecx, r9d
cmovns ecx, r10d
mov r10, qword [rsp + 0x60]
mov dword [rsp + 0x68], ecx
cmp ecx, r9d
jl 0x18009c474
xor al, al
jmp 0x18009c482
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
movzx edx, al
cmp ecx, r9d
jl 0x18009c48e
xor al, al
jmp 0x18009c49c
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
shl edx, 8
movzx eax, al
or edx, eax
cmp edx, 0x846c
jb 0x18009c4b3
mov eax, 0x8000
jmp 0x18009c4c6
cmp edx, 0x4d8
mov eax, 0x6b
mov ecx, 0x46b
cmovae eax, ecx
add r8d, eax
js 0x18009c4ee
cmp r8d, edx
jge 0x18009c4ee
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180099920
xor r10d, r10d
jmp 0x18009c4f9
xor r10d, r10d
mov qword [rbp - 0x80], r10
mov qword [rbp - 0x78], r10
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x18009bfae
mov rdx, qword [rsp + 0x60]
mov ecx, r10d
mov r9d, dword [rsp + 0x6c]
test ecx, ecx
mov eax, r10d
mov dword [rbp + 0x208], r10d
cmove eax, r13d
mov dword [rsp + 0x68], r10d
mov r13d, eax
mov dword [rsp + 0x44], r9d
mov r8d, r10d
mov qword [rsp + 0x50], rdx
jmp 0x18009bbef
test r15d, r15d
jle 0x18009bfae
dec r15d
mov ecx, r10d
movsxd rax, r15d
add rax, rax
mov dword [rsp + 0x78], r15d
test ecx, ecx
movups xmm2, xmmword [rbp + rax*8 + 0x70]
mov eax, r10d
cmove eax, r13d
movdqa xmm0, xmm2
movaps xmmword [rsp + 0x60], xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r9d, xmm0
movq rdx, xmm2
psrldq xmm1, 8
movdqa xmm0, xmm2
movd r8d, xmm1
mov r13d, eax
psrldq xmm0, 8
movq qword [rsp + 0x68], xmm0
mov dword [rsp + 0x44], r9d
mov dword [rbp + 0x208], r8d
mov qword [rsp + 0x50], rdx
jmp 0x18009bbef
mov rax, qword [rsp + 0x68]
shr rax, 0x20
cmp r8d, eax
jl 0x18009c5d8
xor al, al
jmp 0x18009c5ee
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x18009c799
sub ecx, 1
je 0x18009c74b
sub ecx, 1
je 0x18009c6d4
cmp ecx, 1
jne 0x18009bfae
cmp r13d, 0xb
jl 0x18009bfae
movss xmm6, dword [rbp - 0x48]
movaps xmm2, xmm10
addss xmm2, xmm9
movaps xmm3, xmm11
addss xmm3, xmm12
movaps xmm7, xmm6
addss xmm2, xmm15
addss xmm3, xmm14
addss xmm2, xmm13
addss xmm3, dword [rbp - 0x54]
addss xmm2, dword [rbp - 0x50]
addss xmm3, dword [rbp - 0x4c]
movaps xmm1, xmm2
movaps xmm0, xmm3
andps xmm1, xmm5
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x18009c670
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x18009c676
movaps xmm7, xmm2
xorps xmm7, xmm4
movss dword [rsp + 0x30], xmm14
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18009b800
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm7
movss xmm0, dword [rbp - 0x4c]
movaps xmm1, xmm13
movss xmm3, dword [rbp - 0x50]
mov rcx, rbx
movss xmm2, dword [rbp - 0x54]
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
movaps xmm6, xmm3
jmp 0x18009bf7b
cmp r13d, 9
jl 0x18009bfae
movss dword [rsp + 0x30], xmm8
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18009b800
movss xmm0, dword [rbp - 0x54]
movaps xmm3, xmm11
addss xmm3, xmm12
movaps xmm2, xmm8
movaps xmm1, xmm14
mov rcx, rbx
addss xmm3, xmm0
xorps xmm3, xmmword [0x18011a870]
movss dword [rsp + 0x30], xmm3
movaps xmm3, xmm13
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.18009b800
jmp 0x18009bf7b
cmp r13d, 0xd
jl 0x18009bfae
movss dword [rsp + 0x30], xmm14
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18009b800
movss xmm3, dword [rbp - 0x44]
movss xmm0, dword [rbp - 0x48]
movss dword [rsp + 0x30], xmm3
movss dword [rsp + 0x28], xmm0
jmp 0x18009c6ab
cmp r13d, 7
jl 0x18009bfae
movss dword [rsp + 0x30], xmm8
movaps xmm3, xmm12
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm8
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm10
mov rcx, rbx
call fcn.18009b800
movaps xmm3, xmm10
movss dword [rsp + 0x30], xmm8
xorps xmm3, xmmword [0x18011a870]
movaps xmm2, xmm8
movss dword [rsp + 0x28], xmm13
movaps xmm1, xmm15
movss dword [rsp + 0x20], xmm3
mov rcx, rbx
movaps xmm3, xmm14
call fcn.18009b800
jmp 0x18009bf7b
cmp esi, 0xff
je 0x18009c870
test esi, 0xffffffe0
jne 0x18009c81d
cmp esi, 0x1c
jne 0x18009bfae
lea eax, [r8 - 1]
cmp eax, r9d
jg 0x18009c82e
mov dword [rsp + 0x68], eax
test eax, eax
jns 0x18009c833
mov dword [rsp + 0x68], r9d
lea rcx, [rsp + 0x60]
call fcn.180099550
mov rdx, qword [rsp + 0x60]
xor r10d, r10d
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x68]
movsx ecx, ax
mov dword [rsp + 0x44], r9d
mov dword [rbp + 0x208], r8d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x18009c916
cmp r8d, r9d
jl 0x18009c879
xor al, al
jmp 0x18009c88f
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r8d, r9d
jl 0x18009c89b
xor al, al
jmp 0x18009c8b1
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r8d, r9d
jl 0x18009c8c2
xor al, al
jmp 0x18009c8d8
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r8d, r9d
jl 0x18009c8e9
xor al, al
jmp 0x18009c8ff
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x208], r8d
mov dword [rsp + 0x68], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x18011a318]
cmp r13d, 0x30
jge 0x18009bfae
movsxd rax, r13d
mov ecx, r10d
inc r13d
test ecx, ecx
movss dword [rbp + rax*4 - 0x70], xmm0
mov eax, r10d
movss xmm13, dword [rbp - 0x58]
cmove eax, r13d
movss xmm14, dword [rbp - 0x5c]
mov r13d, eax
movss xmm15, dword [rbp - 0x60]
movss xmm11, dword [rbp - 0x64]
movss xmm10, dword [rbp - 0x68]
movss xmm12, dword [rbp - 0x6c]
movss xmm9, dword [rbp - 0x70]
movss xmm6, dword [rbp - 0x50]
jmp 0x18009bbef
mov r15d, dword [rsp + 0x78]
mov r12d, dword [rsp + 0x70]
jmp 0x18009bf7e
mov rcx, rbx
call fcn.18009b790
mov eax, 1
jmp 0x18009bfb0