Function at 0x140021540
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 - 0x1d8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r8d, edx
movaps xmmword [rax - 0x68], xmm8
lea rdx, [rsp + 0x60]
movaps xmmword [rax - 0x78], xmm9
mov r12d, 1
movaps xmmword [rax - 0x88], xmm10
xor r14d, r14d
movaps xmmword [rax - 0x98], xmm11
xor esi, esi
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 + 0x54], r12d
mov dword [rsp + 0x5c], ecx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x50], 0
movups xmm0, xmmword [rax + 0x70]
mov dword [rsp + 0x58], r14d
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x60], xmm0
call fcn.14001f020
movss xmm13, dword [rbp - 0x78]
xorps xmm7, xmm7
movss xmm14, dword [rbp - 0x7c]
xor r10d, r10d
movss xmm15, dword [rbp - 0x80]
movups xmm0, xmmword [rax]
movss xmm10, dword [rsp + 0x7c]
movss xmm11, dword [rsp + 0x78]
movss xmm12, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
movss xmm8, dword [rbp - 0x68]
movaps xmmword [rsp + 0x40], xmm0
mov r15d, dword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
lea rdx, [0x140000000]
movss xmm5, dword [0x1400e5b50]
mov r11d, 0x46b
shr rax, 0x20
cmp r15d, eax
jge 0x140021877
mov r8, qword [rsp + 0x40]
mov edi, r10d
movsxd rax, r15d
inc r15d
mov dword [rbp + 0x1f8], 1
mov dword [rsp + 0x48], r15d
movzx r13d, byte [rax + r8]
lea eax, [r13 - 1]
cmp eax, 0x1e
ja case.0x14002169e.2
cdqe
mov ecx, dword [rdx + rax*4 + 0x22690]
add rcx, rdx
jmp rcx
mov edi, dword [rsp + 0x50]
test r12d, r12d
je 0x1400216b6
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rsp + 0x50], edi
lea eax, [rdi + 7]
mov dword [rsp + 0x54], r10d
cdq
mov r12d, r10d
and edx, 7
add eax, edx
mov edx, dword [rsp + 0x4c]
sar eax, 3
add eax, r15d
mov r15d, eax
cmp eax, edx
jg 0x1400216fa
test eax, eax
js 0x1400216fa
mov ecx, dword [rbp + 0x1f8]
test ecx, ecx
mov r14d, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov ecx, dword [rbp + 0x1f8]
mov eax, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov r15d, edx
mov dword [rsp + 0x48], edx
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov ecx, dword [rbp + 0x1f8]
mov eax, esi
mov r14d, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
add dword [rsp + 0x50], eax
mov eax, r10d
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 2
jl 0x140021877
lea eax, [rsi - 1]
movsxd rcx, eax
lea edx, [rsi - 2]
movsxd rax, edx
movss xmm2, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
movss xmm1, dword [rsp + rax*4 + 0x70]
call fcn.1400211f0
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 1
jl 0x140021877
lea eax, [rsi - 1]
movaps xmm1, xmm7
movsxd rcx, eax
movss xmm2, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
call fcn.1400211f0
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 1
jl 0x140021877
lea eax, [rsi - 1]
movaps xmm2, xmm7
movsxd rcx, eax
movss xmm1, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
call fcn.1400211f0
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp esi, 2
jl 0x140021877
cmp esi, 1
jle 0x140021f6a
mov r11d, 1
lea r10, [rsp + 0x70]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400212c0
add r11d, 2
lea r10, [r10 + 8]
cmp r11d, esi
jl 0x140021831
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp esi, 1
jge 0x140021976
xor eax, eax
lea r11, [rsp + 0x2a0]
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
cmp esi, 1
jl 0x140021877
cmp edi, esi
jge 0x140021f6a
cmp dword [rbx], 0
movss xmm0, dword [rbx + 0x14]
addss xmm0, xmm7
movsxd rax, edi
movss xmm1, dword [rsp + rax*4 + 0x70]
addss xmm1, dword [rbx + 0x10]
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
je 0x14002194d
cmp edx, dword [rbx + 0x1c]
jg 0x140021913
cmp dword [rbx + 4], 0
jne 0x140021916
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x140021922
cmp dword [rbx + 4], 0
jne 0x140021926
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x140021931
cmp dword [rbx + 4], 0
jne 0x140021934
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x140021940
cmp dword [rbx + 4], 0
jne 0x140021944
mov dword [rbx + 0x20], r8d
mov dword [rbx + 4], 1
jmp 0x140021971
movsxd rax, dword [rbx + 0x30]
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]
inc edi
cmp edi, esi
jge 0x140021f6a
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, xmm7
movsxd rax, edi
movss xmm0, dword [rsp + rax*4 + 0x70]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x1400219fa
cmp edx, dword [rbx + 0x1c]
jg 0x1400219b8
cmp dword [rbx + 4], 0
jne 0x1400219bb
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x1400219c7
cmp dword [rbx + 4], 0
jne 0x1400219cb
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x1400219d6
cmp dword [rbx + 4], 0
jne 0x1400219d9
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x1400219e5
cmp dword [rbx + 4], 0
jne 0x1400219e9
mov dword [rbx + 0x20], r8d
inc dword [rbx + 0x30]
inc edi
mov dword [rbx + 4], 1
jmp 0x1400218d1
movsxd rax, dword [rbx + 0x30]
inc dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
inc edi
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax], dx
mov word [rcx + rax + 2], r8w
mov qword [rcx + rax + 4], 0
jmp 0x1400218d1
cmp esi, 4
jl 0x140021877
jmp 0x140021aef
cmp esi, 4
jl 0x140021877
lea edx, [rdi + 3]
cmp edx, esi
jge 0x140021f67
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x140021a61
lea eax, [rdi + 4]
movsxd rcx, eax
movss xmm6, dword [rsp + rcx*4 + 0x70]
jmp 0x140021a64
movaps xmm6, xmm7
movss xmm5, dword [rbx + 0x10]
movsxd rax, edi
addss xmm5, xmm7
movss xmm4, dword [rsp + rax*4 + 0x70]
lea eax, [rdi + 1]
addss xmm4, dword [rbx + 0x14]
movsxd rcx, eax
movaps xmm3, xmm5
lea eax, [rdi + 2]
cvttss2si r10d, xmm5
addss xmm3, dword [rsp + rcx*4 + 0x70]
movsxd rcx, eax
movaps xmm1, xmm4
movsxd rax, edx
cvttss2si edx, xmm4
addss xmm1, dword [rsp + rcx*4 + 0x70]
movaps xmm2, xmm3
addss xmm2, dword [rsp + rax*4 + 0x70]
cvttss2si ecx, xmm3
movaps xmm0, xmm1
movss dword [rbx + 0x10], 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.140021020
add edi, 4
lea edx, [rdi + 3]
cmp edx, esi
jge 0x140021f67
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x140021b11
lea eax, [rdi + 4]
movsxd rcx, eax
movss xmm0, dword [rsp + rcx*4 + 0x70]
jmp 0x140021b14
movaps xmm0, xmm7
movss xmm4, dword [rbx + 0x14]
movsxd rax, edi
addss xmm4, xmm7
movss xmm5, dword [rsp + rax*4 + 0x70]
lea eax, [rdi + 1]
addss xmm5, dword [rbx + 0x10]
movsxd rcx, eax
movaps xmm1, xmm4
lea eax, [rdi + 2]
movaps xmm3, xmm5
addss xmm3, dword [rsp + rcx*4 + 0x70]
movsxd rcx, eax
movsxd rax, edx
cvttss2si edx, xmm4
addss xmm1, dword [rsp + rcx*4 + 0x70]
movaps xmm2, xmm3
addss xmm2, xmm0
cvttss2si ecx, xmm3
movaps xmm0, xmm1
movss dword [rbx + 0x10], xmm2
addss xmm0, dword [rsp + rax*4 + 0x70]
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 + 0x14], xmm0
call fcn.140021020
add edi, 4
jmp 0x140021a3f
cmp esi, 6
jl 0x140021877
cmp esi, 5
jle 0x140021f6a
mov r14d, 5
lea rdi, [rsp + 0x74]
movss xmm5, dword [rdi - 4]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [rdi]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 4]
movaps xmm1, xmm4
addss xmm1, dword [rdi + 8]
cvttss2si edx, xmm4
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rdi + 0xc]
addss xmm0, dword [rdi + 0x10]
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
mov dword [rsp + 0x38], eax
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
movss dword [rbx + 0x14], xmm0
call fcn.140021020
add r14d, 6
add rdi, 0x18
cmp r14d, esi
jl 0x140021bc1
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp esi, 8
jl 0x140021877
lea r13d, [rsi - 2]
cmp r13d, 5
jle 0x140021d15
mov r12d, 5
lea r14, [rsp + 0x74]
movss xmm5, dword [r14 - 4]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [r14]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [r14 + 4]
movaps xmm1, xmm4
addss xmm1, dword [r14 + 8]
cvttss2si edx, xmm4
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [r14 + 0xc]
addss xmm0, dword [r14 + 0x10]
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
mov dword [rsp + 0x38], eax
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
movss dword [rbx + 0x14], xmm0
call fcn.140021020
add edi, 6
add r12d, 6
add r14, 0x18
cmp r12d, r13d
jl 0x140021c80
mov r12d, dword [rsp + 0x54]
xor r10d, r10d
lea eax, [rdi + 1]
cmp eax, esi
jge 0x140021877
movsxd rcx, edi
cdqe
movss xmm1, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
movss xmm2, dword [rsp + rax*4 + 0x70]
call fcn.1400212c0
mov ecx, dword [rbp + 0x1f8]
mov eax, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp esi, 8
jl 0x140021877
lea r14d, [rsi - 6]
cmp r14d, 1
jle 0x140021d94
mov r11d, 1
lea r10, [rsp + 0x70]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.1400212c0
add edi, 2
lea r10, [r10 + 8]
add r11d, 2
cmp r11d, r14d
jl 0x140021d71
lea edx, [rdi + 5]
cmp edx, esi
jge 0x140021877
movsxd rax, edi
movss xmm5, dword [rsp + rax*4 + 0x70]
lea eax, [rdi + 1]
addss xmm5, dword [rbx + 0x10]
movsxd rcx, eax
lea eax, [rdi + 2]
movss xmm4, dword [rsp + rcx*4 + 0x70]
movaps xmm3, xmm5
addss xmm4, dword [rbx + 0x14]
movsxd rcx, eax
lea eax, [rdi + 3]
addss xmm3, dword [rsp + rcx*4 + 0x70]
movsxd rcx, eax
movaps xmm1, xmm4
lea eax, [rdi + 4]
addss xmm1, dword [rsp + rcx*4 + 0x70]
movsxd rcx, eax
movaps xmm2, xmm3
movsxd rax, edx
addss xmm2, dword [rsp + rcx*4 + 0x70]
movaps xmm0, xmm1
addss xmm0, dword [rsp + rax*4 + 0x70]
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
cvttss2si edx, xmm4
cvttss2si r10d, xmm5
cvttss2si r9d, xmm0
cvttss2si r8d, xmm2
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
call fcn.140021020
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp esi, 4
jl 0x140021877
movaps xmm5, xmm7
test sil, 1
je 0x140021e6f
movaps xmm5, xmm9
mov edi, 1
lea r14d, [rdi + 3]
cmp r14d, esi
jge 0x140021f6a
mov eax, edi
lea rdi, [rsp + 0x74]
lea rdi, [rdi + rax*4]
nop word [rax + rax]
movss xmm4, dword [rdi - 4]
cmp r13d, 0x1b
jne 0x140021ece
addss xmm4, dword [rbx + 0x10]
addss xmm5, dword [rbx + 0x14]
movaps xmm3, xmm4
addss xmm3, dword [rdi]
movaps xmm1, xmm5
addss xmm1, dword [rdi + 4]
cvttss2si edx, xmm5
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rdi + 8]
addss xmm0, xmm7
cvttss2si r10d, xmm4
jmp 0x140021eff
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi]
movaps xmm1, xmm4
addss xmm1, dword [rdi + 4]
cvttss2si edx, xmm4
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, dword [rdi + 8]
addss xmm2, xmm7
cvttss2si r10d, xmm5
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
mov dword [rsp + 0x38], eax
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
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140021020
add r14d, 4
add rdi, 0x10
movaps xmm5, xmm7
cmp r14d, esi
jl 0x140021e90
mov ecx, dword [rbp + 0x1f8]
xor r10d, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
xor r10d, r10d
mov ecx, dword [rbp + 0x1f8]
mov eax, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x14002163c
cmp dword [rsp + 0x5c], 0
mov rdi, qword [rbp + 0x1e0]
jne 0x140021fcf
cmp dword [rdi + 0x9c], 0
je 0x140021fbe
mov r8d, dword [rbp + 0x1e8]
lea rcx, [rbp + 0x40]
mov rdx, rdi
call fcn.140021360
xor r10d, r10d
mov r11d, 0x46b
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
mov dword [rsp + 0x5c], 1
jmp 0x140021fcf
mov rdi, qword [rbp + 0x1e0]
cmp esi, 1
jl 0x140021877
dec esi
movsxd rax, esi
cvttss2si r9d, dword [rsp + rax*4 + 0x70]
cmp r14d, 0xa
jge 0x140021877
movaps xmm0, xmmword [rsp + 0x40]
movsxd rax, r14d
inc r14d
add rax, rax
mov dword [rsp + 0x58], r14d
movups xmmword [rbp + rax*8 + 0x60], xmm0
lea rax, [rbp + 0x30]
cmp r13d, 0xa
je 0x140022014
lea rax, [rdi + 0x60]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
mov r8, qword [rsp + 0x40]
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
mov eax, dword [rsp + 0x4c]
js 0x140022051
mov ecx, r10d
mov dword [rsp + 0x48], ecx
test eax, eax
jle 0x140022057
movzx edx, byte [r8]
mov ecx, 1
mov dword [rsp + 0x48], ecx
jmp 0x140022059
mov ecx, eax
mov dword [rsp + 0x48], eax
xor dl, dl
movzx edx, dl
cmp ecx, eax
jl 0x140022064
xor al, al
jmp 0x140022072
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x48], ecx
movzx eax, byte [rax + r8]
shl edx, 8
movzx eax, al
or edx, eax
cmp edx, 0x846c
jb 0x140022089
mov eax, 0x8000
jmp 0x140022098
cmp edx, 0x4d8
mov eax, 0x6b
cmovae eax, r11d
lea r8d, [rax + r9]
test r8d, r8d
js 0x1400220c7
cmp r8d, edx
jge 0x1400220c7
movaps xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14001f020
xor r10d, r10d
movups xmm0, xmmword [rax]
jmp 0x1400220da
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x68], 0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x140021877
mov r15d, r10d
mov dword [rsp + 0x48], r10d
jmp 0x140022666
test r14d, r14d
jle 0x140021877
dec r14d
movsxd rax, r14d
add rax, rax
mov dword [rsp + 0x58], r14d
movups xmm0, xmmword [rbp + rax*8 + 0x60]
movups xmmword [rsp + 0x40], xmm0
mov r15d, dword [rsp + 0x48]
jmp 0x140022666
mov rax, qword [rsp + 0x48]
shr rax, 0x20
cmp r15d, eax
jl 0x140022140
xor al, al
jmp 0x140022150
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
movzx ecx, al
sub ecx, 0x22
je 0x140022483
sub ecx, 1
je 0x1400223cd
sub ecx, 1
je 0x1400222e6
cmp ecx, 1
jne 0x140021877
cmp esi, 0xb
jl 0x140021877
movss xmm0, dword [rbp - 0x68]
xorps xmm1, xmm1
movaps xmm6, xmm0
movaps xmm8, xmm0
xorps xmm0, xmm0
movaps xmm3, xmm11
addss xmm3, xmm9
movaps xmm4, xmm10
addss xmm4, xmm12
addss xmm3, xmm15
addss xmm4, xmm14
addss xmm3, xmm13
addss xmm4, dword [rbp - 0x74]
addss xmm3, dword [rbp - 0x70]
addss xmm4, dword [rbp - 0x6c]
cvtss2sd xmm0, xmm3
cvtss2sd xmm1, xmm4
andps xmm0, xmmword [0x1400e5b40]
andps xmm1, xmmword [0x1400e5b40]
cvtpd2ps xmm2, xmm0
cvtpd2ps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x1400221ed
movaps xmm6, xmm4
xorps xmm6, xmm5
jmp 0x1400221f5
movaps xmm8, xmm3
xorps xmm8, xmm5
movaps xmm5, xmm9
movaps xmm4, xmm12
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm11
movaps xmm1, xmm10
movaps xmm2, xmm15
movaps xmm0, xmm14
addss xmm3, xmm5
cvttss2si edx, xmm4
addss xmm1, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm3
addss xmm0, xmm1
movss dword [rbx + 0x10], xmm2
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 + 0x14], xmm0
call fcn.140021020
movss xmm3, dword [rbp - 0x70]
movaps xmm5, xmm13
addss xmm5, dword [rbx + 0x10]
movss xmm1, dword [rbp - 0x6c]
movss xmm4, dword [rbp - 0x74]
addss xmm4, dword [rbx + 0x14]
addss xmm3, xmm5
cvttss2si r10d, xmm5
cvttss2si edx, xmm4
addss xmm1, xmm4
movaps xmm2, xmm3
addss xmm2, xmm8
cvttss2si ecx, xmm3
movaps xmm0, xmm1
movss dword [rbx + 0x10], 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.140021020
movss xmm8, dword [rbp - 0x68]
jmp 0x140021e37
cmp esi, 9
jl 0x140021877
movaps xmm1, xmm10
movaps xmm4, xmm12
addss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm9
movaps xmm3, xmm11
addss xmm5, dword [rbx + 0x10]
movaps xmm2, xmm15
cvttss2si edx, xmm4
addss xmm1, xmm4
addss xmm3, xmm5
cvttss2si r10d, xmm5
movaps xmm0, xmm1
addss xmm2, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
mov dword [rsp + 0x38], eax
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
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140021020
movss xmm1, dword [rbp - 0x74]
movaps xmm6, xmm14
addss xmm6, dword [rbx + 0x10]
movss xmm5, dword [rbx + 0x14]
movaps xmm2, xmm1
movss xmm3, dword [rbp - 0x70]
addss xmm5, xmm7
movaps xmm0, xmm10
movaps xmm4, xmm13
addss xmm0, xmm12
addss xmm4, xmm6
cvttss2si r10d, xmm6
addss xmm2, xmm5
addss xmm0, xmm1
addss xmm3, xmm4
cvttss2si ecx, xmm4
movaps xmm1, xmm2
movss dword [rbx + 0x10], xmm3
subss xmm1, xmm0
cvttss2si eax, xmm2
movss dword [rbx + 0x14], xmm1
cvttss2si r9d, xmm1
cvttss2si edx, xmm5
cvttss2si r8d, xmm3
jmp 0x140021e1c
cmp esi, 0xd
jl 0x140021877
movaps xmm5, xmm9
movaps xmm4, xmm12
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm11
movaps xmm1, xmm10
movaps xmm2, xmm15
movaps xmm0, xmm14
addss xmm3, xmm5
cvttss2si edx, xmm4
addss xmm1, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm3
addss xmm0, xmm1
movss dword [rbx + 0x10], xmm2
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 + 0x14], xmm0
call fcn.140021020
movss xmm4, dword [rbp - 0x74]
movaps xmm5, xmm13
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movss xmm3, dword [rbp - 0x70]
movaps xmm2, xmm8
movss xmm1, dword [rbp - 0x6c]
movss xmm0, dword [rbp - 0x64]
addss xmm3, xmm5
addss xmm1, xmm4
addss xmm2, xmm3
addss xmm0, xmm1
jmp 0x140021df7
cmp esi, 7
jl 0x140021877
movss xmm4, dword [rbx + 0x14]
movaps xmm1, xmm11
addss xmm4, xmm7
movaps xmm5, xmm9
addss xmm5, dword [rbx + 0x10]
movaps xmm3, xmm12
movaps xmm2, xmm10
cvttss2si edx, xmm4
addss xmm1, xmm4
addss xmm3, xmm5
cvttss2si r10d, xmm5
movaps xmm0, xmm1
addss xmm2, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm1
cvttss2si ecx, xmm3
mov dword [rsp + 0x38], eax
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
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.140021020
movss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm15
addss xmm5, dword [rbx + 0x10]
addss xmm4, xmm7
movaps xmm3, xmm14
movaps xmm2, xmm13
addss xmm3, xmm5
movaps xmm1, xmm4
subss xmm1, xmm11
addss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, xmm7
jmp 0x140021df7
cmp r13d, 0xff
je 0x14002258c
cmp r13d, 0x1c
je 0x140022551
lea eax, [r13 - 0x20]
cmp eax, 0xde
ja 0x140021877
mov eax, dword [rsp + 0x4c]
dec r15d
cmp r15d, eax
jg 0x140022567
mov dword [rsp + 0x48], r15d
test r15d, r15d
jns 0x14002256b
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x40]
call fcn.14001eca0
mov r15d, dword [rsp + 0x48]
xor r10d, r10d
movsx ecx, ax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x14002261e
mov edx, dword [rsp + 0x4c]
cmp r15d, edx
jl 0x140022599
xor al, al
jmp 0x1400225a9
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
movzx ecx, al
cmp r15d, edx
jl 0x1400225b5
xor al, al
jmp 0x1400225c5
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r15d, edx
jl 0x1400225d6
xor al, al
jmp 0x1400225e6
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r15d, edx
jl 0x1400225f7
xor al, al
jmp 0x140022607
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1400e5608]
cmp esi, 0x30
jge 0x140021877
movsxd rax, esi
inc esi
movss dword [rsp + rax*4 + 0x70], xmm0
movss xmm13, dword [rbp - 0x78]
movss xmm14, dword [rbp - 0x7c]
movss xmm15, dword [rbp - 0x80]
movss xmm10, dword [rsp + 0x7c]
movss xmm11, dword [rsp + 0x78]
movss xmm12, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
movss xmm8, dword [rbp - 0x68]
mov r14d, dword [rsp + 0x58]
mov ecx, r10d
test ecx, ecx
mov eax, r10d
cmove eax, esi
mov esi, eax
jmp 0x14002163c
mov rcx, rbx
call fcn.140021140
mov eax, 1
jmp 0x140021879