Function at 0x140012ac0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x50
mov rdx, qword [0x14042c680]
movss xmm0, dword [0x140063ee4]
mov rsi, rdx
comiss xmm0, dword [rdx + 0x4228]
ja 0x140012da4
cmp qword [rdx + 0x4220], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x140012b65
mov r10d, 0xffffffff
lea r8, [0x140063d11]
mov ecx, r10d
lea r11, [0x1400627f0]
mov r9b, 0x23
nop dword [rax]
cmp r9b, 0x23
jne 0x140012b33
cmp byte [r8], r9b
jne 0x140012b33
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 0x140012b20
not ecx
call fcn.14000c230
mov qword [rsi + 0x4220], rax
mov rdx, qword [0x14042c680]
mov rax, qword [rdx + 0x40a0]
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
xor eax, eax
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
or dword [rdx + 0x3fa0], 0x10
mulss xmm1, dword [0x140063eec]
mov qword [rdx + 0x3ff0], rax
mulss xmm2, dword [0x140063eec]
mov qword [rdx + 0x3ff8], rax
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdx + 0x3fdc], xmm0
lea rdx, [rsp + 0x20]
mov rax, qword [0x14042c680]
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x1400626bc]
mulss xmm2, dword [0x1400626bc]
addss xmm1, dword [rcx + 8]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
addss xmm2, dword [rcx + 4]
or dword [rax + 0x3fa0], 1
movss dword [rax + 0x3fb4], xmm1
mov dword [rax + 0x3fb8], 0x3f000000
mov dword [rax + 0x3fbc], 0x3f000000
movss dword [rax + 0x3fb0], xmm2
mov dword [rax + 0x3fa4], 1
mov rbx, qword [0x14042c680]
movss xmm7, dword [rsi + 0x37e8]
movss xmm6, dword [rsi + 0x37ec]
addss xmm7, xmm7
addss xmm6, xmm6
movss xmm1, dword [rbx + 0x37e8]
lea rcx, [rbx + 0x4020]
movss xmm0, dword [rbx + 0x37ec]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14001d400
xor edx, edx
movss dword [rbx + 0x37e8], xmm7
mov r8d, 0xc1347
movss dword [rbx + 0x37ec], xmm6
lea rcx, str.NavWindowingList
call fcn.140005410
mov eax, dword [rsi + 0x3e50]
movaps xmm7, xmmword [rsp + 0x30]
sub eax, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rdi, eax
js 0x140012d8b
mov rax, qword [rsi + 0x3e58]
mov rbx, qword [rax + rdi*8]
cmp byte [rbx + 0x97], 0
je 0x140012d81
cmp rbx, qword [rbx + 0x360]
jne 0x140012d81
test dword [rbx + 0xc], 0x80000
jne 0x140012d81
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140012d25
movzx edx, byte [rcx]
test dl, dl
je 0x140012d20
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140012d17
cmp byte [rax], dl
je 0x140012d20
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140012d03
cmp r10, rcx
jne 0x140012d5e
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140012d37
lea r10, str._Popup_
jmp 0x140012d5e
bt eax, 0xa
jae 0x140012d57
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 0x140012d5e
lea r10, str._Untitled_
cmp qword [rsi + 0x4210], rbx
lea r9, [rsp + 0x60]
mov rcx, r10
mov qword [rsp + 0x60], 0
sete dl
xor r8d, r8d
call fcn.140045440
sub rdi, 1
jns 0x140012cc5
call fcn.14000aae0
mov ecx, 1
call fcn.140014630
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret