Function at 0x140051e10
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 0x140051e48
test r15d, r15d
jne 0x1400521d9
mov rcx, qword [0x1402ed1d8]
mov qword [rsp + 0x60], rsi
mov eax, dword [rcx + 0x4c58]
cmp dword [rcx + 0x4c48], eax
jg 0x140051e7b
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, [0x1401320f9]
mov qword [rsp + 0x90], rbx
lea r11, [0x14012d300]
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 0x140051ec7
cmp byte [rdx], r8b
jne 0x140051ec7
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 0x140051eb4
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x418c], ebx
jne 0x140051f04
lea r8, str.context
mov edx, 0xb
mov ecx, ebx
call fcn.14002a050
mov ecx, ebx
call fcn.140018520
test al, al
je 0x1400521cc
mov qword [rsp + 0x58], rdi
mov rdi, qword [0x1402ed1d8]
mov r9, rdi
inc word [rdi + 0x609e]
test r14d, r14d
jne 0x14005212d
vmovss xmm2, dword [rdi + 0x3e78]
vmulss xmm0, xmm2, dword [0x14013820c]
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 [0x14013818c]
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.140016e00
mov r9, qword [0x1402ed1d8]
xor esi, esi
and ebp, 2
mov r13d, 0x1a8
mov r15d, 0xc
test esi, esi
je 0x140051fe2
mov rdx, qword [r9 + 0x4140]
cmp byte [rdx + 0xf8], 0
jne 0x140051fe2
mov r8d, dword [rdx + 0x1f4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1e8], 0
je 0x140051fdd
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.140044f90
mov ecx, esi
call fcn.140013bc0
test esi, esi
mov ebx, 0x20001a8
cmovne ebx, r13d
or ebx, ebp
cmp esi, 1
jne 0x140051fff
bts ebx, 0x1a
mov rax, qword [0x1402ed1d8]
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.140052b40
test al, al
je 0x14005204f
mov eax, ebx
xor eax, dword [rdi + 0x6014]
and eax, 0xf9ffffff
xor eax, ebx
mov dword [rdi + 0x6014], eax
mov rcx, qword [0x1402ed1d8]
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.1401012d0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, ebx
lea rcx, str.previewing_picker
call fcn.14004eda0
mov r9, qword [0x1402ed1d8]
inc esi
mov rax, qword [r9 + 0x4140]
dec dword [rax + 0x130]
cmp esi, 2
jl 0x140051fa6
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 0x1400521bb
test r14d, r14d
jne 0x140052173
mov rdx, qword [r9 + 0x4140]
cmp byte [rdx + 0xf8], r14b
jne 0x140052173
mov r8d, dword [rdx + 0x1f4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1e8], 0
je 0x14005216e
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.140044f90
movzx eax, byte [rdi + 0x6016]
lea rdx, [rsp + 0x98]
and al, 1
lea rcx, str.Alpha_Bar
mov byte [rsp + 0x98], al
call fcn.1400443b0
test al, al
je 0x1400521bb
cmp byte [rsp + 0x98], 0
mov eax, dword [rdi + 0x6014]
je 0x1400521b1
bts eax, 0x10
jmp 0x1400521b5
btr eax, 0x10
mov dword [rdi + 0x6014], eax
call fcn.1400185b0
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