Function at 0x140084240
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 0x140084278
test r15d, r15d
jne 0x1400845ff
mov rcx, qword [0x1401d52c0]
mov qword [rsp + 0x60], rsi
mov eax, dword [rcx + 0x4ad0]
cmp dword [rcx + 0x4ac0], eax
jg 0x1400842ab
xor esi, esi
mov dword [rcx + 0x49e8], esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r14
pop r12
pop rbp
ret
mov r10, qword [rcx + 0x4038]
lea rdx, [0x14011c219]
mov qword [rsp + 0x90], rbx
lea r11, [0x140115240]
mov r8b, 0x63
movsxd rcx, dword [r10 + 0x100]
mov rax, qword [r10 + 0x108]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x1400842f7
cmp byte [rdx], r8b
jne 0x1400842f7
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 0x1400842e4
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x4084], ebx
jne 0x140084334
lea r8, str.context
mov edx, 0xb
mov ecx, ebx
call fcn.140058400
mov ecx, ebx
call fcn.140052130
test al, al
je 0x1400845f2
mov qword [rsp + 0x58], rdi
mov rdi, qword [0x1401d52c0]
mov r9, rdi
inc word [rdi + 0x5e66]
test r14d, r14d
jne 0x14008455a
vmovss xmm2, dword [rdi + 0x3d60]
vmulss xmm0, xmm2, dword [0x14011cf68]
vmovss xmm1, dword [rdi + 0x3930]
vaddss xmm2, xmm2, dword [rdi + 0x3944]
vaddss xmm1, xmm1, xmm1
vaddss xmm2, xmm2, xmm1
vsubss xmm3, xmm0, xmm2
vmaxss xmm1, xmm3, dword [0x14011ce74]
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.140050a80
mov r9, qword [0x1401d52c0]
xor esi, esi
and ebp, 2
mov r13d, 0x1a8
mov r15d, 0xc
test esi, esi
je 0x140084412
mov rdx, qword [r9 + 0x4038]
cmp byte [rdx + 0xc3], 0
jne 0x140084412
mov r8d, dword [rdx + 0x1c4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1b8], 0
je 0x14008440d
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.140078b30
mov ecx, esi
call fcn.14004dd50
test esi, esi
mov ebx, 0x20001a8
cmovne ebx, r13d
or ebx, ebp
cmp esi, 1
jne 0x14008442f
bts ebx, 0x1a
mov rax, qword [0x1401d52c0]
lea r9, [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rax + 0x4038]
vmovss xmm6, dword [rcx + 0x110]
vmovss xmm7, dword [rcx + 0x114]
lea rcx, str.selectable
call fcn.140084610
test al, al
je 0x14008447c
mov eax, ebx
xor eax, dword [rdi + 0x5ddc]
and eax, 0xf9ffffff
xor eax, ebx
mov dword [rdi + 0x5ddc], eax
mov rcx, qword [0x1401d52c0]
test bl, 2
vxorps xmm0, xmm0, xmm0
mov r8d, 0x10
mov rdx, r12
cmovne r8, r15
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
lea rcx, [rsp + 0x20]
vmovss dword [rax + 0x110], xmm6
vmovss dword [rax + 0x114], xmm7
mov byte [rax + 0x151], 1
vmovups xmmword [rsp + 0x20], xmm0
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, ebx
lea rcx, str.previewing_picker
call fcn.140080f80
mov r9, qword [0x1401d52c0]
inc esi
mov rax, qword [r9 + 0x4038]
dec dword [rax + 0x100]
cmp esi, 2
jl 0x1400843d6
mov rax, qword [r9 + 0x4038]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x98]
mov byte [rax + 0xc0], 1
mov r8, qword [r9 + 0x4038]
movsxd rdx, dword [r8 + 0x1d8]
mov rax, qword [r8 + 0x1e0]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov dword [r8 + 0x1d8], eax
mov dword [r8 + 0x1cc], ecx
test r15d, r15d
jne 0x1400845e1
test r14d, r14d
jne 0x1400845a0
mov rdx, qword [r9 + 0x4038]
cmp byte [rdx + 0xc3], r14b
jne 0x1400845a0
mov r8d, dword [rdx + 0x1c4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1b8], 0
je 0x14008459b
neg r8d
sbb ecx, ecx
add ecx, 6
call fcn.140078b30
movzx eax, byte [rdi + 0x5dde]
lea rdx, [rsp + 0x98]
and al, 1
mov byte [rsp + 0x98], al
call fcn.140077f80
test al, al
je 0x1400845e1
cmp byte [rsp + 0x98], 0
mov eax, dword [rdi + 0x5ddc]
je 0x1400845d7
bts eax, 0x10
jmp 0x1400845db
btr eax, 0x10
mov dword [rdi + 0x5ddc], eax
call fcn.1400521c0
dec word [rdi + 0x5e66]
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