Function at 0x180012380
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
mov r13d, 1
movaps xmmword [rax - 0x88], xmm10
xor r15d, r15d
movaps xmmword [rax - 0x98], xmm11
xor r12d, r12d
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 [rbp - 0x7c], r13d
mov dword [rbp - 0x6c], ecx
lea rcx, [rsp + 0x70]
mov dword [rbp - 0x78], 0
movups xmm0, xmmword [rax + 0x70]
mov dword [rsp + 0x60], r15d
movups xmm1, xmmword [rax + 0x50]
mov dword [rbp - 0x70], r12d
movups xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.18000ff80
movss xmm7, dword [rbp - 0x10]
lea r10, [0x180000000]
movss xmm6, dword [rbp - 0x14]
xorps xmm9, xmm9
movss xmm8, dword [rbp - 0x20]
xor r11d, r11d
movups xmm2, xmmword [rax]
movss xmm4, dword [0x18029df20]
movss xmm5, dword [0x18029df10]
movdqa xmm0, xmm2
movss xmm3, dword [0x18029dd50]
movdqa xmm1, xmm2
movss xmm14, dword [rbp - 0x18]
movq rdx, xmm2
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]
psrldq xmm0, 0xc
movd r9d, xmm0
movdqa xmm0, xmm2
psrldq xmm1, 8
psrldq xmm0, 8
movd r8d, xmm1
movss xmm1, dword [rbp - 8]
movaps xmmword [rsp + 0x70], xmm2
movq qword [rsp + 0x78], xmm0
movss xmm0, dword [rbp - 0xc]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x48], xmm1
movss dword [rbp - 0x74], xmm7
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x68], xmm8
mov dword [rsp + 0x4c], r9d
mov dword [rbp + 0x248], r8d
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x78]
shr rax, 0x20
cmp r8d, eax
jge 0x180013738
movsxd rax, r8d
mov edi, r11d
inc r8d
mov dword [rsp + 0x44], 1
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx r14d, byte [rax + rdx]
movzx esi, r14b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x180012552.2
cdqe
mov ecx, dword [r10 + rax*4 + 0x13790]
add rcx, r10
jmp rcx
mov edi, dword [rbp - 0x78]
test r13d, r13d
je 0x180012569
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rbp - 0x78], edi
lea eax, [rdi + 7]
mov dword [rbp - 0x7c], r11d
cdq
mov r13d, r11d
and edx, 7
add eax, edx
sar eax, 3
add eax, r8d
mov dword [rbp + 0x248], eax
mov r8d, eax
cmp eax, r9d
jg 0x18001259a
test eax, eax
js 0x18001259a
mov dword [rsp + 0x78], eax
jmp 0x180012921
mov r8d, r9d
mov dword [rbp + 0x248], r9d
mov dword [rsp + 0x78], r9d
jmp 0x180012921
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
add dword [rbp - 0x78], eax
jmp 0x180012921
mov dword [rbp - 0x7c], r11d
mov r13d, r11d
cmp r12d, 2
jl 0x180013738
movsxd rax, r12d
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x38]
movss xmm2, dword [rbp + rax*4 - 0x34]
call fcn.1800120e0
jmp 0x180012909
mov dword [rbp - 0x7c], r11d
mov r13d, r11d
cmp r12d, 1
jl 0x180013738
movsxd rax, r12d
movaps xmm1, xmm9
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x34]
call fcn.1800120e0
jmp 0x180012909
mov dword [rbp - 0x7c], r11d
mov r13d, r11d
cmp r12d, 1
jl 0x180013738
movsxd rax, r12d
movaps xmm2, xmm9
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x34]
call fcn.1800120e0
jmp 0x180012909
cmp r12d, 2
jl 0x180013738
mov eax, dword [rbx + 0x30]
lea r9, [rbp - 0x30]
mov edi, dword [rbx]
mov r10d, eax
movss xmm0, dword [rbx + 0x10]
mov r11d, 1
movss xmm1, dword [rbx + 0x14]
xor r15d, r15d
nop word [rax + rax]
addss xmm0, dword [r9]
addss xmm1, dword [r9 + 4]
cvttss2si edx, xmm0
cvttss2si r8d, xmm1
test edi, edi
je 0x1800126cd
cmp edx, dword [rbx + 0x1c]
jg 0x180012693
cmp dword [rbx + 4], r15d
jne 0x180012696
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x1800126a2
cmp dword [rbx + 4], r15d
jne 0x1800126a6
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x1800126b1
cmp dword [rbx + 4], r15d
jne 0x1800126b4
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x1800126c0
cmp dword [rbx + 4], r15d
jne 0x1800126c4
mov dword [rbx + 0x20], r8d
mov dword [rbx + 4], 1
jmp 0x1800126eb
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], r15
inc r10d
add r11d, 2
add r9, 8
mov eax, r10d
cmp r11d, r12d
jl 0x180012670
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov dword [rbx + 0x30], r10d
jmp 0x180012901
cmp r12d, 1
jl 0x180013738
lea rax, [rbx + 0x10]
lea rdx, [rbx + 0x14]
lea r13, [rbx + 0x1c]
lea r8, [rbx + 4]
lea r10, [rbx + 0x30]
lea r11, [rbx + 0x28]
jmp 0x18001281d
cmp r12d, 1
jl 0x180013738
lea r13, [rbx + 0x1c]
lea r8, [rbx + 4]
mov r12, r13
lea r9, [rbx + 0x10]
mov rcx, r8
lea rdx, [rbx + 0x14]
mov qword [rbp - 0x58], r9
lea r15, [rbx + 0x30]
mov qword [rbp - 0x60], rdx
lea r11, [rbx + 0x28]
mov qword [rbp - 0x40], r15
mov r14, r11
mov rsi, r8
mov r10, r13
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 0x1800127e8
cmp edx, dword [r10]
jg 0x1800127b1
cmp dword [rsi], 0
jne 0x1800127b5
mov dword [r12], edx
cmp r9d, dword [rbx + 0x24]
jg 0x1800127c0
cmp dword [rcx], 0
jne 0x1800127c4
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x1800127ce
cmp dword [rcx], 0
jne 0x1800127d1
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x1800127dc
cmp dword [rcx], 0
jne 0x1800127e0
mov dword [rbx + 0x20], r9d
mov dword [rcx], 1
jmp 0x180012808
movsxd rax, dword [r15]
imul rcx, rax, 0xe
mov rax, qword [r14]
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 r10, qword [rbp - 0x40]
mov rax, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r12d, dword [rbp - 0x70]
inc dword [r10]
inc edi
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rax
cmp edi, r12d
jge 0x1800128fd
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 0x1800128a5
cmp edx, dword [r13]
jg 0x180012866
cmp dword [r8], 0
jne 0x18001286a
mov dword [r13], edx
cmp r9d, dword [rbx + 0x24]
jg 0x180012876
cmp dword [r8], 0
jne 0x18001287a
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x180012885
cmp dword [r8], 0
jne 0x180012888
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x180012894
cmp dword [r8], 0
jne 0x180012898
mov dword [rbx + 0x20], r9d
mov dword [r8], 1
lea r11, [rbx + 0x28]
jmp 0x1800128cd
movsxd rax, dword [r10]
lea r13, [rbx + 0x1c]
imul rcx, rax, 0xe
mov rax, qword [r11]
lea r8, [rbx + 4]
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 [r10]
inc edi
mov r15, r10
mov rdx, qword [rbp - 0x60]
mov r14, r11
mov r9, qword [rbp - 0x58]
mov rcx, r8
mov qword [rbp - 0x40], r10
mov r12, r13
mov rsi, r8
mov r10, r13
cmp edi, dword [rbp - 0x70]
jl 0x180012779
mov r12d, dword [rbp - 0x70]
mov r13d, dword [rbp - 0x7c]
mov r15d, dword [rsp + 0x60]
xor r11d, r11d
movss xmm0, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x4c]
movss xmm1, dword [rsp + 0x48]
mov r8d, dword [rbp + 0x248]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x44]
movss xmm3, dword [0x18029dd50]
lea r10, [0x180000000]
movss xmm4, dword [0x18029df20]
test ecx, ecx
movss xmm5, dword [0x18029df10]
mov eax, r11d
cmove eax, r12d
mov r12d, eax
mov dword [rbp - 0x70], eax
jmp 0x180012501
cmp r12d, 4
jl 0x180013738
lea rsi, [rbx + 0x10]
lea r14, [rbx + 0x14]
jmp 0x180012a2d
cmp r12d, 4
jl 0x180013738
lea rsi, [rbx + 0x10]
mov r15d, r11d
lea r14, [rbx + 0x14]
mov rdx, rsi
mov rcx, r14
mov r8, r14
mov r9, rsi
mov eax, r12d
add r15d, 4
sub eax, edi
cmp eax, 5
jne 0x1800129ae
movsxd rax, r15d
movss xmm6, dword [rbp + rax*4 - 0x30]
jmp 0x1800129b2
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.180011f00
mov edi, r15d
lea eax, [rdi + 3]
cmp eax, r12d
jge 0x180012aea
mov eax, r12d
lea r15d, [rdi + 4]
sub eax, edi
cmp eax, 5
jne 0x180012a52
movsxd rax, r15d
movss xmm0, dword [rbp + rax*4 - 0x30]
jmp 0x180012a56
movaps xmm0, xmm9
movss xmm4, dword [r14]
movsxd rax, edi
addss xmm4, xmm9
movss xmm5, dword [rbp + rax*4 - 0x30]
addss xmm5, dword [rsi]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rax*4 - 0x28]
cvttss2si edx, xmm4
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x2c]
cvttss2si r10d, xmm5
cvttss2si ecx, xmm3
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rbp + rax*4 - 0x24]
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 [rsi], xmm2
movss dword [r14], xmm0
call fcn.180011f00
lea eax, [r15 + 3]
mov edi, r15d
mov rcx, r14
mov rdx, rsi
mov r8, r14
mov r9, rsi
cmp eax, r12d
jl 0x180012995
movss xmm6, dword [rbp - 0x80]
jmp 0x180012901
cmp r12d, 6
jl 0x180013738
mov esi, 5
lea rdi, [rbp - 0x28]
nop word [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.180011f00
add esi, 6
add rdi, 0x18
cmp esi, r12d
jl 0x180012b10
movss xmm0, dword [rsp + 0x40]
xor r11d, r11d
jmp 0x18001290f
cmp r12d, 8
jl 0x180013738
lea r15d, [r12 - 2]
cmp r15d, 5
jle 0x180012c4f
mov r14d, 5
lea rsi, [rbp - 0x28]
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.180011f00
add edi, 6
add r14d, 6
add rsi, 0x18
cmp r14d, r15d
jl 0x180012bc0
mov r9d, dword [rsp + 0x4c]
xor r11d, r11d
lea eax, [rdi + 1]
cmp eax, r12d
jge 0x180013738
cmp dword [rbx], 0
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x30]
addss xmm1, dword [rbx + 0x10]
movss xmm0, dword [rbp + rax*4 - 0x2c]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x180012ce1
lea rax, [rbx + 4]
cmp edx, dword [rbx + 0x1c]
jg 0x180012c9a
cmp dword [rax], 0
jne 0x180012c9d
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x180012ca8
cmp dword [rax], 0
jne 0x180012cac
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x180012cb6
cmp dword [rax], 0
jne 0x180012cb9
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x180012cc4
cmp dword [rax], 0
jne 0x180012cc8
mov dword [rbx + 0x20], r8d
inc dword [rbx + 0x30]
movss xmm0, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x60]
mov dword [rax], 1
jmp 0x180012914
movsxd rax, dword [rbx + 0x30]
movss xmm0, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x60]
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 0x180012914
cmp r12d, 8
jl 0x180013738
lea esi, [r12 - 6]
cmp esi, 1
jle 0x180012df8
mov eax, dword [rbx + 0x30]
lea r9, [rbp - 0x30]
mov r14d, dword [rbx]
mov r10d, eax
movss xmm0, dword [rbx + 0x10]
mov r11d, 1
movss xmm1, dword [rbx + 0x14]
xor r13d, r13d
addss xmm0, dword [r9]
addss xmm1, dword [r9 + 4]
cvttss2si edx, xmm0
cvttss2si r8d, xmm1
test r14d, r14d
je 0x180012dae
cmp edx, dword [rbx + 0x1c]
jg 0x180012d74
cmp dword [rbx + 4], r13d
jne 0x180012d77
mov dword [rbx + 0x1c], edx
cmp r8d, dword [rbx + 0x24]
jg 0x180012d83
cmp dword [rbx + 4], r13d
jne 0x180012d87
mov dword [rbx + 0x24], r8d
cmp edx, dword [rbx + 0x18]
jl 0x180012d92
cmp dword [rbx + 4], r13d
jne 0x180012d95
mov dword [rbx + 0x18], edx
cmp r8d, dword [rbx + 0x20]
jl 0x180012da1
cmp dword [rbx + 4], r13d
jne 0x180012da5
mov dword [rbx + 0x20], r8d
mov dword [rbx + 4], 1
jmp 0x180012dcc
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], r13
inc r10d
add edi, 2
add r11d, 2
add r9, 8
mov eax, r10d
cmp r11d, esi
jl 0x180012d50
mov r13d, dword [rbp - 0x7c]
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov dword [rbx + 0x30], r10d
lea eax, [rdi + 5]
cmp eax, r12d
jge 0x180013738
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.180011f00
movss xmm0, dword [rsp + 0x40]
xor r11d, r11d
jmp 0x18001290f
cmp r12d, 4
jl 0x180013738
mov eax, r12d
movaps xmm4, xmm9
and eax, 1
je 0x180012ea9
movaps xmm4, xmm10
lea esi, [rax + 3]
cmp esi, r12d
jge 0x180012926
lea rdi, [rbp - 0x28]
lea rdi, [rdi + rax*4]
nop dword [rax]
movss xmm0, dword [rbx + 0x10]
movss xmm5, dword [rbx + 0x14]
movss xmm3, dword [rdi]
movss xmm1, dword [rdi - 8]
movss xmm2, dword [rdi - 4]
movss xmm6, dword [rdi + 4]
cmp r14b, 0x1b
jne 0x180012f0a
addss xmm5, xmm4
addss xmm0, xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm4, xmm2
addss xmm3, xmm6
addss xmm4, xmm9
jmp 0x180012f32
addss xmm1, xmm5
addss xmm0, xmm4
movaps xmm5, xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm4, xmm2
addss xmm3, xmm9
addss xmm4, xmm6
cvttss2si ecx, xmm1
cvttss2si edx, xmm5
cvttss2si eax, xmm2
cvttss2si r10d, xmm0
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.180011f00
add esi, 4
add rdi, 0x10
movaps xmm4, xmm9
cmp esi, r12d
jl 0x180012ec0
movss xmm6, dword [rbp - 0x80]
xor r11d, r11d
movss xmm0, dword [rsp + 0x40]
jmp 0x18001290f
cmp dword [rbp - 0x6c], 0
mov rdi, qword [rbp + 0x230]
jne 0x180012fe2
cmp dword [rdi + 0x9c], 0
je 0x180012fd2
mov r8d, dword [rbp + 0x238]
lea rcx, [rbp + 0xa0]
mov rdx, rdi
call fcn.1800121a0
xor r11d, r11d
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
mov dword [rbp - 0x6c], 1
jmp 0x180012fe2
mov rdi, qword [rbp + 0x230]
cmp r12d, 1
jl 0x180013738
dec r12d
movsxd rax, r12d
cvttss2si r10d, dword [rbp + rax*4 - 0x30]
cmp r15d, 0xa
jge 0x180013738
movaps xmm0, xmmword [rsp + 0x70]
movsxd rax, r15d
inc r15d
add rax, rax
mov dword [rsp + 0x60], r15d
movups xmmword [rbp + rax*8 + 0xb0], xmm0
lea rax, [rbp + 0x90]
cmp esi, 0xa
je 0x18001302e
lea rax, [rdi + 0x60]
movups xmm1, xmmword [rax]
mov rax, qword [rax + 8]
shr rax, 0x20
movaps xmmword [rsp + 0x70], xmm1
test eax, eax
mov r9, qword [rsp + 0x70]
psrldq xmm1, 0xc
movd r8d, xmm1
mov ecx, r8d
cmovns ecx, r11d
mov dword [rsp + 0x78], ecx
cmp ecx, r8d
jl 0x180013063
xor al, al
jmp 0x180013071
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x78], ecx
movzx eax, byte [rax + r9]
movzx edx, al
cmp ecx, r8d
jl 0x18001307d
xor al, al
jmp 0x18001308b
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x78], ecx
movzx eax, byte [rax + r9]
shl edx, 8
movzx eax, al
or edx, eax
cmp edx, 0x846c
jb 0x1800130a2
mov eax, 0x8000
jmp 0x1800130b5
cmp edx, 0x4d8
mov eax, 0x6b
mov ecx, 0x46b
cmovae eax, ecx
lea r8d, [rax + r10]
test r8d, r8d
js 0x1800130e1
cmp r8d, edx
jge 0x1800130e1
movaps xmm0, xmmword [rsp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.18000ff80
xor r11d, r11d
jmp 0x1800130ed
mov qword [rbp - 0x50], r11
mov qword [rbp - 0x48], 0
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x180013738
mov rdx, qword [rsp + 0x70]
mov r8d, r11d
mov r9d, dword [rsp + 0x7c]
mov ecx, r11d
movss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x48]
mov qword [rsp + 0x50], rdx
mov dword [rbp + 0x248], r11d
mov dword [rsp + 0x78], r11d
mov dword [rsp + 0x4c], r9d
jmp 0x18001292a
test r15d, r15d
jle 0x180013738
dec r15d
mov ecx, r11d
movsxd rax, r15d
add rax, rax
mov dword [rsp + 0x60], r15d
movups xmm2, xmmword [rbp + rax*8 + 0xb0]
movdqa xmm0, xmm2
movaps xmmword [rsp + 0x70], xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r9d, xmm0
movq rdx, xmm2
psrldq xmm1, 8
movdqa xmm0, xmm2
movd r8d, xmm1
movss xmm1, dword [rsp + 0x48]
psrldq xmm0, 8
movq qword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x40]
mov dword [rsp + 0x4c], r9d
mov dword [rbp + 0x248], r8d
mov qword [rsp + 0x50], rdx
jmp 0x18001292a
mov rax, qword [rsp + 0x78]
shr rax, 0x20
cmp r8d, eax
jl 0x1800131cf
xor al, al
jmp 0x1800131e5
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x18001349f
sub ecx, 1
je 0x1800133e5
sub ecx, 1
je 0x180013324
cmp ecx, 1
jne 0x180013738
cmp r12d, 0xb
jl 0x180013738
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 [rbp - 0x80]
addss xmm2, dword [rbp - 0x74]
addss xmm3, xmm0
movaps xmm1, xmm2
movaps xmm0, xmm3
andps xmm1, xmm5
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x180013264
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x18001326a
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.180011f00
movss xmm4, dword [rbp - 0x80]
movaps xmm3, xmm14
addss xmm3, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movss xmm0, dword [rsp + 0x40]
movaps xmm5, xmm3
addss xmm5, dword [rbp - 0x74]
movaps xmm8, xmm4
addss xmm8, xmm0
movaps xmm1, xmm5
addss xmm1, xmm7
movss xmm7, dword [rbp - 0x74]
movaps xmm2, xmm8
addss xmm2, xmm6
movss xmm6, dword [rbp - 0x80]
jmp 0x180013557
cmp r12d, 9
jl 0x180013738
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.180011f00
movss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm14
movaps xmm8, xmm6
addss xmm4, xmm9
movaps xmm3, xmm15
movaps xmm0, xmm11
addss xmm3, dword [rbx + 0x10]
addss xmm0, xmm13
addss xmm8, xmm4
addss xmm5, xmm3
addss xmm0, xmm6
movaps xmm2, xmm8
movaps xmm1, xmm5
addss xmm1, xmm7
subss xmm2, xmm0
jmp 0x180013551
cmp r12d, 0xd
jl 0x180013738
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.180011f00
movss xmm0, dword [rsp + 0x40]
movaps xmm3, xmm14
addss xmm3, dword [rbx + 0x10]
movaps xmm4, xmm6
addss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm3
addss xmm5, xmm7
movaps xmm8, xmm4
addss xmm8, xmm0
movaps xmm1, xmm5
addss xmm1, dword [rsp + 0x48]
movaps xmm2, xmm8
addss xmm2, dword [rbp - 4]
jmp 0x180013557
cmp r12d, 7
jl 0x180013738
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.180011f00
movss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm8
addss xmm3, dword [rbx + 0x10]
addss xmm4, xmm9
movaps xmm5, xmm15
movaps xmm1, xmm14
addss xmm5, xmm3
movaps xmm8, xmm4
subss xmm8, xmm12
addss xmm1, xmm5
movaps xmm2, xmm8
addss xmm2, xmm9
movss xmm0, dword [rsp + 0x40]
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.180011f00
movss xmm8, dword [rbp - 0x68]
xor r11d, r11d
jmp 0x18001290f
cmp esi, 0xff
je 0x180013613
cmp esi, 0x1c
je 0x1800135c1
lea eax, [rsi - 0x20]
cmp eax, 0xde
ja 0x180013738
lea eax, [r8 - 1]
cmp eax, r9d
jg 0x1800135d2
mov dword [rsp + 0x78], eax
test eax, eax
jns 0x1800135d7
mov dword [rsp + 0x78], r9d
lea rcx, [rsp + 0x70]
call fcn.18000fb60
mov rdx, qword [rsp + 0x70]
xor r11d, r11d
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x78]
movsx ecx, ax
mov dword [rsp + 0x4c], r9d
mov dword [rbp + 0x248], r8d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x1800136b5
cmp r8d, r9d
jl 0x18001361c
xor al, al
jmp 0x180013632
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r8d, r9d
jl 0x18001363e
xor al, al
jmp 0x180013654
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r8d, r9d
jl 0x180013665
xor al, al
jmp 0x18001367b
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r8d, r9d
jl 0x18001368c
xor al, al
jmp 0x1800136a2
movsxd rax, r8d
inc r8d
mov dword [rbp + 0x248], r8d
mov dword [rsp + 0x78], r8d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cmp r12d, 0x30
jge 0x180013738
movsxd rax, r12d
mov ecx, r11d
inc r12d
movss dword [rbp + rax*4 - 0x30], xmm0
movss xmm1, dword [rbp - 8]
movss xmm0, dword [rbp - 0xc]
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 + 0x48], xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rbp - 0x74], xmm7
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x68], xmm8
jmp 0x18001292a
mov rcx, rbx
call fcn.180012030
mov eax, 1
jmp 0x18001373a
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