Function at 0x472060
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, 0x800000
je 0x472082
mov eax, dword [esi]
mov ecx, esi
push str.WS_BORDER_r_n
call dword [eax + 0x1e0]
mov eax, ebx
and eax, 0xc00000
cmp eax, 0xc00000
jne 0x47209f
mov eax, dword [esi]
mov ecx, esi
push str.WS_CAPTION_r_n
call dword [eax + 0x1e0]
test ebx, 0x40000000
je 0x4720c5
mov eax, dword [esi]
mov ecx, esi
push str.WS_CHILD_r_n
call dword [eax + 0x1e0]
mov eax, dword [esi]
mov ecx, esi
push str.WS_CHILDWINDOW_r_n
call dword [eax + 0x1e0]
test ebx, 0x2000000
je 0x4720dc
mov eax, dword [esi]
mov ecx, esi
push str.WS_CLIPCHILDREN_r_n
call dword [eax + 0x1e0]
test ebx, 0x4000000
je 0x4720f3
mov eax, dword [esi]
mov ecx, esi
push str.WS_CLIPSIBLINGS_r_n
call dword [eax + 0x1e0]
test ebx, 0x8000000
je 0x47210a
mov eax, dword [esi]
mov ecx, esi
push str.WS_DISABLED_r_n
call dword [eax + 0x1e0]
test ebx, 0x400000
je 0x472121
mov eax, dword [esi]
mov ecx, esi
push str.WS_DLGFRAME_r_n
call dword [eax + 0x1e0]
push edi
mov edi, ebx
and edi, 0x20000
je 0x47213b
mov eax, dword [esi]
mov ecx, esi
push str.WS_GROUP_r_n
call dword [eax + 0x1e0]
test ebx, 0x100000
je 0x472152
mov eax, dword [esi]
mov ecx, esi
push str.WS_HSCROLL_r_n
call dword [eax + 0x1e0]
mov eax, ebx
and eax, 0x20000000
mov dword [ebp + 8], eax
je 0x47216d
mov eax, dword [esi]
mov ecx, esi
push str.WS_ICONIC_r_n
call dword [eax + 0x1e0]
test ebx, 0x1000000
je 0x472184
mov eax, dword [esi]
mov ecx, esi
push str.WS_MAXIMIZE_r_n
call dword [eax + 0x1e0]
mov eax, ebx
and eax, 0x10000
mov dword [ebp + 0xc], eax
je 0x47219f
mov eax, dword [esi]
mov ecx, esi
push str.WS_MAXIMIZEBOX_r_n
call dword [eax + 0x1e0]
cmp dword [ebp + 8], 0
je 0x4721b4
mov eax, dword [esi]
mov ecx, esi
push str.WS_MINIMIZE_r_n
call dword [eax + 0x1e0]
test edi, edi
je 0x4721c7
mov eax, dword [esi]
mov ecx, esi
push str.WS_MINIMIZEBOX_r_n
call dword [eax + 0x1e0]
mov eax, dword [esi]
mov ecx, esi
push str.WS_OVERLAPPED_r_n
call dword [eax + 0x1e0]
test ebx, ebx
jns 0x4721e9
mov eax, dword [esi]
mov ecx, esi
push str.WS_POPUP_r_n
call dword [eax + 0x1e0]
mov edi, ebx
and edi, 0x40000
je 0x472202
mov eax, dword [esi]
mov ecx, esi
push str.WS_SIZEBOX_r_n
call dword [eax + 0x1e0]
test ebx, 0x80000
je 0x472219
mov eax, dword [esi]
mov ecx, esi
push str.WS_SYSMENU_r_n
call dword [eax + 0x1e0]
cmp dword [ebp + 0xc], 0
je 0x47222e
mov eax, dword [esi]
mov ecx, esi
push str.WS_TABSTOP_r_n
call dword [eax + 0x1e0]
test edi, edi
pop edi
je 0x472242
mov eax, dword [esi]
mov ecx, esi
push str.WS_THICKFRAME_r_n
call dword [eax + 0x1e0]
mov eax, dword [esi]
mov ecx, esi
push str.WS_TILED_r_n
call dword [eax + 0x1e0]
test ebx, 0x10000000
je 0x472268
mov eax, dword [esi]
mov ecx, esi
push str.WS_VISIBLE_r_n
call dword [eax + 0x1e0]
test ebx, 0x200000
je 0x47227f
mov eax, dword [esi]
mov ecx, esi
push str.WS_VSCROLL_r_n
call dword [eax + 0x1e0]
test bl, 4
je 0x472293
mov eax, dword [esi]
mov ecx, esi
push str.DS_3DLOOK_r_n
call dword [eax + 0x1e0]
test bl, 1
je 0x4722a7
mov eax, dword [esi]
mov ecx, esi
push str.DS_ABSALIGN_r_n
call dword [eax + 0x1e0]
test ebx, 0x800
je 0x4722be
mov eax, dword [esi]
mov ecx, esi
push str.DS_CENTER_r_n
call dword [eax + 0x1e0]
test ebx, 0x1000
je 0x4722d5
mov eax, dword [esi]
mov ecx, esi
push str.DS_CENTERMOUSE_r_n
call dword [eax + 0x1e0]
test ebx, 0x2000
je 0x4722ec
mov eax, dword [esi]
mov ecx, esi
push str.DS_CONTEXTHELP_r_n
call dword [eax + 0x1e0]
test ebx, 0x400
je 0x472303
mov eax, dword [esi]
mov ecx, esi
push str.DS_CONTROL_r_n
call dword [eax + 0x1e0]
test bl, 8
je 0x472317
mov eax, dword [esi]
mov ecx, esi
push str.DS_FIXEDSYS_r_n
call dword [eax + 0x1e0]
test bl, 0x20
je 0x47232b
mov eax, dword [esi]
mov ecx, esi
push str.DS_LOCALEDIT_r_n
call dword [eax + 0x1e0]
test bl, bl
jns 0x47233e
mov eax, dword [esi]
mov ecx, esi
push str.DS_MODALFRAME_r_n
call dword [eax + 0x1e0]
test bl, 0x10
je 0x472352
mov eax, dword [esi]
mov ecx, esi
push str.DS_NOFAILCREATE_r_n
call dword [eax + 0x1e0]
test ebx, 0x100
je 0x472369
mov eax, dword [esi]
mov ecx, esi
push str.DS_NOIDLEMSG_r_n
call dword [eax + 0x1e0]
test bl, 0x40
je 0x47237d
mov eax, dword [esi]
mov ecx, esi
push str.DS_SETFONT_r_n
call dword [eax + 0x1e0]
test ebx, 0x200
je 0x472394
mov eax, dword [esi]
mov ecx, esi
push str.DS_SETFOREGROUND_r_n
call dword [eax + 0x1e0]
mov eax, ebx
and eax, 0x48
cmp al, 0x48
jne 0x4723ac
mov eax, dword [esi]
mov ecx, esi
push str.DS_SHELLFONT_r_n
call dword [eax + 0x1e0]
test bl, 2
je 0x4723c0
mov eax, dword [esi]
mov ecx, esi
push str.DS_SYSMODAL_r_n
call dword [eax + 0x1e0]
pop esi
pop ebx
pop ebp
ret 8