Function at 0x180051910
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0x98
mov r15d, edx
mov r14d, edx
and r15d, 0x10002
mov ebp, edx
mov dword [rsp + 0xc8], r15d
mov r12, rcx
and r14d, 0x6000000
je 0x18005194b
test r15d, r15d
jne 0x180051cee
mov r10, qword [0x180188c98]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x88], rdi
movsxd rbx, dword [r10 + 0x4908]
cmp dword [r10 + 0x48f8], ebx
jle 0x180051cd5
mov rax, qword [r10 + 0x3f48]
lea rdx, [0x18010a929]
mov r8b, 0x63
lea rdi, [0x180103030]
movsxd rcx, dword [rax + 0xf0]
mov rax, qword [rax + 0xf8]
mov r11d, dword [rax + rcx*4 - 4]
not r11d
mov r9d, r11d
cmp r8b, 0x23
jne 0x1800519ba
cmp byte [rdx], r8b
jne 0x1800519ba
cmp byte [rdx + 1], r8b
cmove r9d, r11d
movzx ecx, r9b
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr r9d, 8
inc rdx
xor r9d, dword [rdi + rcx*4]
test r8b, r8b
jne 0x1800519a7
mov rax, qword [r10 + 0x4900]
not r9d
imul rcx, rbx, 0x38
cmp dword [rcx + rax], r9d
jne 0x180051cd5
lea r8, str.Popup__08x
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.18000ecb0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x4000103
call fcn.180019d10
movzx ebx, al
test al, al
jne 0x180051a25
call fcn.180020e00
test bl, bl
je 0x180051cde
mov qword [rsp + 0x90], rsi
mov rsi, qword [0x180188c98]
movaps xmmword [rsp + 0x70], xmm6
mov r9, rsi
movss xmm6, dword [0x18011110c]
inc word [rsi + 0x5c32]
test r14d, r14d
jne 0x180051c4a
movss xmm1, dword [rsi + 0x3c70]
movss xmm2, dword [rsi + 0x3808]
movaps xmm0, xmm1
mulss xmm0, dword [0x1801111dc]
addss xmm2, xmm2
mov qword [rsp + 0x80], r13
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movss dword [rsp + 0xd0], xmm0
addss xmm2, xmm1
movaps xmm1, xmm0
addss xmm2, dword [rsi + 0x381c]
subss xmm1, xmm2
maxss xmm1, xmm6
movss dword [rsp + 0xd4], xmm1
call fcn.18001f6f0
mov r9, qword [0x180188c98]
xor edi, edi
and ebp, 2
mov r13d, 0x1a8
mov r15d, 0xc
test edi, edi
je 0x180051afd
mov rax, qword [r9 + 0x3f48]
cmp byte [rax + 0xbb], 0
jne 0x180051afd
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180043fa0
mov ecx, edi
call fcn.18001cee0
test edi, edi
mov ebx, 0x20001a8
cmovne ebx, r13d
or ebx, ebp
cmp edi, 1
jne 0x180051b1a
bts ebx, 0x1a
mov rax, qword [0x180188c98]
lea r9, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 0x3f48]
movss xmm7, dword [rcx + 0x100]
movss xmm8, dword [rcx + 0x104]
lea rcx, str.selectable
call fcn.180051d00
test al, al
je 0x180051b6b
mov eax, ebx
xor eax, dword [rsi + 0x5bbc]
and eax, 0xf9ffffff
xor eax, ebx
mov dword [rsi + 0x5bbc], eax
mov rcx, qword [0x180188c98]
xorps xmm0, xmm0
test bl, 2
mov r8d, 0x10
mov rdx, r12
cmovne r8, r15
mov rax, qword [rcx + 0x3f48]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3f48]
lea rcx, [rsp + 0x20]
movss dword [rax + 0x100], xmm7
movss dword [rax + 0x104], xmm8
mov byte [rax + 0x141], 1
movups xmmword [rsp + 0x20], xmm0
call fcn.1800d35f0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, ebx
lea rcx, str.previewing_picker
call fcn.18004e720
mov r9, qword [0x180188c98]
inc edi
mov rax, qword [r9 + 0x3f48]
dec dword [rax + 0xf0]
cmp edi, 2
jl 0x180051ad4
mov rax, qword [r9 + 0x3f48]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
mov r13, qword [rsp + 0x80]
mov r15d, dword [rsp + 0xc8]
mov byte [rax + 0xb8], 1
mov r8, qword [r9 + 0x3f48]
movsxd rdx, dword [r8 + 0x1c8]
mov rax, qword [r8 + 0x1d0]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov dword [r8 + 0x1c8], eax
mov dword [r8 + 0x1bc], ecx
test r15d, r15d
jne 0x180051cba
test r14d, r14d
jne 0x180051c79
mov rax, qword [r9 + 0x3f48]
cmp byte [rax + 0xbb], r14b
jne 0x180051c79
mov eax, dword [rax + 0x1b4]
movaps xmm1, xmm6
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180043fa0
movzx eax, byte [rsi + 0x5bbe]
lea rdx, [rsp + 0xc8]
and al, 1
mov byte [rsp + 0xc8], al
call fcn.1800430e0
test al, al
je 0x180051cba
cmp byte [rsp + 0xc8], 0
mov eax, dword [rsi + 0x5bbc]
je 0x180051cb0
bts eax, 0x10
jmp 0x180051cb4
btr eax, 0x10
mov dword [rsi + 0x5bbc], eax
call fcn.180020e00
dec word [rsi + 0x5c32]
mov rsi, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
jmp 0x180051cde
xor edi, edi
mov dword [r10 + 0x4828], edi
mov rbx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
add rsp, 0x98
pop r15
pop r14
pop r12
pop rbp
ret