Function at 0x140024e70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x140087470]
xor eax, eax
mov qword [rsp + 0xb8], rax
mov rdi, rsi
mov byte [rsp + 0xa8], al
mov qword [rsp + 0x78], rbp
mov eax, dword [rsi + 0x48a0]
sub eax, 1
vmovaps xmmword [rsp + 0x40], xmm6
vmovaps xmmword [rsp + 0x20], xmm10
js 0x140024ee6
movsxd rdx, eax
mov rax, qword [rsi + 0x48a8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbp, qword [r8]
test rbp, rbp
je 0x140024edc
test dword [rbp + 0x14], 0x8000000
jne 0x140024fab
sub r8, 0x38
sub rdx, 1
jns 0x140024ec7
xor ebp, ebp
cmp qword [rsi + 0x4a68], 0
vxorps xmm10, xmm10, xmm10
je 0x140024f40
cmp qword [rsi + 0x4a60], 0
jne 0x140024f40
vcomiss xmm10, dword [rsi + 0x4a94]
vmovss xmm0, dword [rsi + 0x18]
vmovss xmm1, dword [0x140078a50]
vfnmadd213ss xmm1, xmm0, dword [rsi + 0x4a7c]
vmaxss xmm0, xmm1, xmm10
vmovss dword [rsi + 0x4a7c], xmm0
jb 0x140024f40
vcomiss xmm0, xmm10
ja 0x140024f40
mov qword [rsi + 0x4a68], 0
mov esi, 0xffffffff
lea rdx, [0x140077009]
mov ebx, esi
lea r9, [0x140071bf0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140024f6a
cmp byte [rdx], r8b
jne 0x140024f6a
cmp byte [rdx + 1], r8b
cmove ebx, esi
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 0x140024f58
mov ecx, dword [rdi + 8]
not ebx
mov rsi, qword [0x140087470]
movzx eax, cl
mov qword [rsp + 0x70], r12
test cl, 2
je 0x140024fbb
test byte [rdi + 0xc], 1
je 0x140024fbb
mov r12b, 1
jmp 0x140024fc1
mov qword [rsi + 0x4a60], 0
jmp 0x140024ee8
xor r12b, r12b
movzx ecx, al
and cl, 1
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0xb0], ecx
test rbp, rbp
jne 0x140025001
mov ecx, dword [rdi + 0x4a58]
test ecx, ecx
je 0x140025001
mov r8d, 0x1001
mov edx, ebx
call fcn.14001ef50
mov rsi, qword [0x140087470]
test al, al
je 0x140025001
mov r14b, 1
jmp 0x140025009
xor r14b, r14b
test rbp, rbp
jne 0x140025030
mov ecx, dword [rdi + 0x4a5c]
test ecx, ecx
je 0x140025030
mov r8d, 0x1001
mov edx, ebx
call fcn.14001ef50
mov rsi, qword [0x140087470]
test al, al
je 0x140025030
mov r15b, 1
jmp 0x140025038
xor r15b, r15b
test rbp, rbp
jne 0x14002505f
test r12b, r12b
je 0x14002505f
cmp qword [rdi + 0x4a60], 0
jne 0x14002505f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.14001d030
test al, al
je 0x14002505f
mov r8b, 1
jmp 0x140025067
xor r8b, r8b
test rbp, rbp
jne 0x140025080
cmp qword [rdi + 0x4a60], 0
jne 0x140025080
test r14b, r14b
jne 0x14002507b
test r15b, r15b
je 0x140025080
mov r12b, 1
jmp 0x140025083
xor r12b, r12b
test r8b, r8b
jne 0x140025091
test r12b, r12b
je 0x140025217
mov rax, qword [rdi + 0x48d8]
mov qword [rsp + 0x68], r13
test rax, rax
jne 0x14002511a
mov r9d, dword [rdi + 0x3ea8]
sub r9d, 1
js 0x140025212
movsxd r13, dword [rsi + 0x3ea8]
movsxd rdx, r9d
nop dword [rax]
cmp rdx, r13
jge 0x140025212
cmp rdx, 0xffffffff80000001
je 0x140025212
mov rax, qword [rsi + 0x3eb0]
mov rcx, qword [rax + rdx*8]
cmp byte [rcx + 0xb7], 0
je 0x1400250fc
cmp rcx, qword [rcx + 0x378]
jne 0x1400250fc
test dword [rcx + 0x14], 0x80000
je 0x14002510a
dec r9d
sub rdx, 1
jns 0x1400250c0
jmp 0x140025212
movsxd rcx, r9d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140025212
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a68], rax
mov qword [rdi + 0x4a60], rax
movzx eax, r12b
xor eax, 1
mov qword [rdi + 0x4a78], 0
add eax, 2
mov qword [rdi + 0x4a8c], 0
mov qword [rdi + 0x4a84], 0
mov byte [rdi + 0x4a80], r8b
mov dword [rdi + 0x490c], eax
test r14b, r14b
jne 0x140025175
test r15b, r15b
je 0x140025212
mov eax, dword [rdi + 0x4a5c]
or eax, dword [rdi + 0x4a58]
bt eax, 0xc
jae 0x14002519c
mov dword [rsi + 0x4604], ebx
mov dword [rsi + 0x4600], ebx
mov word [rsi + 0x4608], 0
bt eax, 0xd
jae 0x1400251b7
mov dword [rsi + 0x4610], ebx
mov dword [rsi + 0x460c], ebx
mov word [rsi + 0x4614], 0
bt eax, 0xe
jae 0x1400251d2
mov dword [rsi + 0x461c], ebx
mov dword [rsi + 0x4618], ebx
mov word [rsi + 0x4620], 0
bt eax, 0xf
jae 0x1400251ed
mov dword [rsi + 0x4628], ebx
mov dword [rsi + 0x4624], ebx
mov word [rsi + 0x462c], 0
bt eax, 0xb
jae 0x140025212
cmp byte [rsi + 0x79], 0
mov eax, 0x4600
mov ecx, 0x4624
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
mov r13, qword [rsp + 0x68]
cmp qword [rdi + 0x4a60], 0
mov ebp, 1
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4a78]
vmovss xmm6, dword [0x140078950]
vmovaps xmmword [rsp + 0x30], xmm7
mov r12, qword [rsp + 0x70]
vmovss dword [rdi + 0x4a78], xmm1
je 0x1400253e5
cmp dword [rdi + 0x490c], 3
jne 0x14002532c
vsubss xmm0, xmm1, dword [0x1400788c4]
vmulss xmm1, xmm0, dword [0x140078a70]
vcomiss xmm1, xmm10
jae 0x14002527d
vmovaps xmm2, xmm10
jmp 0x140025281
vminss xmm2, xmm1, xmm6
vmovss xmm0, dword [rdi + 0x4a7c]
vmaxss xmm7, xmm0, xmm2
mov r8d, ebp
xor edx, edx
mov ecx, 0x273
vmovss dword [rdi + 0x4a7c], xmm7
call fcn.14001d030
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.14001d030
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x1400252d4
mov ecx, eax
call fcn.140024d20
mov dword [rdi + 0x4a7c], 0x3f800000
vmovaps xmm7, xmm6
mov edx, 0x26b
mov rcx, rsi
call fcn.14001c890
cmp byte [rax], 0
je 0x1400252ef
cmp byte [rsi + 0x44ac], 0
je 0x14002532c
vcomiss xmm7, xmm6
setb al
and byte [rdi + 0x4a80], al
je 0x140025312
cmp qword [rdi + 0x48d8], 0
je 0x140025321
mov byte [rsp + 0xa8], bpl
jmp 0x140025321
mov rax, qword [rdi + 0x4a60]
mov qword [rsp + 0xb8], rax
mov qword [rdi + 0x4a60], 0
cmp qword [rdi + 0x4a60], 0
je 0x1400253e5
cmp dword [rdi + 0x490c], 2
jne 0x1400253e5
mov eax, dword [rdi + 0x4a58]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4a78]
vsubss xmm1, xmm0, dword [0x1400788c4]
vmulss xmm2, xmm1, dword [0x140078a70]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a5c]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm2, xmm10
jae 0x140025397
vmovaps xmm1, xmm10
jmp 0x14002539b
vminss xmm1, xmm2, xmm6
vmovss xmm0, dword [rdi + 0x4a7c]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4a7c], xmm1
test r14b, r14b
jne 0x1400253d3
test r15b, r15b
jne 0x1400253d3
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1400253e5
mov rbx, qword [rdi + 0x4a60]
jmp 0x1400253ed
movzx ecx, r14b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.140024d20
mov rbx, qword [rsp + 0xb8]
cmp byte [rsp + 0xb0], 0
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
je 0x140025428
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14001d030
test al, al
je 0x140025428
mov byte [rdi + 0x4a80], bpl
mov dword [rdi + 0x490c], 2
cmp byte [rdi + 0x4a80], 0
je 0x140025563
cmp dword [rdi + 0x490c], 2
jne 0x140025563
cmp dword [rdi + 0x37c0], 0
jg 0x14002546f
cmp byte [rdi + 0xe24], 0
jne 0x14002546f
cmp byte [rdi + 0xe25], 0
jne 0x14002546f
cmp byte [rdi + 0xe27], 0
jne 0x14002546f
cmp dword [rsi + 0x4618], 0xffffffff
je 0x140025476
mov byte [rdi + 0x4a80], 0
mov edx, 0x4000
mov rcx, rsi
call fcn.14001c890
vcomiss xmm10, dword [rax + 8]
ja 0x140025541
cmp byte [rax], 0
jne 0x140025541
cmp byte [rsi + 0x4620], 0
jne 0x140025541
cmp byte [rdi + 0x4a80], 0
je 0x140025541
cmp dword [rdi + 0x3f58], 0
je 0x1400254c3
cmp byte [rdi + 0x3f65], 0
je 0x140025541
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x1400254d6
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x140078b74]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x1400254f9
vcomiss xmm2, xmm1
jb 0x1400254f9
movzx ecx, bpl
jmp 0x1400254fb
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x14002550e
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x140025529
vcomiss xmm2, xmm1
jb 0x140025529
movzx eax, bpl
jmp 0x14002552b
xor al, al
mov edx, dword [rsp + 0xa8]
cmp al, cl
movzx edx, dl
cmove edx, ebp
mov dword [rsp + 0xa8], edx
mov edx, 0x4000
mov rcx, rsi
call fcn.14001c890
cmp byte [rax], 0
je 0x14002555c
cmp byte [rsi + 0x4620], 0
je 0x140025563
mov byte [rdi + 0x4a80], 0
mov rax, qword [rdi + 0x4a60]
test rax, rax
je 0x140025704
test byte [rax + 0x14], 4
jne 0x140025704
mov eax, dword [rdi + 0x490c]
cmp eax, 2
jne 0x1400255c9
cmp byte [rdi + 0xe25], 0
jne 0x140025704
mov edx, 0x203
mov rcx, rsi
call fcn.14001c890
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.14001c890
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.14001c890
mov edx, 0x204
jmp 0x140025604
cmp eax, 3
jne 0x140025704
mov edx, 0x27b
mov rcx, rsi
call fcn.14001c890
mov edx, 0x279
mov rcx, rsi
mov r10, rax
call fcn.14001c890
mov edx, 0x27a
mov rcx, rsi
mov r9, rax
call fcn.14001c890
mov edx, 0x27c
vmovss xmm0, dword [rax + 0xc]
vsubss xmm6, xmm0, dword [r9 + 0xc]
mov rcx, rsi
call fcn.14001c890
vucomiss xmm6, xmm10
vmovss xmm0, dword [rax + 0xc]
vsubss xmm4, xmm0, dword [r10 + 0xc]
jne 0x140025634
vucomiss xmm4, xmm10
je 0x140025704
vmovss xmm0, dword [rdi + 0x74]
vminss xmm1, xmm0, dword [rdi + 0x70]
vmulss xmm2, xmm1, dword [rdi + 0x18]
vmulss xmm3, xmm2, dword [0x140078ad8]
vmovaps xmm1, xmm6
vfmadd213ss xmm1, xmm3, dword [rdi + 0x4a84]
vcvttss2si eax, xmm1
vmovaps xmm0, xmm4
vfmadd213ss xmm0, xmm3, dword [rdi + 0x4a88]
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vucomiss xmm7, xmm10
vcvttss2si eax, xmm0
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vmovss dword [rdi + 0x4a84], xmm1
vmovss dword [rdi + 0x4a88], xmm0
mov byte [rdi + 0x4917], bpl
jne 0x1400256a2
vucomiss xmm6, xmm10
je 0x140025704
mov rax, qword [rdi + 0x4a60]
lea rdx, [rsp + 0xa0]
mov r8d, ebp
mov rcx, qword [rax + 0x378]
vaddss xmm0, xmm7, dword [rcx + 0x20]
vaddss xmm1, xmm6, dword [rcx + 0x24]
vmovss dword [rsp + 0xa0], xmm0
vmovss dword [rsp + 0xa4], xmm1
call fcn.14001c390
vmovss xmm0, dword [rdi + 0x4a84]
vmovss xmm2, dword [rdi + 0x4a88]
vsubss xmm1, xmm0, xmm7
vsubss xmm0, xmm2, xmm6
vmovss dword [rdi + 0x4a88], xmm0
vmovss dword [rdi + 0x4a84], xmm1
vmovaps xmm10, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test rbx, rbx
je 0x140025797
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140025730
cmp rbx, qword [rax + 0x378]
je 0x14002578c
xor edx, edx
xor ecx, ecx
call fcn.140013460
mov rax, qword [0x140087470]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x4915], bp
mov byte [rax + 0x4917], bpl
call fcn.140020600
mov edx, ebp
mov rcx, rbx
call fcn.14001bc60
mov rbx, qword [rdi + 0x48d8]
cmp dword [rbx + 0x3a0], 0
jne 0x14002577c
xor edx, edx
mov rcx, rbx
call fcn.140022410
cmp word [rbx + 0x15e], 2
jne 0x14002578c
mov dword [rdi + 0x4910], ebp
mov qword [rdi + 0x4a60], 0
cmp byte [rsp + 0xa8], 0
mov rbp, qword [rsp + 0x78]
je 0x14002586a
cmp qword [rdi + 0x48d8], 0
je 0x14002586a
xor edx, edx
xor ecx, ecx
call fcn.140013460
mov rbx, qword [rdi + 0x48d8]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x1400257fd
test byte [rbx + 0x15c], 2
jne 0x1400257fd
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400257fd
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x1400257d5
mov rsi, qword [rdi + 0x48d8]
cmp rbx, rsi
je 0x14002581a
xor edx, edx
mov rcx, rbx
call fcn.14001bc60
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48d8]
test byte [rax + 0x15c], 2
je 0x140025835
mov ecx, dword [rdi + 0x4910]
xor ecx, 1
jmp 0x140025837
xor ecx, ecx
cmp ecx, dword [rdi + 0x4910]
je 0x14002586a
cmp ecx, 1
jne 0x14002584e
mov dword [rax + 0x3a4], 0
call fcn.1400222e0
mov rax, qword [0x140087470]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret