Function at 0x180029c80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1800c6618]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r15
mov eax, dword [rdi + 0x4888]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x180029cff
movsxd rdx, eax
mov rax, qword [rdi + 0x4890]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x180029cf5
test dword [rsi + 0x14], 0x8000000
jne 0x180029dbf
sub r8, 0x38
sub rdx, 1
jns 0x180029ce0
mov rax, qword [rdi + 0x4a58]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4a60], r9
je 0x180029d54
test rax, rax
jne 0x180029d54
comiss xmm7, dword [rdi + 0x4a8c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a74]
mulss xmm0, dword [0x1800b1234]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4a74], xmm1
jb 0x180029d54
comiss xmm7, xmm1
jb 0x180029d54
mov qword [rdi + 0x4a60], r9
mov r13d, 0xffffffff
lea rdx, [0x18009f049]
mov ebx, r13d
lea r9, [0x18009d7e0]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x180029d83
cmp byte [rdx], r8b
jne 0x180029d83
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 0x180029d70
mov r12d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
test r12b, 2
je 0x180029dce
test byte [rdi + 0xc], 1
je 0x180029dce
mov r15b, 1
jmp 0x180029dd1
mov qword [rdi + 0x4a58], r9
mov rax, r9
jmp 0x180029d09
xor r15b, r15b
and r12b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x58], r14
test rsi, rsi
jne 0x180029e07
mov ecx, dword [rdi + 0x4a50]
test ecx, ecx
je 0x180029e07
mov r8d, 0x1001
mov edx, ebx
call fcn.1800308b0
test al, al
je 0x180029e07
mov bpl, 1
jmp 0x180029e0f
xor bpl, bpl
test rsi, rsi
jne 0x180029e2f
mov ecx, dword [rdi + 0x4a54]
test ecx, ecx
je 0x180029e2f
mov r8d, 0x1001
mov edx, ebx
call fcn.1800308b0
test al, al
je 0x180029e2f
mov r14b, 1
jmp 0x180029e37
xor r14b, r14b
test rsi, rsi
jne 0x180029e5d
test r15b, r15b
je 0x180029e5d
cmp qword [rdi + 0x4a58], r13
jne 0x180029e5d
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.180025ac0
test al, al
je 0x180029e5d
mov r15b, 1
jmp 0x180029e6e
xor r15b, r15b
test rsi, rsi
jne 0x180029e7d
cmp qword [rdi + 0x4a58], r13
jne 0x180029e7d
test bpl, bpl
jne 0x180029e78
test r14b, r14b
je 0x180029e7d
mov sil, 1
jmp 0x180029e80
xor sil, sil
test r15b, r15b
jne 0x180029e8e
test sil, sil
je 0x180029f1e
mov rax, qword [rdi + 0x48d0]
test rax, rax
jne 0x180029eb5
mov ecx, dword [rdi + 0x3e88]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.180022ed0
test rax, rax
je 0x180029f1e
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a60], rax
mov qword [rdi + 0x4a58], rax
xor eax, eax
mov qword [rdi + 0x4a70], rax
mov qword [rdi + 0x4a84], rax
mov qword [rdi + 0x4a7c], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a78], r15b
add eax, 2
mov dword [rdi + 0x4904], eax
test bpl, bpl
jne 0x180029f02
test r14b, r14b
je 0x180029f1e
mov ecx, dword [rdi + 0x4a54]
xor r8d, r8d
or ecx, dword [rdi + 0x4a50]
mov edx, ebx
and ecx, 0xf800
call fcn.18002fff0
movss xmm0, dword [rdi + 0x4a70]
mov rsi, qword [rdi + 0x4a58]
movss xmm6, dword [0x1800b120c]
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm8
mov r15, qword [rsp + 0x50]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4a70], xmm0
test rsi, rsi
je 0x18002a045
cmp dword [rdi + 0x4904], 3
jne 0x18002a045
subss xmm0, dword [0x18009d748]
divss xmm0, dword [0x18009f230]
comiss xmm7, xmm0
jbe 0x180029f80
movaps xmm1, xmm7
jmp 0x180029f87
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4a74]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4a74], xmm8
call fcn.180025ac0
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.180025ac0
movzx ecx, al
mov rdx, rsi
mov eax, ebx
sub eax, ecx
je 0x180029fe9
mov ecx, eax
call fcn.18002a570
mov rdx, qword [rdi + 0x4a58]
movaps xmm8, xmm6
mov dword [rdi + 0x4a74], 0x3f800000
mov rax, qword [0x1800c6618]
cmp byte [rax + 0x34d4], r13b
je 0x18002a002
cmp byte [rax + 0x448c], r13b
je 0x18002a045
comiss xmm6, xmm8
seta al
and byte [rdi + 0x4a78], al
je 0x18002a032
cmp qword [rdi + 0x48d0], r13
je 0x18002a035
mov byte [rsp + 0x90], 1
mov qword [rdi + 0x4a58], 0
jmp 0x18002a0f7
mov r13, rdx
mov qword [rdi + 0x4a58], 0
jmp 0x18002a0f7
test rdx, rdx
je 0x18002a0f7
cmp dword [rdi + 0x4904], 2
jne 0x18002a0f7
mov eax, dword [rdi + 0x4a50]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a70]
test eax, eax
subss xmm0, dword [0x18009d748]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4a54]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x18009f230]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x18002a0ab
movaps xmm6, xmm7
jmp 0x18002a0af
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a74]
maxss xmm0, xmm6
movss dword [rdi + 0x4a74], xmm0
test bpl, bpl
jne 0x18002a0e4
test r14b, r14b
jne 0x18002a0e4
mov eax, dword [rdi + 0xe20]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x18002a0f7
mov r13, rdx
jmp 0x18002a0f7
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.18002a570
mov r14, qword [rsp + 0x58]
test r12b, r12b
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
je 0x18002a135
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180025ac0
test al, al
je 0x18002a135
mov byte [rdi + 0x4a78], 1
mov dword [rdi + 0x4904], 2
cmp byte [rdi + 0x4a78], 0
je 0x18002a271
cmp dword [rdi + 0x4904], 2
jne 0x18002a271
cmp dword [rdi + 0x37b8], 0
jg 0x18002a183
cmp byte [rdi + 0xe1c], 0
jne 0x18002a183
cmp byte [rdi + 0xe1d], 0
jne 0x18002a183
cmp byte [rdi + 0xe1f], 0
jne 0x18002a183
mov rax, qword [0x1800c6618]
cmp dword [rax + 0x45f8], 0xffffffff
je 0x18002a18a
mov byte [rdi + 0x4a78], 0
mov rcx, qword [0x1800c6618]
comiss xmm7, dword [rcx + 0x36cc]
ja 0x18002a251
cmp byte [rcx + 0x36c4], 0
jne 0x18002a251
cmp byte [rcx + 0x4600], 0
jne 0x18002a26a
cmp byte [rdi + 0x4a78], 0
je 0x18002a251
cmp dword [rdi + 0x3f38], 0
je 0x18002a1d7
cmp byte [rdi + 0x3f45], 0
je 0x18002a251
lea rax, [rdi + 0x36e8]
test rax, rax
jne 0x18002a1f0
mov rax, qword [0x1800c6618]
add rax, 0xe00
movss xmm0, dword [rax]
movss xmm1, dword [0x18009f280]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18002a20f
comiss xmm2, xmm1
jb 0x18002a20f
mov dl, 1
jmp 0x18002a211
xor dl, dl
lea rax, [rdi + 0xe00]
test rax, rax
jne 0x18002a22a
mov rax, qword [0x1800c6618]
add rax, 0xe00
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18002a241
comiss xmm2, xmm1
jb 0x18002a241
mov al, 1
jmp 0x18002a243
xor al, al
cmp al, dl
jne 0x18002a251
mov byte [rsp + 0x90], 1
jmp 0x18002a26a
cmp byte [rcx + 0x36c4], 0
mov rax, qword [0x1800c6618]
je 0x18002a26a
cmp byte [rax + 0x4600], 0
je 0x18002a271
mov byte [rdi + 0x4a78], 0
mov rax, qword [rdi + 0x4a58]
test rax, rax
je 0x18002a3ec
test byte [rax + 0x14], 4
jne 0x18002a3ec
mov eax, dword [rdi + 0x4904]
cmp eax, 2
jne 0x18002a2cc
cmp byte [rdi + 0xe1d], 0
jne 0x18002a3ec
mov rax, qword [0x1800c6618]
movss xmm2, dword [rax + 0x2e50]
movss xmm3, dword [rax + 0x2e70]
subss xmm2, dword [rax + 0x2e40]
subss xmm3, dword [rax + 0x2e60]
jmp 0x18002a2fc
cmp eax, 3
jne 0x18002a3ec
mov rax, qword [0x1800c6618]
movss xmm2, dword [rax + 0x35d0]
movss xmm3, dword [rax + 0x35f0]
subss xmm2, dword [rax + 0x35c0]
subss xmm3, dword [rax + 0x35e0]
ucomiss xmm2, xmm7
jp 0x18002a30e
jne 0x18002a30e
ucomiss xmm3, xmm7
jp 0x18002a30e
je 0x18002a3ec
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x18009f274]
mov byte [rdi + 0x490f], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a7c]
addss xmm3, dword [rdi + 0x4a80]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a7c], xmm2
movss dword [rdi + 0x4a80], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm7
cvtsi2ss xmm6, eax
jp 0x18002a37f
jne 0x18002a37f
ucomiss xmm6, xmm7
jp 0x18002a37f
je 0x18002a3ec
mov rax, qword [rdi + 0x4a58]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm8
movaps xmm1, xmm6
mov r8d, 1
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x98], xmm0
movss dword [rsp + 0x9c], xmm1
call fcn.180030620
movss xmm0, dword [rdi + 0x4a7c]
movss xmm1, dword [rdi + 0x4a80]
subss xmm0, xmm8
subss xmm1, xmm6
movss dword [rdi + 0x4a7c], xmm0
movss dword [rdi + 0x4a80], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x18002a48a
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x18002a41a
cmp r13, qword [rax + 0x378]
je 0x18002a47f
xor edx, edx
xor ecx, ecx
call fcn.18002f940
mov rax, qword [0x1800c6618]
xor edx, edx
mov rcx, r13
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
call fcn.180020720
mov edx, 1
mov rcx, r13
call fcn.180023230
mov rbx, qword [rdi + 0x48d0]
cmp dword [rbx + 0x3a0], 0
jne 0x18002a46b
xor edx, edx
mov rcx, rbx
call fcn.180026de0
cmp word [rbx + 0x15e], 2
jne 0x18002a47f
mov dword [rdi + 0x4908], 1
mov qword [rdi + 0x4a58], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x18002a55e
cmp qword [rdi + 0x48d0], 0
je 0x18002a55e
xor edx, edx
xor ecx, ecx
call fcn.18002f940
mov rsi, qword [rdi + 0x48d0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x18002a50e
nop dword [rax + rax]
test byte [rbx + 0x15c], 2
jne 0x18002a4f8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18002a4f8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x18002a4d0
cmp rbx, rsi
je 0x18002a50e
xor edx, edx
mov rcx, rbx
call fcn.180023230
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48d0]
test byte [rax + 0x15c], 2
je 0x18002a529
mov ecx, dword [rdi + 0x4908]
xor ecx, 1
jmp 0x18002a52b
xor ecx, ecx
cmp ecx, dword [rdi + 0x4908]
je 0x18002a55e
cmp ecx, 1
jne 0x18002a542
mov dword [rax + 0x3a4], 0
call fcn.180027a90
mov rax, qword [0x1800c6618]
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret