Function at 0x413340
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x4bb8a0]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push edi
mov edi, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
cmp dword [edi + 0x1c50], 0
jne 0x413380
push 0x2389
push str.D:c_programmingloaderimguiimgui.cpp
push str.g.NavWindowingTarget___0
call esi
mov ebx, dword [0x4bb8a0]
add esp, 0xc
movss xmm0, dword [0x4b76e8]
comiss xmm0, dword [edi + 0x1c5c]
ja 0x41362b
cmp dword [edi + 0x1c58], 0
jne 0x4133ec
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x435ded
or edi, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x4133be
cmp byte [esi], al
jne 0x4133be
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x436100]
test al, al
jne 0x4133b0
not edx
mov ecx, edx
call fcn.00408e40
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [edi + 0x1c58], eax
movss xmm2, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
movss xmm1, dword [edi + 0x14]
lea ecx, [ebx + 0x1b18]
or dword [ebx + 0x1a98], 0x10
mulss xmm2, dword [0x4b76ec]
push eax
mulss xmm1, dword [0x4b76ec]
movss xmm3, dword [0x4b77d0]
movss dword [ebx + 0x1ad4], xmm2
movss dword [ebx + 0x1ad8], xmm1
movss dword [ebx + 0x1adc], xmm3
movss dword [ebx + 0x1ae0], xmm3
mov dword [ebx + 0x1ae4], 0
mov dword [ebx + 0x1ae8], 0
movss xmm1, dword [edi + 0x14]
movss xmm2, dword [edi + 0x10]
mulss xmm1, dword [0x4b7704]
or dword [ebx + 0x1a98], 1
mulss xmm2, dword [0x4b7704]
mov dword [ebx + 0x1ab0], 0x3f000000
movss dword [ebx + 0x1aac], xmm1
mov dword [ebx + 0x1ab4], 0x3f000000
movss dword [ebx + 0x1aa8], xmm2
mov dword [ebx + 0x1a9c], 1
movss xmm0, dword [edi + 0x1524]
movss xmm1, dword [ebx + 0x1524]
addss xmm0, xmm0
mov dword [ebp - 0x1c], 1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0x1528]
addss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1528]
movss dword [ebp - 0x14], xmm0
call fcn.00414b00
movss xmm0, dword [ebp - 4]
xor edx, edx
movss dword [ebx + 0x1524], xmm0
mov ecx, str.NavWindowingList
movss xmm0, dword [ebp - 0xc]
push 0xc1347
movss dword [ebx + 0x1528], xmm0
call fcn.0040afb0
mov ebx, dword [edi + 0x19e4]
add esp, 4
sub ebx, 1
mov dword [ebp - 4], ebx
js 0x413621
nop word [eax + eax]
cmp ebx, dword [edi + 0x19e4]
jl 0x41354c
push 0x554
push str.D:c_programmingloaderimguiimgui.h
push str.i___Size
call esi
add esp, 0xc
mov eax, dword [edi + 0x19ec]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x7a], 0
je 0x413612
cmp esi, dword [esi + 0x31c]
jne 0x413612
test dword [esi + 8], 0x80000
jne 0x413612
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x41359b
mov bl, byte [edx]
test bl, bl
je 0x413597
cmp bl, 0x23
jne 0x413591
cmp byte [edx + 1], bl
je 0x413597
inc edx
cmp edx, 0xffffffff
jb 0x413581
cmp ecx, edx
jne 0x4135eb
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x4135ac
mov ecx, str._Popup_
jmp 0x4135eb
test eax, 0x400
je 0x4135e6
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4135d8
test dl, dl
je 0x4135d4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4135d8
add ecx, 2
add eax, 2
test dl, dl
jne 0x4135b8
xor eax, eax
jmp 0x4135dd
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x4135eb
mov ecx, str._Untitled_
cmp dword [edi + 0x1c50], esi
lea eax, [ebp - 0x10]
push eax
push ecx
sete dl
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.004263c0
mov ebx, dword [ebp - 4]
add esp, 8
mov esi, dword [ebp - 8]
sub ebx, 1
mov dword [ebp - 4], ebx
jns 0x413530
call fcn.0040d950
call fcn.00403d00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret