Function at 0x682d6c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x489b04]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x497418]
comiss xmm0, dword [edi + 0x4144]
ja 0x683021
cmp dword [edi + 0x4140], 0
jne 0x682de2
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x48476d
or ebx, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x682dba
cmp byte [esi], al
jne 0x682dba
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 + 0x484aa0]
test al, al
jne 0x682dac
not edx
mov ecx, edx
call fcn.00677a5c
mov dword [edi + 0x4140], eax
mov eax, dword [edi + 0x3fe4]
movss xmm3, dword [0x489c28]
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
push eax
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
or dword [edi + 0x3f18], 0x10
mulss xmm2, dword [0x489b08]
mulss xmm1, dword [0x489b08]
movss dword [edi + 0x3f54], xmm2
movss dword [edi + 0x3f58], xmm1
movss dword [edi + 0x3f5c], xmm3
movss dword [edi + 0x3f60], xmm3
mov dword [edi + 0x3f64], 0
mov dword [edi + 0x3f68], 0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x489b20]
mov dword [ebp - 0x18], 2
mulss xmm2, dword [0x489b20]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
or dword [edi + 0x3f18], 1
lea ecx, [edi + 0x3f84]
mov dword [edi + 0x3f30], 0x3f000000
movss dword [edi + 0x3f2c], xmm1
mov dword [edi + 0x3f34], 0x3f000000
movss dword [edi + 0x3f28], xmm2
mov dword [edi + 0x3f1c], 1
movss xmm0, dword [edi + 0x37b8]
movss xmm1, dword [edi + 0x37b8]
addss xmm0, xmm0
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0x37bc]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x37bc]
movss dword [ebp - 0x10], xmm0
call fcn.0068464c
movss xmm0, dword [ebp - 4]
xor edx, edx
movss dword [edi + 0x37b8], xmm0
mov ecx, str.NavWindowingList
movss xmm0, dword [ebp - 8]
push 0xc1347
movss dword [edi + 0x37bc], xmm0
call fcn.00679f0c
mov ecx, dword [edi + 0x3df4]
add esp, 4
sub ecx, 1
mov dword [ebp - 4], ecx
js 0x683012
nop word [eax + eax]
mov eax, dword [edi + 0x3dfc]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0x8f], 0
je 0x683006
cmp esi, dword [esi + 0x2e8]
jne 0x683006
test dword [esi + 8], 0x80000
jne 0x683006
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x682f8e
mov bl, byte [edx]
test bl, bl
je 0x682f8a
cmp bl, 0x23
jne 0x682f84
cmp byte [edx + 1], bl
je 0x682f8a
inc edx
cmp edx, 0xffffffff
jb 0x682f74
cmp ecx, edx
jne 0x682fdf
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x682f9f
mov ecx, str._Popup_
jmp 0x682fdf
test eax, 0x400
je 0x682fda
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x682fcc
test dl, dl
je 0x682fc8
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x682fcc
add ecx, 2
add eax, 2
test dl, dl
jne 0x682fac
xor eax, eax
jmp 0x682fd1
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x682fdf
mov ecx, str._Untitled_
cmp dword [edi + 0x4138], esi
lea eax, [ebp - 0xc]
push eax
push ecx
sete dl
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.006a226c
mov ecx, dword [ebp - 4]
add esp, 8
sub ecx, 1
mov dword [ebp - 4], ecx
jns 0x682f3c
call fcn.0067c57c
mov ecx, 1
call fcn.0067131c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret