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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
xor ebp, ebp
cmp edi, ebp
mov esi, ecx
jl 0x678a20aa
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPOutBarCtrl::GetSelFolder_void_const
dec eax
cmp edi, eax
jge 0x678a20aa
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabClientWnd::NormalizeWorkspaceSize_void_
push ebp
lea ecx, [esp + 0x88]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPSplitterTracker::constructor_int_
mov eax, dword [esi + 0x58]
mov ebx, dword [eax + edi*4]
mov edi, dword [eax + edi*4 + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edi
lea eax, [ebx + 0x38]
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x38]
mov dword [esp + 0x80], edx
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x74]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x64]
mov dword [esp + 0x70], edx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [ebx + 0xa8]
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CWnd::ClientToScreen
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ClientToScreen
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xa4]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [esi + 0xb8], ebp
je 0x678a1e3c
mov edx, dword [esi + 0x88]
mov eax, dword [esp + 0xa4]
xor ecx, ecx
cmp edx, ebp
mov edx, dword [esp + 0xa8]
sete cl
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0xa8]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSplitterTracker::Track_class_CWnd___class_CRect__class_CRect___class_CPoint__int_
test eax, eax
je 0x678a20aa
mov eax, dword [esp + 0x20]
push edi
push ebx
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabClientWnd::RepositionWorkspaces_class_CRect__class_CRect__class_CMHPTabClientWnd::CWorkspace___class_CMHPTabClientWnd::CWorkspace__
mov ecx, dword [esi + 0x70]
push 1
mov edx, dword [ecx]
call dword [edx + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc
cmp dword [esi + 0x88], ebp
jne 0x678a1e5f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
jmp 0x678a1e78
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
sub ecx, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x30]
mov edx, dword [eax]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 4]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov edi, dword [sym.imp.USER32.dll_GetCapture]
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, esi
jne 0x678a2098
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0xf
push 0xf
lea edx, [esp + 0x54]
push 0
push edx
call ebp
test eax, eax
je 0x678a1efb
push 0xf
push 0xf
lea eax, [esp + 0x50]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x678a20aa
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0xf
push 0xf
lea edx, [esp + 0x54]
push 0
push edx
call ebp
test eax, eax
jne 0x678a1ec4
push 0
push 0
lea eax, [esp + 0x50]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x678a2098
mov eax, dword [esp + 0x4c]
cmp eax, 0x200
jne 0x678a2060
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x20]
movsx ecx, ax
shr eax, 0x10
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0xa4]
movsx eax, ax
push ecx
push edx
mov dword [esp + 0xb0], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0xa8]
add ecx, ebx
cmp eax, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov ebx, eax
jl 0x678a1f84
mov ebx, edx
mov edi, dword [esp + 0x20]
cmp ebx, edi
jle 0x678a1f94
cmp eax, edx
jl 0x678a1f9d
mov eax, edx
jmp 0x678a1f96
mov eax, edi
mov dword [esp + 0xa4], eax
mov ebx, dword [esp + 0x2c]
mov edx, ecx
cmp ecx, ebx
jl 0x678a1fa9
mov edx, ebx
mov edi, dword [esp + 0x24]
cmp edx, edi
jle 0x678a1fb9
cmp ecx, ebx
jl 0x678a1fc2
mov ecx, ebx
jmp 0x678a1fbb
mov ecx, edi
mov dword [esp + 0xa8], ecx
mov edx, dword [esi + 0x88]
test edx, edx
jne 0x678a1fe4
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x678a2082
sub eax, ecx
push 0
push eax
lea eax, [esp + 0x18]
push eax
jmp 0x678a1ffa
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x678a2082
sub ecx, eax
push ecx
lea ecx, [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabClientWnd::RepositionWorkspaces_class_CRect__class_CRect__class_CMHPTabClientWnd::CWorkspace___class_CMHPTabClientWnd::CWorkspace__
mov ecx, dword [esi + 0x70]
push 1
mov edx, dword [ecx]
call dword [edx + 0xd0]
jmp 0x678a2082
cmp eax, 0x100
jne 0x678a2070
cmp dword [esp + 0x50], 0x1b
je 0x678a2098
jmp 0x678a2077
cmp eax, 0x202
je 0x678a2098
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov edi, dword [sym.imp.USER32.dll_GetCapture]
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, esi
je 0x678a1eb1
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, esi
jne 0x678a20aa
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc