Function at 0x180018140
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 rsi
push r14
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov r14, qword [0x180188c98]
mov rsi, rcx
mov ecx, dword [rcx + 0x14]
mov ebx, r9d
test cl, 0x42
jne 0x180018cc4
cmp byte [rsi + 0xd0], 0
jg 0x180018cc4
cmp byte [rsi + 0xd1], 0
jg 0x180018cc4
cmp byte [rsi + 0xb7], 0
je 0x180018cc4
movss xmm1, dword [r14 + 0x3c70]
movss xmm0, dword [rsi + 0x58]
movaps xmm2, xmm1
mulss xmm1, dword [0x1801110a8]
mov qword [rax - 0x28], rdi
mulss xmm2, dword [0x180111128]
mov qword [rax - 0x40], r15
movzx r15d, byte [r14 + 0x5e]
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
xorps xmm8, xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
xorps xmm13, xmm13
movaps xmmword [rax - 0xe8], xmm15
movss xmm15, dword [0x18011110c]
movaps xmmword [rax - 0xd8], xmm14
addss xmm0, xmm15
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x31], r15b
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x1801110e8]
cvttss2si eax, xmm0
cvtsi2ss xmm8, eax
movss dword [rsp + 0x38], xmm8
test r15b, r15b
je 0x180018266
movss xmm14, dword [0x180111198]
jmp 0x18001826a
xorps xmm14, xmm14
cmp byte [r14 + 0x5f], 0
mov rax, qword [rbp + 0xb8]
movaps xmmword [rsp + 0xf0], xmm10
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
je 0x1800182ab
test cl, 1
jne 0x1800182ab
mov rcx, rsi
mov byte [rbp + 0x90], 1
call fcn.18000b040
movss xmm10, dword [rsp + 0x74]
subss xmm10, xmm0
jmp 0x1800182b9
movss xmm10, dword [rsp + 0x74]
mov byte [rbp + 0x90], 0
movss xmm12, dword [0x18011133c]
lea rcx, str.RESIZE
movaps xmm7, xmm12
mov qword [rsp + 0x158], r12
movaps xmm6, xmm12
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x48], xmm10
mov qword [rsp + 0x150], r13
mov dword [rsp + 0x54], 0x7f7fffff
mov dword [rsp + 0x44], 0x7f7fffff
mov dword [rsi + 0x158], 1
call fcn.18001ce50
movss xmm11, dword [rsp + 0x70]
lea r9, [0x180103030]
movss xmm9, dword [0x1801113a4]
xor edi, edi
test ebx, ebx
jle 0x1800186f2
mov rax, qword [rbp + 0xb0]
lea r15, [0x180102fd4]
mov qword [rsp + 0x58], rax
nop word [rax + rax]
movss xmm0, dword [rsi + 0x20]
movss xmm1, dword [rsi + 0x24]
movaps xmm3, xmm0
addss xmm3, dword [rsi + 0x28]
movaps xmm2, xmm1
addss xmm2, dword [rsi + 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, xmm14
addss xmm2, xmm1
mulss xmm5, xmm8
movss xmm1, dword [r15 + 8]
movaps xmm4, xmm1
mulss xmm1, xmm14
addss xmm5, xmm3
mulss xmm4, xmm8
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x68], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x6c], xmm4
jbe 0x1800183e4
movss dword [rsp + 0x60], xmm5
movss dword [rsp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x1800183f5
movss dword [rsp + 0x64], xmm4
movss dword [rsp + 0x6c], xmm2
movsxd rcx, dword [rsi + 0xf0]
xor r8d, r8d
mov rax, qword [rsi + 0xf8]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, edi
shr eax, 8
movzx edx, al
mov eax, edi
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, edi
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 + 0x60]
mov edx, ebx
call fcn.18001f440
lea r9, [rsp + 0x33]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.180041af0
movzx r13d, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x33]
test r13b, r13b
jne 0x1800184a4
test bl, bl
je 0x18001864d
mov eax, edi
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x4c88], eax
test bl, bl
je 0x18001864d
cmp word [r14 + 0x374a], 2
jne 0x180018510
test edi, edi
jne 0x180018510
mov r8, qword [rbp + 0x98]
lea rcx, [rbp - 0x70]
mov rdx, rsi
call fcn.180017930
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.180013c50
test bl, bl
je 0x18001866b
mov eax, 0x20
jmp 0x180018677
movss xmm8, dword [r15]
ucomiss xmm8, xmm15
jp 0x18001851d
je 0x18001852e
ucomiss xmm8, xmm13
jp 0x180018534
jne 0x180018534
cmp byte [rbp + 0x90], 0
je 0x180018534
movaps xmm7, xmm10
jmp 0x180018538
movaps xmm7, xmm9
movss xmm11, dword [r15 - 4]
ucomiss xmm11, xmm15
jp 0x18001854e
jne 0x18001854e
movss xmm6, dword [rsp + 0x70]
jmp 0x180018552
movaps xmm6, xmm9
ucomiss xmm8, xmm13
jp 0x180018563
jne 0x180018563
movss xmm10, dword [rsp + 0x7c]
jmp 0x180018567
movaps xmm10, xmm12
ucomiss xmm11, xmm13
jp 0x180018578
jne 0x180018578
movss xmm9, dword [rsp + 0x78]
jmp 0x18001857c
movaps xmm9, xmm12
movss xmm0, dword [r15 + 4]
movss xmm4, dword [rsp + 0x38]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x180111930]
movss xmm2, dword [r15 + 8]
movaps xmm5, xmm4
mulss xmm5, xmm0
movaps xmm3, xmm2
movss xmm0, dword [r14 + 0xe00]
subss xmm0, dword [r14 + 0x3fbc]
mulss xmm1, xmm14
mulss xmm4, xmm2
subss xmm5, xmm1
mulss xmm3, xmm14
subss xmm4, xmm3
mulss xmm5, xmm11
addss xmm5, xmm1
mulss xmm4, xmm8
movss xmm1, dword [r14 + 0xe04]
subss xmm1, dword [r14 + 0x3fc0]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x180018603
movaps xmm7, xmm10
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x180018610
movaps xmm6, xmm9
minss xmm6, xmm5
unpcklps xmm6, xmm7
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
movsd qword [rbp - 0x80], xmm6
lea r8, [r15 - 4]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180017ec0
movss xmm6, dword [rsp + 0x40]
movss xmm9, dword [0x1801113a4]
movss xmm8, dword [rsp + 0x38]
test edi, edi
je 0x1800184fe
test bl, bl
jne 0x180018506
test r13b, r13b
jne 0x18001866b
mov r8, qword [0x180188c98]
jmp 0x1800186b0
xor eax, eax
test r13b, r13b
setne al
add rax, 0x1e
mov r8, qword [0x180188c98]
lea rcx, [rbp - 0x80]
add rax, rax
movups xmm0, xmmword [r8 + rax*8 + 0x38b0]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r8 + 0x37c8]
movss dword [rbp - 0x74], xmm0
call fcn.18000fc00
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
add qword [rsp + 0x58], 4
lea r9, [0x180103030]
movss xmm10, dword [rsp + 0x48]
inc edi
add r15, 0x18
cmp edi, dword [rbp + 0xa8]
jl 0x180018350
movss xmm7, dword [rsp + 0x50]
lea r9, [0x180103030]
movss xmm11, dword [rsp + 0x70]
movzx r15d, byte [rsp + 0x31]
jmp 0x1800186f9
mov r8, qword [0x180188c98]
movaps xmm15, xmmword [rsp + 0xa0]
xor edi, edi
movaps xmm14, xmmword [rsp + 0xb0]
neg r15b
movss xmm8, dword [rsp + 0x48]
sbb rax, rax
and eax, 4
mov qword [rbp - 0x80], rax
jbe 0x180018979
movss xmm6, dword [0x180111070]
lea r15, [0x180102e24]
movss xmm7, dword [rsp + 0x78]
movss xmm13, dword [rsp + 0x38]
movss xmm10, dword [0x180111198]
nop dword [rax]
cmp edi, 1
jbe 0x180018771
mov r12d, 3
mov qword [rsp + 0x58], 0x3fc0
mov r13d, 0xe04
lea rax, [rsp + 0x3c]
jmp 0x18001878b
mov r12d, 4
mov qword [rsp + 0x58], 0x3fbc
mov r13d, 0xe00
lea rax, [rsp + 0x38]
movaps xmm3, xmm13
movss dword [rsp + 0x20], xmm10
mov r8d, edi
mov qword [rsp + 0x48], rax
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180018000
mov rax, qword [rsi + 0xf8]
lea edx, [rdi + 4]
movsxd rcx, dword [rsi + 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, [rsp + 0x60]
xor ebx, dword [r9 + r8*4]
mov r9d, 8
not ebx
xor r8d, r8d
mov edx, ebx
call fcn.18001f440
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.180041af0
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x180018860
movss xmm0, dword [r14 + 0x3fa0]
comiss xmm0, xmm6
ja 0x180018868
test al, al
je 0x18001894a
mov dword [r14 + 0x4c88], r12d
test al, al
je 0x18001894a
mov rax, qword [rbp + 0xa0]
mov dword [rax], edi
cmp edi, 3
je 0x180018899
cmp edi, 2
jne 0x180018893
cmp byte [rbp + 0x90], 0
jne 0x180018899
movaps xmm3, xmm9
jmp 0x18001889d
movaps xmm3, xmm8
cmp edi, 1
jne 0x180018a1a
movaps xmm2, xmm11
movaps xmm4, xmm12
movaps xmm5, xmm12
mov rax, qword [rsp + 0x58]
movsd xmm0, qword [rsi + 0x20]
movss xmm1, dword [r14 + r13]
movsd qword [rsp + 0x38], xmm0
subss xmm1, dword [rax + r14]
mov rax, qword [rsp + 0x48]
addss xmm1, xmm10
movss dword [rax], xmm1
movss xmm0, dword [rsp + 0x3c]
comiss xmm3, xmm0
ja 0x1800188ee
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm2, xmm0
ja 0x180018900
movaps xmm2, xmm5
minss xmm2, xmm0
movss xmm1, dword [r15 - 0xc]
lea rax, [rsp + 0x40]
movss xmm0, dword [r15 - 8]
lea r9, [rsp + 0x50]
minss xmm1, dword [r15 - 4]
minss xmm0, dword [r15]
unpcklps xmm2, xmm3
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x38]
movsd qword [rsp + 0x38], xmm2
mov rcx, rsi
mov qword [rsp + 0x20], rax
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm0
call fcn.180017ec0
inc edi
lea r9, [0x180103030]
add r15, 0x1c
sub qword [rbp - 0x80], 1
jne 0x180018750
movss xmm7, dword [rsp + 0x50]
xorps xmm13, xmm13
movss xmm6, dword [rsp + 0x40]
mov r8, qword [0x180188c98]
mov rax, qword [r8 + 0x3f48]
movaps xmm10, xmmword [rsp + 0xf0]
mov r15, qword [rsp + 0x148]
mov r13, qword [rsp + 0x150]
dec dword [rax + 0xf0]
mov r12, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x160]
mov dword [rsi + 0x158], 0
mov rax, qword [r14 + 0x4ac8]
test rax, rax
je 0x180018bed
cmp qword [rax + 0x378], rsi
jne 0x180018bed
mov eax, dword [r14 + 0x4974]
movaps xmm2, xmm13
movaps xmm3, xmm13
cmp eax, 2
jne 0x180018a42
cmp byte [r14 + 0xe1d], 0
je 0x180018a6b
movss xmm3, dword [r8 + 0x2e70]
movss xmm2, dword [r8 + 0x2e50]
subss xmm3, dword [r8 + 0x2e60]
subss xmm2, dword [r8 + 0x2e40]
jmp 0x180018a6b
movaps xmm2, xmm9
cmp edi, 2
jne 0x180018a2e
movss xmm4, dword [rsp + 0x7c]
jmp 0x1800188ae
movaps xmm4, xmm12
test edi, edi
jne 0x1800188ae
movaps xmm5, xmm7
jmp 0x1800188b2
cmp eax, 3
jne 0x180018a6b
movss xmm3, dword [r8 + 0x3550]
movss xmm2, dword [r8 + 0x3530]
subss xmm3, dword [r8 + 0x3540]
subss xmm2, dword [r8 + 0x3520]
ucomiss xmm2, xmm13
jp 0x180018a7f
jne 0x180018a7f
ucomiss xmm3, xmm13
jp 0x180018a7f
je 0x180018bed
movss xmm1, dword [r14 + 0x50]
lea rcx, [rsp + 0x70]
minss xmm1, dword [r14 + 0x54]
movss xmm0, dword [r14 + 0x18]
mulss xmm0, dword [0x180111308]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [r14 + 0x4af4]
addss xmm3, dword [r14 + 0x4af8]
movss dword [r14 + 0x4af4], xmm2
movss dword [r14 + 0x4af8], xmm3
subss xmm11, dword [rsi + 0x20]
subss xmm8, dword [rsi + 0x24]
subss xmm11, dword [rsi + 0x28]
subss xmm8, dword [rsi + 0x2c]
mov byte [r14 + 0x4ae8], 0
mov byte [r14 + 0x497f], 1
maxss xmm2, xmm11
maxss xmm3, xmm8
movss dword [r14 + 0x4af4], xmm2
movss dword [r14 + 0x4af8], xmm3
movups xmm0, xmmword [r8 + 0x3ab0]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r8 + 0x37c8]
movss dword [rsp + 0x7c], xmm0
call fcn.18000fc00
mov rcx, qword [rbp + 0xb0]
mov dword [rcx], eax
cvttss2si eax, dword [r14 + 0x4af4]
movd xmm9, eax
cvttss2si eax, dword [r14 + 0x4af8]
cvtdq2ps xmm9, xmm9
movd xmm8, eax
ucomiss xmm9, xmm13
cvtdq2ps xmm8, xmm8
jp 0x180018b74
jne 0x180018b74
ucomiss xmm8, xmm13
jp 0x180018b74
je 0x180018bed
movaps xmm0, xmm9
lea r8, [rbp + 0x90]
addss xmm0, dword [rsi + 0x30]
movaps xmm1, xmm8
lea rcx, [rbp - 0x80]
addss xmm1, dword [rsi + 0x34]
mov rdx, rsi
movss dword [rbp + 0x90], xmm0
movss dword [rbp + 0x94], xmm1
call fcn.180017930
movss xmm1, dword [r14 + 0x4af4]
mov r8, qword [0x180188c98]
subss xmm1, xmm9
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [r14 + 0x4af8]
subss xmm0, xmm8
movss dword [r14 + 0x4af4], xmm1
movss dword [r14 + 0x4af8], xmm0
ucomiss xmm6, xmm12
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
jp 0x180018c10
je 0x180018c3e
test dword [rsi + 0x14], 0x100
movss xmm0, dword [rsp + 0x44]
movss dword [rsi + 0x34], xmm0
movss dword [rsi + 0x30], xmm6
jne 0x180018c3e
comiss xmm13, dword [r8 + 0x5c7c]
jb 0x180018c3e
mov eax, dword [r8 + 0x1c]
mov dword [r8 + 0x5c7c], eax
movaps xmm6, xmmword [rsp + 0x130]
ucomiss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0xd0]
jp 0x180018c57
je 0x180018c97
test dword [rsi + 0x14], 0x100
cvttss2si eax, xmm7
movd xmm1, eax
cvttss2si eax, dword [rsp + 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x20], xmm1
movss dword [rsi + 0x24], xmm0
jne 0x180018c97
comiss xmm13, dword [r8 + 0x5c7c]
jb 0x180018c97
mov ecx, dword [r8 + 0x1c]
mov dword [r8 + 0x5c7c], ecx
movsd xmm0, qword [rsi + 0x30]
movzx eax, byte [rsp + 0x32]
movaps xmm13, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0x120]
movsd qword [rsi + 0x28], xmm0
add rsp, 0x168
pop r14
pop rsi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x168
pop r14
pop rsi
pop rbx
pop rbp
ret