Function at 0x412d80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x42e98c]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x4315e8]
comiss xmm0, dword [edi + 0x1eac]
ja 0x413030
cmp dword [edi + 0x1ea8], 0
jne 0x412df6
or edx, 0xffffffff
mov esi, 0x42a3f1
mov al, 0x23
or ebx, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x412dce
cmp byte [esi], al
jne 0x412dce
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x42a638]
test al, al
jne 0x412dc0
not edx
mov ecx, edx
call fcn.004092f0
mov dword [edi + 0x1ea8], eax
mov eax, dword [edi + 0x1d4c]
mov dword [ebp - 0x14], 0x7f7fffff
mov dword [ebp - 0x10], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1c84]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x42e990]
mov dword [edi + 0x1c84], eax
or eax, 1
mulss xmm2, dword [0x42e990]
mov dword [edi + 0x1cd0], 0
movss dword [ebp - 0x18], xmm1
mov dword [edi + 0x1cd4], 0
movss dword [ebp - 0x1c], xmm2
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebp - 0x18], 2
movups xmmword [edi + 0x1cc0], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x42e9a8]
mulss xmm2, dword [0x42e9a8]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x1c84], eax
lea ecx, [edi + 0x1cf0]
mov dword [edi + 0x1c9c], 0x3f000000
lea eax, [ebp - 0x18]
movss dword [edi + 0x1c98], xmm1
mov dword [edi + 0x1ca0], 0x3f000000
movss dword [edi + 0x1c94], xmm2
mov dword [edi + 0x1c88], 1
movss xmm0, dword [edi + 0x1530]
movss xmm1, dword [edi + 0x1530]
addss xmm0, xmm0
push eax
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0x1534]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x1534]
movss dword [ebp - 0x10], xmm0
call fcn.004147f0
movss xmm0, dword [ebp - 4]
xor edx, edx
movss dword [edi + 0x1530], xmm0
mov ecx, str.NavWindowingList
movss xmm0, dword [ebp - 8]
push 0xc1347
movss dword [edi + 0x1534], xmm0
call fcn.0040b6b0
mov ecx, dword [edi + 0x1b6c]
add esp, 4
sub ecx, 1
mov dword [ebp - 4], ecx
js 0x413026
nop dword [eax + eax]
mov eax, dword [edi + 0x1b74]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0x8b], 0
je 0x41301a
cmp esi, dword [esi + 0x2d4]
jne 0x41301a
test dword [esi + 8], 0x80000
jne 0x41301a
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x412fa2
mov bl, byte [edx]
test bl, bl
je 0x412f9e
cmp bl, 0x23
jne 0x412f98
cmp byte [edx + 1], bl
je 0x412f9e
inc edx
cmp edx, 0xffffffff
jb 0x412f88
cmp ecx, edx
jne 0x412ff3
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x412fb3
mov ecx, str._Popup_
jmp 0x412ff3
test eax, 0x400
je 0x412fee
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x412fe0
test dl, dl
je 0x412fdc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x412fe0
add ecx, 2
add eax, 2
test dl, dl
jne 0x412fc0
xor eax, eax
jmp 0x412fe5
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x412ff3
mov ecx, str._Untitled_
cmp dword [edi + 0x1ea0], esi
lea eax, [ebp - 0xc]
push eax
push ecx
sete dl
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00427f70
mov ecx, dword [ebp - 4]
add esp, 8
sub ecx, 1
mov dword [ebp - 4], ecx
jns 0x412f50
call fcn.0040dfe0
call fcn.00403ee0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret