Function at 0x1400512e0
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0x68
mov r15d, edx
mov r14d, edx
and r15d, 0x10002
mov ebp, edx
mov dword [rsp + 0x98], r15d
mov r12, rcx
and r14d, 0x6000000
je 0x140051318
test r15d, r15d
jne 0x1400516a7
mov rcx, qword [0x1402ff138]
mov qword [rsp + 0x60], rsi
mov eax, dword [rcx + 0x4c58]
cmp dword [rcx + 0x4c48], eax
jg 0x14005134b
xor esi, esi
mov dword [rcx + 0x4b40], esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r14
pop r12
pop rbp
ret
mov r10, qword [rcx + 0x4140]
lea rdx, [0x1401440f9]
mov qword [rsp + 0x90], rbx
lea r11, [0x14013f300]
mov r8b, 0x63
movsxd rcx, dword [r10 + 0x130]
mov rax, qword [r10 + 0x138]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140051397
cmp byte [rdx], r8b
jne 0x140051397
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r11 + rcx*4]
test r8b, r8b
jne 0x140051384
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x418c], ebx
jne 0x1400513d4
lea r8, str.context
mov edx, 0xb
mov ecx, ebx
call fcn.1400291c0
mov ecx, ebx
call fcn.140017ae0
test al, al
je 0x14005169a
mov qword [rsp + 0x58], rdi
mov rdi, qword [0x1402ff138]
mov r9, rdi
inc word [rdi + 0x609e]
test r14d, r14d
jne 0x1400515fb
vmovss xmm2, dword [rdi + 0x3e78]
vmulss xmm0, xmm2, dword [0x140149e40]
vmovss xmm1, dword [rdi + 0x3a38]
vaddss xmm2, xmm2, dword [rdi + 0x3a4c]
vaddss xmm1, xmm1, xmm1
vaddss xmm2, xmm2, xmm1
vsubss xmm3, xmm0, xmm2
vmaxss xmm1, xmm3, dword [0x140149dc4]
mov qword [rsp + 0x50], r13
vmovaps xmmword [rsp + 0x40], xmm6
vmovss dword [rsp + 0xa4], xmm1
vmovss dword [rsp + 0xa0], xmm0
vmovaps xmmword [rsp + 0x30], xmm7
call fcn.1400163f0
mov r9, qword [0x1402ff138]
lea r15d, [r14 + 0xc]
xor esi, esi
mov r13d, 0x1a8
and ebp, 2
test esi, esi
je 0x1400514b0
mov rdx, qword [r9 + 0x4140]
cmp byte [rdx + 0xf8], 0
jne 0x1400514b0
mov r8d, dword [rdx + 0x1f4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1e8], 0
je 0x1400514ab
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.1400446e0
mov ecx, esi
call fcn.140013240
test esi, esi
mov ebx, 0x20001a8
cmovne ebx, r13d
or ebx, ebp
cmp esi, 1
jne 0x1400514cd
bts ebx, 0x1a
mov rax, qword [0x1402ff138]
lea r9, [rsp + 0xa0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 0x4140]
vmovss xmm6, dword [rcx + 0x140]
vmovss xmm7, dword [rcx + 0x144]
lea rcx, str.selectable
call fcn.140052010
test al, al
je 0x14005151d
mov eax, ebx
xor eax, dword [rdi + 0x6014]
and eax, 0xf9ffffff
xor eax, ebx
mov dword [rdi + 0x6014], eax
mov rcx, qword [0x1402ff138]
test bl, 2
vxorps xmm0, xmm0, xmm0
mov r8d, 0x10
mov rdx, r12
cmovne r8, r15
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
lea rcx, [rsp + 0x20]
vmovss dword [rax + 0x140], xmm6
vmovss dword [rax + 0x144], xmm7
mov byte [rax + 0x181], 1
vmovups xmmword [rsp + 0x20], xmm0
call fcn.1401136c0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, ebx
lea rcx, str.previewing_picker
call fcn.14004e330
mov r9, qword [0x1402ff138]
inc esi
mov rax, qword [r9 + 0x4140]
dec dword [rax + 0x130]
cmp esi, 2
jl 0x140051474
mov rax, qword [r9 + 0x4140]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x98]
mov byte [rax + 0xf5], 1
mov r8, qword [r9 + 0x4140]
movsxd rdx, dword [r8 + 0x208]
mov rax, qword [r8 + 0x210]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov dword [r8 + 0x208], eax
mov dword [r8 + 0x200], ecx
test r15d, r15d
jne 0x140051689
test r14d, r14d
jne 0x140051641
mov rdx, qword [r9 + 0x4140]
cmp byte [rdx + 0xf8], r14b
jne 0x140051641
mov r8d, dword [rdx + 0x1f4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1e8], 0
je 0x14005163c
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.1400446e0
movzx eax, byte [rdi + 0x6016]
lea rdx, [rsp + 0x98]
and al, 1
lea rcx, str.Alpha_Bar
mov byte [rsp + 0x98], al
call fcn.140043b10
test al, al
je 0x140051689
cmp byte [rsp + 0x98], 0
mov eax, dword [rdi + 0x6014]
je 0x14005167f
bts eax, 0x10
jmp 0x140051683
btr eax, 0x10
mov dword [rdi + 0x6014], eax
call fcn.140017b70
dec word [rdi + 0x609e]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r14
pop r12
pop rbp
ret