Function at 0x1800583b0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x68]
sub rsp, 0x168
test byte [rcx + 0x14], 0x42
mov ebx, r9d
mov r14, qword [0x18009e828]
mov rdi, rcx
jne 0x180058ed8
cmp byte [rcx + 0xd0], 0
jg 0x180058ed8
cmp byte [rcx + 0xd1], 0
jg 0x180058ed8
cmp byte [rcx + 0xb7], 0
je 0x180058ed8
movss xmm1, dword [r14 + 0x3c20]
movss xmm0, dword [rcx + 0x58]
movaps xmm2, xmm1
mulss xmm1, dword [0x18000f088]
mov qword [rax - 0x28], rsi
mulss xmm2, dword [0x180011560]
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
movzx r15d, byte [r14 + 0x7e]
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movss xmm8, dword [0x18000a6dc]
movaps xmmword [rax - 0x88], xmm9
addss xmm0, xmm8
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
xorps xmm14, xmm14
movaps xmmword [rax - 0xe8], xmm15
mov byte [rsp + 0x32], 0
addss xmm0, xmm1
mov byte [rsp + 0x31], r15b
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x180011550]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
movss dword [rsp + 0x38], xmm9
test r15b, r15b
je 0x1800584d0
movss xmm15, dword [0x18000d4d8]
jmp 0x1800584d4
xorps xmm15, xmm15
movss xmm12, dword [0x180011580]
movaps xmm7, xmm12
mov dword [rcx + 0x158], 1
movaps xmm6, xmm12
movss dword [rsp + 0x48], xmm7
lea rcx, [0x1800106a0]
movss dword [rsp + 0x40], xmm6
mov qword [rsp + 0x158], r12
mov dword [rsp + 0x4c], 0x7f7fffff
mov dword [rsp + 0x44], 0x7f7fffff
call fcn.180050bc0
mov r13, qword [rbp + 0xb8]
lea r9, [0x18000fbe0]
movss xmm13, dword [0x18001158c]
xor esi, esi
test ebx, ebx
jle 0x180058916
mov rax, qword [rbp + 0xb0]
lea r15, [0x1800105c4]
movaps xmmword [rsp + 0xf0], xmm10
mov qword [rsp + 0x50], rax
movaps xmmword [rsp + 0xe0], xmm11
nop word [rax + rax]
movss xmm0, dword [rdi + 0x20]
movss xmm1, dword [rdi + 0x24]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x28]
movaps xmm2, xmm1
addss xmm2, dword [rdi + 0x2c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [r15 - 4]
mulss xmm2, dword [r15]
addss xmm3, xmm0
movss xmm0, dword [r15 + 4]
movaps xmm5, xmm0
mulss xmm0, xmm15
addss xmm2, xmm1
mulss xmm5, xmm9
movss xmm1, dword [r15 + 8]
movaps xmm4, xmm1
mulss xmm1, xmm15
addss xmm5, xmm3
mulss xmm4, xmm9
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 0x180058604
movss dword [rsp + 0x58], xmm5
movss dword [rsp + 0x60], xmm3
comiss xmm2, xmm4
jbe 0x180058615
movss dword [rsp + 0x5c], xmm4
movss dword [rsp + 0x64], xmm2
movsxd rcx, dword [rdi + 0xf0]
xor r8d, r8d
mov rax, qword [rdi + 0xf8]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, sil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
shr eax, 8
movzx edx, al
mov eax, esi
xor ebx, dword [r9 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
movzx edx, al
xor rdx, rcx
shr ebx, 8
mov eax, esi
shr rax, 0x18
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r9 + rcx*4]
mov r9d, 8
not ebx
lea rcx, [rsp + 0x58]
mov edx, ebx
call fcn.18004b1a0
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.18007d0a0
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rbp + 0x90]
test dl, dl
jne 0x1800586c6
test cl, cl
je 0x180058879
mov eax, esi
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x4a78], eax
test cl, cl
je 0x180058879
cmp word [r14 + 0x3752], 2
jne 0x18005873f
test esi, esi
jne 0x18005873f
mov r8, qword [rbp + 0x98]
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.180044f60
mov byte [rsp + 0x32], 1
movss xmm6, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x44], xmm0
call fcn.180045370
movzx ecx, byte [rbp + 0x90]
movzx edx, byte [rsp + 0x30]
test cl, cl
je 0x18005888d
mov ecx, 0x20
jmp 0x180058898
movss xmm11, dword [r15]
ucomiss xmm11, xmm8
jp 0x180058754
jne 0x180058754
movss xmm7, dword [r13 + 4]
jmp 0x180058758
movaps xmm7, xmm13
movss xmm9, dword [r15 - 4]
ucomiss xmm9, xmm8
jp 0x18005876e
jne 0x18005876e
movss xmm6, dword [r13]
jmp 0x180058772
movaps xmm6, xmm13
ucomiss xmm11, xmm14
jp 0x180058782
jne 0x180058782
movss xmm10, dword [r13 + 0xc]
jmp 0x180058786
movaps xmm10, xmm12
ucomiss xmm9, xmm14
jp 0x180058796
jne 0x180058796
movss xmm8, dword [r13 + 8]
jmp 0x18005879a
movaps xmm8, xmm12
movss xmm0, dword [r15 + 4]
movss xmm4, dword [rsp + 0x38]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x1800115e0]
movss xmm2, dword [r15 + 8]
movaps xmm5, xmm4
mulss xmm5, xmm0
movaps xmm3, xmm2
movss xmm0, dword [r14 + 0xe08]
subss xmm0, dword [r14 + 0x3f6c]
mulss xmm1, xmm15
mulss xmm4, xmm2
subss xmm5, xmm1
mulss xmm3, xmm15
subss xmm4, xmm3
mulss xmm5, xmm9
addss xmm5, xmm1
mulss xmm4, xmm11
movss xmm1, dword [r14 + 0xe0c]
subss xmm1, dword [r14 + 0x3f70]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x180058821
movaps xmm7, xmm10
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x18005882e
movaps xmm6, xmm8
minss xmm6, xmm5
unpcklps xmm6, xmm7
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
movsd qword [rsp + 0x68], xmm6
lea r8, [r15 - 4]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.180044940
movzx ecx, byte [rbp + 0x90]
movzx edx, byte [rsp + 0x30]
movss xmm6, dword [rsp + 0x40]
movss xmm8, dword [0x18000a6dc]
movss xmm9, dword [rsp + 0x38]
test esi, esi
je 0x18005872d
test cl, cl
jne 0x180058735
test dl, dl
je 0x1800588d2
xor ecx, ecx
test dl, dl
setne cl
add rcx, 0x1e
mov rax, qword [0x18009e828]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x38b8]
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rsp + 0x74], xmm0
call fcn.1800457c0
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
add qword [rsp + 0x50], 4
lea r9, [0x18000fbe0]
inc esi
add r15, 0x18
cmp esi, dword [rbp + 0xa8]
jl 0x180058570
movaps xmm11, xmmword [rsp + 0xe0]
lea r9, [0x18000fbe0]
movaps xmm10, xmmword [rsp + 0xf0]
movss xmm7, dword [rsp + 0x48]
movzx r15d, byte [rsp + 0x31]
movaps xmm15, xmmword [rsp + 0xa0]
xor esi, esi
neg r15b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x68], rax
jbe 0x180058b62
movss xmm6, dword [0x18001152c]
lea r15, [0x180010634]
movss xmm7, dword [0x18000d4d8]
nop dword [rax]
cmp esi, 1
jbe 0x180058973
mov r12d, 3
mov qword [rsp + 0x50], 0xe0c
mov qword [rbp - 0x80], 0x3f70
lea rax, [rsp + 0x3c]
jmp 0x18005898f
mov r12d, 4
mov qword [rsp + 0x50], 0xe08
mov qword [rbp - 0x80], 0x3f6c
lea rax, [rsp + 0x38]
movaps xmm3, xmm9
movss dword [rsp + 0x20], xmm7
mov r8d, esi
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180048aa0
mov rax, qword [rdi + 0xf8]
lea edx, [rsi + 4]
movsxd rcx, dword [rdi + 0xf0]
mov r8d, edx
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, edx
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [r9 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr r8, 0x18
shr eax, 0x10
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
xor r8, rcx
shr ebx, 8
lea rcx, [rbp - 0x78]
xor ebx, dword [r9 + r8*4]
mov r9d, 8
not ebx
xor r8d, r8d
mov edx, ebx
call fcn.18004b1a0
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.18007d0a0
cmp byte [rsp + 0x31], 0
movzx eax, byte [rbp + 0x90]
je 0x180058a64
movss xmm0, dword [r14 + 0x3f50]
comiss xmm0, xmm6
ja 0x180058a6c
test al, al
je 0x180058b3d
mov dword [r14 + 0x4a78], r12d
test al, al
je 0x180058b3d
mov rax, qword [rbp + 0xa0]
mov dword [rax], esi
cmp esi, 3
jne 0x180058c09
movss xmm2, dword [r13 + 4]
movaps xmm3, xmm13
movaps xmm4, xmm12
movaps xmm5, xmm12
mov rax, qword [rsp + 0x50]
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x38], xmm0
movss xmm1, dword [rax + r14]
mov rax, qword [rbp - 0x80]
subss xmm1, dword [rax + r14]
mov rax, qword [rsp + 0x58]
addss xmm1, xmm7
movss dword [rax], xmm1
movss xmm0, dword [rsp + 0x3c]
comiss xmm2, xmm0
ja 0x180058ade
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm3, xmm0
ja 0x180058af0
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm1, dword [r15 - 0xc]
lea rax, [rsp + 0x40]
movss xmm0, dword [r15 - 8]
lea r9, [rsp + 0x48]
minss xmm1, dword [r15 - 4]
minss xmm0, dword [r15]
unpcklps xmm3, xmm2
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x38]
movsd qword [rsp + 0x38], xmm3
mov rcx, rdi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm0
call fcn.180044940
inc esi
lea r9, [0x18000fbe0]
add r15, 0x1c
sub qword [rsp + 0x68], 1
jne 0x180058950
movss xmm7, dword [rsp + 0x48]
movss xmm6, dword [rsp + 0x40]
mov rax, qword [0x18009e828]
movaps xmm13, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x148]
mov r12, qword [rsp + 0x158]
mov rcx, qword [rax + 0x3ef8]
mov rsi, qword [rsp + 0x160]
dec dword [rcx + 0xf0]
mov dword [rdi + 0x158], 0
mov rax, qword [r14 + 0x4a40]
test rax, rax
je 0x180058df8
cmp qword [rax + 0x378], rdi
jne 0x180058df8
mov eax, dword [r14 + 0x490c]
movaps xmm2, xmm14
movaps xmm3, xmm14
cmp eax, 2
jne 0x180058c48
cmp byte [r14 + 0xe25], 0
je 0x180058c74
mov rax, qword [0x18009e828]
movss xmm3, dword [rax + 0x2e78]
movss xmm2, dword [rax + 0x2e58]
subss xmm3, dword [rax + 0x2e68]
subss xmm2, dword [rax + 0x2e48]
jmp 0x180058c74
movaps xmm2, xmm13
cmp esi, 1
jne 0x180058c1d
movss xmm3, dword [r13]
jmp 0x180058a97
movaps xmm3, xmm13
cmp esi, 2
jne 0x180058c31
movss xmm4, dword [r13 + 0xc]
jmp 0x180058a9b
movaps xmm4, xmm12
test esi, esi
jne 0x180058a9b
movss xmm5, dword [r13 + 8]
jmp 0x180058a9f
cmp eax, 3
jne 0x180058c74
mov rax, qword [0x18009e828]
movss xmm3, dword [rax + 0x3558]
movss xmm2, dword [rax + 0x3538]
subss xmm3, dword [rax + 0x3548]
subss xmm2, dword [rax + 0x3528]
ucomiss xmm2, xmm14
jp 0x180058c88
jne 0x180058c88
ucomiss xmm3, xmm14
jp 0x180058c88
je 0x180058df8
movss xmm1, dword [r14 + 0x70]
lea rcx, [rbp - 0x78]
minss xmm1, dword [r14 + 0x74]
movss xmm0, dword [r14 + 0x18]
mulss xmm0, dword [0x180011574]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [r14 + 0x4a6c]
addss xmm3, dword [r14 + 0x4a70]
movss dword [r14 + 0x4a6c], xmm2
movss dword [r14 + 0x4a70], xmm3
movss xmm0, dword [r13]
subss xmm0, dword [rdi + 0x20]
movss xmm1, dword [r13 + 4]
subss xmm1, dword [rdi + 0x24]
subss xmm0, dword [rdi + 0x28]
subss xmm1, dword [rdi + 0x2c]
mov byte [r14 + 0x4a60], 0
mov byte [r14 + 0x4917], 1
maxss xmm2, xmm0
maxss xmm3, xmm1
movss dword [r14 + 0x4a6c], xmm2
movss dword [r14 + 0x4a70], xmm3
mov rax, qword [0x18009e828]
movups xmm0, xmmword [rax + 0x3ab8]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rbp - 0x6c], xmm0
call fcn.1800457c0
mov rcx, qword [rbp + 0xb0]
mov dword [rcx], eax
cvttss2si eax, dword [r14 + 0x4a6c]
movd xmm9, eax
cvttss2si eax, dword [r14 + 0x4a70]
cvtdq2ps xmm9, xmm9
movd xmm8, eax
ucomiss xmm9, xmm14
cvtdq2ps xmm8, xmm8
jp 0x180058d85
jne 0x180058d85
ucomiss xmm8, xmm14
jp 0x180058d85
je 0x180058df8
movaps xmm0, xmm9
lea r8, [rbp + 0x90]
addss xmm0, dword [rdi + 0x30]
movaps xmm1, xmm8
lea rcx, [rsp + 0x68]
addss xmm1, dword [rdi + 0x34]
mov rdx, rdi
movss dword [rbp + 0x90], xmm0
movss dword [rbp + 0x94], xmm1
call fcn.180044f60
movss xmm1, dword [r14 + 0x4a6c]
subss xmm1, xmm9
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [r14 + 0x4a70]
subss xmm0, xmm8
movss dword [r14 + 0x4a6c], xmm1
movss dword [r14 + 0x4a70], xmm0
ucomiss xmm6, xmm12
mov r13, qword [rsp + 0x150]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
jp 0x180058e1a
je 0x180058e4d
test dword [rdi + 0x14], 0x100
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x34], xmm0
movss dword [rdi + 0x30], xmm6
mov rcx, qword [0x18009e828]
jne 0x180058e4d
comiss xmm14, dword [rcx + 0x5bec]
jb 0x180058e4d
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5bec], eax
movaps xmm6, xmmword [rsp + 0x130]
ucomiss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0xd0]
jp 0x180058e66
je 0x180058eab
test dword [rdi + 0x14], 0x100
cvttss2si eax, xmm7
movd xmm1, eax
cvttss2si eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x20], xmm1
movss dword [rdi + 0x24], xmm0
mov rdx, qword [0x18009e828]
jne 0x180058eab
comiss xmm14, dword [rdx + 0x5bec]
jb 0x180058eab
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x5bec], ecx
movsd xmm0, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x32]
movaps xmm14, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0x120]
movsd qword [rdi + 0x28], xmm0
add rsp, 0x168
pop r14
pop rdi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x168
pop r14
pop rdi
pop rbx
pop rbp
ret