Function at 0x1400222e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x140178580]
xor r9d, r9d
mov qword [rsp + 0x78], rbp
mov rdi, rsi
mov qword [rsp + 0x70], r12
movaps xmmword [rsp + 0x30], xmm9
mov eax, dword [rsi + 0x1d48]
sub eax, 1
mov qword [rsp + 0x20], r9
mov byte [rsp + 0xa0], r9b
js 0x140022354
mov r8, qword [rsi + 0x1d50]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rbp, qword [r8]
test rbp, rbp
je 0x14002234a
test dword [rbp + 0x14], 0x8000000
jne 0x14002241f
sub r8, 0x38
sub rdx, 1
jns 0x140022335
lea r12, [rsi + 0x1f70]
mov rbp, r9
mov rax, qword [r12]
xorps xmm9, xmm9
cmp qword [rsi + 0x1f78], r9
je 0x1400223b1
test rax, rax
jne 0x1400223b1
comiss xmm9, dword [rsi + 0x1fa4]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x1f8c]
mulss xmm0, dword [0x140165de0]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rsi + 0x1f8c], xmm1
jb 0x1400223b1
comiss xmm9, xmm1
jb 0x1400223b1
mov qword [rsi + 0x1f78], r9
mov esi, 0xffffffff
lea rdx, [0x140164fa9]
mov ebx, esi
lea r9, [0x140160be0]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x1400223e2
cmp byte [rdx], r8b
jne 0x1400223e2
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 0x1400223d0
mov eax, dword [rdi + 8]
not ebx
mov rsi, qword [0x140178580]
mov qword [rsp + 0x68], r13
test al, 2
je 0x140022432
test byte [rdi + 0xc], 1
je 0x140022432
mov r13b, 1
jmp 0x140022435
lea r12, [rsi + 0x1f70]
mov rax, r9
mov qword [r12], r9
jmp 0x140022362
xor r13b, r13b
and al, 1
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0xb8], eax
test rbp, rbp
jne 0x140022474
mov ecx, dword [rdi + 0x1f68]
test ecx, ecx
je 0x140022474
mov r8d, 0x1001
mov edx, ebx
call fcn.14001cd40
mov rsi, qword [0x140178580]
test al, al
je 0x140022474
mov r14b, 1
jmp 0x14002247c
xor r14b, r14b
test rbp, rbp
jne 0x1400224a3
mov ecx, dword [rdi + 0x1f6c]
test ecx, ecx
je 0x1400224a3
mov r8d, 0x1001
mov edx, ebx
call fcn.14001cd40
mov rsi, qword [0x140178580]
test al, al
je 0x1400224a3
mov r15b, 1
jmp 0x1400224ab
xor r15b, r15b
test rbp, rbp
jne 0x1400224cf
test r13b, r13b
je 0x1400224cf
cmp qword [r12], 0
jne 0x1400224cf
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.14001b5b0
test al, al
je 0x1400224cf
mov r8b, 1
jmp 0x1400224dd
xor r8b, r8b
test rbp, rbp
jne 0x1400224eb
cmp qword [r12], rbp
jne 0x1400224eb
test r14b, r14b
jne 0x1400224e7
test r15b, r15b
je 0x1400224eb
mov al, 1
jmp 0x1400224ed
xor al, al
mov byte [rsp + 0xb0], al
test r8b, r8b
jne 0x140022501
test al, al
je 0x14002267c
mov rax, qword [rdi + 0x1d90]
test rax, rax
jne 0x140022583
mov r9d, dword [rdi + 0x1270]
sub r9d, 1
js 0x14002267c
movsxd rdx, r9d
movsxd rax, dword [rsi + 0x1270]
cmp rdx, rax
jge 0x14002267c
cmp rdx, 0xffffffff80000001
je 0x14002267c
mov rax, qword [rsi + 0x1278]
mov rcx, qword [rax + rdx*8]
cmp byte [rcx + 0xb7], 0
je 0x140022564
cmp rcx, qword [rcx + 0x378]
jne 0x140022564
test dword [rcx + 0x14], 0x80000
je 0x140022573
dec r9d
sub rdx, 1
js 0x14002267c
jmp 0x140022521
movsxd rcx, r9d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002267c
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x1f78], rax
mov qword [r12], rax
movzx eax, byte [rsp + 0xb0]
xor eax, 1
mov qword [rdi + 0x1f88], 0
add eax, 2
mov qword [rdi + 0x1f9c], 0
mov qword [rdi + 0x1f94], 0
mov byte [rdi + 0x1f90], r8b
mov dword [rdi + 0x1dc4], eax
test r14b, r14b
jne 0x1400225df
test r15b, r15b
je 0x14002267c
mov eax, dword [rdi + 0x1f6c]
or eax, dword [rdi + 0x1f68]
bt eax, 0xc
jae 0x140022606
mov dword [rsi + 0x1a74], ebx
mov dword [rsi + 0x1a70], ebx
mov word [rsi + 0x1a78], 0
bt eax, 0xd
jae 0x140022621
mov dword [rsi + 0x1a80], ebx
mov dword [rsi + 0x1a7c], ebx
mov word [rsi + 0x1a84], 0
bt eax, 0xe
jae 0x14002263c
mov dword [rsi + 0x1a8c], ebx
mov dword [rsi + 0x1a88], ebx
mov word [rsi + 0x1a90], 0
bt eax, 0xf
jae 0x140022657
mov dword [rsi + 0x1a98], ebx
mov dword [rsi + 0x1a94], ebx
mov word [rsi + 0x1a9c], 0
bt eax, 0xb
jae 0x14002267c
cmp byte [rsi + 0x59], 0
mov eax, 0x1a70
mov ecx, 0x1a94
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
movss xmm0, dword [rdi + 0x1f88]
mov rbp, qword [r12]
movss xmm5, dword [0x140165d3c]
mov rdx, rbp
movaps xmmword [rsp + 0x40], xmm6
mov r13, qword [rsp + 0x68]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x1f88], xmm0
test rbp, rbp
je 0x14002278f
cmp dword [rdi + 0x1dc4], 3
jne 0x14002278f
subss xmm0, dword [0x140165cec]
divss xmm0, dword [0x140165ccc]
comiss xmm9, xmm0
jbe 0x1400226dc
movaps xmm1, xmm9
jmp 0x1400226e3
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x1f8c]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x281
lea r8d, [rdx + 1]
movss dword [rdi + 0x1f8c], xmm6
call fcn.14001b5b0
xor edx, edx
movzx ebx, al
mov ecx, 0x282
lea r8d, [rdx + 1]
call fcn.14001b5b0
movzx r11d, al
mov ecx, ebx
mov rdx, rbp
sub ecx, r11d
je 0x14002273e
call fcn.140022190
mov rdx, qword [r12]
movaps xmm6, xmm5
mov dword [rdi + 0x1f8c], 0x3f800000
cmp byte [rsi + 0x8b4], 0
je 0x140022750
cmp byte [rsi + 0x191c], 0
je 0x14002278f
comiss xmm5, xmm6
seta al
and byte [rdi + 0x1f90], al
je 0x14002277d
cmp qword [rdi + 0x1d90], 0
je 0x140022782
mov byte [rsp + 0xa0], 1
mov qword [r12], 0
jmp 0x140022843
mov qword [rsp + 0x20], rdx
mov qword [r12], 0
jmp 0x140022843
test rdx, rdx
je 0x140022843
cmp dword [rdi + 0x1dc4], 2
jne 0x140022843
mov eax, dword [rdi + 0x1f68]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x1f88]
test eax, eax
subss xmm0, dword [0x140165cec]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x1f6c]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x140165ccc]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm9, xmm0
jbe 0x1400227f7
movaps xmm5, xmm9
jmp 0x1400227fb
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1f8c]
maxss xmm0, xmm5
movss dword [rdi + 0x1f8c], xmm0
test r14b, r14b
jne 0x140022830
test r15b, r15b
jne 0x140022830
mov eax, dword [rdi + 0x120]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x140022843
mov rbx, rdx
jmp 0x140022848
movzx ecx, r14b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140022190
mov rbx, qword [rsp + 0x20]
cmp byte [rsp + 0xb8], 0
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
je 0x140022888
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14001b5b0
test al, al
je 0x140022888
mov byte [rdi + 0x1f90], 1
mov dword [rdi + 0x1dc4], 2
cmp byte [rdi + 0x1f90], 0
je 0x1400229a4
cmp dword [rdi + 0x1dc4], 2
jne 0x1400229a4
cmp dword [rdi + 0xb98], 0
jg 0x1400228cf
cmp byte [rdi + 0x11c], 0
jne 0x1400228cf
cmp byte [rdi + 0x11d], 0
jne 0x1400228cf
cmp byte [rdi + 0x11f], 0
jne 0x1400228cf
cmp dword [rsi + 0x1a88], 0xffffffff
je 0x1400228d6
mov byte [rdi + 0x1f90], 0
comiss xmm9, dword [rsi + 0xaac]
ja 0x14002298b
cmp byte [rsi + 0xaa4], 0
jne 0x140022994
cmp byte [rsi + 0x1a90], 0
jne 0x14002299d
cmp byte [rdi + 0x1f90], 0
je 0x14002298b
cmp dword [rdi + 0x1320], 0
je 0x14002291d
cmp byte [rdi + 0x132d], 0
je 0x14002298b
lea rax, [rdi + 0xac8]
test rax, rax
jne 0x140022930
lea rax, [rsi + 0x100]
movss xmm0, dword [rax]
movss xmm1, dword [0x140165ea8]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14002294f
comiss xmm2, xmm1
jb 0x14002294f
mov cl, 1
jmp 0x140022951
xor cl, cl
lea rax, [rdi + 0x100]
test rax, rax
jne 0x140022964
lea rax, [rsi + 0x100]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14002297b
comiss xmm2, xmm1
jb 0x14002297b
mov al, 1
jmp 0x14002297d
xor al, al
cmp al, cl
jne 0x14002298b
mov byte [rsp + 0xa0], 1
jmp 0x14002299d
cmp byte [rsi + 0xaa4], 0
je 0x14002299d
cmp byte [rsi + 0x1a90], 0
je 0x1400229a4
mov byte [rdi + 0x1f90], 0
mov rax, qword [r12]
test rax, rax
je 0x140022b0a
test byte [rax + 0x14], 4
jne 0x140022b0a
mov eax, dword [rdi + 0x1dc4]
cmp eax, 2
jne 0x1400229f5
cmp byte [rdi + 0x11d], 0
jne 0x140022b0a
movss xmm2, dword [rsi + 0x150]
movss xmm3, dword [rsi + 0x170]
subss xmm2, dword [rsi + 0x140]
subss xmm3, dword [rsi + 0x160]
jmp 0x140022a1e
cmp eax, 3
jne 0x140022b0a
movss xmm2, dword [rsi + 0x9b0]
movss xmm3, dword [rsi + 0x9d0]
subss xmm2, dword [rsi + 0x9a0]
subss xmm3, dword [rsi + 0x9c0]
ucomiss xmm2, xmm9
jp 0x140022a32
jne 0x140022a32
ucomiss xmm3, xmm9
jp 0x140022a32
je 0x140022b0a
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x140165e50]
mov byte [rdi + 0x1ddb], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x1f94]
addss xmm3, dword [rdi + 0x1f98]
cvttss2si eax, xmm2
movss dword [rdi + 0x1f94], xmm2
movss dword [rdi + 0x1f98], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm9
cvtsi2ss xmm5, eax
jp 0x140022aa2
jne 0x140022aa2
ucomiss xmm5, xmm9
jp 0x140022aa2
je 0x140022b0a
mov rax, qword [r12]
lea rdx, [rsp + 0xa8]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, 1
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0xa8], xmm0
movss dword [rsp + 0xac], xmm1
call fcn.14001aab0
movss xmm0, dword [rdi + 0x1f98]
movss xmm4, dword [rdi + 0x1f94]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x1f98], xmm0
movss dword [rdi + 0x1f94], xmm4
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test rbx, rbx
je 0x140022b9e
mov rax, qword [rdi + 0x1d90]
test rax, rax
je 0x140022b33
cmp rbx, qword [rax + 0x378]
je 0x140022b96
call fcn.140011f20
mov rax, qword [0x140178580]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x1dd9], 1
mov byte [rax + 0x1ddb], 1
call fcn.14001e3f0
mov edx, 1
mov rcx, rbx
call fcn.14001a3c0
mov r10, qword [rdi + 0x1d90]
cmp dword [r10 + 0x3a0], 0
jne 0x140022b81
xor edx, edx
mov rcx, r10
call fcn.14001fa90
cmp word [r10 + 0x15e], 2
jne 0x140022b96
mov dword [rdi + 0x1dc8], 1
mov qword [r12], 0
cmp byte [rsp + 0xa0], 0
mov r12, qword [rsp + 0x70]
je 0x140022c70
cmp qword [rdi + 0x1d90], 0
je 0x140022c70
call fcn.140011f20
mov rsi, qword [rdi + 0x1d90]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x140022c1e
nop dword [rax + rax]
test byte [rbx + 0x15c], 2
jne 0x140022c08
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140022c08
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140022be0
cmp rbx, rsi
je 0x140022c1e
xor edx, edx
mov rcx, rbx
call fcn.14001a3c0
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x1d90]
test byte [rax + 0x15c], 2
je 0x140022c39
mov ecx, dword [rdi + 0x1dc8]
xor ecx, 1
jmp 0x140022c3b
xor ecx, ecx
cmp ecx, dword [rdi + 0x1dc8]
je 0x140022c70
cmp ecx, 1
jne 0x140022c52
mov dword [rax + 0x3a4], 0
call fcn.14001f9b0
mov r10, qword [0x140178580]
mov word [r10 + 0x1dd9], 1
mov byte [r10 + 0x1ddb], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret