Function at 0x418370
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push edi
mov edi, dword [0x488420]
mov ebx, edi
mov dword [ebp - 4], ebx
cmp dword [ebx + 0x1f20], 0
jne 0x4183ad
push 0x28a5
push 0x4465f0
push str.g.NavWindowingTarget___0
call esi
mov edi, dword [0x488420]
add esp, 0xc
movss xmm0, dword [0x452e38]
comiss xmm0, dword [ebx + 0x1f2c]
ja 0x4186d4
cmp dword [ebx + 0x1f28], 0
jne 0x41841c
or edx, 0xffffffff
mov esi, 0x44a3ad
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x4183e6
cmp byte [esi], al
jne 0x4183e6
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 + 0x44c5b8]
test al, al
jne 0x4183d8
not edx
lea ecx, [edi + 0x1c30]
push edx
call fcn.00404be0
mov ebx, dword [ebp - 4]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebx + 0x1f28], eax
cmp dword [edi + 0x1dd0], 0
lea eax, [edi + 0x1dd0]
mov dword [ebp - 8], eax
jg 0x41844b
push 0x6c7
push 0x446378
push str.i___0__i___Size
call esi
mov edi, dword [0x488420]
add esp, 0xc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], 0x7f7fffff
mov dword [ebp - 0x14], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1cd0]
or eax, 0x10
movss xmm2, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x14]
mulss xmm1, dword [0x452e3c]
mov dword [edi + 0x1cd0], eax
or eax, 1
mulss xmm2, dword [0x452e3c]
mov dword [edi + 0x1d20], 0
movss dword [ebp - 0x1c], xmm1
mov dword [edi + 0x1d24], 0
movss dword [ebp - 0x20], xmm2
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
movss xmm2, dword [0x452e54]
movups xmmword [edi + 0x1d10], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x14]
mulss xmm0, xmm2
mulss xmm1, xmm2
addss xmm0, dword [ecx + 0xc]
addss xmm1, dword [ecx + 8]
mov dword [edi + 0x1cd0], eax
lea ecx, [edi + 0x1d7c]
movss dword [edi + 0x1cec], xmm2
lea eax, [ebp - 0x1c]
movss dword [edi + 0x1ce8], xmm0
movss dword [edi + 0x1cf0], xmm2
movss dword [edi + 0x1ce4], xmm1
mov dword [edi + 0x1cd4], 1
mov byte [edi + 0x1d0c], 1
movss xmm0, dword [ebx + 0x159c]
movss xmm1, dword [edi + 0x159c]
addss xmm0, xmm0
push eax
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebx + 0x15a0]
addss xmm0, xmm0
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [edi + 0x15a0]
movss dword [ebp - 0x14], xmm0
call fcn.004268b0
movss xmm0, dword [ebp - 8]
xor edx, edx
movss dword [edi + 0x159c], xmm0
mov ecx, str.NavWindowingList
movss xmm0, dword [ebp - 0x10]
push 0xc1347
movss dword [edi + 0x15a0], xmm0
call fcn.0040e6c0
mov edi, dword [ebx + 0x1c0c]
add esp, 4
sub edi, 1
js 0x4186ca
nop dword [eax]
cmp edi, dword [ebx + 0x1c0c]
jl 0x4185bc
push 0x6c7
push 0x446378
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [ebx + 0x1c14]
mov dword [ebp - 0x10], edi
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x4185e4
push 0x28b4
push 0x4465f0
push str.window___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp byte [esi + 0xc4], 0
je 0x4186bb
cmp esi, dword [esi + 0x35c]
jne 0x4186bb
test dword [esi + 8], 0x80000
jne 0x4186bb
mov ecx, dword [esi]
mov edx, ecx
mov eax, dword [ebp - 0x10]
mov edi, eax
cmp ecx, 0xffffffff
jae 0x418635
mov bl, byte [edx]
test bl, bl
je 0x41862e
cmp bl, 0x23
jne 0x418628
cmp byte [edx + 1], bl
je 0x41862e
inc edx
cmp edx, 0xffffffff
jb 0x418618
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x418696
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x418646
mov ecx, str._Popup_
jmp 0x418696
test eax, 0x400
je 0x418682
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x418672
test dl, dl
je 0x41866e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x418672
add ecx, 2
add eax, 2
test dl, dl
jne 0x418652
xor eax, eax
jmp 0x418677
sbb eax, eax
or eax, 1
test eax, eax
jne 0x418682
mov ecx, str._Main_menu_bar_
jmp 0x418696
cmp dword [esi + 0x3c0], 0
mov ecx, str._Dock_node_
mov eax, str._Untitled_
cmove ecx, eax
cmp dword [ebx + 0x1f20], esi
lea eax, [ebp - 0xc]
push eax
push 0
sete dl
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.0043f300
add esp, 8
sub edi, 1
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jns 0x4185a0
call fcn.00411ba0
call fcn.00405170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret