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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67990740
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34]
mov edi, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x6792fda8
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
push 0xa
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CPtrList::CPtrList
mov dword [esp + 0x88], 0x679b1ec8
mov eax, dword [esp + 0xb4]
xor ebp, ebp
and eax, 0xc
mov dword [esp + 0xac], ebp
mov dword [esp + 0x2c], eax
je 0x6792fdf6
lea eax, [esp + 0x88]
mov ecx, esi
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTreeBase::GetSelectedList_class_CTypedPtrList_class_CPtrList__struct__TREEITEM____const
mov ecx, dword [esi + 0x34]
push ecx
lea ecx, [esp + 0x78]
call fcn.6797db38
mov eax, dword [esi + 0x34]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xb0], 1
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push 0x44
mov dword [esp + 0x3c], eax
call edi
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x34]
mov ebx, 1
push ebp
mov ecx, dword [eax + 0x20]
push 0x4b
push ebx
push ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x34]
push ebx
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CWnd::GetScrollPos
mov ecx, dword [esi + 0x34]
push ebp
mov edi, eax
call sub.MFC42.DLL_CWnd::GetScrollPos
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov ebp, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x20]
push ecx
push ecx
push 0x110a
push edx
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x6792febc
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, dword [esi + 0x34]
push eax
call sub.MFC42.DLL_CTreeCtrl::GetItemRect
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
imul edi, eax
mov dword [esp + 0x30], eax
mov ebp, edi
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xbc]
add edi, ecx
add eax, ebp
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], eax
push 0
push 0
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x679301b1
mov ebp, dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 0x20]
jne 0x679301b1
mov eax, dword [esp + 0x5c]
cmp eax, 0x200
ja 0x6793018a
je 0x6792ffba
sub eax, 0x100
je 0x6792ff9e
sub eax, 0x13
jne 0x67930196
cmp dword [esp + 0x60], 0x4b
jne 0x6792fee0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x6792ff7f
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x6792fee0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x64], ecx
jmp 0x6792ffbe
cmp word [esp + 0x60], 0x1b
je 0x679301a6
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x6792fee0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x67930066
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jg 0x67930006
mov edx, dword [esp + 0xbc]
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x6792fee0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
test eax, eax
jne 0x67930021
push 0
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTreeBase::SelectAll_int__struct__TREEITEM__
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ebp
push edi
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDC::DrawDragRect
jmp 0x6793006d
mov ebp, dword [esp + 0xbc]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDC::DrawDragRect
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x679300ab
mov ecx, dword [esi + 0x34]
push 0
push 0
push 0x115
mov edx, dword [ecx + 0x20]
push edx
jmp 0x679300c1
cmp eax, dword [esp + 0x4c]
jl 0x679300c7
mov eax, dword [esi + 0x34]
push 0
push 1
push 0x115
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x679300e5
mov edx, dword [esi + 0x34]
push 0
push 0
push 0x114
mov eax, dword [edx + 0x20]
push eax
jmp 0x679300fb
cmp eax, dword [esp + 0x48]
jl 0x67930101
mov ecx, dword [esi + 0x34]
push 0
push 1
push 0x114
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x34]
push 0
mov dword [esp + 0x54], edi
call sub.MFC42.DLL_CWnd::GetScrollPos
mov ecx, dword [esi + 0x34]
push 1
sub edi, eax
call sub.MFC42.DLL_CWnd::GetScrollPos
imul eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
sub ebp, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push ecx
push ebp
push edi
push edx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CRect::NormalizeRect
mov edx, dword [esp + 0xb4]
mov eax, dword [esi]
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x64]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDC::DrawDragRect
mov edi, dword [esp + 0xb8]
jmp 0x6792fee0
sub eax, 0x202
je 0x679301b1
sub eax, 3
je 0x679301b1
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x6792fee0
push 0
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTreeBase::SelectAll_int__struct__TREEITEM__
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x34]
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x679301f3
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDC::DrawDragRect
jmp 0x67930206
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x67930206
push 0
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTreeBase::SelectAll_int__struct__TREEITEM__
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 0
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x88]
mov dword [esp + 0xac], 0xffffffff
call fcn.6797eb8e
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0xc