Function at 0x180012120
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1800ad600]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov eax, dword [rdi + 0x4a90]
sub eax, 1
mov qword [rsp + 0x98], r9
vmovaps xmmword [rsp + 0x40], xmm6
vmovaps xmmword [rsp + 0x30], xmm7
mov byte [rsp + 0x90], r9b
js 0x18001219f
movsxd rdx, eax
mov rax, qword [rdi + 0x4a98]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x180012195
test dword [rsi + 0x14], 0x8000000
jne 0x180012263
sub r8, 0x38
sub rdx, 1
jns 0x180012180
mov rsi, r9
vxorps xmm6, xmm6, xmm6
cmp qword [rdi + 0x4cc0], r9
je 0x1800121f4
cmp qword [rdi + 0x4cb8], r9
jne 0x1800121f4
vcomiss xmm6, dword [rdi + 0x4cec]
vmovss xmm0, dword [rdi + 0x18]
vmulss xmm1, xmm0, dword [0x18007845c]
vmovss xmm0, dword [rdi + 0x4cd4]
vsubss xmm2, xmm0, xmm1
vmaxss xmm3, xmm2, xmm6
vmovss dword [rdi + 0x4cd4], xmm3
jb 0x1800121f4
vcomiss xmm6, xmm3
jb 0x1800121f4
mov qword [rdi + 0x4cc0], r9
mov r13d, 0xffffffff
lea rdx, [0x180078189]
mov ebx, r13d
lea r9, [0x180076720]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x180012223
cmp byte [rdx], r8b
jne 0x180012223
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 0x180012210
mov r14d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
movzx eax, r14b
test r14b, 2
je 0x18001226f
test byte [rdi + 0xc], 1
je 0x18001226f
mov r12b, 1
jmp 0x180012276
mov qword [rdi + 0x4cb8], r9
jmp 0x1800121a2
xor r12b, r12b
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], r15
test rsi, rsi
jne 0x1800122ac
mov ecx, dword [rdi + 0x4cb0]
test ecx, ecx
je 0x1800122ac
mov r8d, 0x1001
mov edx, ebx
call fcn.1800190d0
test al, al
je 0x1800122ac
mov bpl, 1
jmp 0x1800122b4
xor bpl, bpl
test rsi, rsi
jne 0x1800122d4
mov ecx, dword [rdi + 0x4cb4]
test ecx, ecx
je 0x1800122d4
mov r8d, 0x1001
mov edx, ebx
call fcn.1800190d0
test al, al
je 0x1800122d4
mov r15b, 1
jmp 0x1800122dc
xor r15b, r15b
test rsi, rsi
jne 0x180012302
test r12b, r12b
je 0x180012302
cmp qword [rdi + 0x4cb8], r13
jne 0x180012302
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.18000dd70
test al, al
je 0x180012302
mov r12b, 1
jmp 0x18001230a
xor r12b, r12b
test rsi, rsi
jne 0x180012322
cmp qword [rdi + 0x4cb8], r13
jne 0x180012322
test bpl, bpl
jne 0x18001231d
test r15b, r15b
je 0x180012322
mov sil, 1
jmp 0x180012325
xor sil, sil
test r12b, r12b
jne 0x180012333
test sil, sil
je 0x1800123c5
mov rax, qword [rdi + 0x4ad8]
test rax, rax
jne 0x18001235c
mov ecx, dword [rdi + 0x3fb8]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.18000a9c0
test rax, rax
je 0x1800123c5
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4cc0], rax
mov qword [rdi + 0x4cb8], rax
xor eax, eax
mov qword [rdi + 0x4cd0], rax
mov qword [rdi + 0x4ce4], rax
mov qword [rdi + 0x4cdc], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4cd8], r12b
add eax, 2
mov dword [rdi + 0x4b0c], eax
test bpl, bpl
jne 0x1800123a9
test r15b, r15b
je 0x1800123c5
mov ecx, dword [rdi + 0x4cb4]
xor r8d, r8d
or ecx, dword [rdi + 0x4cb0]
mov edx, ebx
and ecx, 0xf800
call fcn.180018760
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4cd0]
vmovss xmm7, dword [0x180078428]
vmovaps xmmword [rsp + 0x20], xmm8
mov r12, qword [rsp + 0x68]
vmovss dword [rdi + 0x4cd0], xmm1
cmp qword [rdi + 0x4cb8], r13
je 0x1800124ca
cmp dword [rdi + 0x4b0c], 3
jne 0x1800124ca
vsubss xmm0, xmm1, dword [0x1800783f0]
vdivss xmm1, xmm0, dword [0x1800783e0]
vcomiss xmm6, xmm1
jbe 0x180012423
vmovaps xmm2, xmm6
jmp 0x180012427
vminss xmm2, xmm7, xmm1
vmovss xmm0, dword [rdi + 0x4cd4]
vmaxss xmm8, xmm0, xmm2
xor edx, edx
mov ecx, 0x282
mov r8d, 1
vmovss dword [rdi + 0x4cd4], xmm8
call fcn.18000dd70
xor edx, edx
movzx ebx, al
mov ecx, 0x281
mov r8d, 1
call fcn.18000dd70
movzx ecx, al
sub ecx, ebx
je 0x18001247c
call fcn.180012a00
mov dword [rdi + 0x4cd4], 0x3f800000
vmovaps xmm8, xmm7
mov rax, qword [0x1800ad600]
cmp byte [rax + 0x35fc], r13b
je 0x180012495
cmp byte [rax + 0x4664], r13b
je 0x1800124ca
vcomiss xmm7, xmm8
seta al
and byte [rdi + 0x4cd8], al
je 0x1800124b8
cmp qword [rdi + 0x4ad8], r13
je 0x1800124bf
mov byte [rsp + 0x90], 1
jmp 0x1800124bf
mov r13, qword [rdi + 0x4cb8]
mov qword [rdi + 0x4cb8], 0
cmp qword [rdi + 0x4cb8], 0
je 0x180012582
cmp dword [rdi + 0x4b0c], 2
jne 0x180012582
mov eax, dword [rdi + 0x4cb0]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4cd0]
vsubss xmm1, xmm0, dword [0x1800783f0]
vdivss xmm2, xmm1, dword [0x1800783e0]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4cb4]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm6, xmm2
jbe 0x180012533
vmovaps xmm1, xmm6
jmp 0x180012537
vminss xmm1, xmm7, xmm2
vmovss xmm0, dword [rdi + 0x4cd4]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4cd4], xmm1
test bpl, bpl
jne 0x18001256f
test r15b, r15b
jne 0x18001256f
mov eax, dword [rdi + 0xe68]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x180012582
mov r13, qword [rdi + 0x4cb8]
jmp 0x180012582
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.180012a00
mov r15, qword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0xa0]
je 0x1800125c0
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.18000dd70
test al, al
je 0x1800125c0
mov byte [rdi + 0x4cd8], 1
mov dword [rdi + 0x4b0c], 2
cmp byte [rdi + 0x4cd8], 0
je 0x180012701
cmp dword [rdi + 0x4b0c], 2
jne 0x180012701
cmp dword [rdi + 0x38e0], 0
jg 0x18001260e
cmp byte [rdi + 0xe64], 0
jne 0x18001260e
cmp byte [rdi + 0xe65], 0
jne 0x18001260e
cmp byte [rdi + 0xe67], 0
jne 0x18001260e
mov rax, qword [0x1800ad600]
cmp dword [rax + 0x47d0], 0xffffffff
je 0x180012615
mov byte [rdi + 0x4cd8], 0
mov rax, qword [0x1800ad600]
vcomiss xmm6, dword [rax + 0x37f4]
ja 0x1800126e1
cmp byte [rax + 0x37ec], 0
jne 0x1800126e1
cmp byte [rax + 0x47d8], 0
jne 0x1800126fa
cmp byte [rdi + 0x4cd8], 0
je 0x1800126e1
cmp dword [rdi + 0x406c], 0
je 0x180012663
cmp byte [rdi + 0x4079], 0
je 0x1800126e1
lea rax, [rdi + 0x3810]
test rax, rax
jne 0x18001267c
mov rax, qword [0x1800ad600]
add rax, 0xe48
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x1800784a4]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x18001269d
vcomiss xmm2, xmm1
jb 0x18001269d
mov cl, 1
jmp 0x18001269f
xor cl, cl
lea rax, [rdi + 0xe48]
test rax, rax
jne 0x1800126b8
mov rax, qword [0x1800ad600]
add rax, 0xe48
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x1800126d1
vcomiss xmm2, xmm1
jb 0x1800126d1
mov al, 1
jmp 0x1800126d3
xor al, al
cmp al, cl
jne 0x1800126e1
mov byte [rsp + 0x90], 1
jmp 0x1800126fa
mov rax, qword [0x1800ad600]
cmp byte [rax + 0x37ec], 0
je 0x1800126fa
cmp byte [rax + 0x47d8], 0
je 0x180012701
mov byte [rdi + 0x4cd8], 0
mov rax, qword [rdi + 0x4cb8]
test rax, rax
je 0x180012879
test byte [rax + 0x14], 4
jne 0x180012879
mov eax, dword [rdi + 0x4b0c]
vmovaps xmm4, xmm6
vmovaps xmm5, xmm6
cmp eax, 2
jne 0x180012760
cmp byte [rdi + 0xe65], 0
jne 0x18001278c
mov rax, qword [0x1800ad600]
vmovss xmm0, dword [rax + 0x2eb8]
vmovss xmm1, dword [rax + 0x2e98]
vsubss xmm5, xmm0, dword [rax + 0x2ea8]
vsubss xmm4, xmm1, dword [rax + 0x2e88]
jmp 0x18001278c
cmp eax, 3
jne 0x18001278c
mov rax, qword [0x1800ad600]
vmovss xmm0, dword [rax + 0x3718]
vmovss xmm1, dword [rax + 0x36f8]
vsubss xmm5, xmm0, dword [rax + 0x3708]
vsubss xmm4, xmm1, dword [rax + 0x36e8]
vucomiss xmm4, xmm6
jp 0x1800127a0
jne 0x1800127a0
vucomiss xmm5, xmm6
jp 0x1800127a0
je 0x180012879
vmovss xmm0, dword [rdi + 0x50]
vminss xmm2, xmm0, dword [rdi + 0x54]
vmovss xmm1, dword [rdi + 0x18]
vmulss xmm0, xmm1, dword [0x180078490]
vmulss xmm3, xmm2, xmm0
vmulss xmm0, xmm4, xmm3
vaddss xmm2, xmm0, dword [rdi + 0x4cdc]
vcvttss2si eax, xmm2
vmulss xmm0, xmm5, xmm3
vaddss xmm1, xmm0, dword [rdi + 0x4ce0]
vxorps xmm8, xmm8, xmm8
vcvtsi2ss xmm8, xmm8, eax
vucomiss xmm8, xmm6
vcvttss2si eax, xmm1
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vmovss dword [rdi + 0x4cdc], xmm2
vmovss dword [rdi + 0x4ce0], xmm1
mov byte [rdi + 0x4b23], 1
jp 0x180012813
jne 0x180012813
vucomiss xmm7, xmm6
jp 0x180012813
je 0x180012879
mov rax, qword [rdi + 0x4cb8]
lea rdx, [rsp + 0x98]
mov r8d, 1
mov rcx, qword [rax + 0x388]
vaddss xmm0, xmm8, dword [rcx + 0x28]
vaddss xmm1, xmm7, dword [rcx + 0x2c]
vmovss dword [rsp + 0x98], xmm0
vmovss dword [rsp + 0x9c], xmm1
call fcn.180018e20
vmovss xmm0, dword [rdi + 0x4cdc]
vmovss xmm2, dword [rdi + 0x4ce0]
vsubss xmm1, xmm0, xmm8
vsubss xmm0, xmm2, xmm7
vmovss dword [rdi + 0x4ce0], xmm0
vmovss dword [rdi + 0x4cdc], xmm1
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x180012919
mov rax, qword [rdi + 0x4ad8]
test rax, rax
je 0x1800128a9
cmp r13, qword [rax + 0x388]
je 0x18001290e
xor edx, edx
xor ecx, ecx
call fcn.180017f50
mov rax, qword [0x1800ad600]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4b21], 1
mov byte [rax + 0x4b23], 1
call fcn.180007df0
mov edx, 1
mov rcx, r13
call fcn.18000aca0
mov rbx, qword [rdi + 0x4ad8]
cmp dword [rbx + 0x3b0], 0
jne 0x1800128fa
xor edx, edx
mov rcx, rbx
call fcn.18000f310
cmp word [rbx + 0x16e], 2
jne 0x18001290e
mov dword [rdi + 0x4b10], 1
mov qword [rdi + 0x4cb8], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x1800129ec
cmp qword [rdi + 0x4ad8], 0
je 0x1800129ec
xor edx, edx
xor ecx, ecx
call fcn.180017f50
mov rbx, qword [rdi + 0x4ad8]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x18001297f
test byte [rbx + 0x16c], 2
jne 0x18001297f
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18001297f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x180012957
mov rsi, qword [rdi + 0x4ad8]
cmp rbx, rsi
je 0x18001299c
xor edx, edx
mov rcx, rbx
call fcn.18000aca0
mov qword [rbx + 0x3a8], rsi
mov rax, qword [rdi + 0x4ad8]
test byte [rax + 0x16c], 2
je 0x1800129b7
mov ecx, dword [rdi + 0x4b10]
xor ecx, 1
jmp 0x1800129b9
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b10]
je 0x1800129ec
cmp ecx, 1
jne 0x1800129d0
mov dword [rax + 0x3b4], 0
call fcn.18000ff80
mov rax, qword [0x1800ad600]
mov word [rax + 0x4b21], 1
mov byte [rax + 0x4b23], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret