Function at 0x140018540
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 - 0x228]
sub rsp, 0x2f0
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r8d, edx
movaps xmmword [rax - 0x68], xmm8
lea rdx, [rbp - 0x50]
movaps xmmword [rax - 0x78], xmm9
xor r12d, r12d
movaps xmmword [rax - 0x88], xmm10
xor r14d, r14d
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, rcx
xor ecx, ecx
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x7c], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x78], 0
movups xmm0, xmmword [rax + 0x70]
mov dword [rsp + 0x74], r12d
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.1400160e0
movss xmm1, dword [rbp - 8]
xorps xmm9, xmm9
movss xmm7, dword [rbp - 0x10]
xor r11d, r11d
movss xmm6, dword [rbp - 0x14]
movups xmm0, xmmword [rax]
movss xmm8, dword [rbp - 0x20]
movss xmm2, dword [0x1400398b0]
movss xmm14, dword [rbp - 0x18]
movss xmm15, dword [rbp - 0x1c]
movss xmm11, dword [rbp - 0x24]
movss xmm12, dword [rbp - 0x28]
movss xmm13, dword [rbp - 0x2c]
movss xmm10, dword [rbp - 0x30]
movaps xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x60]
movss xmm0, dword [rbp - 0xc]
mov r8d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0x68]
movss dword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdx
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x80], xmm7
movss dword [rsp + 0x70], xmm6
movss dword [rbp - 0x78], xmm8
mov dword [rsp + 0x48], r8d
mov rax, qword [rsp + 0x68]
lea r9, [0x140000000]
movss xmm5, dword [0x14003a060]
movss xmm4, dword [0x14003a090]
shr rax, 0x20
cmp r13d, eax
jge 0x1400196fb
movsxd rax, r13d
mov edi, r11d
inc r13d
mov dword [rbp + 0x248], 1
mov dword [rsp + 0x68], r13d
movzx r15d, byte [rax + rdx]
movzx esi, r15b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x1400186e1.2
cdqe
mov ecx, dword [r9 + rax*4 + 0x19750]
add rcx, r9
jmp rcx
cmp dword [rsp + 0x7c], 0
mov edi, dword [rsp + 0x78]
je 0x1400186fc
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rsp + 0x78], edi
lea eax, [rdi + 7]
mov dword [rsp + 0x7c], r11d
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, r13d
mov r13d, eax
cmp eax, r8d
jg 0x14001873c
test eax, eax
js 0x14001873c
mov ecx, dword [rbp + 0x248]
test ecx, ecx
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, r11d
cmove eax, r14d
mov r14d, eax
jmp 0x14001867e
mov ecx, dword [rbp + 0x248]
mov eax, r11d
mov rdx, qword [rsp + 0x50]
test ecx, ecx
mov r13d, r8d
mov dword [rsp + 0x68], r8d
cmove eax, r14d
mov r14d, eax
jmp 0x14001867e
mov ecx, dword [rbp + 0x248]
mov eax, r14d
cdq
sub eax, edx
mov rdx, qword [rsp + 0x50]
sar eax, 1
add dword [rsp + 0x78], eax
mov eax, r11d
test ecx, ecx
cmove eax, r14d
mov r14d, eax
jmp 0x14001867e
mov dword [rsp + 0x7c], r11d
cmp r14d, 2
jl 0x1400196fb
movsxd rax, r14d
movss xmm1, dword [rbp + rax*4 - 0x38]
movss xmm2, dword [rbp + rax*4 - 0x34]
mov rcx, rbx
call fcn.140018200
movss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x248]
mov eax, r11d
movss xmm2, dword [0x1400398b0]
test ecx, ecx
cmove eax, r14d
mov r14d, eax
jmp 0x14001867e
mov dword [rsp + 0x7c], r11d
cmp r14d, 1
jl 0x1400196fb
movsxd rax, r14d
movaps xmm1, xmm9
jmp 0x1400187a0
mov dword [rsp + 0x7c], r11d
cmp r14d, 1
jl 0x1400196fb
movsxd rax, r14d
movaps xmm2, xmm9
movss xmm1, dword [rbp + rax*4 - 0x34]
jmp 0x1400187a6
cmp r14d, 2
jl 0x1400196fb
mov r11d, 1
lea r10, [rbp - 0x30]
nop dword [rax]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400182c0
add r11d, 2
lea r10, [r10 + 8]
cmp r11d, r14d
jl 0x140018830
mov rdx, qword [rsp + 0x50]
xor r11d, r11d
mov r8d, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x44]
jmp 0x1400187c4
cmp r14d, 1
jl 0x1400196fb
lea rax, [rbx + 0x10]
lea rdx, [rbx + 0x14]
lea r10, [rbx + 0x1c]
lea r8, [rbx + 4]
lea rsi, [rbx + 0x30]
lea r11, [rbx + 0x28]
jmp 0x140018978
cmp r14d, 1
jl 0x1400196fb
lea rdx, [rbx + 0x1c]
lea r8, [rbx + 4]
mov qword [rbp - 0x70], rdx
lea r9, [rbx + 0x10]
mov r10, rdx
lea rax, [rbx + 0x14]
mov qword [rbp - 0x60], r9
lea r12, [rbx + 0x30]
mov qword [rbp - 0x68], rax
lea r11, [rbx + 0x28]
mov qword [rbp - 0x40], r12
lea rdx, [rbx + 0x14]
mov r15, r11
mov rcx, r8
mov rsi, r8
cmp dword [rbx], 0
movss xmm0, dword [rdx]
addss xmm0, xmm9
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x30]
addss xmm1, dword [r9]
movss dword [rdx], xmm0
movss dword [r9], xmm1
cvttss2si r9d, xmm0
cvttss2si edx, xmm1
je 0x140018943
cmp edx, dword [r10]
jg 0x140018909
cmp dword [rsi], 0
jne 0x140018910
mov r10, qword [rbp - 0x70]
mov dword [r10], edx
cmp r9d, dword [rbx + 0x24]
jg 0x14001891b
cmp dword [rcx], 0
jne 0x14001891f
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x140018929
cmp dword [rcx], 0
jne 0x14001892c
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x140018937
cmp dword [rcx], 0
jne 0x14001893b
mov dword [rbx + 0x20], r9d
mov dword [rcx], 1
jmp 0x140018964
movsxd rax, dword [r12]
imul rcx, rax, 0xe
mov rax, qword [r15]
mov word [rcx + rax], dx
xor edx, edx
mov qword [rcx + rax + 4], rdx
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax + 2], r9w
mov rsi, qword [rbp - 0x40]
mov r10, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
inc dword [rsi]
inc edi
mov qword [rbp - 0x70], r10
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rax
cmp edi, r14d
jge 0x140018a53
cmp dword [rbx], 0
movss xmm1, dword [rax]
addss xmm1, xmm9
movss dword [rax], xmm1
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x30]
addss xmm0, dword [rdx]
movss dword [rdx], xmm0
cvttss2si edx, xmm1
cvttss2si r9d, xmm0
je 0x140018a02
cmp edx, dword [r10]
jg 0x1400189c4
cmp dword [r8], 0
jne 0x1400189c7
mov dword [r10], edx
cmp r9d, dword [rbx + 0x24]
jg 0x1400189d3
cmp dword [r8], 0
jne 0x1400189d7
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x1400189e2
cmp dword [r8], 0
jne 0x1400189e5
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x1400189f1
cmp dword [r8], 0
jne 0x1400189f5
mov dword [rbx + 0x20], r9d
mov dword [r8], 1
lea r11, [rbx + 0x28]
jmp 0x140018a2e
movsxd rax, dword [rsi]
lea r10, [rbx + 0x1c]
imul rcx, rax, 0xe
mov rax, qword [r11]
lea r8, [rbx + 4]
mov qword [rbp - 0x70], r10
mov word [rcx + rax], dx
xor edx, edx
mov qword [rcx + rax + 4], rdx
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax + 2], r9w
inc dword [rsi]
inc edi
mov rdx, qword [rbp - 0x68]
mov r12, rsi
mov r9, qword [rbp - 0x60]
mov r15, r11
mov qword [rbp - 0x40], rsi
mov rcx, r8
mov rsi, r8
cmp edi, r14d
jl 0x1400188d1
mov ecx, dword [rbp + 0x248]
xor r11d, r11d
movss xmm0, dword [rsp + 0x40]
test ecx, ecx
movss xmm1, dword [rsp + 0x44]
mov eax, r11d
mov r8d, dword [rsp + 0x48]
cmove eax, r14d
mov rdx, qword [rsp + 0x50]
mov r14d, eax
mov r12d, dword [rsp + 0x74]
jmp 0x14001867e
cmp r14d, 4
jl 0x1400196fb
lea rsi, [rbx + 0x10]
lea r15, [rbx + 0x14]
jmp 0x140018b58
cmp r14d, 4
jl 0x1400196fb
lea rsi, [rbx + 0x10]
mov r12d, r11d
lea r15, [rbx + 0x14]
mov rdx, rsi
mov rcx, r15
mov r8, r15
mov r9, rsi
mov eax, r14d
add r12d, 4
sub eax, edi
cmp eax, 5
jne 0x140018ad9
movsxd rax, r12d
movss xmm6, dword [rbp + rax*4 - 0x30]
jmp 0x140018add
movaps xmm6, xmm9
movss xmm5, dword [r9]
movsxd rax, edi
addss xmm5, xmm9
movss xmm4, dword [rbp + rax*4 - 0x30]
addss xmm4, dword [r8]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x2c]
cvttss2si r10d, xmm5
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm2, dword [rbp + rax*4 - 0x24]
addss xmm1, dword [rbp + rax*4 - 0x28]
movss dword [rdx], xmm2
cvttss2si edx, xmm4
movaps xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm1
movss dword [rcx], xmm0
mov dword [rsp + 0x38], eax
cvttss2si ecx, xmm3
cvttss2si r9d, xmm0
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
call fcn.140018020
mov edi, r12d
lea eax, [rdi + 3]
cmp eax, r14d
jge 0x140018c16
mov eax, r14d
movsxd rcx, edi
sub eax, edi
lea r12d, [rdi + 4]
cmp eax, 5
jne 0x140018b80
movsxd rax, r12d
movss xmm0, dword [rbp + rax*4 - 0x30]
jmp 0x140018b84
movaps xmm0, xmm9
movss xmm5, dword [rbp + rcx*4 - 0x30]
addss xmm5, dword [rsi]
movss xmm4, dword [r15]
addss xmm4, xmm9
movaps xmm3, xmm5
addss xmm3, dword [rbp + rcx*4 - 0x2c]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rcx*4 - 0x28]
cvttss2si edx, xmm4
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rbp + rcx*4 - 0x24]
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 [r15], xmm0
call fcn.140018020
lea eax, [r12 + 3]
mov edi, r12d
mov rcx, r15
mov rdx, rsi
mov r8, r15
mov r9, rsi
cmp eax, r14d
jl 0x140018ac0
movss xmm6, dword [rsp + 0x70]
movss xmm0, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x74]
jmp 0x140018850
cmp r14d, 6
jl 0x1400196fb
mov esi, 5
lea rdi, [rbp - 0x28]
nop
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.140018020
add esi, 6
add rdi, 0x18
cmp esi, r14d
jl 0x140018c40
movss xmm0, dword [rsp + 0x40]
jmp 0x140018850
cmp r14d, 8
jl 0x1400196fb
lea r12d, [r14 - 2]
cmp r12d, 5
jle 0x140018d8d
mov r15d, 5
lea rsi, [rbp - 0x28]
nop dword [rax]
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.140018020
add edi, 6
add r15d, 6
add rsi, 0x18
mov eax, edi
cmp r15d, r12d
jl 0x140018cf0
inc eax
cmp eax, r14d
jge 0x1400196fb
movss xmm0, dword [rsp + 0x40]
xor r11d, r11d
movsxd rax, edi
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x2c]
movss xmm1, dword [rbp + rax*4 - 0x30]
call fcn.1400182c0
movss xmm1, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov r12d, dword [rsp + 0x74]
jmp 0x1400187c4
cmp r14d, 8
jl 0x1400196fb
lea esi, [r14 - 6]
cmp esi, 1
jle 0x140018e11
mov r11d, 1
lea r10, [rbp - 0x30]
nop dword [rax + rax]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400182c0
add edi, 2
lea r10, [r10 + 8]
add r11d, 2
mov eax, edi
cmp r11d, esi
jl 0x140018de0
add eax, 5
cmp eax, r14d
jge 0x1400196fb
movsxd rax, edi
movss xmm5, dword [rbp + rax*4 - 0x30]
movss xmm4, dword [rbp + rax*4 - 0x2c]
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x28]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rax*4 - 0x24]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rbp + rax*4 - 0x20]
addss xmm0, dword [rbp + rax*4 - 0x1c]
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.140018020
movss xmm0, dword [rsp + 0x40]
jmp 0x140018850
cmp r14d, 4
jl 0x1400196fb
mov eax, r14d
movaps xmm2, xmm9
and eax, 1
je 0x140018eb3
movaps xmm2, xmm10
lea esi, [rax + 3]
cmp esi, r14d
jge 0x1400187c4
lea rdi, [rbp - 0x28]
lea rdi, [rdi + rax*4]
nop word [rax + rax]
movss xmm6, dword [rbx + 0x10]
movss xmm5, dword [rbx + 0x14]
movss xmm0, dword [rdi]
movss xmm1, dword [rdi - 8]
movss xmm3, dword [rdi - 4]
movss xmm7, dword [rdi + 4]
cmp r15b, 0x1b
jne 0x140018f17
addss xmm5, xmm2
addss xmm1, xmm6
addss xmm0, xmm5
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm4, xmm0
addss xmm4, xmm9
movaps xmm3, xmm2
addss xmm3, xmm7
jmp 0x140018f3f
addss xmm6, xmm2
addss xmm1, xmm5
movaps xmm2, xmm6
addss xmm2, xmm3
movaps xmm5, xmm1
addss xmm0, xmm1
movaps xmm1, xmm6
movaps xmm3, xmm2
movaps xmm4, xmm0
addss xmm3, xmm9
addss xmm4, xmm7
cvttss2si ecx, xmm2
cvttss2si edx, xmm5
cvttss2si eax, xmm0
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], xmm3
cvttss2si r9d, xmm4
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm3
movss dword [rbx + 0x14], xmm4
call fcn.140018020
add esi, 4
add rdi, 0x10
movaps xmm2, xmm9
cmp esi, r14d
jl 0x140018ed0
movss xmm6, dword [rsp + 0x70]
movss xmm7, dword [rbp - 0x80]
movss xmm0, dword [rsp + 0x40]
jmp 0x140018850
cmp dword [rbp - 0x7c], 0
mov rdi, qword [rbp + 0x230]
jne 0x140018ff2
cmp dword [rdi + 0x9c], 0
je 0x140018fe2
mov r8d, dword [rbp + 0x238]
lea rcx, [rbp + 0xa0]
mov rdx, rdi
call fcn.140018360
xor r11d, r11d
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
mov dword [rbp - 0x7c], 1
jmp 0x140018ff2
mov rdi, qword [rbp + 0x230]
cmp r14d, 1
jl 0x1400196fb
dec r14d
cmp r12d, 0xa
jge 0x1400196fb
movaps xmm0, xmmword [rsp + 0x60]
movsxd rax, r12d
inc r12d
add rax, rax
mov dword [rsp + 0x74], r12d
movups xmmword [rbp + rax*8 + 0xb0], xmm0
movsxd rax, r14d
cvttss2si r8d, dword [rbp + rax*4 - 0x30]
lea rax, [rbp + 0x90]
cmp esi, 0xa
je 0x14001903e
lea rax, [rdi + 0x60]
movups xmm1, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmm1
mov r10, qword [rsp + 0x60]
psrldq xmm0, 8
psrldq xmm1, 0xc
movq rax, xmm0
movd r9d, xmm1
shr rax, 0x20
test eax, eax
mov ecx, r9d
cmovns ecx, r11d
mov dword [rsp + 0x68], ecx
cmp ecx, r9d
jl 0x14001907d
xor al, al
jmp 0x14001908b
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
movzx edx, al
cmp ecx, r9d
jl 0x140019097
xor al, al
jmp 0x1400190a5
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 0x1400190bc
mov eax, 0x8000
jmp 0x1400190cf
cmp edx, 0x4d8
mov eax, 0x6b
mov ecx, 0x46b
cmovae eax, ecx
add r8d, eax
js 0x1400190f7
cmp r8d, edx
jge 0x1400190f7
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.1400160e0
xor r11d, r11d
jmp 0x140019103
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 0x1400196fb
mov rdx, qword [rsp + 0x60]
mov ecx, r11d
mov r8d, dword [rsp + 0x6c]
test ecx, ecx
movss xmm0, dword [rsp + 0x40]
mov eax, r11d
movss xmm1, dword [rsp + 0x44]
cmove eax, r14d
mov r14d, eax
mov dword [rsp + 0x68], r11d
mov r13d, r11d
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rdx
jmp 0x14001867e
test r12d, r12d
jle 0x1400196fb
dec r12d
mov ecx, r11d
movsxd rax, r12d
add rax, rax
mov dword [rsp + 0x74], r12d
test ecx, ecx
movups xmm0, xmmword [rbp + rax*8 + 0xb0]
mov eax, r11d
cmove eax, r14d
movups xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x60]
mov r14d, eax
mov r8d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0x68]
movss xmm0, dword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x48], r8d
jmp 0x14001867e
mov rax, qword [rsp + 0x68]
shr rax, 0x20
cmp r13d, eax
jl 0x1400191c8
xor al, al
jmp 0x1400191d7
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x140019477
sub ecx, 1
je 0x1400193cb
sub ecx, 1
je 0x140019317
cmp ecx, 1
jne 0x1400196fb
cmp r14d, 0xb
jl 0x1400196fb
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 0x140019257
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x14001925d
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.140018020
movss xmm5, dword [rbp - 0x80]
movaps xmm3, xmm14
movss xmm8, dword [rsp + 0x40]
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 0x140019529
cmp r14d, 9
jl 0x1400196fb
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.140018020
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 0x14001951c
cmp r14d, 0xd
jl 0x1400196fb
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.140018020
movss xmm8, dword [rsp + 0x40]
movaps xmm4, xmm6
addss xmm4, dword [rbx + 0x14]
movss xmm2, dword [rbp - 4]
movaps xmm3, xmm14
movss xmm1, dword [rsp + 0x44]
movaps xmm5, xmm7
addss xmm8, xmm4
addss xmm2, xmm8
jmp 0x14001951c
cmp r14d, 7
jl 0x1400196fb
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.140018020
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.140018020
movss xmm0, dword [rsp + 0x40]
movss xmm8, dword [rbp - 0x78]
jmp 0x140018850
cmp esi, 0xff
je 0x1400195e1
cmp esi, 0x1c
je 0x140019596
lea eax, [rsi - 0x20]
cmp eax, 0xde
ja 0x1400196fb
lea eax, [r13 - 1]
cmp eax, r8d
jg 0x1400195a7
mov dword [rsp + 0x68], eax
test eax, eax
jns 0x1400195ac
mov dword [rsp + 0x68], r8d
lea rcx, [rsp + 0x60]
call fcn.140015cc0
mov rdx, qword [rsp + 0x60]
xor r11d, r11d
mov r8d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0x68]
movsx ecx, ax
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x140019667
cmp r13d, r8d
jl 0x1400195ea
xor al, al
jmp 0x1400195f9
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r13d, r8d
jl 0x140019605
xor al, al
jmp 0x140019614
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 0x140019625
xor al, al
jmp 0x140019634
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 0x140019645
xor al, al
jmp 0x140019654
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, xmm2
cmp r14d, 0x30
jge 0x1400196fb
movsxd rax, r14d
mov ecx, r11d
inc r14d
test ecx, ecx
movss dword [rbp + rax*4 - 0x30], xmm0
mov eax, r11d
movss xmm1, dword [rbp - 8]
cmove eax, r14d
movss xmm0, dword [rbp - 0xc]
mov r14d, eax
movss xmm7, dword [rbp - 0x10]
movss xmm6, dword [rbp - 0x14]
movss xmm8, dword [rbp - 0x20]
movss xmm14, dword [rbp - 0x18]
movss xmm15, dword [rbp - 0x1c]
movss xmm11, dword [rbp - 0x24]
movss xmm12, dword [rbp - 0x28]
movss xmm13, dword [rbp - 0x2c]
movss xmm10, dword [rbp - 0x30]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rbp - 0x80], xmm7
movss dword [rsp + 0x70], xmm6
movss dword [rbp - 0x78], xmm8
jmp 0x14001867e
mov rcx, rbx
call fcn.140018150
mov eax, 1
jmp 0x1400196fd
xor eax, eax
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x50]
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