Function at 0x456800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
call sub.MFC71.DLL_CView::OnInitialUpdate
mov eax, dword [esi + 0x9c]
mov ebp, dword [esi + 0xa0]
mov ecx, eax
imul ebp, eax
imul ecx, ecx, 7
mov dword [esp + 0x1c], ecx
add ecx, 0x11
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x94]
add ebp, 0xc
cmp ecx, edi
mov dword [esi + 0x90], edi
je 0x456bf9
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jle 0x456920
test eax, eax
jl 0x456945
cmp eax, dword [esi + 0xb0]
jge 0x456945
mov ecx, dword [esi + 0xac]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x45690d
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x40]
push eax
call sub.MFC71.DLL_CScrollView::GetDeviceScrollSizes
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x9c]
cdq
idiv ecx
imul ecx, ecx, 7
mov ebx, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x18], 1
mov edi, 6
imul eax, dword [esi + 0xa4]
lea ecx, [eax + ecx - 8]
xor eax, eax
cmp ebx, ecx
jge 0x4568f2
mov eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, ebp
mov edi, 4
mov ecx, dword [esp + 0x3c]
push edi
push ecx
push ebx
push edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xc]
push eax
push 0
call sub.MFC71.DLL_CWnd::SetWindowPos
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x456861
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, esi
call sub.MFC71.DLL_CWnd::GetParentFrame
mov dword [eax + 0xdc], edi
mov dword [eax + 0xe0], ebx
mov eax, dword [esi + 0xb0]
test eax, eax
jg 0x45694a
jmp sub.MFC71.DLL_AfxThrowInvalidArgException
mov eax, dword [esi + 0xac]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
push 5
mov dword [esi + 0xbc], ecx
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, esi
call sub.MFC71.DLL_CWnd::GetParentFrame
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x456983
mov edx, dword [esi + 0xbc]
push 1
push edx
mov ecx, ebx
call sub.MFC71.DLL_CFrameWnd::SetActiveView
mov eax, dword [esp + 0x18]
test eax, eax
je 0x456bf9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esi + 0xa0]
imul ecx, dword [esi + 0x9c]
lea ecx, [edx + ecx + 0x1d]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], eax
mov edx, dword [sym.imp.MFC71.DLL_CScrollView::sizeDefault]
push edx
push edx
push ecx
push eax
mov dword [esp + 0x4c], ecx
push 1
mov ecx, esi
mov dword [esp + 0x4c], eax
call sub.MFC71.DLL_CScrollView::SetScrollSizes
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
mov edx, dword [esi + 0x8c]
sub ecx, eax
mov eax, dword [esp + 0x70]
sub ecx, ebp
mov ebp, dword [esp + 0x78]
add ecx, edi
mov edi, dword [esp + 0x60]
add ecx, edx
mov edx, dword [esi + 0x88]
push 6
push ecx
mov ecx, dword [esp + 0x70]
sub edx, ebp
sub edx, edi
add edx, ecx
add edx, eax
push edx
push 0
push 0
push 0
mov ecx, esi
call sub.MFC71.DLL_CWnd::SetWindowPos
test ebx, ebx
je 0x456bf9
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call edi
push 0x21
call edi
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x14c]
mov ecx, ebx
call sub.MFC71.DLL_CWnd::GetParentFrame
mov ebp, eax
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp + 0x88]
test ebx, ebx
je 0x456b5a
lea esp, [esp]
test ebx, ebx
mov eax, ebx
je 0x456945
mov edi, dword [eax + 8]
mov eax, dword [edi]
mov ebx, dword [ebx]
mov ecx, edi
call dword [eax + 0x158]
test eax, eax
je 0x456b4c
mov ecx, edi
call sub.MFC71.DLL_CControlBar::IsFloating
test eax, eax
jne 0x456b4c
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call sub.MFC71.DLL_CWnd::ScreenToClient
mov eax, dword [edi + 0x80]
test ah, 0xa0
je 0x456af8
mov dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x24], 0x7fffffff
jmp 0x456b08
mov dword [esp + 0x20], 0x80000000
mov dword [esp + 0x28], 0x7fffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
test ebx, ebx
jne 0x456a90
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
lea edx, [esp + 0x60]
push edx
mov ecx, ebp
call sub.MFC71.DLL_CWnd::ScreenToClient
push 4
call edi
add eax, dword [esp + 0x54]
neg eax
push eax
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00454db0
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
sub edi, ebp
sub edi, edx
mov edx, dword [esp + 0x20]
add edx, ebx
sub edi, 4
add ecx, 0xfffffffc
cmp edx, eax
jle 0x456bda
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esi + 0x8c]
lea edx, [ecx + ecx + 4]
mov ecx, dword [esp + 0x5c]
sub ecx, edx
sub ecx, dword [esp + 0x54]
sub ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x20]
xor edx, edx
test ecx, ecx
setl dl
push 0x14
push eax
push ebp
dec edx
and edx, ecx
mov ecx, dword [esp + 0x38]
push edx
push edi
push 0
call sub.MFC71.DLL_CWnd::SetWindowPos
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret