Function at 0x140016740
Capabilities:
Encrypt data using speck

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
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
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x1400af010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rax, rcx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov dword [rbp - 0x74], edx
mov rbx, r8
mov dword [rbp - 0x7c], ecx
mov r8d, edx
mov dword [rsp + 0x78], 1
movups xmm0, xmmword [rax + 0x70]
xor r12d, r12d
lea rdx, [rbp - 0x50]
movups xmm1, xmmword [rax + 0x50]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x74], 0
movups xmmword [rbp - 0x40], xmm0
xor r14d, r14d
mov dword [rsp + 0x7c], r12d
movaps xmmword [rbp - 0x50], xmm1
call fcn.140014270
movss xmm7, dword [rbp]
lea r9, [0x140000000]
movss xmm6, dword [rbp - 4]
xorps xmm9, xmm9
movss xmm8, dword [rbp - 0x10]
xor r11d, r11d
movups xmm2, xmmword [rax]
movss xmm4, dword [0x1400a8250]
movss xmm5, dword [0x1400a8220]
movdqa xmm0, xmm2
movss xmm14, dword [rbp - 8]
movdqa xmm1, xmm2
movss xmm15, dword [rbp - 0xc]
movq rdx, xmm2
movss xmm11, dword [rbp - 0x14]
movss xmm12, dword [rbp - 0x18]
movss xmm13, dword [rbp - 0x1c]
movss xmm10, dword [rbp - 0x20]
psrldq xmm0, 0xc
movd r8d, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 8
psrldq xmm1, 8
movaps xmmword [rsp + 0x60], xmm2
movq qword [rsp + 0x68], xmm0
movss xmm0, dword [rbp + 4]
movd r13d, xmm1
movss xmm1, dword [rbp + 8]
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm1
movss dword [rbp - 0x80], xmm7
movss dword [rsp + 0x70], xmm6
movss dword [rbp - 0x78], xmm8
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x68]
movss xmm3, dword [0x1400a7cf0]
shr rax, 0x20
cmp r13d, eax
jge 0x1400178aa
movsxd rax, r13d
mov edi, r11d
inc r13d
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x68], r13d
movzx r15d, byte [rax + rdx]
movzx esi, r15b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x14001690e.2
cdqe
mov ecx, dword [r9 + rax*4 + 0x17910]
add rcx, r9
jmp rcx
cmp dword [rsp + 0x78], 0
mov edi, dword [rsp + 0x74]
je 0x140016929
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rsp + 0x74], edi
lea eax, [rdi + 7]
mov dword [rsp + 0x78], r11d
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, r13d
mov r13d, eax
cmp eax, r8d
jg 0x140016952
test eax, eax
js 0x140016952
mov dword [rsp + 0x68], eax
jmp 0x14001786a
mov r13d, r8d
mov dword [rsp + 0x68], r8d
jmp 0x14001786a
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add dword [rsp + 0x74], eax
jmp 0x14001786a
mov dword [rsp + 0x78], r11d
cmp r14d, 2
jl 0x1400178aa
movsxd rax, r14d
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x28]
movss xmm2, dword [rbp + rax*4 - 0x24]
call fcn.140016400
jmp 0x140017859
mov dword [rsp + 0x78], r11d
cmp r14d, 1
jl 0x1400178aa
movsxd rax, r14d
movaps xmm1, xmm9
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x24]
call fcn.140016400
jmp 0x140017859
mov dword [rsp + 0x78], r11d
cmp r14d, 1
jl 0x1400178aa
movsxd rax, r14d
movaps xmm2, xmm9
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x24]
call fcn.140016400
jmp 0x140017859
cmp r14d, 2
jl 0x1400178aa
mov r11d, 1
lea r10, [rbp - 0x20]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400164c0
add r11d, 2
lea r10, [r10 + 8]
cmp r11d, r14d
jl 0x140016a01
xor r11d, r11d
jmp 0x14001785f
cmp r14d, 1
jl 0x1400178aa
lea rax, [rbx + 0x10]
lea r8, [rbx + 0x14]
lea r12, [rbx + 0x1c]
lea rdx, [rbx + 4]
lea r10, [rbx + 0x30]
lea r11, [rbx + 0x28]
jmp 0x140016b43
cmp r14d, 1
jl 0x1400178aa
lea rax, [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
lea r12, [rbx + 0x1c]
lea rdx, [rbx + 4]
lea r10, [rbx + 0x30]
lea r11, [rbx + 0x28]
cmp edi, r14d
jge 0x140017851
cmp dword [rbx], 0
movss xmm0, dword [rcx]
movsxd rax, edi
addss xmm0, xmm9
movss xmm1, dword [rbp + rax*4 - 0x20]
mov rax, qword [rbp - 0x70]
movss dword [rcx], xmm0
cvttss2si r9d, xmm0
addss xmm1, dword [rax]
movss dword [rax], xmm1
cvttss2si r8d, xmm1
je 0x140016af8
cmp r8d, dword [r12]
jg 0x140016abf
cmp dword [rdx], 0
jne 0x140016ac3
mov dword [r12], r8d
cmp r9d, dword [rbx + 0x24]
jg 0x140016ace
cmp dword [rdx], 0
jne 0x140016ad2
mov dword [rbx + 0x24], r9d
cmp r8d, dword [rbx + 0x18]
jl 0x140016add
cmp dword [rdx], 0
jne 0x140016ae1
mov dword [rbx + 0x18], r8d
cmp r9d, dword [rbx + 0x20]
jl 0x140016aec
cmp dword [rdx], 0
jne 0x140016af0
mov dword [rbx + 0x20], r9d
mov dword [rdx], 1
jmp 0x140016b3a
movsxd rax, dword [r10]
imul rcx, rax, 0xe
add rcx, qword [r11]
mov word [rcx], r8w
xor r8d, r8d
mov dword [rcx + 4], r8d
mov byte [rcx + 0xc], 2
mov word [rcx + 2], r9w
movsxd rax, dword [r10]
imul rcx, rax, 0xe
mov rax, qword [r11]
mov word [rcx + rax + 8], r8w
movsxd rax, dword [r10]
imul rcx, rax, 0xe
mov rax, qword [r11]
mov word [rcx + rax + 0xa], r8w
mov rax, qword [rbp - 0x70]
inc dword [r10]
mov r8, qword [rbp - 0x68]
inc edi
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], rax
cmp edi, r14d
jge 0x140017841
cmp dword [rbx], 0
movss xmm1, dword [rax]
addss xmm1, xmm9
movss dword [rax], xmm1
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x20]
addss xmm0, dword [r8]
movss dword [r8], xmm0
cvttss2si r8d, xmm1
cvttss2si r9d, xmm0
je 0x140016bd7
cmp r8d, dword [r12]
jg 0x140016b8e
cmp dword [rdx], 0
jne 0x140016b92
mov dword [r12], r8d
cmp r9d, dword [rbx + 0x24]
jg 0x140016b9d
cmp dword [rdx], 0
jne 0x140016ba1
mov dword [rbx + 0x24], r9d
cmp r8d, dword [rbx + 0x18]
jl 0x140016bac
cmp dword [rdx], 0
jne 0x140016bb0
mov dword [rbx + 0x18], r8d
cmp r9d, dword [rbx + 0x20]
jl 0x140016bbb
cmp dword [rdx], 0
jne 0x140016bbf
mov dword [rbx + 0x20], r9d
inc dword [r10]
lea r11, [rbx + 0x28]
mov rcx, qword [rbp - 0x68]
inc edi
mov dword [rdx], 1
jmp 0x140016a7a
movsxd rax, dword [r10]
lea r12, [rbx + 0x1c]
imul rcx, rax, 0xe
xor edx, edx
add rcx, qword [r11]
mov dword [rcx + 4], edx
mov byte [rcx + 0xc], 2
mov word [rcx], r8w
mov word [rcx + 2], r9w
movsxd rax, dword [r10]
imul rcx, rax, 0xe
mov rax, qword [r11]
mov word [rcx + rax + 8], dx
movsxd rax, dword [r10]
imul rcx, rax, 0xe
mov rax, qword [r11]
mov word [rcx + rax + 0xa], dx
lea rdx, [rbx + 4]
inc dword [r10]
mov rcx, qword [rbp - 0x68]
inc edi
jmp 0x140016a7a
cmp r14d, 4
jl 0x1400178aa
lea rsi, [rbx + 0x10]
jmp 0x140016ce3
cmp r14d, 4
jl 0x1400178aa
lea rsi, [rbx + 0x10]
mov r15d, r11d
mov eax, r14d
add r15d, 4
sub eax, edi
cmp eax, 5
jne 0x140016c64
movsxd rax, r15d
movss xmm6, dword [rbp + rax*4 - 0x20]
jmp 0x140016c68
movaps xmm6, xmm9
movss xmm5, dword [rsi]
movsxd rax, edi
addss xmm5, xmm9
movss xmm4, dword [rbp + rax*4 - 0x20]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x1c]
cvttss2si r10d, xmm5
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm2, dword [rbp + rax*4 - 0x14]
addss xmm1, dword [rbp + rax*4 - 0x18]
cvttss2si ecx, xmm3
cvttss2si edx, xmm4
movaps xmm0, xmm1
movss dword [rsi], xmm2
addss xmm0, xmm6
cvttss2si eax, xmm1
cvttss2si r9d, xmm0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
mov edi, r15d
lea eax, [rdi + 3]
cmp eax, r14d
jge 0x140017103
mov eax, r14d
movsxd rcx, edi
sub eax, edi
lea r15d, [rdi + 4]
cmp eax, 5
jne 0x140016d0b
movsxd rax, r15d
movss xmm0, dword [rbp + rax*4 - 0x20]
jmp 0x140016d0f
movaps xmm0, xmm9
movss xmm5, dword [rbp + rcx*4 - 0x20]
addss xmm5, dword [rsi]
movss xmm4, dword [rbx + 0x14]
addss xmm4, xmm9
movaps xmm3, xmm5
addss xmm3, dword [rbp + rcx*4 - 0x1c]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rcx*4 - 0x18]
cvttss2si edx, xmm4
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rbp + rcx*4 - 0x14]
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rsi], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
lea eax, [r15 + 3]
mov edi, r15d
cmp eax, r14d
jl 0x140016c4b
movss xmm6, dword [rsp + 0x70]
xor r11d, r11d
movss xmm0, dword [rsp + 0x44]
jmp 0x14001785f
cmp r14d, 6
jl 0x1400178aa
mov esi, 5
lea rdi, [rbp - 0x18]
nop dword [rax + rax]
movss xmm5, dword [rdi - 8]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [rdi - 4]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi]
movaps xmm1, xmm4
addss xmm1, dword [rdi + 4]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rdi + 8]
addss xmm0, dword [rdi + 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
add esi, 6
add rdi, 0x18
cmp esi, r14d
jl 0x140016dc0
movss xmm0, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x14001785f
cmp r14d, 8
jl 0x1400178aa
lea r12d, [r14 - 2]
cmp r12d, 5
jle 0x140016f0d
mov r15d, 5
lea rsi, [rbp - 0x18]
nop
movss xmm5, dword [rsi - 8]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [rsi - 4]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rsi]
movaps xmm1, xmm4
addss xmm1, dword [rsi + 4]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rsi + 8]
addss xmm0, dword [rsi + 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
add edi, 6
add r15d, 6
add rsi, 0x18
mov eax, edi
cmp r15d, r12d
jl 0x140016e70
inc eax
cmp eax, r14d
jge 0x1400178aa
movss xmm0, dword [rsp + 0x44]
xor r11d, r11d
movsxd rax, edi
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x1c]
movss xmm1, dword [rbp + rax*4 - 0x20]
call fcn.1400164c0
mov r12d, dword [rsp + 0x7c]
jmp 0x14001785f
cmp r14d, 8
jl 0x1400178aa
lea esi, [r14 - 6]
cmp esi, 1
jle 0x140016f81
mov r11d, 1
lea r10, [rbp - 0x20]
nop dword [rax + rax]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400164c0
add edi, 2
lea r10, [r10 + 8]
add r11d, 2
mov eax, edi
cmp r11d, esi
jl 0x140016f50
add eax, 5
cmp eax, r14d
jge 0x1400178aa
movsxd rax, edi
movss xmm5, dword [rbp + rax*4 - 0x20]
movss xmm4, dword [rbp + rax*4 - 0x1c]
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x18]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rax*4 - 0x14]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rbp + rax*4 - 0x10]
addss xmm0, dword [rbp + rax*4 - 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
movss xmm0, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x14001785f
cmp r14d, 4
jl 0x1400178aa
mov eax, r14d
movaps xmm3, xmm9
and eax, 1
je 0x140017026
movaps xmm3, xmm10
lea esi, [rax + 3]
cmp esi, r14d
jge 0x14001786f
lea rdi, [rbp - 0x18]
lea rdi, [rdi + rax*4]
nop word [rax + rax]
movss xmm1, dword [rbx + 0x10]
movss xmm2, dword [rbx + 0x14]
movss xmm5, dword [rdi]
movss xmm0, dword [rdi - 8]
movss xmm4, dword [rdi - 4]
movss xmm6, dword [rdi + 4]
cmp r15b, 0x1b
jne 0x140017087
addss xmm1, xmm0
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, xmm4
addss xmm5, xmm2
movaps xmm0, xmm3
movaps xmm4, xmm5
addss xmm0, xmm6
addss xmm4, xmm9
jmp 0x1400170af
addss xmm2, xmm0
addss xmm1, xmm3
movaps xmm0, xmm2
addss xmm0, xmm5
movaps xmm3, xmm1
addss xmm3, xmm4
movaps xmm5, xmm0
movaps xmm4, xmm5
movaps xmm0, xmm3
addss xmm4, xmm6
addss xmm0, xmm9
cvttss2si ecx, xmm3
cvttss2si edx, xmm2
cvttss2si eax, xmm5
cvttss2si r10d, xmm1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
movss dword [rbx + 0x10], xmm0
cvttss2si r9d, xmm4
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm0
movss dword [rbx + 0x14], xmm4
call fcn.140016220
add esi, 4
add rdi, 0x10
movaps xmm3, xmm9
cmp esi, r14d
jl 0x140017040
movss xmm6, dword [rsp + 0x70]
xor r11d, r11d
movss xmm0, dword [rsp + 0x44]
jmp 0x14001785f
cmp dword [rbp - 0x7c], 0
mov rdi, qword [rbp - 0x60]
jne 0x140017151
cmp dword [rdi + 0x9c], 0
je 0x140017144
mov r8d, dword [rbp - 0x74]
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.140016560
xor r11d, r11d
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x7c], 1
jmp 0x140017151
mov rdi, qword [rbp - 0x60]
cmp r14d, 1
jl 0x1400178aa
dec r14d
cmp r12d, 0xa
jge 0x1400178aa
movaps xmm0, xmmword [rsp + 0x60]
movsxd rax, r12d
inc r12d
add rax, rax
mov dword [rsp + 0x7c], r12d
movups xmmword [rbp + rax*8 + 0xa0], xmm0
movsxd rax, r14d
cvttss2si r8d, dword [rbp + rax*4 - 0x20]
lea rax, [rbp - 0x40]
cmp esi, 0xa
je 0x14001719a
lea rax, [rdi + 0x60]
movups xmm1, xmmword [rax]
mov rax, qword [rax + 8]
shr rax, 0x20
movaps xmmword [rsp + 0x60], xmm1
test eax, eax
mov r10, qword [rsp + 0x60]
psrldq xmm1, 0xc
movd r9d, xmm1
mov ecx, r9d
cmovns ecx, r11d
mov dword [rsp + 0x68], ecx
cmp ecx, r9d
jl 0x1400171cf
xor al, al
jmp 0x1400171dd
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
movzx edx, al
cmp ecx, r9d
jl 0x1400171e9
xor al, al
jmp 0x1400171f7
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 0x14001720e
mov eax, 0x8000
jmp 0x140017221
cmp edx, 0x4d8
mov eax, 0x6b
mov ecx, 0x46b
cmovae eax, ecx
add r8d, eax
js 0x140017249
cmp r8d, edx
jge 0x140017249
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.140014270
xor r11d, r11d
jmp 0x140017255
mov qword [rbp - 0x50], r11
mov qword [rbp - 0x48], 0
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x1400178aa
mov rdx, qword [rsp + 0x60]
mov r13d, r11d
mov r8d, dword [rsp + 0x6c]
mov ecx, r11d
movss xmm0, dword [rsp + 0x44]
movss xmm1, dword [rsp + 0x48]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x4c], r8d
jmp 0x140017873
test r12d, r12d
jle 0x1400178aa
dec r12d
mov ecx, r11d
movsxd rax, r12d
add rax, rax
mov dword [rsp + 0x7c], r12d
movups xmm2, xmmword [rbp + rax*8 + 0xa0]
movdqa xmm0, xmm2
movaps xmmword [rsp + 0x60], xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r8d, xmm0
movq rdx, xmm2
psrldq xmm1, 8
movdqa xmm0, xmm2
psrldq xmm0, 8
movq qword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x44]
movd r13d, xmm1
movss xmm1, dword [rsp + 0x48]
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x50], rdx
jmp 0x140017873
mov rax, qword [rsp + 0x68]
shr rax, 0x20
cmp r13d, eax
jl 0x140017329
xor al, al
jmp 0x140017338
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x1400175d8
sub ecx, 1
je 0x14001752c
sub ecx, 1
je 0x140017478
cmp ecx, 1
jne 0x1400178aa
cmp r14d, 0xb
jl 0x1400178aa
movaps xmm2, xmm12
movaps xmm3, xmm11
addss xmm2, xmm10
movaps xmm6, xmm1
addss xmm3, xmm13
movaps xmm7, xmm1
addss xmm2, xmm8
addss xmm3, xmm15
addss xmm2, xmm14
addss xmm3, dword [rsp + 0x70]
addss xmm2, dword [rbp - 0x80]
addss xmm3, xmm0
movaps xmm1, xmm2
movaps xmm0, xmm3
andps xmm1, xmm5
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x1400173b8
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x1400173be
movaps xmm7, xmm2
xorps xmm7, xmm4
movaps xmm5, xmm10
movaps xmm4, xmm13
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm12
movaps xmm1, xmm11
movaps xmm2, xmm8
movaps xmm0, xmm15
addss xmm3, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm2, xmm3
addss xmm0, xmm1
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
movss xmm5, dword [rbp - 0x80]
movaps xmm3, xmm14
movss xmm8, dword [rsp + 0x44]
movss xmm4, dword [rsp + 0x70]
addss xmm3, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
addss xmm5, xmm3
addss xmm8, xmm4
movaps xmm1, xmm5
movaps xmm2, xmm8
addss xmm1, xmm7
movss xmm7, dword [rbp - 0x80]
addss xmm2, xmm6
movss xmm6, dword [rsp + 0x70]
jmp 0x14001768a
cmp r14d, 9
jl 0x1400178aa
movaps xmm1, xmm11
movaps xmm4, xmm13
addss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm10
movaps xmm3, xmm12
addss xmm5, dword [rbx + 0x10]
movaps xmm2, xmm8
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm3, xmm5
movaps xmm0, xmm1
addss xmm0, xmm9
cvttss2si eax, xmm1
addss xmm2, xmm3
movss dword [rbx + 0x14], xmm0
mov dword [rsp + 0x38], eax
cvttss2si ecx, xmm3
cvttss2si r10d, xmm5
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
call fcn.140016220
movss xmm4, dword [rbx + 0x14]
movaps xmm8, xmm6
addss xmm4, xmm9
movaps xmm0, xmm11
addss xmm0, xmm13
movaps xmm3, xmm15
movaps xmm5, xmm14
movaps xmm1, xmm7
addss xmm8, xmm4
addss xmm0, xmm6
movaps xmm2, xmm8
subss xmm2, xmm0
jmp 0x14001767d
cmp r14d, 0xd
jl 0x1400178aa
movaps xmm5, xmm10
movaps xmm4, xmm13
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm12
movaps xmm1, xmm11
movaps xmm2, xmm8
movaps xmm0, xmm15
addss xmm3, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm2, xmm3
addss xmm0, xmm1
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
movss xmm8, dword [rsp + 0x44]
movaps xmm4, xmm6
addss xmm4, dword [rbx + 0x14]
movss xmm2, dword [rbp + 0xc]
movaps xmm3, xmm14
movss xmm1, dword [rsp + 0x48]
movaps xmm5, xmm7
addss xmm8, xmm4
addss xmm2, xmm8
jmp 0x14001767d
cmp r14d, 7
jl 0x1400178aa
movss xmm4, dword [rbx + 0x14]
movaps xmm1, xmm12
addss xmm4, xmm9
movaps xmm5, xmm10
addss xmm5, dword [rbx + 0x10]
movaps xmm3, xmm13
movaps xmm2, xmm11
addss xmm1, xmm4
addss xmm3, xmm5
cvttss2si edx, xmm4
addss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, xmm9
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140016220
movss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm8
addss xmm4, xmm9
movaps xmm5, xmm15
movaps xmm1, xmm14
movaps xmm8, xmm4
subss xmm8, xmm12
movaps xmm2, xmm8
addss xmm2, xmm9
addss xmm3, dword [rbx + 0x10]
addss xmm5, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm5
cvttss2si edx, xmm4
cvttss2si eax, xmm8
cvttss2si r10d, xmm3
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
movss dword [rbx + 0x10], xmm1
cvttss2si r9d, xmm2
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm1
movss dword [rbx + 0x14], xmm2
call fcn.140016220
movss xmm0, dword [rsp + 0x44]
xor r11d, r11d
movss xmm8, dword [rbp - 0x78]
jmp 0x14001785f
cmp esi, 0xff
je 0x140017745
cmp esi, 0x1c
je 0x1400176fa
lea eax, [rsi - 0x20]
cmp eax, 0xde
ja 0x1400178aa
lea eax, [r13 - 1]
cmp eax, r8d
jg 0x14001770b
mov dword [rsp + 0x68], eax
test eax, eax
jns 0x140017710
mov dword [rsp + 0x68], r8d
lea rcx, [rsp + 0x60]
call fcn.140013ea0
mov rdx, qword [rsp + 0x60]
xor r11d, r11d
mov r8d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0x68]
movsx ecx, ax
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x1400177cb
cmp r13d, r8d
jl 0x14001774e
xor al, al
jmp 0x14001775d
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r13d, r8d
jl 0x140017769
xor al, al
jmp 0x140017778
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r8d
jl 0x140017789
xor al, al
jmp 0x140017798
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r8d
jl 0x1400177a9
xor al, al
jmp 0x1400177b8
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cmp r14d, 0x30
jge 0x1400178aa
movsxd rax, r14d
mov ecx, r11d
inc r14d
movss dword [rbp + rax*4 - 0x20], xmm0
movss xmm1, dword [rbp + 8]
movss xmm0, dword [rbp + 4]
movss xmm7, dword [rbp]
movss xmm6, dword [rbp - 4]
movss xmm8, dword [rbp - 0x10]
movss xmm14, dword [rbp - 8]
movss xmm15, dword [rbp - 0xc]
movss xmm11, dword [rbp - 0x14]
movss xmm12, dword [rbp - 0x18]
movss xmm13, dword [rbp - 0x1c]
movss xmm10, dword [rbp - 0x20]
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x44], xmm0
movss dword [rbp - 0x80], xmm7
movss dword [rsp + 0x70], xmm6
movss dword [rbp - 0x78], xmm8
jmp 0x140017873
movss xmm0, dword [rsp + 0x44]
xor r11d, r11d
mov r12d, dword [rsp + 0x7c]
jmp 0x14001785f
mov r12d, dword [rsp + 0x7c]
xor r11d, r11d
movss xmm0, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x4c]
movss xmm1, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
movss xmm4, dword [0x1400a8250]
lea r9, [0x140000000]
movss xmm5, dword [0x1400a8220]
test ecx, ecx
mov eax, r11d
cmove eax, r14d
mov r14d, eax
jmp 0x1400168bc
mov rcx, rbx
call fcn.140016350
mov eax, 1
jmp 0x1400178ac
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14003b180
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
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