Function at 0x140016d10
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1401da878]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r15
mov eax, dword [rdi + 0x4878]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x140016d8f
movsxd rdx, eax
mov rax, qword [rdi + 0x4880]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x140016d85
test dword [rsi + 0x14], 0x8000000
jne 0x140016e4f
sub r8, 0x38
sub rdx, 1
jns 0x140016d70
mov rax, qword [rdi + 0x4a18]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4a20], r9
je 0x140016de4
test rax, rax
jne 0x140016de4
comiss xmm7, dword [rdi + 0x4a4c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a34]
mulss xmm0, dword [0x1400cadf0]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4a34], xmm1
jb 0x140016de4
comiss xmm7, xmm1
jb 0x140016de4
mov qword [rdi + 0x4a20], r9
mov r13d, 0xffffffff
lea rdx, [0x1400cabb9]
mov ebx, r13d
lea r9, [0x1400c9590]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x140016e13
cmp byte [rdx], r8b
jne 0x140016e13
cmp byte [rdx + 1], r8b
cmove ebx, r13d
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 0x140016e00
mov r12d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
test r12b, 2
je 0x140016e5e
test byte [rdi + 0xc], 1
je 0x140016e5e
mov r15b, 1
jmp 0x140016e61
mov qword [rdi + 0x4a18], r9
mov rax, r9
jmp 0x140016d99
xor r15b, r15b
and r12b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x58], r14
test rsi, rsi
jne 0x140016e97
mov ecx, dword [rdi + 0x4a10]
test ecx, ecx
je 0x140016e97
mov r8d, 0x1001
mov edx, ebx
call fcn.14001d5f0
test al, al
je 0x140016e97
mov bpl, 1
jmp 0x140016e9f
xor bpl, bpl
test rsi, rsi
jne 0x140016ebf
mov ecx, dword [rdi + 0x4a14]
test ecx, ecx
je 0x140016ebf
mov r8d, 0x1001
mov edx, ebx
call fcn.14001d5f0
test al, al
je 0x140016ebf
mov r14b, 1
jmp 0x140016ec7
xor r14b, r14b
test rsi, rsi
jne 0x140016eed
test r15b, r15b
je 0x140016eed
cmp qword [rdi + 0x4a18], r13
jne 0x140016eed
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140012ef0
test al, al
je 0x140016eed
mov r15b, 1
jmp 0x140016efe
xor r15b, r15b
test rsi, rsi
jne 0x140016f0d
cmp qword [rdi + 0x4a18], r13
jne 0x140016f0d
test bpl, bpl
jne 0x140016f08
test r14b, r14b
je 0x140016f0d
mov sil, 1
jmp 0x140016f10
xor sil, sil
test r15b, r15b
jne 0x140016f1e
test sil, sil
je 0x140016fae
mov rax, qword [rdi + 0x48b0]
test rax, rax
jne 0x140016f45
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.140010340
test rax, rax
je 0x140016fae
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a20], rax
mov qword [rdi + 0x4a18], rax
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 byte [rdi + 0x4a38], r15b
add eax, 2
mov dword [rdi + 0x48e4], eax
test bpl, bpl
jne 0x140016f92
test r14b, r14b
je 0x140016fae
mov ecx, dword [rdi + 0x4a14]
xor r8d, r8d
or ecx, dword [rdi + 0x4a10]
mov edx, ebx
and ecx, 0xf800
call fcn.14001ce50
movss xmm0, dword [rdi + 0x18]
mov rsi, qword [rdi + 0x4a18]
movss xmm6, dword [0x1400c92e4]
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm8
mov r15, qword [rsp + 0x50]
addss xmm0, dword [rdi + 0x4a30]
movss dword [rdi + 0x4a30], xmm0
test rsi, rsi
je 0x1400170d5
cmp dword [rdi + 0x48e4], 3
jne 0x1400170d5
subss xmm0, dword [0x1400c92d8]
divss xmm0, dword [0x1400c92d4]
comiss xmm7, xmm0
jbe 0x140017010
movaps xmm1, xmm7
jmp 0x140017017
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4a34]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4a34], xmm8
call fcn.140012ef0
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.140012ef0
movzx ecx, al
mov rdx, rsi
mov eax, ebx
sub eax, ecx
je 0x140017079
mov ecx, eax
call fcn.140017600
mov rdx, qword [rdi + 0x4a18]
movaps xmm8, xmm6
mov dword [rdi + 0x4a34], 0x3f800000
mov rax, qword [0x1401da878]
cmp byte [rax + 0x34dc], r13b
je 0x140017092
cmp byte [rax + 0x4484], r13b
je 0x1400170d5
comiss xmm6, xmm8
seta al
and byte [rdi + 0x4a38], al
je 0x1400170c2
cmp qword [rdi + 0x48b0], r13
je 0x1400170c5
mov byte [rsp + 0x90], 1
mov qword [rdi + 0x4a18], 0
jmp 0x140017187
mov r13, rdx
mov qword [rdi + 0x4a18], 0
jmp 0x140017187
test rdx, rdx
je 0x140017187
cmp dword [rdi + 0x48e4], 2
jne 0x140017187
mov eax, dword [rdi + 0x4a10]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a30]
test eax, eax
subss xmm0, dword [0x1400c92d8]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4a14]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x1400c92d4]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x14001713b
movaps xmm6, xmm7
jmp 0x14001713f
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a34]
maxss xmm0, xmm6
movss dword [rdi + 0x4a34], xmm0
test bpl, bpl
jne 0x140017174
test r14b, r14b
jne 0x140017174
mov eax, dword [rdi + 0xe28]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x140017187
mov r13, rdx
jmp 0x140017187
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140017600
mov r14, qword [rsp + 0x58]
test r12b, r12b
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
je 0x1400171c5
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140012ef0
test al, al
je 0x1400171c5
mov byte [rdi + 0x4a38], 1
mov dword [rdi + 0x48e4], 2
cmp byte [rdi + 0x4a38], 0
je 0x140017301
cmp dword [rdi + 0x48e4], 2
jne 0x140017301
cmp dword [rdi + 0x37c0], 0
jg 0x140017213
cmp byte [rdi + 0xe24], 0
jne 0x140017213
cmp byte [rdi + 0xe25], 0
jne 0x140017213
cmp byte [rdi + 0xe27], 0
jne 0x140017213
mov rax, qword [0x1401da878]
cmp dword [rax + 0x45f0], 0xffffffff
je 0x14001721a
mov byte [rdi + 0x4a38], 0
mov rcx, qword [0x1401da878]
comiss xmm7, dword [rcx + 0x36d4]
ja 0x1400172e1
cmp byte [rcx + 0x36cc], 0
jne 0x1400172e1
cmp byte [rcx + 0x45f8], 0
jne 0x1400172fa
cmp byte [rdi + 0x4a38], 0
je 0x1400172e1
cmp dword [rdi + 0x3f30], 0
je 0x140017267
cmp byte [rdi + 0x3f3d], 0
je 0x1400172e1
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x140017280
mov rax, qword [0x1401da878]
add rax, 0xe08
movss xmm0, dword [rax]
movss xmm1, dword [0x1400cae18]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14001729f
comiss xmm2, xmm1
jb 0x14001729f
mov dl, 1
jmp 0x1400172a1
xor dl, dl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x1400172ba
mov rax, qword [0x1401da878]
add rax, 0xe08
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400172d1
comiss xmm2, xmm1
jb 0x1400172d1
mov al, 1
jmp 0x1400172d3
xor al, al
cmp al, dl
jne 0x1400172e1
mov byte [rsp + 0x90], 1
jmp 0x1400172fa
cmp byte [rcx + 0x36cc], 0
mov rax, qword [0x1401da878]
je 0x1400172fa
cmp byte [rax + 0x45f8], 0
je 0x140017301
mov byte [rdi + 0x4a38], 0
mov rax, qword [rdi + 0x4a18]
test rax, rax
je 0x14001747c
test byte [rax + 0x14], 4
jne 0x14001747c
mov eax, dword [rdi + 0x48e4]
cmp eax, 2
jne 0x14001735c
cmp byte [rdi + 0xe25], 0
jne 0x14001747c
mov rax, qword [0x1401da878]
movss xmm2, dword [rax + 0x2e58]
movss xmm3, dword [rax + 0x2e78]
subss xmm2, dword [rax + 0x2e48]
subss xmm3, dword [rax + 0x2e68]
jmp 0x14001738c
cmp eax, 3
jne 0x14001747c
mov rax, qword [0x1401da878]
movss xmm2, dword [rax + 0x35d8]
movss xmm3, dword [rax + 0x35f8]
subss xmm2, dword [rax + 0x35c8]
subss xmm3, dword [rax + 0x35e8]
ucomiss xmm2, xmm7
jp 0x14001739e
jne 0x14001739e
ucomiss xmm3, xmm7
jp 0x14001739e
je 0x14001747c
movss xmm1, dword [rdi + 0x70]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x1400cae10]
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 xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm7
cvtsi2ss xmm6, eax
jp 0x14001740f
jne 0x14001740f
ucomiss xmm6, xmm7
jp 0x14001740f
je 0x14001747c
mov rax, qword [rdi + 0x4a18]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm8
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.14001d380
movss xmm0, dword [rdi + 0x4a3c]
movss xmm1, dword [rdi + 0x4a40]
subss xmm0, xmm8
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 r13, r13
je 0x14001751a
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x1400174aa
cmp r13, qword [rax + 0x378]
je 0x14001750f
xor edx, edx
xor ecx, ecx
call fcn.14001c8b0
mov rax, qword [0x1401da878]
xor edx, edx
mov rcx, r13
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
call fcn.14000dbc0
mov edx, 1
mov rcx, r13
call fcn.1400104f0
mov rbx, qword [rdi + 0x48b0]
cmp dword [rbx + 0x3a0], 0
jne 0x1400174fb
xor edx, edx
mov rcx, rbx
call fcn.140014260
cmp word [rbx + 0x15e], 2
jne 0x14001750f
mov dword [rdi + 0x48e8], 1
mov qword [rdi + 0x4a18], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x1400175ee
cmp qword [rdi + 0x48b0], 0
je 0x1400175ee
xor edx, edx
xor ecx, ecx
call fcn.14001c8b0
mov rsi, qword [rdi + 0x48b0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x14001759e
nop dword [rax + rax]
test byte [rbx + 0x15c], 2
jne 0x140017588
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140017588
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140017560
cmp rbx, rsi
je 0x14001759e
xor edx, edx
mov rcx, rbx
call fcn.1400104f0
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48b0]
test byte [rax + 0x15c], 2
je 0x1400175b9
mov ecx, dword [rdi + 0x48e8]
xor ecx, 1
jmp 0x1400175bb
xor ecx, ecx
cmp ecx, dword [rdi + 0x48e8]
je 0x1400175ee
cmp ecx, 1
jne 0x1400175d2
mov dword [rax + 0x3a4], 0
call fcn.140014db0
mov rax, qword [0x1401da878]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret