Function at 0x14001ad20
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.140018790
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 [0x1400a83e0]
mov r11d, 0x46b
shr rax, 0x20
cmp r15d, eax
jge 0x14001b057
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.0x14001ae7e.2
cdqe
mov ecx, dword [rdx + rax*4 + 0x1be70]
add rcx, rdx
jmp rcx
mov edi, dword [rsp + 0x50]
test r12d, r12d
je 0x14001ae96
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 0x14001aeda
test eax, eax
js 0x14001aeda
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 0x14001ae1c
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 0x14001ae1c
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 0x14001ae1c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 2
jl 0x14001b057
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.14001a8d0
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 0x14001ae1c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 1
jl 0x14001b057
lea eax, [rsi - 1]
movaps xmm1, xmm7
movsxd rcx, eax
movss xmm2, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
call fcn.14001a8d0
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 0x14001ae1c
mov dword [rsp + 0x54], r10d
mov r12d, r10d
cmp esi, 1
jl 0x14001b057
lea eax, [rsi - 1]
movaps xmm2, xmm7
movsxd rcx, eax
movss xmm1, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
call fcn.14001a8d0
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 0x14001ae1c
cmp esi, 2
jl 0x14001b057
cmp esi, 1
jle 0x14001b74a
mov r11d, 1
lea r10, [rsp + 0x70]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.14001a9a0
add r11d, 2
lea r10, [r10 + 8]
cmp r11d, esi
jl 0x14001b011
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 0x14001ae1c
cmp esi, 1
jge 0x14001b156
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 0x14001b057
cmp edi, esi
jge 0x14001b74a
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 0x14001b12d
cmp edx, dword [rbx + 0x1c]
jg 0x14001b0f3
cmp dword [rbx + 4], 0
jne 0x14001b0f6
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x14001b102
cmp dword [rbx + 4], 0
jne 0x14001b106
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x14001b111
cmp dword [rbx + 4], 0
jne 0x14001b114
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x14001b120
cmp dword [rbx + 4], 0
jne 0x14001b124
mov dword [rbx + 0x20], r8d
mov dword [rbx + 4], 1
jmp 0x14001b151
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 0x14001b74a
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 0x14001b1da
cmp edx, dword [rbx + 0x1c]
jg 0x14001b198
cmp dword [rbx + 4], 0
jne 0x14001b19b
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x14001b1a7
cmp dword [rbx + 4], 0
jne 0x14001b1ab
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x14001b1b6
cmp dword [rbx + 4], 0
jne 0x14001b1b9
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x14001b1c5
cmp dword [rbx + 4], 0
jne 0x14001b1c9
mov dword [rbx + 0x20], r8d
inc dword [rbx + 0x30]
inc edi
mov dword [rbx + 4], 1
jmp 0x14001b0b1
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 0x14001b0b1
cmp esi, 4
jl 0x14001b057
jmp 0x14001b2cf
cmp esi, 4
jl 0x14001b057
lea edx, [rdi + 3]
cmp edx, esi
jge 0x14001b747
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x14001b241
lea eax, [rdi + 4]
movsxd rcx, eax
movss xmm6, dword [rsp + rcx*4 + 0x70]
jmp 0x14001b244
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.14001a700
add edi, 4
lea edx, [rdi + 3]
cmp edx, esi
jge 0x14001b747
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x14001b2f1
lea eax, [rdi + 4]
movsxd rcx, eax
movss xmm0, dword [rsp + rcx*4 + 0x70]
jmp 0x14001b2f4
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.14001a700
add edi, 4
jmp 0x14001b21f
cmp esi, 6
jl 0x14001b057
cmp esi, 5
jle 0x14001b74a
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.14001a700
add r14d, 6
add rdi, 0x18
cmp r14d, esi
jl 0x14001b3a1
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 0x14001ae1c
cmp esi, 8
jl 0x14001b057
lea r13d, [rsi - 2]
cmp r13d, 5
jle 0x14001b4f5
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.14001a700
add edi, 6
add r12d, 6
add r14, 0x18
cmp r12d, r13d
jl 0x14001b460
mov r12d, dword [rsp + 0x54]
xor r10d, r10d
lea eax, [rdi + 1]
cmp eax, esi
jge 0x14001b057
movsxd rcx, edi
cdqe
movss xmm1, dword [rsp + rcx*4 + 0x70]
mov rcx, rbx
movss xmm2, dword [rsp + rax*4 + 0x70]
call fcn.14001a9a0
mov ecx, dword [rbp + 0x1f8]
mov eax, r10d
mov r14d, dword [rsp + 0x58]
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x14001ae1c
cmp esi, 8
jl 0x14001b057
lea r14d, [rsi - 6]
cmp r14d, 1
jle 0x14001b574
mov r11d, 1
lea r10, [rsp + 0x70]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.14001a9a0
add edi, 2
lea r10, [r10 + 8]
add r11d, 2
cmp r11d, r14d
jl 0x14001b551
lea edx, [rdi + 5]
cmp edx, esi
jge 0x14001b057
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.14001a700
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 0x14001ae1c
cmp esi, 4
jl 0x14001b057
movaps xmm5, xmm7
test sil, 1
je 0x14001b64f
movaps xmm5, xmm9
mov edi, 1
lea r14d, [rdi + 3]
cmp r14d, esi
jge 0x14001b74a
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 0x14001b6ae
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 0x14001b6df
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.14001a700
add r14d, 4
add rdi, 0x10
movaps xmm5, xmm7
cmp r14d, esi
jl 0x14001b670
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 0x14001ae1c
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 0x14001ae1c
cmp dword [rsp + 0x5c], 0
mov rdi, qword [rbp + 0x1e0]
jne 0x14001b7af
cmp dword [rdi + 0x9c], 0
je 0x14001b79e
mov r8d, dword [rbp + 0x1e8]
lea rcx, [rbp + 0x40]
mov rdx, rdi
call fcn.14001aa40
xor r10d, r10d
mov r11d, 0x46b
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
mov dword [rsp + 0x5c], 1
jmp 0x14001b7af
mov rdi, qword [rbp + 0x1e0]
cmp esi, 1
jl 0x14001b057
dec esi
movsxd rax, esi
cvttss2si r9d, dword [rsp + rax*4 + 0x70]
cmp r14d, 0xa
jge 0x14001b057
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 0x14001b7f4
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 0x14001b831
mov ecx, r10d
mov dword [rsp + 0x48], ecx
test eax, eax
jle 0x14001b837
movzx edx, byte [r8]
mov ecx, 1
mov dword [rsp + 0x48], ecx
jmp 0x14001b839
mov ecx, eax
mov dword [rsp + 0x48], eax
xor dl, dl
movzx edx, dl
cmp ecx, eax
jl 0x14001b844
xor al, al
jmp 0x14001b852
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 0x14001b869
mov eax, 0x8000
jmp 0x14001b878
cmp edx, 0x4d8
mov eax, WSAGetLastError
cmovae eax, r11d
lea r8d, [rax + r9]
test r8d, r8d
js 0x14001b8a7
cmp r8d, edx
jge 0x14001b8a7
movaps xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140018790
xor r10d, r10d
movups xmm0, xmmword [rax]
jmp 0x14001b8ba
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 0x14001b057
mov r15d, r10d
mov dword [rsp + 0x48], r10d
jmp 0x14001be46
test r14d, r14d
jle 0x14001b057
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 0x14001be46
mov rax, qword [rsp + 0x48]
shr rax, 0x20
cmp r15d, eax
jl 0x14001b920
xor al, al
jmp 0x14001b930
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
movzx ecx, al
sub ecx, 0x22
je 0x14001bc63
sub ecx, 1
je 0x14001bbad
sub ecx, 1
je 0x14001bac6
cmp ecx, 1
jne 0x14001b057
cmp esi, 0xb
jl 0x14001b057
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 [0x1400a83d0]
andps xmm1, xmmword [0x1400a83d0]
cvtpd2ps xmm2, xmm0
cvtpd2ps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x14001b9cd
movaps xmm6, xmm4
xorps xmm6, xmm5
jmp 0x14001b9d5
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.14001a700
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.14001a700
movss xmm8, dword [rbp - 0x68]
jmp 0x14001b617
cmp esi, 9
jl 0x14001b057
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.14001a700
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 0x14001b5fc
cmp esi, 0xd
jl 0x14001b057
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.14001a700
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 0x14001b5d7
cmp esi, 7
jl 0x14001b057
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.14001a700
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 0x14001b5d7
cmp r13d, 0xff
je 0x14001bd6c
cmp r13d, 0x1c
je 0x14001bd31
lea eax, [r13 - 0x20]
cmp eax, 0xde
ja 0x14001b057
mov eax, dword [rsp + 0x4c]
dec r15d
cmp r15d, eax
jg 0x14001bd47
mov dword [rsp + 0x48], r15d
test r15d, r15d
jns 0x14001bd4b
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x40]
call fcn.140018410
mov r15d, dword [rsp + 0x48]
xor r10d, r10d
movsx ecx, ax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x14001bdfe
mov edx, dword [rsp + 0x4c]
cmp r15d, edx
jl 0x14001bd79
xor al, al
jmp 0x14001bd89
movsxd rax, r15d
inc r15d
mov dword [rsp + 0x48], r15d
movzx eax, byte [rax + r8]
movzx ecx, al
cmp r15d, edx
jl 0x14001bd95
xor al, al
jmp 0x14001bda5
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 0x14001bdb6
xor al, al
jmp 0x14001bdc6
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 0x14001bdd7
xor al, al
jmp 0x14001bde7
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 [0x1400a7c44]
cmp esi, 0x30
jge 0x14001b057
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 0x14001ae1c
mov rcx, rbx
call fcn.14001a820
mov eax, 1
jmp 0x14001b059