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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67988450
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, ecx
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPOutBarCtrl::GetSelFolder_void_const
test eax, eax
je 0x678a1699
mov eax, dword [edi + 0xac]
test eax, eax
je 0x678a1699
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x678a1699
mov eax, dword [edi + 0xa0]
test eax, eax
jne 0x678a1381
push 0
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabClientWnd::CWorkspace____thiscall_CMHPTabClientWnd::GetWorkspace_int_const
test eax, eax
je 0x678a11b7
lea ebx, [eax - 0x40]
jmp 0x678a11b9
xor ebx, ebx
push 2
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebp, eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [esp + 0xa4]
test eax, eax
je 0x678a134a
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetStyle
and eax, 0x10000000
cmp eax, 0x10000000
jne 0x678a134a
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x20]
push ecx
push 0
push eax
push ebp
call dword [sym.imp.USER32.dll_DeferWindowPos]
push ebx
lea ecx, [esp + 0x70]
mov ebp, eax
call fcn.6797db38
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0xa4], 0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
neg eax
neg ecx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
test ebx, ebx
je 0x678a125e
lea eax, [ebx + 0x40]
mov dword [esp + 0x10], eax
jmp 0x678a1266
mov dword [esp + 0x10], 0
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabPaintManager____thiscall_CMHPTabClientWnd::GetPaintManager_void_const
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
call dword [edx + 0x60]
lea edx, [esp + 0x2c]
push esi
push edx
call dword [sym.imp.USER32.dll_CopyRect]
test ebx, ebx
je 0x678a12bd
lea eax, [ebx + 0x40]
mov dword [esp + 0x10], eax
jmp 0x678a12c5
mov dword [esp + 0x10], 0
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabPaintManager____thiscall_CMHPTabClientWnd::GetPaintManager_void_const
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x5c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, esi
push 0
push 0
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x9c], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
jl 0x678a132f
mov ecx, dword [esi + 8]
mov eax, dword [esi]
cmp ecx, eax
jge 0x678a133e
mov eax, esi
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x20]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x20]
push ecx
push 0
push eax
push ebp
call dword [sym.imp.USER32.dll_DeferWindowPos]
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov ecx, dword [esp + 0xa8]
push ecx
push esi
jmp 0x678a16a9
push edi
lea ecx, [esp + 0x84]
call fcn.6797db38
mov ecx, dword [edi + 0x78]
mov eax, 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, 0xfffffffe
push 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 0xe4]
lea eax, [esp + 0x50]
push eax
push 0
mov edx, dword [ecx]
mov dword [esp + 0xa8], 1
call dword [edx + 0x38]
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ebp, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub ebp, eax
mov eax, dword [esp + 0x4c]
sub ebp, ebx
mov ebx, dword [esi + 8]
add ebp, edx
mov edx, dword [esp + 0x54]
sub ebx, ecx
sub ebx, eax
xor eax, eax
add ebx, edx
mov ecx, edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPOutBarCtrl::GetSelFolder_void_const
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
jle 0x678a1456
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabClientWnd::CWorkspace____thiscall_CMHPTabClientWnd::GetWorkspace_int_const
fld qword [esp + 0x3c]
fadd qword [eax + 0xa0]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
fstp qword [esp + 0x3c]
jl 0x678a1429
mov eax, ecx
mov ecx, dword [edi + 0x88]
test ecx, ecx
mov ecx, ebp
jne 0x678a1464
mov ecx, ebx
dec eax
mov dword [esp + 0x44], 0
imul eax, dword [edi + 0xbc]
fld qword [esp + 0x3c]
sub ecx, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], ecx
call sub.MSVCRT.dll__ftol
test eax, eax
jne 0x678a149b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x3ff00000
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], 0
jle 0x678a1669
jmp 0x678a14d1
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabClientWnd::CWorkspace____thiscall_CMHPTabClientWnd::GetWorkspace_int_const
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
cmp ecx, eax
mov dword [esp + 0x38], ebp
je 0x678a15a6
fld qword [esp + 0x44]
fadd qword [esi + 0xa0]
fstp qword [esp + 0x44]
fild dword [esp + 0x68]
fmul qword [esp + 0x44]
fdiv qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov edx, dword [edi + 0xbc]
mov ecx, dword [edi + 0x88]
imul edx, dword [esp + 0x14]
add eax, edx
test ecx, ecx
mov ecx, dword [edi + 0xbc]
je 0x678a1578
mov edx, dword [esp + 0x70]
add ecx, edx
add ecx, eax
lea ebp, [edx + eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ebp
lea edx, [esi + 0xa8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x38], ebp
add eax, ebp
mov dword [esp + 0x20], eax
jmp 0x678a15b3
mov edx, dword [esp + 0x6c]
push ebp
add ecx, edx
add ecx, eax
lea ebx, [edx + eax]
mov eax, dword [esp + 0x24]
push ecx
push eax
lea ecx, [esi + 0xa8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0xbc]
add eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x678a15b3
lea edx, [esi + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabPaintManager____thiscall_CMHPTabClientWnd::GetPaintManager_void_const
mov ebp, dword [esp + 0x2c]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebx
mov ebx, dword [esp + 0x48]
mov dword [ecx + 0xc], ebx
lea ecx, [esp + 0x90]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x60]
lea edx, [esi + 0x48]
xor ebx, ebx
mov ebp, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x60]
mov edx, dword [edx + 0xc]
test eax, eax
jle 0x678a164d
sub edx, ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x34]
sub edx, ebp
mov dword [esp + 0x5c], edx
jmp 0x678a161b
mov ecx, dword [esp + 0x30]
test ebx, ebx
jl 0x678a162b
cmp ebx, eax
jge 0x678a162b
mov edx, dword [esi + 0x5c]
mov eax, dword [edx + ebx*4]
jmp 0x678a162d
xor eax, eax
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x38]
push 1
push edx
mov edx, dword [esp + 0x64]
push edx
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x60]
inc ebx
cmp ebx, eax
jl 0x678a1617
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x678a14c9
mov esi, dword [esp + 0xa4]
mov eax, dword [edi + 0x20]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0xa8]
push ecx
push esi
jmp 0x678a16a9
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::CalcWindowRect
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 8