Function at 0x180016a70
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x180112a30]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x68], xmm8
movsxd rax, dword [rdi + 0x4878]
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
test eax, eax
jle 0x180016aef
lea rdx, [rax - 1]
mov rax, qword [rdi + 0x4880]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop word [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x180016ae5
test dword [rsi + 0x14], 0x8000000
jne 0x180016bae
sub r8, 0x38
sub rdx, 1
jns 0x180016ad0
mov rax, qword [rdi + 0x4a18]
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rdi + 0x4a20], r9
je 0x180016b48
test rax, rax
jne 0x180016b48
comiss xmm8, dword [rdi + 0x4a4c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a34]
mulss xmm0, dword [0x1800a55f0]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4a34], xmm1
jb 0x180016b48
comiss xmm8, xmm1
jb 0x180016b48
mov qword [rdi + 0x4a20], r9
mov r14d, 0xffffffff
lea rdx, [0x1800a5349]
mov ebx, r14d
lea r9, [0x1800a3aa0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180016b75
cmp byte [rdx], r8b
jne 0x180016b75
cmp byte [rdx + 1], r8b
cmove ebx, r14d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x180016b62
mov eax, dword [rdi + 8]
not ebx
mov r14, qword [rsp + 0x98]
test al, 2
je 0x180016bbd
test byte [rdi + 0xc], 1
je 0x180016bbd
mov bpl, 1
jmp 0x180016bc0
mov qword [rdi + 0x4a18], r9
mov rax, r9
jmp 0x180016af9
xor bpl, bpl
and al, 1
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x98], eax
test rsi, rsi
jne 0x180016bf8
mov ecx, dword [rdi + 0x4a10]
test ecx, ecx
je 0x180016bf8
mov r8d, 0x1001
mov edx, ebx
call fcn.18001e580
test al, al
je 0x180016bf8
mov r12b, 1
jmp 0x180016c00
xor r12b, r12b
test rsi, rsi
jne 0x180016c20
mov ecx, dword [rdi + 0x4a14]
test ecx, ecx
je 0x180016c20
mov r8d, 0x1001
mov edx, ebx
call fcn.18001e580
test al, al
je 0x180016c20
mov r13b, 1
jmp 0x180016c28
xor r13b, r13b
test rsi, rsi
jne 0x180016c50
test bpl, bpl
je 0x180016c50
cmp qword [rdi + 0x4a18], r14
jne 0x180016c50
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.180012bd0
test al, al
je 0x180016c50
mov r15b, 1
xor ebp, ebp
jmp 0x180016c64
mov rbp, qword [rdi + 0x4a18]
xor r15b, r15b
test rsi, rsi
jne 0x180016c73
test rbp, rbp
jne 0x180016c73
test r12b, r12b
jne 0x180016c6e
test r13b, r13b
je 0x180016c73
mov sil, 1
jmp 0x180016c76
xor sil, sil
test r15b, r15b
jne 0x180016c84
test sil, sil
je 0x180016d1b
mov rax, qword [rdi + 0x48b0]
test rax, rax
jne 0x180016cab
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.18000fc00
test rax, rax
je 0x180016d1b
mov rbp, qword [rax + 0x378]
xor eax, eax
mov qword [rdi + 0x4a30], rax
mov qword [rdi + 0x4a44], rax
mov qword [rdi + 0x4a3c], rax
movzx eax, sil
xor eax, 1
mov qword [rdi + 0x4a20], rbp
add eax, 2
mov qword [rdi + 0x4a18], rbp
mov byte [rdi + 0x4a38], r15b
mov dword [rdi + 0x48e4], eax
test r12b, r12b
jne 0x180016cf8
test r13b, r13b
je 0x180016d1b
mov ecx, dword [rdi + 0x4a14]
xor r8d, r8d
or ecx, dword [rdi + 0x4a10]
mov edx, ebx
and ecx, 0xf800
call fcn.18001dd40
mov rbp, qword [rdi + 0x4a18]
movss xmm0, dword [rdi + 0x18]
test rbp, rbp
addss xmm0, dword [rdi + 0x4a30]
movss xmm6, dword [0x1800a55c4]
movaps xmmword [rsp + 0x30], xmm7
mov r15, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xa0]
movss dword [rdi + 0x4a30], xmm0
je 0x180016e21
cmp dword [rdi + 0x48e4], 3
jne 0x180016e21
subss xmm0, dword [0x1800a558c]
divss xmm0, dword [0x1800a557c]
comiss xmm8, xmm0
jbe 0x180016d7c
movaps xmm1, xmm8
jmp 0x180016d83
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4a34]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4a34], xmm7
call fcn.180012bd0
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.180012bd0
movzx edx, al
mov ecx, ebx
sub ecx, edx
je 0x180016dd5
call fcn.180017350
mov dword [rdi + 0x4a34], 0x3f800000
movaps xmm7, xmm6
mov rax, qword [0x180112a30]
cmp byte [rax + 0x34dc], r14b
je 0x180016dee
cmp byte [rax + 0x4484], r14b
je 0x180016e21
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4a38], al
je 0x180016e0f
cmp qword [rdi + 0x48b0], r14
je 0x180016e16
mov byte [rsp + 0x90], 1
jmp 0x180016e16
mov r14, qword [rdi + 0x4a18]
mov qword [rdi + 0x4a18], 0
mov rdx, qword [rdi + 0x4a18]
test rdx, rdx
je 0x180016edc
cmp dword [rdi + 0x48e4], 2
jne 0x180016edc
mov eax, dword [rdi + 0x4a10]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a30]
test eax, eax
subss xmm0, dword [0x1800a558c]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4a14]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x1800a557c]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm8, xmm0
jbe 0x180016e90
movaps xmm6, xmm8
jmp 0x180016e94
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a34]
maxss xmm0, xmm6
movss dword [rdi + 0x4a34], xmm0
test r12b, r12b
jne 0x180016ec9
test r13b, r13b
jne 0x180016ec9
mov eax, dword [rdi + 0xe28]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x180016edc
mov r14, rdx
jmp 0x180016edc
movzx ecx, r12b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.180017350
cmp byte [rsp + 0x98], 0
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
je 0x180016f17
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180012bd0
test al, al
je 0x180016f17
mov byte [rdi + 0x4a38], 1
mov dword [rdi + 0x48e4], 2
cmp byte [rdi + 0x4a38], 0
je 0x18001704e
cmp dword [rdi + 0x48e4], 2
jne 0x18001704e
cmp dword [rdi + 0x37c0], 0
jg 0x180016f65
cmp byte [rdi + 0xe24], 0
jne 0x180016f65
cmp byte [rdi + 0xe25], 0
jne 0x180016f65
cmp byte [rdi + 0xe27], 0
jne 0x180016f65
mov rax, qword [0x180112a30]
cmp dword [rax + 0x45f0], 0xffffffff
je 0x180016f6c
mov byte [rdi + 0x4a38], 0
mov rcx, qword [0x180112a30]
comiss xmm8, dword [rcx + 0x36d4]
ja 0x18001702e
cmp byte [rcx + 0x36cc], 0
jne 0x18001702e
cmp byte [rcx + 0x45f8], 0
jne 0x180017047
cmp byte [rdi + 0x4a38], 0
je 0x18001702e
cmp dword [rdi + 0x3f30], 0
je 0x180016fba
cmp byte [rdi + 0x3f3d], 0
je 0x18001702e
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x180016fcd
lea rax, [rcx + 0xe08]
movss xmm0, dword [rax]
movss xmm1, dword [0x1800a562c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180016fec
comiss xmm2, xmm1
jb 0x180016fec
mov cl, 1
jmp 0x180016fee
xor cl, cl
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x180017007
mov rax, qword [0x180112a30]
add rax, 0xe08
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18001701e
comiss xmm2, xmm1
jb 0x18001701e
mov al, 1
jmp 0x180017020
xor al, al
cmp cl, al
jne 0x18001702e
mov byte [rsp + 0x90], 1
jmp 0x180017047
mov rax, qword [0x180112a30]
cmp byte [rax + 0x36cc], 0
je 0x180017047
cmp byte [rax + 0x45f8], 0
je 0x18001704e
mov byte [rdi + 0x4a38], 0
mov rax, qword [rdi + 0x4a18]
test rax, rax
je 0x1800171c8
test byte [rax + 0x14], 4
jne 0x1800171c8
mov eax, dword [rdi + 0x48e4]
cmp eax, 2
jne 0x1800170a9
cmp byte [rdi + 0xe25], 0
jne 0x1800171c8
mov rax, qword [0x180112a30]
movss xmm2, dword [rax + 0x2e58]
movss xmm3, dword [rax + 0x2e78]
subss xmm2, dword [rax + 0x2e48]
subss xmm3, dword [rax + 0x2e68]
jmp 0x1800170d9
cmp eax, 3
jne 0x1800171c8
mov rax, qword [0x180112a30]
movss xmm2, dword [rax + 0x35d8]
movss xmm3, dword [rax + 0x35f8]
subss xmm2, dword [rax + 0x35c8]
subss xmm3, dword [rax + 0x35e8]
ucomiss xmm2, xmm8
jp 0x1800170ed
jne 0x1800170ed
ucomiss xmm3, xmm8
jp 0x1800170ed
je 0x1800171c8
movss xmm1, dword [rdi + 0x70]
xorps xmm7, xmm7
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x1800a5618]
mov byte [rdi + 0x48ef], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a3c]
addss xmm3, dword [rdi + 0x4a40]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a3c], xmm2
movss dword [rdi + 0x4a40], xmm3
cvtsi2ss xmm7, eax
cvttss2si eax, xmm3
ucomiss xmm7, xmm8
cvtsi2ss xmm6, eax
jp 0x18001715d
jne 0x18001715d
ucomiss xmm6, xmm8
jp 0x18001715d
je 0x1800171c8
mov rax, qword [rdi + 0x4a18]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm7
movaps xmm1, xmm6
mov r8d, 1
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x98], xmm0
movss dword [rsp + 0x9c], xmm1
call fcn.18001e330
movss xmm0, dword [rdi + 0x4a3c]
movss xmm1, dword [rdi + 0x4a40]
subss xmm0, xmm7
subss xmm1, xmm6
movss dword [rdi + 0x4a3c], xmm0
movss dword [rdi + 0x4a40], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r14, r14
je 0x180017273
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x1800171f6
cmp r14, qword [rax + 0x378]
je 0x180017268
xor edx, edx
xor ecx, ecx
call fcn.18001d4b0
mov rax, qword [0x180112a30]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
mov rax, qword [r14 + 0x398]
test rax, rax
je 0x18001722d
cmp byte [rax + 0xb7], 0
cmovne r14, rax
xor edx, edx
mov rcx, r14
call fcn.18000cfa0
mov rcx, r14
call fcn.18000fdc0
cmp dword [r14 + 0x3a0], 0
jne 0x180017253
xor edx, edx
mov rcx, r14
call fcn.180013ff0
cmp word [r14 + 0x15e], 2
jne 0x180017268
mov dword [rdi + 0x48e8], 1
mov qword [rdi + 0x4a18], 0
cmp byte [rsp + 0x90], 0
mov r14, qword [rsp + 0x58]
je 0x18001733e
cmp qword [rdi + 0x48b0], 0
je 0x18001733e
xor edx, edx
xor ecx, ecx
call fcn.18001d4b0
mov rsi, qword [rdi + 0x48b0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x1800172dc
test byte [rbx + 0x15c], 2
jne 0x1800172dc
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1800172dc
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x1800172b4
cmp rbx, rsi
je 0x1800172f7
mov rcx, rbx
call fcn.18000fdc0
mov qword [rbx + 0x398], rsi
mov rsi, qword [rdi + 0x48b0]
test byte [rsi + 0x15c], 2
mov eax, dword [rdi + 0x48e8]
je 0x18001730d
mov ecx, eax
xor ecx, 1
jmp 0x18001730f
xor ecx, ecx
cmp ecx, eax
je 0x18001733e
cmp ecx, 1
jne 0x180017322
mov dword [rsi + 0x3a4], 0
call fcn.180014ad0
mov rax, qword [0x180112a30]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret