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

Disassembly:
push 0xffffffffffffffff
push 0x6799071c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0xbc]
mov eax, dword [ebp + 0x34]
push edi
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x74]
mov edx, dword [ebp]
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x3c], esi
call dword [edx + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1a4]
xor edi, edi
cmp eax, edi
jne 0x6792ea70
xor eax, eax
jmp 0x6792ea73
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc0]
push ecx
push eax
lea ecx, [esp + 0x88]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_struct_HDC_____class_CRect_const__
lea edx, [esp + 0xc0]
push esi
push edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x1a4], edi
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov ecx, dword [ebp + 0x34]
mov edx, dword [esp + 0x84]
push edi
push edx
mov eax, dword [ecx]
push 0xf
call dword [eax + 0xa8]
cmp dword [esp + 0x1a8], edi
jne 0x6792eadf
lea ecx, [esp + 0x80]
mov dword [esp + 0x19c], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
jmp 0x6792f099
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDC::SaveDC
mov ecx, ebp
mov dword [esp + 0x7c], eax
call sym.MfcHlpr520.dll_protected:_bool___thiscall_CMHPTreeBase::HasEditLabels_void_const
test al, al
je 0x6792eb24
mov eax, dword [ebp + 0x34]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
mov eax, dword [eax + 0x20]
push 0x110f
push eax
call esi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, edi
je 0x6792eb2a
mov dword [esp + 0x44], 1
jmp 0x6792eb31
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x44], edi
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x34]
push ebx
push edi
push edi
mov ecx, dword [eax + 0x20]
push 0x1108
push ecx
call esi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, dword [ebp + 0x34]
xor edx, edx
cmp eax, edi
setne dl
mov dword [esp + 0x78], edx
call sub.MFC42.DLL_CWnd::IsWindowEnabled
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [ebp + 0x34]
cmp eax, ecx
sete al
mov byte [esp + 0x7c], al
call sub.MFC42.DLL_CWnd::GetStyle
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x34]
push edi
push 5
mov ecx, dword [eax + 0x20]
push 0x110a
push ecx
call esi
mov ebx, eax
mov eax, dword [ebp + 0x34]
push edi
push edi
mov edx, dword [eax + 0x20]
push 0x1110
push edx
call esi
inc eax
push edi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x34]
push edi
push 0x31
mov eax, dword [eax + 0x20]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x15c]
push ecx
push 0x3c
push edx
call edi
test eax, eax
jne 0x6792ebea
lea eax, [esp + 0x15c]
push eax
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call edi
test ebx, ebx
je 0x6792f06d
jmp 0x6792ebfa
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x44]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x44], eax
je 0x6792f06d
mov ecx, dword [ebp + 0x34]
lea edx, [esp + 0x30]
push 1
push edx
push ebx
call sub.MFC42.DLL_CTreeCtrl::GetItemRect
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x68]
mov dword [esp + 0x70], ecx
push edi
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x7c], eax
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [esp + 0x78]
test eax, eax
je 0x6792ecc4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
sub eax, ecx
sub eax, 3
push 0
lea edx, [esp + 0x5c]
push eax
push edx
mov dword [esp + 0x70], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub eax, edx
mov edx, dword [ebp]
add eax, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
push edi
push eax
lea ecx, [esp + 0x8c]
push ebx
push ecx
mov ecx, ebp
call dword [edx + 0x70]
push 0xb
push ebx
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTreeBase::GetItemState_struct__TREEITEM___unsigned_int_const
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x34]
push 0
push 8
mov edx, dword [eax + 0x20]
push 0x110a
push edx
call esi
test eax, eax
je 0x6792ed0a
test byte [esp + 0x14], 2
je 0x6792ed0a
mov eax, dword [ebp + 0x34]
push 0
push 8
push 0x110a
mov eax, dword [eax + 0x20]
push eax
call esi
cmp ebx, eax
je 0x6792ed0a
xor dword [esp + 0x14], 2
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, eax
mov esi, dword [esp + 0x7c]
and cl, 0xa
push edi
mov edi, dword [esp + 0x54]
neg cl
sbb ecx, ecx
push edi
neg ecx
cmp edx, ebx
mov edx, dword [ebp]
mov dword [esp + 0x34], ecx
push esi
push eax
mov ecx, ebp
sete byte [esp + 0x23]
call dword [edx + 0x38]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
push edi
push esi
push edx
mov ecx, ebp
call dword [eax + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x6792ed6a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov eax, ebx
xor edx, edx
shr eax, 4
div dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, 0xf
lea esi, [esp + 0x15c]
lea edi, [esp + 0xdc]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x6792ee09
mov eax, dword [eax + edx*4]
test eax, eax
je 0x6792ee09
cmp dword [eax + 8], ebx
je 0x6792eda4
mov eax, dword [eax]
test eax, eax
jne 0x6792ed97
jmp 0x6792ee09
test eax, eax
je 0x6792ee09
lea esi, [eax + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, 0x11
lea edi, [esp + 0x118]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x6792ede9
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x6792ede9
mov eax, dword [esp + 0x154]
cmp eax, 0xffffffff
je 0x6792edd9
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x158]
cmp eax, 0xffffffff
je 0x6792ede9
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x134]
test al, al
je 0x6792ee09
mov ecx, 0xf
lea esi, [esp + 0x118]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp]
push ebx
mov ecx, ebp
call dword [eax + 0x28]
test eax, eax
je 0x6792ee21
mov dword [esp + 0xec], 0x2bc
mov eax, dword [esp + 0x50]
test ah, 2
je 0x6792ee7c
mov dl, byte [esp + 0x13]
test dl, dl
setne al
test al, al
mov byte [esp + 0xf1], al
je 0x6792ee7c
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x6792ee7c
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_bool___thiscall_CMHPSystemVersion::IsWin95_void_const
test al, al
jne 0x6792ee6a
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_bool___thiscall_CMHPSystemVersion::IsWinNT4_void_const
test al, al
jne 0x6792ee6a
push 0x1a
jmp 0x6792ee6c
push 0xd
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x67995c9c
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1a0], 1
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x24]
lea ecx, [esp + 0x84]
push edx
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [ebp + 0x34]
mov esi, eax
lea eax, [esp + 0x20]
push ebx
push eax
call sub.MFC42.DLL_CTreeCtrl::GetItemText
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x1a4], 2
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x98]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xd4]
sub edx, eax
cmp edx, ecx
jge 0x6792ef11
lea eax, [ecx + eax + 2]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x84]
push edi
call sub.MFC42.DLL_CDC::SetBkColor
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6792ef4d
lea edx, [esp + 0x30]
push edi
push edx
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0xb8]
push 3
push ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xb4]
push 0x824
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x94]
call dword [eax + 0x70]
test byte [esp + 0x14], 1
je 0x6792effe
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x6792effe
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x6792effe
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, dword [ebp + 0x34]
jne 0x6792effe
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
push esi
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp + 0x34]
push ebx
push 6
push 0x110a
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20]
mov ebx, eax
mov byte [esp + 0x1a0], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x24], 0x67995a18
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
test ebx, ebx
mov byte [esp + 0x1a0], 0
mov dword [esp + 0x24], 0x67995a40
jne 0x6792ebf4
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x84]
push edx
call sub.MFC42.DLL_CDC::RestoreDC
lea ecx, [esp + 0x84]
mov dword [esp + 0x1a0], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
pop ebx
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x194
ret 8