.text:00401368 push eax ; dwExStyle
.text:00401369 push 0 ; bMenu
.text:0040136B push esi ; dwStyle
.text:0040136C lea eax, [ebp+rc]
.text:0040136F push eax ; lpRect
.text:00401370 call ds:AdjustWindowRectEx
.text:00401376 push 20h ; nIndex
.text:00401378 mov edi, ds:GetSystemMetrics
.text:0040137E call edi ; GetSystemMetrics
.text:00401380 shl eax, 1
.text:00401382 push 3Dh ; nIndex
.text:00401384 mov [ebp+var_3C], eax
.text:00401387 call edi ; GetSystemMetrics
.text:00401389 mov esi, eax
.text:0040138B mov eax, [ebp+var_3C]
.text:0040138E sub esi, eax
.text:00401390 mov [ebp+var_84], esi
.text:00401396 push 21h ; nIndex
.text:00401398 call edi ; GetSystemMetrics
.text:0040139A shl eax, 1
.text:0040139C push 3Eh ; nIndex
.text:0040139E mov [ebp+var_38], eax
.text:004013A1 call edi ; GetSystemMetrics
.text:004013A3 mov ecx, [ebp+var_38]
.text:004013A6 sub eax, ecx
.text:004013A8 mov [ebp+var_30], eax
.text:004013AB mov ecx, [ebp+rc.right]
.text:004013AE sub ecx, [ebp+rc.left]
.text:004013B1 mov [ebp+var_8C], ecx
.text:004013B7 mov edi, [ebp+rc.bottom]
.text:004013BA sub edi, [ebp+rc.top]
.text:004013BD mov [ebp+var_90], edi
.text:004013C3 mov eax, esi
.text:004013C5 sub eax, ecx
.text:004013C7 cdq
.text:004013C8 sub eax, edx
.text:004013CA mov esi, eax
.text:004013CC sar esi, 1
.text:004013CE mov [ebp+var_A0], esi
.text:004013D4 mov eax, [ebp+var_30]
.text:004013D7 sub eax, edi
.text:004013D9 cdq
.text:004013DA sub eax, edx
.text:004013DC sar eax, 1
.text:004013DE mov [ebp+var_78], eax
.text:004013E1 push 14h ; uFlags
.text:004013E3 push edi ; cy
.text:004013E4 push ecx ; cx
.text:004013E5 push eax ; Y
.text:004013E6 push esi ; X
.text:004013E7 push 0 ; hWndInsertAfter
.text:004013E9 push ebx ; hWnd
.text:004013EA call ds:SetWindowPos