Function at 0x10058940
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x100f1a20]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x10104934]
comiss xmm0, dword [edi + 0x48f8]
ja 0x10058bf6
cmp dword [edi + 0x48f4], 0
jne 0x100589b6
or edx, 0xffffffff
mov esi, 0x100ef6e1
mov al, 0x23
or ebx, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x1005898e
cmp byte [esi], al
jne 0x1005898e
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 + 0x100e9d98]
test al, al
jne 0x10058980
not edx
mov ecx, edx
call fcn.1004cdb0
mov dword [edi + 0x48f4], eax
mov eax, dword [edi + 0x4790]
mov dword [ebp - 0x14], 0x7f7fffff
mov dword [ebp - 0x10], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x46c4]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x100f1a24]
mov dword [edi + 0x46c4], eax
or eax, 1
mulss xmm2, dword [0x100f1a24]
mov dword [edi + 0x4710], 0
movss dword [ebp - 0x18], xmm1
mov dword [edi + 0x4714], 0
movss dword [ebp - 0x1c], xmm2
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebp - 0x18], 2
movups xmmword [edi + 0x4700], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x100f1a44]
mulss xmm2, dword [0x100f1a44]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x46c4], eax
lea ecx, [edi + 0x4730]
mov dword [edi + 0x46dc], 0x3f000000
lea eax, [ebp - 0x18]
movss dword [edi + 0x46d8], xmm1
mov dword [edi + 0x46e0], 0x3f000000
movss dword [edi + 0x46d4], xmm2
mov dword [edi + 0x46c8], 1
movss xmm0, dword [edi + 0x37a0]
movss xmm1, dword [edi + 0x37a0]
addss xmm0, xmm0
push eax
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0x37a4]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x37a4]
movss dword [ebp - 0x10], xmm0
call fcn.1005a5b0
movss xmm0, dword [ebp - 4]
xor edx, edx
movss dword [edi + 0x37a0], xmm0
mov ecx, str.NavWindowingList
movss xmm0, dword [ebp - 8]
push 0xc1347
movss dword [edi + 0x37a4], xmm0
call fcn.1004f2b0
mov ecx, dword [edi + 0x3dec]
add esp, 4
sub ecx, 1
mov dword [ebp - 4], ecx
js 0x10058be7
nop dword [eax + eax]
mov eax, dword [edi + 0x3df4]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0x8f], 0
je 0x10058bdb
cmp esi, dword [esi + 0x2e4]
jne 0x10058bdb
test dword [esi + 8], 0x80000
jne 0x10058bdb
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10058b62
mov bl, byte [edx]
test bl, bl
je 0x10058b5e
cmp bl, 0x23
jne 0x10058b58
cmp byte [edx + 1], bl
je 0x10058b5e
inc edx
cmp edx, 0xffffffff
jb 0x10058b48
cmp ecx, edx
jne 0x10058bb3
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10058b73
mov ecx, str._Popup_
jmp 0x10058bb3
test eax, 0x400
je 0x10058bae
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10058ba0
test dl, dl
je 0x10058b9c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10058ba0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10058b80
xor eax, eax
jmp 0x10058ba5
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10058bb3
mov ecx, str._Untitled_
cmp dword [edi + 0x48ec], esi
lea eax, [ebp - 0xc]
push eax
push 0
sete dl
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.100899f0
mov ecx, dword [ebp - 4]
add esp, 8
sub ecx, 1
mov dword [ebp - 4], ecx
jns 0x10058b10
call fcn.100519b0
mov ecx, 1
call fcn.10046630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret