Function at 0x18001b040
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rax + 0x18], rbp
xor r9d, r9d
mov rbp, qword [0x180177448]
mov qword [rax - 0x28], r13
mov rdi, rbp
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x58], xmm7
movsxd rax, dword [rbp + 0x48f8]
mov qword [rsp + 0x88], r9
mov byte [rsp + 0x80], r9b
test eax, eax
jle 0x18001b0b7
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x4900]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x18001b0ad
test dword [rsi + 0x14], 0x8000000
jne 0x18001b171
sub r8, 0x38
sub rdx, 1
jns 0x18001b098
mov rax, qword [rbp + 0x4ac8]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rbp + 0x4ad0], r9
je 0x18001b10c
test rax, rax
jne 0x18001b10c
comiss xmm7, dword [rbp + 0x4afc]
movss xmm0, dword [rbp + 0x18]
movss xmm1, dword [rbp + 0x4ae4]
mulss xmm0, dword [0x18015e2b8]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rbp + 0x4ae4], xmm1
jb 0x18001b10c
comiss xmm7, xmm1
jb 0x18001b10c
mov qword [rbp + 0x4ad0], r9
mov ebp, 0xffffffff
lea rdx, [0x180122df1]
mov ebx, ebp
lea r9, [0x180123570]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18001b136
cmp byte [rdx], r8b
jne 0x18001b136
cmp byte [rdx + 1], r8b
cmove ebx, ebp
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 0x18001b124
mov r13d, dword [rdi + 8]
not ebx
mov rbp, qword [0x180177448]
test r13b, 2
je 0x18001b180
test byte [rdi + 0xc], 1
je 0x18001b180
mov r14b, 1
jmp 0x18001b183
mov qword [rbp + 0x4ac8], r9
mov rax, r9
jmp 0x18001b0c1
xor r14b, r14b
and r13b, 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x40], r15
test rsi, rsi
jne 0x18001b1bd
mov ecx, dword [rdi + 0x4ac0]
test ecx, ecx
je 0x18001b1bd
mov r8d, 0x1001
mov edx, ebx
call fcn.1800157a0
mov rbp, qword [0x180177448]
test al, al
je 0x18001b1bd
mov r15b, 1
jmp 0x18001b1c5
xor r15b, r15b
test rsi, rsi
jne 0x18001b1ec
mov ecx, dword [rdi + 0x4ac4]
test ecx, ecx
je 0x18001b1ec
mov r8d, 0x1001
mov edx, ebx
call fcn.1800157a0
mov rbp, qword [0x180177448]
test al, al
je 0x18001b1ec
mov r12b, 1
jmp 0x18001b1f4
xor r12b, r12b
test rsi, rsi
jne 0x18001b21b
test r14b, r14b
je 0x18001b21b
cmp qword [rdi + 0x4ac8], 0
jne 0x18001b21b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.180013c70
test al, al
je 0x18001b21b
mov r14b, 1
jmp 0x18001b22c
xor r14b, r14b
test rsi, rsi
jne 0x18001b23b
cmp qword [rdi + 0x4ac8], rsi
jne 0x18001b23b
test r15b, r15b
jne 0x18001b236
test r12b, r12b
je 0x18001b23b
mov sil, 1
jmp 0x18001b23e
xor sil, sil
test r14b, r14b
jne 0x18001b24c
test sil, sil
je 0x18001b371
mov rax, qword [rdi + 0x4940]
test rax, rax
jne 0x18001b277
mov ecx, dword [rdi + 0x3ef8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.18001af10
test rax, rax
je 0x18001b371
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4ad0], rax
mov qword [rdi + 0x4ac8], rax
xor eax, eax
mov qword [rdi + 0x4ae0], rax
mov qword [rdi + 0x4af4], rax
mov qword [rdi + 0x4aec], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4ae8], r14b
add eax, 2
mov dword [rdi + 0x4974], eax
test r15b, r15b
jne 0x18001b2c8
test r12b, r12b
je 0x18001b371
mov r9d, dword [rdi + 0x4ac4]
or r9d, dword [rdi + 0x4ac0]
bt r9d, 0xc
jae 0x18001b2f5
mov edx, 0x1000
mov rcx, rbp
call fcn.180002a40
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xd
jae 0x18001b314
mov edx, 0x2000
mov rcx, rbp
call fcn.180002a40
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xe
jae 0x18001b333
mov edx, 0x4000
mov rcx, rbp
call fcn.180002a40
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xf
jae 0x18001b352
mov edx, 0x8000
mov rcx, rbp
call fcn.180002a40
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
bt r9d, 0xb
jae 0x18001b371
mov edx, 0x800
mov rcx, rbp
call fcn.180002a40
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
movss xmm0, dword [rdi + 0x4ae0]
mov r14d, 1
mov rsi, qword [rdi + 0x4ac8]
movss xmm5, dword [0x18015e220]
mov r10, rsi
movaps xmmword [rsp + 0x30], xmm6
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4ae0], xmm0
test rsi, rsi
je 0x18001b4a3
cmp dword [rdi + 0x4974], 3
jne 0x18001b4ac
subss xmm0, dword [0x18015e1b8]
divss xmm0, dword [0x18015e198]
comiss xmm7, xmm0
jbe 0x18001b3d3
movaps xmm1, xmm7
jmp 0x18001b3da
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x4ae4]
mov r8d, r14d
maxss xmm6, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4ae4], xmm6
call fcn.180013c70
mov r8d, r14d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.180013c70
movzx ecx, al
mov r10, rsi
mov eax, ebx
sub eax, ecx
je 0x18001b439
mov ecx, eax
call fcn.18001afa0
mov rsi, qword [rdi + 0x4ac8]
movaps xmm6, xmm5
mov r10, rsi
mov dword [rdi + 0x4ae4], 0x3f800000
mov edx, 0x26b
mov rcx, rbp
call fcn.180013640
cmp byte [rax], 0
je 0x18001b45b
xor edx, edx
mov ecx, 0x26b
call fcn.1800156f0
test al, al
jne 0x18001b4a3
comiss xmm5, xmm6
seta al
and byte [rdi + 0x4ae8], al
je 0x18001b48b
cmp qword [rdi + 0x4940], 0
je 0x18001b493
mov byte [rsp + 0x80], r14b
mov qword [rdi + 0x4ac8], 0
jmp 0x18001b550
mov qword [rsp + 0x88], rsi
mov qword [rdi + 0x4ac8], 0
jmp 0x18001b550
test r10, r10
je 0x18001b550
cmp dword [rdi + 0x4974], 2
jne 0x18001b550
mov eax, dword [rdi + 0x4ac0]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4ae0]
test eax, eax
subss xmm0, dword [0x18015e1b8]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4ac4]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x18015e198]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x18001b505
movaps xmm5, xmm7
jmp 0x18001b509
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x4ae4]
maxss xmm0, xmm5
movss dword [rdi + 0x4ae4], xmm0
test r15b, r15b
jne 0x18001b53d
test r12b, r12b
jne 0x18001b53d
mov eax, dword [rdi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x18001b550
mov rbx, rsi
jmp 0x18001b558
movzx ecx, r15b
xor ecx, r14d
lea ecx, [rcx*2 - 1]
call fcn.18001afa0
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
test r13b, r13b
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
je 0x18001b593
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180013c70
test al, al
je 0x18001b593
mov byte [rdi + 0x4ae8], r14b
mov dword [rdi + 0x4974], 2
cmp byte [rdi + 0x4ae8], 0
je 0x18001b6e1
cmp dword [rdi + 0x4974], 2
jne 0x18001b6e1
cmp dword [rdi + 0x37b8], 0
jg 0x18001b5e3
cmp byte [rdi + 0xe1c], 0
jne 0x18001b5e3
cmp byte [rdi + 0xe1d], 0
jne 0x18001b5e3
cmp byte [rdi + 0xe1f], 0
jne 0x18001b5e3
mov edx, 0x4000
mov rcx, rbp
call fcn.180002a40
cmp dword [rax], 0xffffffff
je 0x18001b5ea
mov byte [rdi + 0x4ae8], 0
mov edx, 0x4000
mov rcx, rbp
call fcn.180013640
comiss xmm7, dword [rax + 8]
ja 0x18001b6b8
cmp byte [rax], 0
jne 0x18001b6b8
xor edx, edx
mov ecx, 0x4000
call fcn.1800156f0
test al, al
je 0x18001b6b8
cmp byte [rdi + 0x4ae8], 0
je 0x18001b6b8
cmp dword [rdi + 0x3fa8], 0
je 0x18001b63d
cmp byte [rdi + 0x3fb5], 0
je 0x18001b6b8
lea rax, [rdi + 0xe00]
test rax, rax
jne 0x18001b650
lea rax, [rbp + 0xe00]
movss xmm0, dword [rax]
movss xmm1, dword [0x18015e3b0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18001b671
comiss xmm2, xmm1
jb 0x18001b671
movzx ecx, r14b
jmp 0x18001b673
xor cl, cl
lea rax, [rdi + 0x36e8]
test rax, rax
jne 0x18001b686
lea rax, [rbp + 0xe00]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18001b69f
comiss xmm2, xmm1
jb 0x18001b69f
movzx eax, r14b
jmp 0x18001b6a1
xor al, al
mov edx, dword [rsp + 0x80]
cmp cl, al
movzx edx, dl
cmove edx, r14d
mov dword [rsp + 0x80], edx
mov edx, 0x4000
mov rcx, rbp
call fcn.180013640
cmp byte [rax], 0
je 0x18001b6da
xor edx, edx
mov ecx, 0x4000
call fcn.1800156f0
test al, al
jne 0x18001b6e1
mov byte [rdi + 0x4ae8], 0
mov rax, qword [rdi + 0x4ac8]
test rax, rax
je 0x18001b8a6
test byte [rax + 0x14], 4
jne 0x18001b8a6
mov eax, dword [rdi + 0x4974]
cmp eax, 2
jne 0x18001b765
cmp byte [rdi + 0xe1d], 0
jne 0x18001b8a6
mov edx, 0x203
mov rcx, rbp
call fcn.180013640
mov edx, 0x201
mov rcx, rbp
mov r10, rax
call fcn.180013640
mov edx, 0x202
mov rcx, rbp
mov r9, rax
call fcn.180013640
mov edx, 0x204
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.180013640
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jmp 0x18001b7be
cmp eax, 3
jne 0x18001b8a6
mov edx, 0x27c
mov rcx, rbp
call fcn.180013640
mov edx, 0x279
mov rcx, rbp
mov r10, rax
call fcn.180013640
mov edx, 0x27a
mov rcx, rbp
mov r9, rax
call fcn.180013640
mov edx, 0x27b
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.180013640
movss xmm3, dword [r10 + 0xc]
subss xmm3, dword [rax + 0xc]
ucomiss xmm2, xmm7
jp 0x18001b7d0
jne 0x18001b7d0
ucomiss xmm3, xmm7
jp 0x18001b7d0
je 0x18001b8a6
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x18015e344]
mov byte [rdi + 0x497f], r14b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4aec]
addss xmm3, dword [rdi + 0x4af0]
cvttss2si eax, xmm2
movss dword [rdi + 0x4aec], xmm2
movss dword [rdi + 0x4af0], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm7
cvtsi2ss xmm5, eax
jp 0x18001b83e
jne 0x18001b83e
ucomiss xmm5, xmm7
jp 0x18001b83e
je 0x18001b8a6
mov rax, qword [rdi + 0x4ac8]
lea rdx, [rsp + 0x88]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r14d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x88], xmm0
movss dword [rsp + 0x8c], xmm1
call fcn.180013100
movss xmm0, dword [rdi + 0x4af0]
movss xmm4, dword [rdi + 0x4aec]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4af0], xmm0
movss dword [rdi + 0x4aec], xmm4
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
mov rbp, qword [rsp + 0x90]
test rbx, rbx
je 0x18001b93a
mov rax, qword [rdi + 0x4940]
test rax, rax
je 0x18001b8d2
cmp rbx, qword [rax + 0x378]
je 0x18001b92f
call fcn.18000a420
mov rax, qword [0x180177448]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x497d], r14w
mov byte [rax + 0x497f], r14b
call fcn.180016e10
mov edx, r14d
mov rcx, rbx
call fcn.180012970
mov r10, qword [rdi + 0x4940]
cmp dword [r10 + 0x3a0], 0
jne 0x18001b91d
xor edx, edx
mov rcx, r10
call fcn.180018990
cmp word [r10 + 0x15e], 2
jne 0x18001b92f
mov dword [rdi + 0x4978], r14d
mov qword [rdi + 0x4ac8], 0
cmp byte [rsp + 0x80], 0
mov r14, qword [rsp + 0x48]
je 0x18001ba05
cmp qword [rdi + 0x4940], 0
je 0x18001ba05
call fcn.18000a420
mov rsi, qword [rdi + 0x4940]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x18001b99f
test byte [rbx + 0x15c], 2
jne 0x18001b99f
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18001b99f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x18001b977
cmp rbx, rsi
je 0x18001b9bc
xor edx, edx
mov rcx, rbx
call fcn.180012970
mov qword [rbx + 0x398], rsi
mov rsi, qword [rdi + 0x4940]
test byte [rsi + 0x15c], 2
mov eax, dword [rdi + 0x4978]
je 0x18001b9d2
mov ecx, eax
xor ecx, 1
jmp 0x18001b9d4
xor ecx, ecx
cmp ecx, eax
je 0x18001ba05
cmp ecx, 1
jne 0x18001b9e7
mov dword [rsi + 0x3a4], 0
call fcn.1800188c0
mov r10, qword [0x180177448]
mov word [r10 + 0x497d], 1
mov byte [r10 + 0x497f], 1
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret