Function at 0x140057520
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rdi, qword [0x14014eae8]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rdi + 0x4af0]
sub eax, 1
mov qword [rsp + 0xa0], r9
mov byte [rsp + 0xa8], r9b
js 0x14005759f
mov r8, qword [rdi + 0x4af8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x140057595
test dword [rsi + 0x14], 0x8000000
jne 0x140057662
sub r8, 0x38
sub rdx, 1
jns 0x140057580
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4d08], r9
je 0x1400575f1
cmp qword [rdi + 0x4d00], r9
jne 0x1400575f1
comiss xmm7, dword [rdi + 0x4d38]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4d1c]
mulss xmm0, dword [0x14013c798]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4d1c], xmm1
jb 0x1400575f1
comiss xmm7, xmm1
jb 0x1400575f1
mov qword [rdi + 0x4d08], r9
mov r13d, 0xffffffff
lea rdx, [0x140086829]
mov ebx, r13d
lea r9, [0x140084d30]
mov r8b, 0x23
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140057623
cmp byte [rdx], r8b
jne 0x140057623
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 0x140057610
mov ebp, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0xa0]
movzx eax, bpl
test bpl, 2
je 0x14005766e
test byte [rdi + 0xc], 1
je 0x14005766e
mov r12b, 1
jmp 0x140057674
mov qword [rdi + 0x4d00], r9
jmp 0x1400575a2
xor r12b, r12b
movzx ebp, al
and bpl, 1
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
test rsi, rsi
jne 0x1400576a7
mov ecx, dword [rdi + 0x4cf8]
test ecx, ecx
je 0x1400576a7
mov r8d, ebx
mov edx, 0x2001
call fcn.14005e9a0
test al, al
je 0x1400576a7
mov r14b, 1
jmp 0x1400576af
xor r14b, r14b
test rsi, rsi
jne 0x1400576cf
mov ecx, dword [rdi + 0x4cfc]
test ecx, ecx
je 0x1400576cf
mov r8d, ebx
mov edx, 0x2001
call fcn.14005e9a0
test al, al
je 0x1400576cf
mov r15b, 1
jmp 0x1400576d7
xor r15b, r15b
test rsi, rsi
jne 0x1400576fd
test r12b, r12b
je 0x1400576fd
cmp qword [rdi + 0x4d00], r13
jne 0x1400576fd
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.1400532c0
test al, al
je 0x1400576fd
mov r12b, 1
jmp 0x140057705
xor r12b, r12b
test rsi, rsi
jne 0x14005771d
cmp qword [rdi + 0x4d00], r13
jne 0x14005771d
test r14b, r14b
jne 0x140057718
test r15b, r15b
je 0x14005771d
mov sil, 1
jmp 0x140057720
xor sil, sil
test r12b, r12b
jne 0x14005772e
test sil, sil
je 0x1400577c0
mov rax, qword [rdi + 0x4b30]
test rax, rax
jne 0x140057757
mov ecx, dword [rdi + 0x3fc0]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.14004fce0
test rax, rax
je 0x1400577c0
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4d08], rax
mov qword [rdi + 0x4d00], rax
xor eax, eax
mov qword [rdi + 0x4d18], rax
mov qword [rdi + 0x4d30], rax
mov qword [rdi + 0x4d28], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4d20], r12b
add eax, 2
mov dword [rdi + 0x4b7c], eax
test r14b, r14b
jne 0x1400577a4
test r15b, r15b
je 0x1400577c0
mov ecx, dword [rdi + 0x4cfc]
xor r8d, r8d
or ecx, dword [rdi + 0x4cf8]
mov edx, ebx
and ecx, 0xf000
call fcn.14005dcc0
mov r12d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4d18]
movss xmm6, dword [0x14013c730]
movaps xmmword [rsp + 0x30], xmm8
movss dword [rdi + 0x4d18], xmm0
cmp qword [rdi + 0x4d00], r13
je 0x1400578c5
cmp dword [rdi + 0x4b7c], 3
jne 0x1400578c5
subss xmm0, dword [0x140084a50]
divss xmm0, dword [0x140086a54]
comiss xmm7, xmm0
jbe 0x14005781d
movaps xmm1, xmm7
jmp 0x140057824
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4d1c]
xor r8d, r8d
maxss xmm8, xmm1
mov edx, r12d
mov ecx, 0x282
movss dword [rdi + 0x4d1c], xmm8
call fcn.1400532c0
xor r8d, r8d
movzx ebx, al
mov edx, r12d
mov ecx, 0x281
call fcn.1400532c0
movzx ecx, al
sub ecx, ebx
je 0x140057878
call fcn.140057ec0
mov dword [rdi + 0x4d1c], 0x3f800000
movaps xmm8, xmm6
mov rax, qword [0x14014eae8]
cmp byte [rax + 0x28ac], r13b
je 0x140057891
cmp byte [rax + 0x46a0], r13b
je 0x1400578c5
comiss xmm6, xmm8
seta al
and byte [rdi + 0x4d20], al
je 0x1400578b3
cmp qword [rdi + 0x4b30], r13
je 0x1400578ba
mov byte [rsp + 0xa8], r12b
jmp 0x1400578ba
mov r13, qword [rdi + 0x4d00]
mov qword [rdi + 0x4d00], 0
cmp qword [rdi + 0x4d00], 0
je 0x14005797b
cmp dword [rdi + 0x4b7c], 2
jne 0x14005797b
mov eax, dword [rdi + 0x4cf8]
mov ecx, 0xf000
movss xmm0, dword [rdi + 0x4d18]
test eax, eax
subss xmm0, dword [0x140084a50]
cmovne ecx, eax
mov edx, 0xf000
mov eax, dword [rdi + 0x4cfc]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x140086a54]
and edx, ecx
mov ecx, edx
and ecx, 0xf000
comiss xmm7, xmm0
jbe 0x14005792c
movaps xmm6, xmm7
jmp 0x140057930
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d1c]
maxss xmm0, xmm6
movss dword [rdi + 0x4d1c], xmm0
test r14b, r14b
jne 0x140057968
test r15b, r15b
jne 0x140057968
mov eax, dword [rdi + 0x118]
and eax, edx
and eax, 0xf000
cmp eax, ecx
je 0x14005797b
mov r13, qword [rdi + 0x4d00]
jmp 0x14005797b
movzx ecx, r14b
xor ecx, r12d
lea ecx, [rcx*2 - 1]
call fcn.140057ec0
mov r15, qword [rsp + 0x60]
lea rbx, [rsp + 0x20]
mov r14, qword [rsp + 0x68]
mov esi, 0x211
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], 0x215
nop dword [rax + rax]
test bpl, bpl
je 0x1400579b8
xor edx, edx
mov r8d, 0xffffffff
mov ecx, esi
call fcn.1400532c0
test al, al
jne 0x1400579ca
add rbx, 4
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x1400579e1
mov esi, dword [rbx]
jmp 0x1400579a0
mov byte [rdi + 0x4d20], r12b
mov dword [rdi + 0x4d24], esi
mov dword [rdi + 0x4b7c], 2
cmp byte [rdi + 0x4d20], 0
mov rbp, qword [rsp + 0xb0]
je 0x140057bc4
cmp dword [rdi + 0x4b7c], 2
jne 0x140057bc4
cmp dword [rdi + 0x2b90], 0
jg 0x140057a27
cmp byte [rdi + 0x114], 0
jne 0x140057a27
cmp byte [rdi + 0x115], 0
jne 0x140057a27
cmp byte [rdi + 0x117], 0
je 0x140057a2e
mov byte [rdi + 0x4d20], 0
mov edx, dword [rdi + 0x4d24]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x140057a61
cmp edx, 0x1000
je 0x140057a61
cmp edx, 0x2000
je 0x140057a61
cmp edx, 0x4000
je 0x140057a61
cmp edx, 0x8000
jne 0x140057a8f
mov rcx, qword [0x14014eae8]
cmp byte [rcx + 0x4984], 0
je 0x140057a85
cmp dword [rcx + 0x4074], 0xffffffff
je 0x140057a85
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x140057a9f
call fcn.140050d00
cmp dword [rax], 0xffffffff
jne 0x140057a9f
mov rax, qword [0x14014eae8]
cmp dword [rax + 0x480c], 0xffffffff
je 0x140057aa6
mov byte [rdi + 0x4d20], 0
mov ecx, dword [rdi + 0x4d24]
call fcn.140053450
test al, al
je 0x140057b63
cmp byte [rdi + 0x4d20], 0
je 0x140057b63
cmp dword [rdi + 0x4074], 0
je 0x140057adc
cmp byte [rdi + 0x4081], 0
je 0x140057b63
lea rax, [rdi + 0xf8]
test rax, rax
jne 0x140057af5
mov rax, qword [0x14014eae8]
add rax, 0xf8
movss xmm0, dword [rax]
movss xmm1, dword [0x140086ab4]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140057b16
comiss xmm2, xmm1
jb 0x140057b16
movzx ecx, r12b
jmp 0x140057b18
xor cl, cl
lea rax, [rdi + 0x2ac0]
test rax, rax
jne 0x140057b31
mov rax, qword [0x14014eae8]
add rax, 0xf8
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140057b4a
comiss xmm2, xmm1
jb 0x140057b4a
movzx eax, r12b
jmp 0x140057b4c
xor al, al
mov edx, dword [rsp + 0xa8]
cmp cl, al
movzx edx, dl
cmove edx, r12d
mov dword [rsp + 0xa8], edx
mov ebx, dword [rdi + 0x4d24]
mov edx, ebx
mov rcx, qword [0x14014eae8]
call fcn.140050bf0
cmp byte [rax], 0
je 0x140057bbd
lea eax, [rbx - 0x200]
cmp eax, 0x99
jbe 0x140057ba9
cmp ebx, 0x1000
je 0x140057ba9
cmp ebx, 0x2000
je 0x140057ba9
cmp ebx, 0x4000
je 0x140057ba9
cmp ebx, 0x8000
jne 0x140057bc4
mov rcx, qword [0x14014eae8]
mov edx, ebx
call fcn.140050d00
cmp byte [rax + 8], 0
je 0x140057bc4
mov byte [rdi + 0x4d20], 0
mov rax, qword [rdi + 0x4d00]
test rax, rax
je 0x140057d3a
test byte [rax + 0x14], 4
jne 0x140057d3a
mov eax, dword [rdi + 0x4b7c]
movaps xmm2, xmm7
movaps xmm3, xmm7
cmp eax, 2
jne 0x140057c21
cmp byte [rdi + 0x115], 0
jne 0x140057c4d
mov rax, qword [0x14014eae8]
movss xmm2, dword [rax + 0x2148]
movss xmm3, dword [rax + 0x2168]
subss xmm2, dword [rax + 0x2138]
subss xmm3, dword [rax + 0x2158]
jmp 0x140057c4d
cmp eax, 3
jne 0x140057c4d
mov rax, qword [0x14014eae8]
movss xmm2, dword [rax + 0x29a8]
movss xmm3, dword [rax + 0x29c8]
subss xmm2, dword [rax + 0x2998]
subss xmm3, dword [rax + 0x29b8]
ucomiss xmm2, xmm7
jp 0x140057c5f
jne 0x140057c5f
ucomiss xmm3, xmm7
jp 0x140057c5f
je 0x140057d3a
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x140086aac]
mov byte [rdi + 0x4b93], r12b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4d28]
addss xmm3, dword [rdi + 0x4d2c]
cvttss2si eax, xmm2
movss dword [rdi + 0x4d28], xmm2
movss dword [rdi + 0x4d2c], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm7
cvtsi2ss xmm6, eax
jp 0x140057cd0
jne 0x140057cd0
ucomiss xmm6, xmm7
jp 0x140057cd0
je 0x140057d3a
mov rax, qword [rdi + 0x4d00]
lea rdx, [rsp + 0xa0]
movaps xmm0, xmm8
movaps xmm1, xmm6
mov r8d, r12d
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0xa0], xmm0
movss dword [rsp + 0xa4], xmm1
call fcn.14005e700
movss xmm0, dword [rdi + 0x4d28]
movss xmm1, dword [rdi + 0x4d2c]
subss xmm0, xmm8
subss xmm1, xmm6
movss dword [rdi + 0x4d28], xmm0
movss dword [rdi + 0x4d2c], xmm1
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
test r13, r13
je 0x140057dce
mov rax, qword [rdi + 0x4b30]
test rax, rax
je 0x140057d64
cmp r13, qword [rax + 0x388]
je 0x140057dc3
xor edx, edx
xor ecx, ecx
call fcn.14005d3f0
mov rax, qword [0x14014eae8]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4b91], r12w
mov byte [rax + 0x4b93], r12b
call fcn.14004d2c0
mov edx, r12d
mov rcx, r13
call fcn.140050030
mov rbx, qword [rdi + 0x4b30]
cmp dword [rbx + 0x3b8], 0
jne 0x140057db2
xor edx, edx
mov rcx, rbx
call fcn.140054970
cmp word [rbx + 0x16e], 2
jne 0x140057dc3
mov dword [rdi + 0x4b80], r12d
mov qword [rdi + 0x4d00], 0
cmp byte [rsp + 0xa8], 0
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
je 0x140057ea6
cmp qword [rdi + 0x4b30], 0
je 0x140057ea6
xor edx, edx
xor ecx, ecx
call fcn.14005d3f0
mov rbx, qword [rdi + 0x4b30]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x140057e39
test byte [rbx + 0x16c], 2
jne 0x140057e39
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140057e39
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x140057e11
mov rsi, qword [rdi + 0x4b30]
cmp rbx, rsi
je 0x140057e56
xor edx, edx
mov rcx, rbx
call fcn.140050030
mov qword [rbx + 0x3b0], rsi
mov rax, qword [rdi + 0x4b30]
test byte [rax + 0x16c], 2
je 0x140057e71
mov ecx, dword [rdi + 0x4b80]
xor ecx, 1
jmp 0x140057e73
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b80]
je 0x140057ea6
cmp ecx, 1
jne 0x140057e8a
mov dword [rax + 0x3bc], 0
call fcn.140055530
mov rax, qword [0x14014eae8]
mov word [rax + 0x4b91], 1
mov byte [rax + 0x4b93], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret