Function at 0x180016d20
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [r11 - 0x78]
sub rsp, 0x150
mov rax, qword [0x18005e008]
xor rax, rsp
mov qword [rbp - 0x68], rax
test byte [rcx + 0xc], 0x42
mov r14d, r9d
mov r12, qword [rbp + 0xa0]
mov rdi, rcx
mov r13, qword [0x18005f058]
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], r9d
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x40], rdx
jne 0x180017883
cmp byte [rcx + 0xa8], 0
jg 0x180017883
cmp byte [rcx + 0xa9], 0
jg 0x180017883
cmp byte [rcx + 0x8f], 0
je 0x180017883
movss xmm1, dword [r13 + 0x1990]
movss xmm0, dword [rcx + 0x48]
movaps xmm2, xmm1
mulss xmm1, dword [0x1800540f4]
mov qword [r11 + 0x10], rbx
mulss xmm2, dword [0x180054160]
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x38], r15
movzx r15d, byte [r13 + 0xcc]
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movss xmm9, dword [0x180054144]
movaps xmmword [r11 - 0x88], xmm10
addss xmm0, xmm9
movaps xmmword [r11 - 0x98], xmm11
xorps xmm11, xmm11
movaps xmmword [r11 - 0xa8], xmm12
movaps xmmword [r11 - 0xb8], xmm13
movaps xmmword [r11 - 0xc8], xmm14
movaps xmmword [r11 - 0xd8], xmm15
addss xmm0, xmm1
mov byte [rsp + 0x32], 0
xorps xmm15, xmm15
mov byte [rsp + 0x31], r15b
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x180054128]
cvttss2si eax, xmm0
cvtsi2ss xmm11, eax
movss dword [rsp + 0x34], xmm11
test r15b, r15b
je 0x180016e6f
movss xmm7, dword [0x180054190]
jmp 0x180016e72
xorps xmm7, xmm7
movss xmm12, dword [0x180054230]
lea rdx, [0x18004f0d1]
mov dword [rcx + 0x12c], 1
lea r10, [0x18004f430]
mov rsi, qword [r13 + 0x1c20]
movaps xmm13, xmm12
movss dword [rsp + 0x48], xmm7
movaps xmm14, xmm12
movaps xmm10, xmm12
movaps xmm6, xmm12
mov r8b, 0x23
movsxd rcx, dword [rsi + 0xc8]
mov rax, qword [rsi + 0xd0]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax]
cmp r8b, 0x23
jne 0x180016ee3
cmp byte [rdx], r8b
jne 0x180016ee3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x180016ed0
not ebx
cmp dword [r13 + 0x1c54], ebx
jne 0x180016f1e
lea r8, str.RESIZE
mov edx, 0xb
mov ecx, ebx
call fcn.1800228e0
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
lea rcx, [rsi + 0xc8]
call fcn.180023060
movss xmm8, dword [0x180054258]
xor esi, esi
test r14d, r14d
jle 0x180017340
lea rbx, [0x18005e2d8]
nop
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x18]
movaps xmm2, xmm1
addss xmm2, dword [rdi + 0x1c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rbx - 8]
mulss xmm2, dword [rbx - 4]
addss xmm3, xmm0
movss xmm0, dword [rbx]
movaps xmm5, xmm0
mulss xmm0, xmm7
addss xmm2, xmm1
mulss xmm5, xmm11
movss xmm1, dword [rbx + 4]
movaps xmm4, xmm1
mulss xmm1, xmm7
addss xmm5, xmm3
mulss xmm4, xmm11
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x60], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x64], xmm4
jbe 0x180016fde
movss dword [rsp + 0x58], xmm5
movss dword [rsp + 0x60], xmm3
comiss xmm2, xmm4
jbe 0x180016fef
movss dword [rsp + 0x5c], xmm4
movss dword [rsp + 0x64], xmm2
mov edx, esi
mov rcx, rdi
call fcn.1800113a0
lea r9, [rsp + 0x33]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1800387a0
movzx r15d, byte [rsp + 0x30]
movzx r14d, byte [rsp + 0x33]
test r15b, r15b
jne 0x180017031
test r14b, r14b
je 0x1800172d1
mov eax, esi
not eax
and eax, 1
add eax, 5
mov dword [r13 + 0x1fb0], eax
test r14b, r14b
je 0x1800172d1
cmp word [r13 + 0x42a], 2
jne 0x1800170fc
test esi, esi
jne 0x1800170fc
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.1800165c0
mov rdx, qword [0x18005f058]
mov byte [rsp + 0x32], 1
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
xor eax, eax
test ecx, ecx
je 0x1800170b8
mov dword [rdx + 0x1c74], eax
mov word [rdx + 0x1c7b], ax
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], eax
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], rax
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], rax
test r14b, r14b
je 0x1800172e7
mov ecx, 0x20
jmp 0x1800172f3
movss xmm11, dword [rbx - 4]
ucomiss xmm11, xmm9
jp 0x180017118
jne 0x180017118
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
jmp 0x180017123
mov rax, qword [rbp + 0xa8]
movaps xmm7, xmm8
movss xmm10, dword [rbx - 8]
ucomiss xmm10, xmm9
jp 0x180017137
jne 0x180017137
movss xmm6, dword [rax]
jmp 0x18001713b
movaps xmm6, xmm8
ucomiss xmm11, xmm15
jp 0x18001714b
jne 0x18001714b
movss xmm9, dword [rax + 0xc]
jmp 0x18001714f
movaps xmm9, xmm12
ucomiss xmm10, xmm15
jp 0x18001715f
jne 0x18001715f
movss xmm8, dword [rax + 8]
jmp 0x180017163
movaps xmm8, xmm12
movss xmm0, dword [rbx]
movss xmm4, dword [rsp + 0x34]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x180054590]
mulss xmm1, dword [rsp + 0x48]
movaps xmm5, xmm4
movss xmm2, dword [rbx + 4]
mulss xmm5, xmm0
movaps xmm3, xmm2
mulss xmm3, dword [rsp + 0x48]
movss xmm0, dword [r13 + 0x128]
subss xmm5, xmm1
subss xmm0, dword [r13 + 0x1c90]
mulss xmm4, xmm2
mulss xmm5, xmm10
subss xmm4, xmm3
addss xmm5, xmm1
movss xmm1, dword [r13 + 0x12c]
subss xmm1, dword [r13 + 0x1c94]
mulss xmm4, xmm11
addss xmm5, xmm0
addss xmm4, xmm3
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x1800171e9
movaps xmm7, xmm9
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x1800171f6
movaps xmm6, xmm8
minss xmm6, xmm5
movss xmm0, dword [rdi + 0x10]
lea r8, [rsp + 0x38]
movss xmm1, dword [rdi + 0x14]
lea rcx, [rsp + 0x50]
movaps xmm13, xmm0
movaps xmm14, xmm1
addss xmm0, dword [rdi + 0x18]
addss xmm1, dword [rdi + 0x1c]
subss xmm13, xmm6
mov rdx, rdi
subss xmm14, xmm7
mulss xmm13, xmm10
mulss xmm14, xmm11
addss xmm13, xmm6
subss xmm6, xmm0
addss xmm14, xmm7
subss xmm7, xmm1
mulss xmm6, xmm10
mulss xmm7, xmm11
addss xmm6, xmm0
addss xmm7, xmm1
subss xmm6, xmm13
subss xmm7, xmm14
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x3c], xmm7
call fcn.1800165c0
movss xmm0, dword [rbx - 8]
ucomiss xmm0, xmm15
movss xmm10, dword [rsp + 0x50]
jp 0x180017293
jne 0x180017293
movaps xmm0, xmm10
subss xmm0, xmm6
subss xmm13, xmm0
movss xmm0, dword [rbx - 4]
ucomiss xmm0, xmm15
movss xmm6, dword [rsp + 0x54]
jp 0x1800172b2
jne 0x1800172b2
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
movss xmm8, dword [0x180054258]
movss xmm9, dword [0x180054144]
movss xmm7, dword [rsp + 0x48]
movss xmm11, dword [rsp + 0x34]
test esi, esi
je 0x1800170e9
test r14b, r14b
jne 0x1800170f2
test r15b, r15b
je 0x180017327
xor ecx, ecx
test r15b, r15b
setne cl
add rcx, 0x1e
mov rax, qword [0x18005f058]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x1638]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1570]
movss dword [rbp - 0x6c], xmm0
call fcn.18000f2e0
mov dword [r12], eax
inc esi
add rbx, 0x18
add r12, 4
cmp esi, dword [rbp - 0x80]
jl 0x180016f50
movzx r15d, byte [rsp + 0x31]
xor ebx, ebx
neg r15b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x40], rax
jbe 0x1800175ce
movss xmm11, dword [0x1800540e0]
lea rax, [0x18005e344]
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
cmp ebx, 1
jbe 0x18001738c
mov esi, 3
lea r12, [rbp - 0x7c]
mov r14d, 0x12c
mov r15d, 0x1c94
jmp 0x1800173a1
mov esi, 4
lea r12, [rbp - 0x80]
mov r14d, 0x128
mov r15d, 0x1c90
movss xmm9, dword [0x180054190]
lea rcx, [rbp - 0x78]
movss xmm3, dword [rsp + 0x34]
mov r8d, ebx
mov rdx, rdi
movss dword [rsp + 0x20], xmm9
call fcn.180016be0
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.1800113a0
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.1800387a0
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x180017409
movss xmm0, dword [r13 + 0x1c64]
comiss xmm0, xmm11
ja 0x180017411
test al, al
je 0x1800175a9
mov dword [r13 + 0x1fb0], esi
test al, al
je 0x1800175a9
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
cmp ebx, 3
jne 0x18001755c
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
movaps xmm2, xmm12
movaps xmm3, xmm12
movsd xmm0, qword [rdi + 0x10]
movss xmm1, dword [r14 + r13]
subss xmm1, dword [r15 + r13]
movsd qword [rbp - 0x80], xmm0
addss xmm1, xmm9
movss dword [r12], xmm1
movss xmm0, dword [rbp - 0x7c]
comiss xmm7, xmm0
ja 0x180017476
movaps xmm7, xmm2
minss xmm7, xmm0
movss xmm0, dword [rbp - 0x80]
comiss xmm8, xmm0
ja 0x18001748a
movaps xmm8, xmm3
minss xmm8, xmm0
mov rsi, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
movss xmm0, dword [rdi + 0x10]
lea rcx, [rsp + 0x48]
movss xmm1, dword [rdi + 0x14]
movaps xmm13, xmm0
addss xmm0, dword [rdi + 0x18]
movss xmm9, dword [rsi - 8]
subss xmm13, xmm8
minss xmm9, dword [rsi]
movss xmm6, dword [rsi - 0xc]
movaps xmm14, xmm1
minss xmm6, dword [rsi - 4]
addss xmm1, dword [rdi + 0x1c]
subss xmm14, xmm7
mov rdx, rdi
mulss xmm13, xmm6
mulss xmm14, xmm9
addss xmm13, xmm8
subss xmm8, xmm0
addss xmm14, xmm7
subss xmm7, xmm1
mulss xmm8, xmm6
mulss xmm7, xmm9
addss xmm8, xmm0
addss xmm7, xmm1
subss xmm8, xmm13
subss xmm7, xmm14
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
call fcn.1800165c0
ucomiss xmm6, xmm15
movss xmm10, dword [rsp + 0x48]
jp 0x180017540
jne 0x180017540
movaps xmm0, xmm10
subss xmm0, xmm8
subss xmm13, xmm0
ucomiss xmm9, xmm15
movss xmm6, dword [rsp + 0x4c]
jp 0x1800175ae
jne 0x1800175ae
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
jmp 0x1800175ae
movaps xmm7, xmm8
cmp ebx, 1
jne 0x180017576
mov rax, qword [rbp + 0xa8]
movss xmm8, dword [rax]
jmp 0x18001743c
cmp ebx, 2
jne 0x18001758c
mov rax, qword [rbp + 0xa8]
movss xmm2, dword [rax + 0xc]
jmp 0x180017440
movaps xmm2, xmm12
test ebx, ebx
jne 0x180017440
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax + 8]
jmp 0x180017444
mov rsi, qword [rsp + 0x38]
movss xmm8, dword [0x180054258]
add rsi, 0x1c
inc ebx
mov qword [rsp + 0x38], rsi
sub qword [rsp + 0x40], 1
jne 0x180017370
mov rax, qword [0x18005f058]
mov r15, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rax + 0x1c20]
dec dword [rcx + 0xc8]
mov dword [rdi + 0x12c], 0
mov rax, qword [r13 + 0x1f88]
test rax, rax
je 0x180017796
cmp qword [rax + 0x350], rdi
jne 0x180017796
mov eax, dword [r13 + 0x1e58]
cmp eax, 2
jne 0x180017645
cmp byte [r13 + 0x141], 0
je 0x180017796
lea edx, [rax - 1]
lea rcx, [rsp + 0x68]
jmp 0x180017656
cmp eax, 3
jne 0x180017796
lea edx, [rax + 1]
lea rcx, [rsp + 0x50]
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm15
xor r8d, r8d
call fcn.18001e930
xorps xmm2, xmm2
movss xmm15, dword [rax]
ucomiss xmm15, xmm2
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x34], xmm0
jp 0x18001768f
jne 0x18001768f
ucomiss xmm0, xmm2
jp 0x18001768f
je 0x180017799
movss xmm0, dword [r13 + 0x18]
lea rcx, [rbp - 0x78]
mulss xmm0, dword [0x180054214]
movss xmm1, dword [r13 + 0xc0]
minss xmm1, dword [r13 + 0xc4]
movss xmm7, dword [rdi + 0x10]
movss xmm9, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0x1c]
movss xmm6, dword [rdi + 0x18]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm11, eax
mov rax, qword [rbp + 0xa8]
cvtdq2ps xmm11, xmm11
movss xmm8, dword [rax]
movss xmm12, dword [rax + 4]
mov rax, qword [0x18005f058]
mov byte [r13 + 0x1fa8], 0
mov byte [r13 + 0x1e63], 1
movups xmm0, xmmword [rax + 0x1838]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1570]
movss dword [rbp - 0x6c], xmm0
call fcn.18000f2e0
mov rcx, qword [rsp + 0x70]
subss xmm8, xmm7
movss xmm0, dword [rsp + 0x34]
subss xmm12, xmm9
mulss xmm15, xmm11
lea r8, [rsp + 0x40]
mov rdx, rdi
mulss xmm0, xmm11
mov dword [rcx], eax
lea rcx, [rsp + 0x70]
subss xmm8, xmm6
subss xmm12, xmm10
maxss xmm15, xmm8
maxss xmm0, xmm12
addss xmm15, dword [rdi + 0x20]
addss xmm0, dword [rdi + 0x24]
movss dword [rsp + 0x40], xmm15
movss dword [rsp + 0x44], xmm0
call fcn.1800165c0
movss xmm12, dword [0x180054230]
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
xorps xmm2, xmm2
ucomiss xmm10, xmm12
movaps xmm15, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
jp 0x1800177cd
je 0x1800177fa
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18005f058]
movss dword [rdi + 0x20], xmm10
movss dword [rdi + 0x24], xmm6
jne 0x1800177fa
comiss xmm2, dword [rcx + 0x30d4]
jb 0x1800177fa
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30d4], eax
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x130]
ucomiss xmm13, xmm12
movaps xmm12, xmmword [rsp + 0xd0]
jp 0x18001781c
je 0x180017860
test dword [rdi + 0xc], 0x100
mov rdx, qword [0x18005f058]
cvttss2si eax, xmm13
movd xmm1, eax
cvttss2si eax, xmm14
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
jne 0x180017860
comiss xmm2, dword [rdx + 0x30d4]
jb 0x180017860
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x30d4], ecx
movsd xmm0, qword [rdi + 0x20]
movzx eax, byte [rsp + 0x32]
movaps xmm14, xmmword [rsp + 0xb0]
movaps xmm13, xmmword [rsp + 0xc0]
movsd qword [rdi + 0x18], xmm0
jmp 0x180017885
xor al, al
mov rcx, qword [rbp - 0x68]
xor rcx, rsp
call fcn.18004ad00
add rsp, 0x150
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret