Function at 0x10022120
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x100fca34]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x1014ec70]
comiss xmm0, dword [edi + 0x4128]
ja 0x100223d6
cmp dword [edi + 0x4124], 0
jne 0x10022196
or edx, 0xffffffff
mov esi, 0x100fad49
mov al, 0x23
or ebx, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x1002216e
cmp byte [esi], al
jne 0x1002216e
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 + 0x100c43c0]
test al, al
jne 0x10022160
not edx
mov ecx, edx
call fcn.100167f0
mov dword [edi + 0x4124], eax
mov eax, dword [edi + 0x3fc8]
mov dword [ebp - 0x14], 0x7f7fffff
mov dword [ebp - 0x10], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x3efc]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x100fca40]
mov dword [edi + 0x3efc], eax
or eax, 1
mulss xmm2, dword [0x100fca40]
mov dword [edi + 0x3f48], 0
movss dword [ebp - 0x18], xmm1
mov dword [edi + 0x3f4c], 0
movss dword [ebp - 0x1c], xmm2
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebp - 0x18], 2
movups xmmword [edi + 0x3f38], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x100fca58]
mulss xmm2, dword [0x100fca58]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x3efc], eax
lea ecx, [edi + 0x3f68]
mov dword [edi + 0x3f14], 0x3f000000
lea eax, [ebp - 0x18]
movss dword [edi + 0x3f10], xmm1
mov dword [edi + 0x3f18], 0x3f000000
movss dword [edi + 0x3f0c], xmm2
mov dword [edi + 0x3f00], 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.10024070
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.10018e90
mov ecx, dword [edi + 0x3ddc]
add esp, 4
sub ecx, 1
mov dword [ebp - 4], ecx
js 0x100223c7
nop dword [eax + eax]
mov eax, dword [edi + 0x3de4]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0x8f], 0
je 0x100223bb
cmp esi, dword [esi + 0x2e8]
jne 0x100223bb
test dword [esi + 8], 0x80000
jne 0x100223bb
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10022342
mov bl, byte [edx]
test bl, bl
je 0x1002233e
cmp bl, 0x23
jne 0x10022338
cmp byte [edx + 1], bl
je 0x1002233e
inc edx
cmp edx, 0xffffffff
jb 0x10022328
cmp ecx, edx
jne 0x10022393
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10022353
mov ecx, str._Popup_
jmp 0x10022393
test eax, 0x400
je 0x1002238e
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10022380
test dl, dl
je 0x1002237c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10022380
add ecx, 2
add eax, 2
test dl, dl
jne 0x10022360
xor eax, eax
jmp 0x10022385
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10022393
mov ecx, str._Untitled_
cmp dword [edi + 0x411c], esi
lea eax, [ebp - 0xc]
push eax
push 0
sete dl
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.1004f060
mov ecx, dword [ebp - 4]
add esp, 8
sub ecx, 1
mov dword [ebp - 4], ecx
jns 0x100222f0
call fcn.1001b770
mov ecx, 1
call fcn.1000fb10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret