Function at 0x140021960
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x50
mov rdi, qword [0x140150058]
movss xmm0, dword [0x14005d220]
comiss xmm0, dword [rdi + 0x4a10]
ja 0x140021c71
cmp qword [rdi + 0x4a08], 0
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x1400219f3
mov r10d, 0xffffffff
lea r8, [0x140057b39]
mov ecx, r10d
lea r11, [0x140057fe0]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1400219c8
cmp byte [r8], r9b
jne 0x1400219c8
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400219b5
not ecx
call fcn.140013e20
mov qword [rdi + 0x4a08], rax
mov rax, qword [rdi + 0x4880]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rdi + 0x4780]
or eax, 0x10
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x14005d228]
mov dword [rdi + 0x4780], eax
or eax, 1
mulss xmm2, dword [0x14005d228]
mov qword [rdi + 0x47d0], rdx
mov qword [rdi + 0x47d8], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x47bc], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x14005d240]
mulss xmm2, dword [0x14005d240]
addss xmm1, dword [rcx + 8]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
addss xmm2, dword [rcx + 4]
mov dword [rdi + 0x4780], eax
lea rcx, [rdi + 0x4800]
movss dword [rdi + 0x4794], xmm1
mov dword [rdi + 0x4798], 0x3f000000
mov dword [rdi + 0x479c], 0x3f000000
movss dword [rdi + 0x4790], xmm2
mov dword [rdi + 0x4784], 1
movss xmm7, dword [rdi + 0x37e8]
movss xmm6, dword [rdi + 0x37ec]
addss xmm7, xmm7
movss xmm1, dword [rdi + 0x37e8]
addss xmm6, xmm6
movss xmm0, dword [rdi + 0x37ec]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.140024040
xor edx, edx
movss dword [rdi + 0x37e8], xmm7
mov r8d, 0xc1347
movss dword [rdi + 0x37ec], xmm6
lea rcx, str.NavWindowingList
call fcn.140016570
mov eax, dword [rdi + 0x3e50]
movaps xmm7, xmmword [rsp + 0x30]
sub eax, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, eax
js 0x140021c5d
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi + 0x3e58]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0xaf], 0
je 0x140021c4e
cmp rbx, qword [rbx + 0x370]
jne 0x140021c4e
test dword [rbx + 0xc], 0x80000
jne 0x140021c4e
mov r8, qword [rbx]
mov rcx, r8
cmp r8, 0xffffffffffffffff
jae 0x140021bb4
movzx edx, byte [rcx]
test dl, dl
je 0x140021baf
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140021ba6
cmp byte [rax], dl
je 0x140021baf
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140021b92
cmp r8, rcx
jne 0x140021c2e
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140021bdb
mov rax, qword [0x140150058]
lea r8, str.Missing_Text
mov rcx, qword [rax + 0x5c08]
test rcx, rcx
cmovne r8, rcx
jmp 0x140021c2e
bt eax, 0xa
jae 0x140021c12
lea rdx, str.MainMenuBar
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140021c12
mov rax, qword [0x140150058]
lea r8, str.Missing_Text
mov rcx, qword [rax + 0x5c00]
test rcx, rcx
cmovne r8, rcx
jmp 0x140021c2e
mov rax, qword [0x140150058]
lea r8, str.Missing_Text
mov rdx, qword [rax + 0x5c10]
test rdx, rdx
cmovne r8, rdx
cmp qword [rdi + 0x49f8], rbx
lea r9, [rsp + 0x60]
mov rcx, r8
mov qword [rsp + 0x60], 0
sete dl
call fcn.140049de0
sub rsi, 1
jns 0x140021b54
mov rbx, qword [rsp + 0x68]
call fcn.140018950
mov ecx, 1
call fcn.14000d130
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret