Function at 0x18001d580
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18008c040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1801ba350]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov rdi, rsi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov eax, dword [rsi + 0x4ae0]
sub eax, 1
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [r11 - 0x58], xmm10
mov qword [rsp + 0x28], r9
mov byte [rsp + 0x24], r9b
js 0x18001d60f
movsxd rdx, eax
mov rax, qword [rsi + 0x4ae8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rbp, qword [r8]
test rbp, rbp
je 0x18001d605
test dword [rbp + 0x14], 0x8000000
jne 0x18001d6d3
sub r8, 0x38
sub rdx, 1
jns 0x18001d5f0
mov rbp, r9
xorps xmm10, xmm10
cmp qword [rsi + 0x4cf8], r9
je 0x18001d665
cmp qword [rsi + 0x4cf0], r9
jne 0x18001d665
comiss xmm10, dword [rsi + 0x4d28]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x4d0c]
mulss xmm0, dword [0x18007ee18]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rsi + 0x4d0c], xmm1
jb 0x18001d665
comiss xmm10, xmm1
jb 0x18001d665
mov qword [rsi + 0x4cf8], r9
mov esi, 0xffffffff
lea rdx, [0x180075a09]
mov ebx, esi
lea r9, [0x180075f40]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x18001d692
cmp byte [rdx], r8b
jne 0x18001d692
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 0x18001d680
mov r14d, dword [rdi + 8]
not ebx
mov rsi, qword [0x1801ba350]
movzx eax, r14b
test r14b, 2
je 0x18001d6df
test byte [rdi + 0xc], 1
je 0x18001d6df
mov byte [rsp + 0x20], 1
jmp 0x18001d6e8
mov qword [rsi + 0x4cf0], r9
jmp 0x18001d612
mov byte [rsp + 0x20], 0
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r13
test rbp, rbp
jne 0x18001d768
mov r12d, dword [rdi + 0x4ce8]
test r12d, r12d
je 0x18001d768
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x18001d72b
lea eax, [rbx + 1]
test eax, 0xfffffffe
jne 0x18001d72b
mov r15d, dword [rsi + 0x4988]
mov r8d, 0x11001
mov edx, r15d
mov ecx, r12d
call fcn.180015c60
test al, al
je 0x18001d761
mov r8d, 0x11021
mov edx, r15d
mov ecx, r12d
call fcn.180017fe0
test al, al
je 0x18001d761
mov rsi, qword [0x1801ba350]
mov r13b, 1
jmp 0x18001d770
mov rsi, qword [0x1801ba350]
xor r13b, r13b
test rbp, rbp
jne 0x18001d7d7
mov r12d, dword [rdi + 0x4cec]
test r12d, r12d
je 0x18001d7d7
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x18001d79a
lea eax, [rbx + 1]
test eax, 0xfffffffe
jne 0x18001d79a
mov r15d, dword [rsi + 0x4988]
mov r8d, 0x11001
mov edx, r15d
mov ecx, r12d
call fcn.180015c60
test al, al
je 0x18001d7d0
mov r8d, 0x11021
mov edx, r15d
mov ecx, r12d
call fcn.180017fe0
test al, al
je 0x18001d7d0
mov rsi, qword [0x1801ba350]
mov r12b, 1
jmp 0x18001d7df
mov rsi, qword [0x1801ba350]
xor r12b, r12b
test rbp, rbp
jne 0x18001d808
cmp byte [rsp + 0x20], 0
je 0x18001d808
cmp qword [rdi + 0x4cf0], 0
jne 0x18001d808
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.180015f00
test al, al
je 0x18001d808
mov r15b, 1
jmp 0x18001d810
xor r15b, r15b
test rbp, rbp
jne 0x18001d829
cmp qword [rdi + 0x4cf0], 0
jne 0x18001d829
test r13b, r13b
jne 0x18001d824
test r12b, r12b
je 0x18001d829
mov bpl, 1
jmp 0x18001d82c
xor bpl, bpl
test r15b, r15b
jne 0x18001d83a
test bpl, bpl
je 0x18001d953
mov rax, qword [rdi + 0x4b20]
test rax, rax
jne 0x18001d865
mov ecx, dword [rdi + 0x3fb8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.18001d450
test rax, rax
je 0x18001d953
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4cf8], rax
mov qword [rdi + 0x4cf0], rax
xor eax, eax
mov qword [rdi + 0x4d08], rax
mov qword [rdi + 0x4d20], rax
mov qword [rdi + 0x4d18], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4d10], r15b
add eax, 2
mov dword [rdi + 0x4b6c], eax
test r13b, r13b
jne 0x18001d8b6
test r12b, r12b
je 0x18001d953
mov eax, dword [rdi + 0x4cec]
or eax, dword [rdi + 0x4ce8]
bt eax, 0xc
jae 0x18001d8dd
mov dword [rsi + 0x47f0], ebx
mov dword [rsi + 0x47ec], ebx
mov word [rsi + 0x47f4], 0
bt eax, 0xd
jae 0x18001d8f8
mov dword [rsi + 0x47fc], ebx
mov dword [rsi + 0x47f8], ebx
mov word [rsi + 0x4800], 0
bt eax, 0xe
jae 0x18001d913
mov dword [rsi + 0x4808], ebx
mov dword [rsi + 0x4804], ebx
mov word [rsi + 0x480c], 0
bt eax, 0xf
jae 0x18001d92e
mov dword [rsi + 0x4814], ebx
mov dword [rsi + 0x4810], ebx
mov word [rsi + 0x4818], 0
bt eax, 0xb
jae 0x18001d953
cmp byte [rsi + 0x59], 0
mov eax, 0x47ec
mov ecx, 0x4810
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
cmp qword [rdi + 0x4cf0], 0
mov ebp, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4d08]
movss xmm6, dword [0x18007edb4]
movss dword [rdi + 0x4d08], xmm0
je 0x18001db17
cmp dword [rdi + 0x4b6c], 3
jne 0x18001da60
subss xmm0, dword [0x18007ed50]
movaps xmmword [rsp + 0x50], xmm7
divss xmm0, dword [0x18007ed3c]
comiss xmm10, xmm0
jbe 0x18001d9b1
movaps xmm1, xmm10
jmp 0x18001d9b8
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4d0c]
mov r8d, ebp
maxss xmm7, xmm1
xor edx, edx
mov ecx, 0x281
movss dword [rdi + 0x4d0c], xmm7
call fcn.180015f00
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x282
call fcn.180015f00
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x18001da0a
mov ecx, eax
call fcn.18001d4e0
mov dword [rdi + 0x4d0c], 0x3f800000
movaps xmm7, xmm6
mov edx, 0x279
mov rcx, rsi
call fcn.180015610
cmp byte [rax], 0
je 0x18001da25
cmp byte [rsi + 0x4698], 0
je 0x18001da5b
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4d10], al
je 0x18001da44
cmp qword [rdi + 0x4b20], 0
je 0x18001da50
mov byte [rsp + 0x24], bpl
jmp 0x18001da50
mov rax, qword [rdi + 0x4cf0]
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x4cf0], 0
movaps xmm7, xmmword [rsp + 0x50]
cmp qword [rdi + 0x4cf0], 0
je 0x18001db17
cmp dword [rdi + 0x4b6c], 2
jne 0x18001db17
mov eax, dword [rdi + 0x4ce8]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4d08]
test eax, eax
subss xmm0, dword [0x18007ed50]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4cec]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x18007ed3c]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm10, xmm0
jbe 0x18001dac9
movaps xmm6, xmm10
jmp 0x18001dacd
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d0c]
maxss xmm0, xmm6
movss dword [rdi + 0x4d0c], xmm0
test r13b, r13b
jne 0x18001db05
test r12b, r12b
jne 0x18001db05
mov eax, dword [rdi + 0x118]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x18001db17
mov r15, qword [rdi + 0x4cf0]
jmp 0x18001db1c
movzx ecx, r13b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.18001d4e0
mov r15, qword [rsp + 0x28]
mov r13, qword [rsp + 0xb0]
lea rbx, [rsp + 0x30]
mov r12, qword [rsp + 0xa8]
mov dword [rsp + 0x30], 0x211
mov dword [rsp + 0x34], 0x215
mov ebp, dword [rbx]
test r14b, r14b
je 0x18001db5b
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, ebp
call fcn.180015f00
test al, al
jne 0x18001db6b
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
jne 0x18001db41
jmp 0x18001db82
mov byte [rdi + 0x4d10], 1
mov dword [rdi + 0x4d14], ebp
mov dword [rdi + 0x4b6c], 2
cmp byte [rdi + 0x4d10], 0
mov r14, qword [rsp + 0x78]
je 0x18001dd5b
cmp dword [rdi + 0x4b6c], 2
jne 0x18001dd5b
cmp dword [rdi + 0x2b90], 0
jg 0x18001dbc5
cmp byte [rdi + 0x114], 0
jne 0x18001dbc5
cmp byte [rdi + 0x115], 0
jne 0x18001dbc5
cmp byte [rdi + 0x117], 0
je 0x18001dbcc
mov byte [rdi + 0x4d10], 0
mov edx, dword [rdi + 0x4d14]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x18001dc07
cmp edx, 0x1000
je 0x18001dc07
cmp edx, 0x2000
je 0x18001dc07
cmp edx, 0x4000
je 0x18001dc07
cmp edx, 0x8000
je 0x18001dc07
cmp edx, 0x800
jne 0x18001dc31
cmp byte [rsi + 0x497c], 0
je 0x18001dc24
cmp dword [rsi + 0x406c], 0xffffffff
je 0x18001dc24
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x18001dc3a
mov rcx, rsi
call fcn.180007110
cmp dword [rax], 0xffffffff
jne 0x18001dc3a
cmp dword [rsi + 0x4804], 0xffffffff
je 0x18001dc41
mov byte [rdi + 0x4d10], 0
mov ecx, dword [rdi + 0x4d14]
call fcn.180016070
test al, al
je 0x18001dcea
cmp byte [rdi + 0x4d10], 0
je 0x18001dcea
cmp dword [rdi + 0x406c], 0
je 0x18001dc73
cmp byte [rdi + 0x4079], 0
je 0x18001dcea
lea rax, [rdi + 0xf8]
test rax, rax
jne 0x18001dc86
lea rax, [rsi + 0xf8]
movss xmm0, dword [rax]
movss xmm1, dword [0x18007eea8]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18001dca5
comiss xmm2, xmm1
jb 0x18001dca5
mov cl, 1
jmp 0x18001dca7
xor cl, cl
lea rax, [rdi + 0x2ac0]
test rax, rax
jne 0x18001dcba
lea rax, [rsi + 0xf8]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18001dcd1
comiss xmm2, xmm1
jb 0x18001dcd1
mov al, 1
jmp 0x18001dcd3
xor al, al
mov edx, dword [rsp + 0x24]
cmp cl, al
movzx edx, dl
mov ebp, 1
cmove edx, ebp
mov dword [rsp + 0x24], edx
jmp 0x18001dcef
mov ebp, 1
mov r9d, dword [rdi + 0x4d14]
mov rcx, rsi
mov edx, r9d
call fcn.180015610
cmp byte [rax], 0
je 0x18001dd52
lea eax, [r9 - 0x200]
cmp eax, 0x99
jbe 0x18001dd41
cmp r9d, 0x1000
je 0x18001dd41
cmp r9d, 0x2000
je 0x18001dd41
cmp r9d, 0x4000
je 0x18001dd41
cmp r9d, 0x8000
je 0x18001dd41
cmp r9d, 0x800
jne 0x18001dd60
mov edx, r9d
mov rcx, rsi
call fcn.180007110
cmp byte [rax + 8], 0
je 0x18001dd60
mov byte [rdi + 0x4d10], 0
jmp 0x18001dd60
mov ebp, 1
mov rax, qword [rdi + 0x4cf0]
test rax, rax
je 0x18001df05
test byte [rax + 0x14], 4
jne 0x18001df05
mov eax, dword [rdi + 0x4b6c]
cmp eax, 2
jne 0x18001ddc6
cmp byte [rdi + 0x115], 0
jne 0x18001df05
mov edx, 0x203
mov rcx, rsi
call fcn.180015610
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.180015610
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.180015610
mov edx, 0x204
jmp 0x18001de01
cmp eax, 3
jne 0x18001df05
mov edx, 0x289
mov rcx, rsi
call fcn.180015610
mov edx, 0x287
mov rcx, rsi
mov r10, rax
call fcn.180015610
mov edx, 0x288
mov rcx, rsi
mov r9, rax
call fcn.180015610
mov edx, 0x28a
movss xmm2, dword [rax + 0xc]
mov rcx, rsi
subss xmm2, dword [r9 + 0xc]
call fcn.180015610
ucomiss xmm2, xmm10
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jp 0x18001de33
jne 0x18001de33
ucomiss xmm3, xmm10
jp 0x18001de33
je 0x18001df05
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
mulss xmm0, dword [0x18007ee70]
mov byte [rdi + 0x4b83], 1
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
addss xmm1, dword [rdi + 0x4d1c]
addss xmm0, dword [rdi + 0x4d18]
movss dword [rdi + 0x4d1c], xmm1
cvttss2si eax, xmm0
movss dword [rdi + 0x4d18], xmm0
cvtsi2ss xmm6, eax
cvttss2si eax, xmm1
ucomiss xmm6, xmm10
cvtsi2ss xmm5, eax
jp 0x18001dea6
jne 0x18001dea6
ucomiss xmm5, xmm10
jp 0x18001dea6
je 0x18001df05
mov rax, qword [rdi + 0x4cf0]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, ebp
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.180014b30
movss xmm0, dword [rdi + 0x4d1c]
movss xmm4, dword [rdi + 0x4d18]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4d1c], xmm0
movss dword [rdi + 0x4d18], xmm4
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
test r15, r15
je 0x18001df93
mov rax, qword [rdi + 0x4b20]
test rax, rax
je 0x18001df2a
cmp r15, qword [rax + 0x388]
je 0x18001df88
xor edx, edx
xor ecx, ecx
call fcn.18000aee0
mov rax, qword [0x1801ba350]
xor edx, edx
mov rcx, r15
mov word [rax + 0x4b81], 1
mov byte [rax + 0x4b83], 1
call fcn.180019780
mov edx, ebp
mov rcx, r15
call fcn.180014440
mov rbx, qword [rdi + 0x4b20]
cmp dword [rbx + 0x3b8], 0
jne 0x18001df78
xor edx, edx
mov rcx, rbx
call fcn.18001b090
cmp word [rbx + 0x16e], 2
jne 0x18001df88
mov dword [rdi + 0x4b70], ebp
mov qword [rdi + 0x4cf0], 0
cmp byte [rsp + 0x24], 0
mov r15, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa0]
je 0x18001e06b
cmp qword [rdi + 0x4b20], 0
je 0x18001e06b
xor edx, edx
xor ecx, ecx
call fcn.18000aee0
mov rbx, qword [rdi + 0x4b20]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x18001dffe
test byte [rbx + 0x16c], 2
jne 0x18001dffe
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18001dffe
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x18001dfd6
mov rsi, qword [rdi + 0x4b20]
cmp rbx, rsi
je 0x18001e01b
xor edx, edx
mov rcx, rbx
call fcn.180014440
mov qword [rbx + 0x3b0], rsi
mov rax, qword [rdi + 0x4b20]
test byte [rax + 0x16c], 2
je 0x18001e036
mov ecx, dword [rdi + 0x4b70]
xor ecx, 1
jmp 0x18001e038
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b70]
je 0x18001e06b
cmp ecx, 1
jne 0x18001e04f
mov dword [rax + 0x3bc], 0
call fcn.18001afd0
mov rax, qword [0x1801ba350]
mov word [rax + 0x4b81], 1
mov byte [rax + 0x4b83], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18006f490
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret