Function at 0x180021ed0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x50
mov rdi, qword [0x18005af48]
movss xmm0, dword [0x180051900]
comiss xmm0, dword [rdi + 0x4218]
ja 0x18002219b
cmp qword [rdi + 0x4210], 0
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x180021f63
mov r10d, 0xffffffff
lea r8, [0x180050b81]
mov ecx, r10d
lea r11, [0x18004b510]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x180021f38
cmp byte [r8], r9b
jne 0x180021f38
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 0x180021f25
not ecx
call fcn.180016f60
mov qword [rdi + 0x4210], rax
movss xmm1, dword [0x180051a74]
lea rdx, [rsp + 0x20]
mov rax, qword [rdi + 0x4090]
movaps xmm0, xmm1
unpcklps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm0, xmm0, 0x55
mov rcx, qword [rax]
xor eax, eax
movss xmm2, dword [rcx + 0x10]
movss xmm3, dword [rcx + 0xc]
or dword [rdi + 0x3f90], 0x10
mulss xmm2, dword [0x18005190c]
mulss xmm3, dword [0x18005190c]
movss dword [rdi + 0x3fcc], xmm3
movss dword [rdi + 0x3fd0], xmm2
movss dword [rdi + 0x3fd4], xmm1
movsd qword [rsp + 0x60], xmm1
movss dword [rdi + 0x3fd8], xmm0
mov qword [rdi + 0x3fe0], rax
mov qword [rdi + 0x3fe8], rax
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x180051924]
mov dword [rsp + 0x20], 2
mulss xmm2, dword [0x180051924]
addss xmm1, dword [rcx + 8]
addss xmm2, dword [rcx + 4]
or dword [rdi + 0x3f90], 1
lea rcx, [rdi + 0x4010]
mov dword [rdi + 0x3fa8], 0x3f000000
movss dword [rdi + 0x3fa4], xmm1
mov dword [rdi + 0x3fac], 0x3f000000
movss dword [rdi + 0x3fa0], xmm2
mov dword [rdi + 0x3f94], 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.180023b90
xor edx, edx
movss dword [rdi + 0x37e8], xmm7
mov r8d, 0xc1347
movss dword [rdi + 0x37ec], xmm6
lea rcx, str.NavWindowingList
call fcn.1800198d0
mov eax, dword [rdi + 0x3e40]
movaps xmm7, xmmword [rsp + 0x30]
sub eax, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, eax
js 0x18002218c
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi + 0x3e48]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0x97], 0
je 0x18002217d
cmp rbx, qword [rbx + 0x360]
jne 0x18002217d
test dword [rbx + 0xc], 0x80000
jne 0x18002217d
mov r8, qword [rbx]
mov rcx, r8
cmp r8, 0xffffffffffffffff
jae 0x180022124
movzx edx, byte [rcx]
test dl, dl
je 0x18002211f
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180022116
cmp byte [rax], dl
je 0x18002211f
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180022102
cmp r8, rcx
jne 0x18002215d
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x180022136
lea r8, str._Popup_
jmp 0x18002215d
bt eax, 0xa
jae 0x180022156
lea rdx, str.MainMenuBar
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r8, str._Main_menu_bar_
test eax, eax
je 0x18002215d
lea r8, str._Untitled_
cmp qword [rdi + 0x4200], rbx
lea r9, [rsp + 0x60]
mov rcx, r8
mov qword [rsp + 0x60], 0
sete dl
call fcn.18003b580
sub rsi, 1
jns 0x1800220c4
mov rbx, qword [rsp + 0x68]
call fcn.18001bbf0
call fcn.180010860
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret