Function at 0x180050e60
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x50
mov rdi, qword [0x180141f68]
movss xmm0, dword [0x18011a784]
comiss xmm0, dword [rdi + 0x4230]
ja 0x18005112b
cmp qword [rdi + 0x4228], 0
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x180050ef3
mov r10d, 0xffffffff
lea r8, [0x180119d71]
mov ecx, r10d
lea r11, [0x180111d80]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x180050ec8
cmp byte [r8], r9b
jne 0x180050ec8
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 0x180050eb5
not ecx
call fcn.1800459b0
mov qword [rdi + 0x4228], rax
mov rax, qword [rdi + 0x40a8]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
or dword [rdi + 0x3fa8], 0x10
mulss xmm1, dword [0x18011a794]
mov qword [rdi + 0x3ff8], rdx
mulss xmm2, dword [0x18011a794]
mov qword [rdi + 0x4000], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x3fe4], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x18011a7f4]
mulss xmm2, dword [0x18011a7f4]
addss xmm1, dword [rcx + 8]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
addss xmm2, dword [rcx + 4]
or dword [rdi + 0x3fa8], 1
lea rcx, [rdi + 0x4028]
movss dword [rdi + 0x3fbc], xmm1
mov dword [rdi + 0x3fc0], 0x3f000000
mov dword [rdi + 0x3fc4], 0x3f000000
movss dword [rdi + 0x3fb8], xmm2
mov dword [rdi + 0x3fac], 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.180052a80
xor edx, edx
movss dword [rdi + 0x37e8], xmm7
mov r8d, 0xc1347
movss dword [rdi + 0x37ec], xmm6
lea rcx, str.NavWindowingList
call fcn.180047f00
mov eax, dword [rdi + 0x3e50]
movaps xmm7, xmmword [rsp + 0x30]
sub eax, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, eax
js 0x180051117
mov qword [rsp + 0x68], rbx
nop word [rax + rax]
mov rax, qword [rdi + 0x3e58]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0x97], 0
je 0x180051108
cmp rbx, qword [rbx + 0x370]
jne 0x180051108
mov edx, dword [rbx + 0xc]
bt edx, 0x13
jb 0x180051108
mov r10, qword [rbx]
mov rax, r10
cmp r10, 0xffffffffffffffff
jae 0x1800510af
nop
movzx ecx, byte [rax]
test cl, cl
je 0x1800510aa
cmp cl, 0x23
jne 0x1800510a1
cmp byte [rax + 1], cl
je 0x1800510aa
inc rax
cmp rax, 0xffffffffffffffff
jb 0x180051090
cmp r10, rax
jne 0x1800510e5
bt edx, 0x1a
jae 0x1800510be
lea r10, str._Popup_
jmp 0x1800510e5
bt edx, 0xa
jae 0x1800510de
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r10, str._Main_menu_bar_
test eax, eax
je 0x1800510e5
lea r10, str._Untitled_
cmp qword [rdi + 0x4218], rbx
lea r9, [rsp + 0x60]
mov rcx, r10
mov qword [rsp + 0x60], 0
sete dl
xor r8d, r8d
call fcn.180062650
sub rsi, 1
jns 0x180051050
mov rbx, qword [rsp + 0x68]
call fcn.18004a2f0
mov ecx, 1
call fcn.18003ec00
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret