Function at 0x180021f50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x180297f60]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r15
mov eax, dword [rdi + 0x4af0]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x180021fcf
movsxd rdx, eax
mov rax, qword [rdi + 0x4af8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x180021fc5
test dword [rsi + 0x14], 0x8000000
jne 0x18002208f
sub r8, 0x38
sub rdx, 1
jns 0x180021fb0
mov rax, qword [rdi + 0x4d18]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4d20], r9
je 0x180022024
test rax, rax
jne 0x180022024
comiss xmm7, dword [rdi + 0x4d4c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4d34]
mulss xmm0, dword [0x180188280]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4d34], xmm1
jb 0x180022024
comiss xmm7, xmm1
jb 0x180022024
mov qword [rdi + 0x4d20], r9
mov r13d, 0xffffffff
lea rdx, [0x180187f99]
mov ebx, r13d
lea r9, [0x1801865f0]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x180022053
cmp byte [rdx], r8b
jne 0x180022053
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 0x180022040
mov r12d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
test r12b, 2
je 0x18002209e
test byte [rdi + 0xc], 1
je 0x18002209e
mov r15b, 1
jmp 0x1800220a1
mov qword [rdi + 0x4d18], r9
mov rax, r9
jmp 0x180021fd9
xor r15b, r15b
and r12b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x58], r14
test rsi, rsi
jne 0x1800220d7
mov ecx, dword [rdi + 0x4d10]
test ecx, ecx
je 0x1800220d7
mov r8d, 0x10001
mov edx, ebx
call fcn.180029e30
test al, al
je 0x1800220d7
mov bpl, 1
jmp 0x1800220df
xor bpl, bpl
test rsi, rsi
jne 0x1800220ff
mov ecx, dword [rdi + 0x4d14]
test ecx, ecx
je 0x1800220ff
mov r8d, 0x10001
mov edx, ebx
call fcn.180029e30
test al, al
je 0x1800220ff
mov r14b, 1
jmp 0x180022107
xor r14b, r14b
test rsi, rsi
jne 0x18002212d
test r15b, r15b
je 0x18002212d
cmp qword [rdi + 0x4d18], r13
jne 0x18002212d
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.18001d970
test al, al
je 0x18002212d
mov r15b, 1
jmp 0x18002213e
xor r15b, r15b
test rsi, rsi
jne 0x18002214d
cmp qword [rdi + 0x4d18], r13
jne 0x18002214d
test bpl, bpl
jne 0x180022148
test r14b, r14b
je 0x18002214d
mov sil, 1
jmp 0x180022150
xor sil, sil
test r15b, r15b
jne 0x18002215e
test sil, sil
je 0x1800221ee
mov rax, qword [rdi + 0x4b38]
test rax, rax
jne 0x180022185
mov ecx, dword [rdi + 0x3fe8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.18001a3b0
test rax, rax
je 0x1800221ee
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4d20], rax
mov qword [rdi + 0x4d18], rax
xor eax, eax
mov qword [rdi + 0x4d30], rax
mov qword [rdi + 0x4d44], rax
mov qword [rdi + 0x4d3c], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4d38], r15b
add eax, 2
mov dword [rdi + 0x4b6c], eax
test bpl, bpl
jne 0x1800221d2
test r14b, r14b
je 0x1800221ee
mov ecx, dword [rdi + 0x4d14]
xor r8d, r8d
or ecx, dword [rdi + 0x4d10]
mov edx, ebx
and ecx, 0xf800
call fcn.180029550
movss xmm0, dword [rdi + 0x18]
mov rsi, qword [rdi + 0x4d18]
movss xmm6, dword [0x180185eec]
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm8
mov r15, qword [rsp + 0x50]
addss xmm0, dword [rdi + 0x4d30]
movss dword [rdi + 0x4d30], xmm0
test rsi, rsi
je 0x180022315
cmp dword [rdi + 0x4b6c], 3
jne 0x180022315
subss xmm0, dword [0x180188218]
divss xmm0, dword [0x180188208]
comiss xmm7, xmm0
jbe 0x180022250
movaps xmm1, xmm7
jmp 0x180022257
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4d34]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x281
lea r8d, [rdx + 1]
movss dword [rdi + 0x4d34], xmm8
call fcn.18001d970
xor edx, edx
movzx ebx, al
mov ecx, 0x282
lea r8d, [rdx + 1]
call fcn.18001d970
movzx ecx, al
mov rdx, rsi
mov eax, ebx
sub eax, ecx
je 0x1800222b9
mov ecx, eax
call fcn.180022840
mov rdx, qword [rdi + 0x4d18]
movaps xmm8, xmm6
mov dword [rdi + 0x4d34], 0x3f800000
mov rax, qword [0x180297f60]
cmp byte [rax + 0x35fc], r13b
je 0x1800222d2
cmp byte [rax + 0x46ac], r13b
je 0x180022315
comiss xmm6, xmm8
seta al
and byte [rdi + 0x4d38], al
je 0x180022302
cmp qword [rdi + 0x4b38], r13
je 0x180022305
mov byte [rsp + 0x90], 1
mov qword [rdi + 0x4d18], 0
jmp 0x1800223c7
mov r13, rdx
mov qword [rdi + 0x4d18], 0
jmp 0x1800223c7
test rdx, rdx
je 0x1800223c7
cmp dword [rdi + 0x4b6c], 2
jne 0x1800223c7
mov eax, dword [rdi + 0x4d10]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4d30]
test eax, eax
subss xmm0, dword [0x180188218]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4d14]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x180188208]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x18002237b
movaps xmm6, xmm7
jmp 0x18002237f
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d34]
maxss xmm0, xmm6
movss dword [rdi + 0x4d34], xmm0
test bpl, bpl
jne 0x1800223b4
test r14b, r14b
jne 0x1800223b4
mov eax, dword [rdi + 0xe68]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x1800223c7
mov r13, rdx
jmp 0x1800223c7
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.180022840
mov r14, qword [rsp + 0x58]
test r12b, r12b
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
je 0x180022405
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.18001d970
test al, al
je 0x180022405
mov byte [rdi + 0x4d38], 1
mov dword [rdi + 0x4b6c], 2
cmp byte [rdi + 0x4d38], 0
je 0x180022541
cmp dword [rdi + 0x4b6c], 2
jne 0x180022541
cmp dword [rdi + 0x38e0], 0
jg 0x180022453
cmp byte [rdi + 0xe64], 0
jne 0x180022453
cmp byte [rdi + 0xe65], 0
jne 0x180022453
cmp byte [rdi + 0xe67], 0
jne 0x180022453
mov rax, qword [0x180297f60]
cmp dword [rax + 0x4818], 0xffffffff
je 0x18002245a
mov byte [rdi + 0x4d38], 0
mov rcx, qword [0x180297f60]
comiss xmm7, dword [rcx + 0x37f4]
ja 0x180022521
cmp byte [rcx + 0x37ec], 0
jne 0x180022521
cmp byte [rcx + 0x4820], 0
jne 0x18002253a
cmp byte [rdi + 0x4d38], 0
je 0x180022521
cmp dword [rdi + 0x409c], 0
je 0x1800224a7
cmp byte [rdi + 0x40a9], 0
je 0x180022521
lea rax, [rdi + 0xe48]
test rax, rax
jne 0x1800224c0
mov rax, qword [0x180297f60]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x1801882c0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1800224df
comiss xmm2, xmm1
jb 0x1800224df
mov dl, 1
jmp 0x1800224e1
xor dl, dl
lea rax, [rdi + 0x3810]
test rax, rax
jne 0x1800224fa
mov rax, qword [0x180297f60]
add rax, 0xe48
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180022511
comiss xmm2, xmm1
jb 0x180022511
mov al, 1
jmp 0x180022513
xor al, al
cmp dl, al
jne 0x180022521
mov byte [rsp + 0x90], 1
jmp 0x18002253a
cmp byte [rcx + 0x37ec], 0
mov rax, qword [0x180297f60]
je 0x18002253a
cmp byte [rax + 0x4820], 0
je 0x180022541
mov byte [rdi + 0x4d38], 0
mov rax, qword [rdi + 0x4d18]
test rax, rax
je 0x1800226bc
test byte [rax + 0x14], 4
jne 0x1800226bc
mov eax, dword [rdi + 0x4b6c]
cmp eax, 2
jne 0x18002259c
cmp byte [rdi + 0xe65], 0
jne 0x1800226bc
mov rax, qword [0x180297f60]
movss xmm2, dword [rax + 0x2e98]
movss xmm3, dword [rax + 0x2eb8]
subss xmm2, dword [rax + 0x2e88]
subss xmm3, dword [rax + 0x2ea8]
jmp 0x1800225cc
cmp eax, 3
jne 0x1800226bc
mov rax, qword [0x180297f60]
movss xmm2, dword [rax + 0x36f8]
movss xmm3, dword [rax + 0x3718]
subss xmm2, dword [rax + 0x36e8]
subss xmm3, dword [rax + 0x3708]
ucomiss xmm2, xmm7
jp 0x1800225de
jne 0x1800225de
ucomiss xmm3, xmm7
jp 0x1800225de
je 0x1800226bc
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1801882b0]
mov byte [rdi + 0x4b83], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4d3c]
addss xmm3, dword [rdi + 0x4d40]
cvttss2si eax, xmm2
movss dword [rdi + 0x4d3c], xmm2
movss dword [rdi + 0x4d40], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm7
cvtsi2ss xmm6, eax
jp 0x18002264f
jne 0x18002264f
ucomiss xmm6, xmm7
jp 0x18002264f
je 0x1800226bc
mov rax, qword [rdi + 0x4d18]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm8
movaps xmm1, xmm6
mov r8d, 1
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x98], xmm0
movss dword [rsp + 0x9c], xmm1
call fcn.180029b70
movss xmm0, dword [rdi + 0x4d3c]
movss xmm1, dword [rdi + 0x4d40]
subss xmm0, xmm8
subss xmm1, xmm6
movss dword [rdi + 0x4d3c], xmm0
movss dword [rdi + 0x4d40], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x18002275a
mov rax, qword [rdi + 0x4b38]
test rax, rax
je 0x1800226ea
cmp r13, qword [rax + 0x388]
je 0x18002274f
xor edx, edx
xor ecx, ecx
call fcn.180028d20
mov rax, qword [0x180297f60]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4b81], 1
mov byte [rax + 0x4b83], 1
call fcn.180017730
mov edx, 1
mov rcx, r13
call fcn.18001a7b0
mov rbx, qword [rdi + 0x4b38]
cmp dword [rbx + 0x3b0], 0
jne 0x18002273b
xor edx, edx
mov rcx, rbx
call fcn.18001f0c0
cmp word [rbx + 0x16e], 2
jne 0x18002274f
mov dword [rdi + 0x4b70], 1
mov qword [rdi + 0x4d18], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x18002282e
cmp qword [rdi + 0x4b38], 0
je 0x18002282e
xor edx, edx
xor ecx, ecx
call fcn.180028d20
mov rsi, qword [rdi + 0x4b38]
mov rbx, rsi
lea rcx, [rsi + 0x378]
cmp qword [rcx], 0
je 0x1800227de
nop dword [rax + rax]
test byte [rbx + 0x16c], 2
jne 0x1800227c8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1800227c8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x1800227a0
cmp rbx, rsi
je 0x1800227de
xor edx, edx
mov rcx, rbx
call fcn.18001a7b0
mov qword [rbx + 0x3a8], rsi
mov rax, qword [rdi + 0x4b38]
test byte [rax + 0x16c], 2
je 0x1800227f9
mov ecx, dword [rdi + 0x4b70]
xor ecx, 1
jmp 0x1800227fb
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b70]
je 0x18002282e
cmp ecx, 1
jne 0x180022812
mov dword [rax + 0x3b4], 0
call fcn.18001fe00
mov rax, qword [0x180297f60]
mov word [rax + 0x4b81], 1
mov byte [rax + 0x4b83], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret