Function at 0x140018240
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rax + 0x18], rbp
xor r9d, r9d
mov rbp, qword [0x140069b90]
mov qword [rax - 0x28], r13
mov rdi, rbp
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x58], xmm7
movsxd rax, dword [rbp + 0x4888]
mov qword [rsp + 0x88], r9
mov byte [rsp + 0x80], r9b
test eax, eax
jle 0x1400182b7
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x4890]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x1400182ad
test dword [rsi + 0x14], 0x8000000
jne 0x140018371
sub r8, 0x38
sub rdx, 1
jns 0x140018298
mov rax, qword [rbp + 0x4a58]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rbp + 0x4a60], r9
je 0x14001830c
test rax, rax
jne 0x14001830c
comiss xmm7, dword [rbp + 0x4a8c]
movss xmm0, dword [rbp + 0x18]
movss xmm1, dword [rbp + 0x4a74]
mulss xmm0, dword [0x140060b58]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rbp + 0x4a74], xmm1
jb 0x14001830c
comiss xmm7, xmm1
jb 0x14001830c
mov qword [rbp + 0x4a60], r9
mov ebp, 0xffffffff
lea rdx, [0x14005a619]
mov ebx, ebp
lea r9, [0x14005ab10]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140018336
cmp byte [rdx], r8b
jne 0x140018336
cmp byte [rdx + 1], r8b
cmove ebx, ebp
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 0x140018324
mov r13d, dword [rdi + 8]
not ebx
mov rbp, qword [0x140069b90]
test r13b, 2
je 0x140018380
test byte [rdi + 0xc], 1
je 0x140018380
mov r14b, 1
jmp 0x140018383
mov qword [rbp + 0x4a58], r9
mov rax, r9
jmp 0x1400182c1
xor r14b, r14b
and r13b, 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x40], r15
test rsi, rsi
jne 0x1400183bd
mov ecx, dword [rdi + 0x4a50]
test ecx, ecx
je 0x1400183bd
mov r8d, 0x1001
mov edx, ebx
call fcn.140012460
mov rbp, qword [0x140069b90]
test al, al
je 0x1400183bd
mov r15b, 1
jmp 0x1400183c5
xor r15b, r15b
test rsi, rsi
jne 0x1400183ec
mov ecx, dword [rdi + 0x4a54]
test ecx, ecx
je 0x1400183ec
mov r8d, 0x1001
mov edx, ebx
call fcn.140012460
mov rbp, qword [0x140069b90]
test al, al
je 0x1400183ec
mov r12b, 1
jmp 0x1400183f4
xor r12b, r12b
test rsi, rsi
jne 0x14001841b
test r14b, r14b
je 0x14001841b
cmp qword [rdi + 0x4a58], 0
jne 0x14001841b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140010630
test al, al
je 0x14001841b
mov r14b, 1
jmp 0x14001842c
xor r14b, r14b
test rsi, rsi
jne 0x14001843b
cmp qword [rdi + 0x4a58], rsi
jne 0x14001843b
test r15b, r15b
jne 0x140018436
test r12b, r12b
je 0x14001843b
mov sil, 1
jmp 0x14001843e
xor sil, sil
test r14b, r14b
jne 0x14001844c
test sil, sil
je 0x140018571
mov rax, qword [rdi + 0x48d0]
test rax, rax
jne 0x140018477
mov ecx, dword [rdi + 0x3e88]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.140018110
test rax, rax
je 0x140018571
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a60], rax
mov qword [rdi + 0x4a58], rax
xor eax, eax
mov qword [rdi + 0x4a70], rax
mov qword [rdi + 0x4a84], rax
mov qword [rdi + 0x4a7c], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a78], r14b
add eax, 2
mov dword [rdi + 0x4904], eax
test r15b, r15b
jne 0x1400184c8
test r12b, r12b
je 0x140018571
mov r9d, dword [rdi + 0x4a54]
or r9d, dword [rdi + 0x4a50]
bt r9d, 0xc
jae 0x1400184f5
mov edx, 0x1000
mov rcx, rbp
call fcn.140002720
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xd
jae 0x140018514
mov edx, 0x2000
mov rcx, rbp
call fcn.140002720
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xe
jae 0x140018533
mov edx, 0x4000
mov rcx, rbp
call fcn.140002720
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xf
jae 0x140018552
mov edx, 0x8000
mov rcx, rbp
call fcn.140002720
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xb
jae 0x140018571
mov edx, 0x800
mov rcx, rbp
call fcn.140002720
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
movss xmm0, dword [rdi + 0x4a70]
mov r14d, 1
mov rsi, qword [rdi + 0x4a58]
movss xmm5, dword [0x140060a7c]
mov r10, rsi
movaps xmmword [rsp + 0x30], xmm6
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4a70], xmm0
test rsi, rsi
je 0x1400186a3
cmp dword [rdi + 0x4904], 3
jne 0x1400186ac
subss xmm0, dword [0x140060a20]
divss xmm0, dword [0x140060a00]
comiss xmm7, xmm0
jbe 0x1400185d3
movaps xmm1, xmm7
jmp 0x1400185da
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x4a74]
mov r8d, r14d
maxss xmm6, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4a74], xmm6
call fcn.140010630
mov r8d, r14d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.140010630
movzx ecx, al
mov r10, rsi
mov eax, ebx
sub eax, ecx
je 0x140018639
mov ecx, eax
call fcn.1400181a0
mov rsi, qword [rdi + 0x4a58]
movaps xmm6, xmm5
mov r10, rsi
mov dword [rdi + 0x4a74], 0x3f800000
mov edx, 0x26b
mov rcx, rbp
call fcn.14000ff00
cmp byte [rax], 0
je 0x14001865b
xor edx, edx
mov ecx, 0x26b
call fcn.1400123b0
test al, al
jne 0x1400186a3
comiss xmm5, xmm6
seta al
and byte [rdi + 0x4a78], al
je 0x14001868b
cmp qword [rdi + 0x48d0], 0
je 0x140018693
mov byte [rsp + 0x80], r14b
mov qword [rdi + 0x4a58], 0
jmp 0x140018750
mov qword [rsp + 0x88], rsi
mov qword [rdi + 0x4a58], 0
jmp 0x140018750
test r10, r10
je 0x140018750
cmp dword [rdi + 0x4904], 2
jne 0x140018750
mov eax, dword [rdi + 0x4a50]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a70]
test eax, eax
subss xmm0, dword [0x140060a20]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4a54]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x140060a00]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x140018705
movaps xmm5, xmm7
jmp 0x140018709
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x4a74]
maxss xmm0, xmm5
movss dword [rdi + 0x4a74], xmm0
test r15b, r15b
jne 0x14001873d
test r12b, r12b
jne 0x14001873d
mov eax, dword [rdi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140018750
mov rbx, rsi
jmp 0x140018758
movzx ecx, r15b
xor ecx, r14d
lea ecx, [rcx*2 - 1]
call fcn.1400181a0
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
test r13b, r13b
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
je 0x140018793
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140010630
test al, al
je 0x140018793
mov byte [rdi + 0x4a78], r14b
mov dword [rdi + 0x4904], 2
cmp byte [rdi + 0x4a78], 0
je 0x1400188e1
cmp dword [rdi + 0x4904], 2
jne 0x1400188e1
cmp dword [rdi + 0x37b8], 0
jg 0x1400187e3
cmp byte [rdi + 0xe1c], 0
jne 0x1400187e3
cmp byte [rdi + 0xe1d], 0
jne 0x1400187e3
cmp byte [rdi + 0xe1f], 0
jne 0x1400187e3
mov edx, 0x4000
mov rcx, rbp
call fcn.140002720
cmp dword [rax], 0xffffffff
je 0x1400187ea
mov byte [rdi + 0x4a78], 0
mov edx, 0x4000
mov rcx, rbp
call fcn.14000ff00
comiss xmm7, dword [rax + 8]
ja 0x1400188b8
cmp byte [rax], 0
jne 0x1400188b8
xor edx, edx
mov ecx, 0x4000
call fcn.1400123b0
test al, al
je 0x1400188b8
cmp byte [rdi + 0x4a78], 0
je 0x1400188b8
cmp dword [rdi + 0x3f38], 0
je 0x14001883d
cmp byte [rdi + 0x3f45], 0
je 0x1400188b8
lea rax, [rdi + 0xe00]
test rax, rax
jne 0x140018850
lea rax, [rbp + 0xe00]
movss xmm0, dword [rax]
movss xmm1, dword [0x140060c8c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140018871
comiss xmm2, xmm1
jb 0x140018871
movzx ecx, r14b
jmp 0x140018873
xor cl, cl
lea rax, [rdi + 0x36e8]
test rax, rax
jne 0x140018886
lea rax, [rbp + 0xe00]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14001889f
comiss xmm2, xmm1
jb 0x14001889f
movzx eax, r14b
jmp 0x1400188a1
xor al, al
mov edx, dword [rsp + 0x80]
cmp cl, al
movzx edx, dl
cmove edx, r14d
mov dword [rsp + 0x80], edx
mov edx, 0x4000
mov rcx, rbp
call fcn.14000ff00
cmp byte [rax], 0
je 0x1400188da
xor edx, edx
mov ecx, 0x4000
call fcn.1400123b0
test al, al
jne 0x1400188e1
mov byte [rdi + 0x4a78], 0
mov rax, qword [rdi + 0x4a58]
test rax, rax
je 0x140018aa6
test byte [rax + 0x14], 4
jne 0x140018aa6
mov eax, dword [rdi + 0x4904]
cmp eax, 2
jne 0x140018965
cmp byte [rdi + 0xe1d], 0
jne 0x140018aa6
mov edx, 0x203
mov rcx, rbp
call fcn.14000ff00
mov edx, 0x201
mov rcx, rbp
mov r10, rax
call fcn.14000ff00
mov edx, 0x202
mov rcx, rbp
mov r9, rax
call fcn.14000ff00
mov edx, 0x204
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.14000ff00
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jmp 0x1400189be
cmp eax, 3
jne 0x140018aa6
mov edx, 0x27c
mov rcx, rbp
call fcn.14000ff00
mov edx, 0x279
mov rcx, rbp
mov r10, rax
call fcn.14000ff00
mov edx, 0x27a
mov rcx, rbp
mov r9, rax
call fcn.14000ff00
mov edx, 0x27b
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.14000ff00
movss xmm3, dword [r10 + 0xc]
subss xmm3, dword [rax + 0xc]
ucomiss xmm2, xmm7
jp 0x1400189d0
jne 0x1400189d0
ucomiss xmm3, xmm7
jp 0x1400189d0
je 0x140018aa6
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x140060c1c]
mov byte [rdi + 0x490f], r14b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a7c]
addss xmm3, dword [rdi + 0x4a80]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a7c], xmm2
movss dword [rdi + 0x4a80], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm7
cvtsi2ss xmm5, eax
jp 0x140018a3e
jne 0x140018a3e
ucomiss xmm5, xmm7
jp 0x140018a3e
je 0x140018aa6
mov rax, qword [rdi + 0x4a58]
lea rdx, [rsp + 0x88]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r14d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x88], xmm0
movss dword [rsp + 0x8c], xmm1
call fcn.14000fbf0
movss xmm0, dword [rdi + 0x4a80]
movss xmm4, dword [rdi + 0x4a7c]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4a80], xmm0
movss dword [rdi + 0x4a7c], xmm4
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
mov rbp, qword [rsp + 0x90]
test rbx, rbx
je 0x140018b3c
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140018ad2
cmp rbx, qword [rax + 0x378]
je 0x140018b31
xor edx, edx
xor ecx, ecx
call fcn.140006c60
mov rax, qword [0x140069b90]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x490d], r14w
mov byte [rax + 0x490f], r14b
call fcn.140013c00
mov edx, r14d
mov rcx, rbx
call fcn.14000f500
mov rbx, qword [rdi + 0x48d0]
cmp dword [rbx + 0x3a0], 0
jne 0x140018b20
xor edx, edx
mov rcx, rbx
call fcn.140015930
cmp word [rbx + 0x15e], 2
jne 0x140018b31
mov dword [rdi + 0x4908], r14d
mov qword [rdi + 0x4a58], 0
cmp byte [rsp + 0x80], 0
mov r14, qword [rsp + 0x48]
je 0x140018c0c
cmp qword [rdi + 0x48d0], 0
je 0x140018c0c
xor edx, edx
xor ecx, ecx
call fcn.140006c60
mov rsi, qword [rdi + 0x48d0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x140018ba8
nop dword [rax]
test byte [rbx + 0x15c], 2
jne 0x140018ba8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140018ba8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140018b80
cmp rbx, rsi
je 0x140018bc5
xor edx, edx
mov rcx, rbx
call fcn.14000f500
mov qword [rbx + 0x398], rsi
mov rsi, qword [rdi + 0x48d0]
test byte [rsi + 0x15c], 2
mov eax, dword [rdi + 0x4908]
je 0x140018bdb
mov ecx, eax
xor ecx, 1
jmp 0x140018bdd
xor ecx, ecx
cmp ecx, eax
je 0x140018c0c
cmp ecx, 1
jne 0x140018bf0
mov dword [rsi + 0x3a4], 0
call fcn.140015800
mov rax, qword [0x140069b90]
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret