Function at 0x18004af00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x180346a60]
xor r9d, r9d
mov qword [rsp + 0x78], rbp
mov rdi, rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
mov eax, dword [rsi + 0x4aa0]
sub eax, 1
mov qword [rsp + 0xb8], r9
vmovaps xmmword [rsp + 0x40], xmm6
vmovaps xmmword [rsp + 0x30], xmm7
mov byte [rsp + 0xa0], r9b
js 0x18004af82
mov r8, qword [rsi + 0x4aa8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rbp, qword [r8]
test rbp, rbp
je 0x18004af78
test dword [rbp + 0x14], 0x8000000
jne 0x18004b046
sub r8, 0x38
sub rdx, 1
jns 0x18004af63
mov rbp, r9
vxorps xmm6, xmm6, xmm6
cmp qword [rsi + 0x4cd0], r9
je 0x18004afd7
cmp qword [rsi + 0x4cc8], r9
jne 0x18004afd7
vcomiss xmm6, dword [rsi + 0x4cfc]
vmovss xmm0, dword [rsi + 0x18]
vmulss xmm1, xmm0, dword [0x1800ecff0]
vmovss xmm0, dword [rsi + 0x4ce4]
vsubss xmm2, xmm0, xmm1
vmaxss xmm3, xmm2, xmm6
vmovss dword [rsi + 0x4ce4], xmm3
jb 0x18004afd7
vcomiss xmm6, xmm3
jb 0x18004afd7
mov qword [rsi + 0x4cd0], r9
mov esi, 0xffffffff
lea rdx, [0x1800e71f9]
mov ebx, esi
lea r9, [0x1800e7720]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x18004b002
cmp byte [rdx], r8b
jne 0x18004b002
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 0x18004aff0
mov r13d, dword [rdi + 8]
not ebx
mov rsi, qword [0x180346a60]
movzx eax, r13b
test r13b, 2
je 0x18004b052
test byte [rdi + 0xc], 1
je 0x18004b052
mov byte [rsp + 0xa8], 1
jmp 0x18004b05e
mov qword [rsi + 0x4cc8], r9
jmp 0x18004af85
mov byte [rsp + 0xa8], 0
movzx r13d, al
and r13b, 1
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x58], r15
test rbp, rbp
jne 0x18004b0b8
mov r14d, dword [rdi + 0x4cc0]
test r14d, r14d
je 0x18004b0b8
mov r8d, 0x1101
mov edx, ebx
mov ecx, r14d
call fcn.1800437c0
test al, al
je 0x18004b0b1
mov r8d, 0x1101
mov edx, ebx
mov ecx, r14d
call fcn.180045a80
test al, al
je 0x18004b0b1
mov rsi, qword [0x180346a60]
mov r15b, 1
jmp 0x18004b0c0
mov rsi, qword [0x180346a60]
xor r15b, r15b
test rbp, rbp
jne 0x18004b107
mov r14d, dword [rdi + 0x4cc4]
test r14d, r14d
je 0x18004b107
mov r8d, 0x1101
mov edx, ebx
mov ecx, r14d
call fcn.1800437c0
test al, al
je 0x18004b100
mov r8d, 0x1101
mov edx, ebx
mov ecx, r14d
call fcn.180045a80
test al, al
je 0x18004b100
mov rsi, qword [0x180346a60]
mov r12b, 1
jmp 0x18004b10f
mov rsi, qword [0x180346a60]
xor r12b, r12b
test rbp, rbp
jne 0x18004b13b
cmp byte [rsp + 0xa8], 0
je 0x18004b13b
cmp qword [rdi + 0x4cc8], 0
jne 0x18004b13b
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.180043960
test al, al
je 0x18004b13b
mov r14b, 1
jmp 0x18004b143
xor r14b, r14b
test rbp, rbp
jne 0x18004b15c
cmp qword [rdi + 0x4cc8], 0
jne 0x18004b15c
test r15b, r15b
jne 0x18004b157
test r12b, r12b
je 0x18004b15c
mov bpl, 1
jmp 0x18004b15f
xor bpl, bpl
test r14b, r14b
jne 0x18004b16d
test bpl, bpl
je 0x18004b288
mov rax, qword [rdi + 0x4ae8]
test rax, rax
jne 0x18004b19a
mov ecx, dword [rdi + 0x3fb8]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.18004add0
test rax, rax
je 0x18004b288
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4cd0], rax
mov qword [rdi + 0x4cc8], rax
xor eax, eax
mov qword [rdi + 0x4ce0], rax
mov qword [rdi + 0x4cf4], rax
mov qword [rdi + 0x4cec], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4ce8], r14b
add eax, 2
mov dword [rdi + 0x4b1c], eax
test r15b, r15b
jne 0x18004b1eb
test r12b, r12b
je 0x18004b288
mov eax, dword [rdi + 0x4cc4]
or eax, dword [rdi + 0x4cc0]
bt eax, 0xc
jae 0x18004b212
mov dword [rsi + 0x47bc], ebx
mov dword [rsi + 0x47b8], ebx
mov word [rsi + 0x47c0], 0
bt eax, 0xd
jae 0x18004b22d
mov dword [rsi + 0x47c8], ebx
mov dword [rsi + 0x47c4], ebx
mov word [rsi + 0x47cc], 0
bt eax, 0xe
jae 0x18004b248
mov dword [rsi + 0x47d4], ebx
mov dword [rsi + 0x47d0], ebx
mov word [rsi + 0x47d8], 0
bt eax, 0xf
jae 0x18004b263
mov dword [rsi + 0x47e0], ebx
mov dword [rsi + 0x47dc], ebx
mov word [rsi + 0x47e4], 0
bt eax, 0xb
jae 0x18004b288
cmp byte [rsi + 0x59], 0
mov eax, 0x47b8
mov ecx, 0x47dc
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
cmp qword [rdi + 0x4cc8], 0
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4ce0]
vmovss xmm7, dword [0x1800ecf9c]
vmovaps xmmword [rsp + 0x20], xmm8
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
vmovss dword [rdi + 0x4ce0], xmm1
je 0x18004b44d
cmp dword [rdi + 0x4b1c], 3
jne 0x18004b395
vsubss xmm0, xmm1, dword [0x1800ecf4c]
vdivss xmm1, xmm0, dword [0x1800ecf30]
vcomiss xmm6, xmm1
jbe 0x18004b2ec
vmovaps xmm2, xmm6
jmp 0x18004b2f0
vminss xmm2, xmm7, xmm1
vmovss xmm0, dword [rdi + 0x4ce4]
vmaxss xmm8, xmm0, xmm2
xor edx, edx
mov ecx, 0x282
mov r8d, 1
vmovss dword [rdi + 0x4ce4], xmm8
call fcn.180043960
xor edx, edx
movzx ebx, al
mov ecx, 0x281
mov r8d, 1
call fcn.180043960
movzx ecx, al
sub ecx, ebx
je 0x18004b345
call fcn.18004ae60
mov dword [rdi + 0x4ce4], 0x3f800000
vmovaps xmm8, xmm7
cmp byte [rsi + 0x35fc], 0
je 0x18004b357
cmp byte [rsi + 0x4664], 0
je 0x18004b395
vcomiss xmm7, xmm8
seta al
and byte [rdi + 0x4ce8], al
je 0x18004b37b
cmp qword [rdi + 0x4ae8], 0
je 0x18004b38a
mov byte [rsp + 0xa0], 1
jmp 0x18004b38a
mov rax, qword [rdi + 0x4cc8]
mov qword [rsp + 0xb8], rax
mov qword [rdi + 0x4cc8], 0
cmp qword [rdi + 0x4cc8], 0
je 0x18004b44d
cmp dword [rdi + 0x4b1c], 2
jne 0x18004b44d
mov eax, dword [rdi + 0x4cc0]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4ce0]
vsubss xmm1, xmm0, dword [0x1800ecf4c]
vdivss xmm2, xmm1, dword [0x1800ecf30]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4cc4]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm6, xmm2
jbe 0x18004b3fe
vmovaps xmm1, xmm6
jmp 0x18004b402
vminss xmm1, xmm7, xmm2
vmovss xmm0, dword [rdi + 0x4ce4]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4ce4], xmm1
test r15b, r15b
jne 0x18004b43a
test r12b, r12b
jne 0x18004b43a
mov eax, dword [rdi + 0xe68]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x18004b44d
mov rbx, qword [rdi + 0x4cc8]
jmp 0x18004b455
movzx ecx, r15b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.18004ae60
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x58]
test r13b, r13b
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
je 0x18004b490
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180043960
test al, al
je 0x18004b490
mov byte [rdi + 0x4ce8], 1
mov dword [rdi + 0x4b1c], 2
cmp byte [rdi + 0x4ce8], 0
je 0x18004b5b0
cmp dword [rdi + 0x4b1c], 2
jne 0x18004b5b0
cmp dword [rdi + 0x38e0], 0
jg 0x18004b4d7
cmp byte [rdi + 0xe64], 0
jne 0x18004b4d7
cmp byte [rdi + 0xe65], 0
jne 0x18004b4d7
cmp byte [rdi + 0xe67], 0
jne 0x18004b4d7
cmp dword [rsi + 0x47d0], 0xffffffff
je 0x18004b4de
mov byte [rdi + 0x4ce8], 0
vcomiss xmm6, dword [rsi + 0x37f4]
ja 0x18004b597
cmp byte [rsi + 0x37ec], 0
jne 0x18004b5a0
cmp byte [rsi + 0x47d8], 0
jne 0x18004b5a9
cmp byte [rdi + 0x4ce8], 0
je 0x18004b597
cmp dword [rdi + 0x406c], 0
je 0x18004b525
cmp byte [rdi + 0x4079], 0
je 0x18004b597
lea rax, [rdi + 0x3810]
test rax, rax
jne 0x18004b538
lea rax, [rsi + 0xe48]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x1800ed088]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x18004b559
vcomiss xmm2, xmm1
jb 0x18004b559
mov cl, 1
jmp 0x18004b55b
xor cl, cl
lea rax, [rdi + 0xe48]
test rax, rax
jne 0x18004b56e
lea rax, [rsi + 0xe48]
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x18004b587
vcomiss xmm2, xmm1
jb 0x18004b587
mov al, 1
jmp 0x18004b589
xor al, al
cmp al, cl
jne 0x18004b597
mov byte [rsp + 0xa0], 1
jmp 0x18004b5a9
cmp byte [rsi + 0x37ec], 0
je 0x18004b5a9
cmp byte [rsi + 0x47d8], 0
je 0x18004b5b0
mov byte [rdi + 0x4ce8], 0
mov rax, qword [rdi + 0x4cc8]
test rax, rax
je 0x18004b71a
test byte [rax + 0x14], 4
jne 0x18004b71a
mov eax, dword [rdi + 0x4b1c]
vmovaps xmm4, xmm6
vmovaps xmm5, xmm6
cmp eax, 2
jne 0x18004b608
cmp byte [rdi + 0xe65], 0
jne 0x18004b62d
vmovss xmm0, dword [rsi + 0x2eb8]
vmovss xmm1, dword [rsi + 0x2e98]
vsubss xmm5, xmm0, dword [rsi + 0x2ea8]
vsubss xmm4, xmm1, dword [rsi + 0x2e88]
jmp 0x18004b62d
cmp eax, 3
jne 0x18004b62d
vmovss xmm0, dword [rsi + 0x3718]
vmovss xmm1, dword [rsi + 0x36f8]
vsubss xmm5, xmm0, dword [rsi + 0x3708]
vsubss xmm4, xmm1, dword [rsi + 0x36e8]
vucomiss xmm4, xmm6
jp 0x18004b641
jne 0x18004b641
vucomiss xmm5, xmm6
jp 0x18004b641
je 0x18004b71a
vmovss xmm0, dword [rdi + 0x50]
vminss xmm2, xmm0, dword [rdi + 0x54]
vmovss xmm1, dword [rdi + 0x18]
vmulss xmm0, xmm1, dword [0x1800ed048]
vmulss xmm3, xmm2, xmm0
vmulss xmm0, xmm4, xmm3
vaddss xmm2, xmm0, dword [rdi + 0x4cec]
vcvttss2si eax, xmm2
vmulss xmm0, xmm5, xmm3
vaddss xmm1, xmm0, dword [rdi + 0x4cf0]
vxorps xmm8, xmm8, xmm8
vcvtsi2ss xmm8, xmm8, eax
vucomiss xmm8, xmm6
vcvttss2si eax, xmm1
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vmovss dword [rdi + 0x4cec], xmm2
vmovss dword [rdi + 0x4cf0], xmm1
mov byte [rdi + 0x4b33], 1
jp 0x18004b6b4
jne 0x18004b6b4
vucomiss xmm7, xmm6
jp 0x18004b6b4
je 0x18004b71a
mov rax, qword [rdi + 0x4cc8]
lea rdx, [rsp + 0xa8]
mov r8d, 1
mov rcx, qword [rax + 0x388]
vaddss xmm0, xmm8, dword [rcx + 0x28]
vaddss xmm1, xmm7, dword [rcx + 0x2c]
vmovss dword [rsp + 0xa8], xmm0
vmovss dword [rsp + 0xac], xmm1
call fcn.180042be0
vmovss xmm0, dword [rdi + 0x4cec]
vmovss xmm2, dword [rdi + 0x4cf0]
vsubss xmm1, xmm0, xmm8
vsubss xmm0, xmm2, xmm7
vmovss dword [rdi + 0x4cf0], xmm0
vmovss dword [rdi + 0x4cec], xmm1
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test rbx, rbx
je 0x18004b7ba
mov rax, qword [rdi + 0x4ae8]
test rax, rax
je 0x18004b74a
cmp rbx, qword [rax + 0x388]
je 0x18004b7af
xor edx, edx
xor ecx, ecx
call fcn.180039300
mov rax, qword [0x180346a60]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x4b31], 1
mov byte [rax + 0x4b33], 1
call fcn.180047110
mov edx, 1
mov rcx, rbx
call fcn.180042470
mov rbx, qword [rdi + 0x4ae8]
cmp dword [rbx + 0x3b0], 0
jne 0x18004b79b
xor edx, edx
mov rcx, rbx
call fcn.180048a30
cmp word [rbx + 0x16e], 2
jne 0x18004b7af
mov dword [rdi + 0x4b20], 1
mov qword [rdi + 0x4cc8], 0
cmp byte [rsp + 0xa0], 0
je 0x18004b888
cmp qword [rdi + 0x4ae8], 0
je 0x18004b888
xor edx, edx
xor ecx, ecx
call fcn.180039300
mov rbx, qword [rdi + 0x4ae8]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x18004b81b
test byte [rbx + 0x16c], 2
jne 0x18004b81b
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18004b81b
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x18004b7f3
mov rsi, qword [rdi + 0x4ae8]
cmp rbx, rsi
je 0x18004b838
xor edx, edx
mov rcx, rbx
call fcn.180042470
mov qword [rbx + 0x3a8], rsi
mov rax, qword [rdi + 0x4ae8]
test byte [rax + 0x16c], 2
je 0x18004b853
mov ecx, dword [rdi + 0x4b20]
xor ecx, 1
jmp 0x18004b855
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b20]
je 0x18004b888
cmp ecx, 1
jne 0x18004b86c
mov dword [rax + 0x3b4], 0
call fcn.1800488c0
mov rax, qword [0x180346a60]
mov word [rax + 0x4b31], 1
mov byte [rax + 0x4b33], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret