Function at 0x678c6400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67989e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.6797db2c
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0xb4], 0
call sub.MFC42.DLL_CDC::SetBkMode
push 8
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
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xa0]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
push 2
mov ecx, esi
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CWnd::GetDlgItem
push eax
lea ecx, [esp + 0x38]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPWindowRect::constructor_class_CWnd_const__
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::ScreenToClient
push esi
lea ecx, [esp + 0x14]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPClientRect::constructor_class_CWnd_const__
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
sub eax, 0x20
mov edi, dword [sym.imp.USER32.dll_InflateRect]
mov dword [esp + 0x1c], eax
add eax, 0xffffffbe
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x8c]
test al, 0x40
mov dword [esp + 0x10], ecx
je 0x678c654f
push 3
lea edx, [esp + 0x14]
push 3
push edx
call edi
push 0x15
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
push 0x14
mov ebx, eax
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
push ebx
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x4c]
push eax
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xfffffffffffffffd
lea ecx, [esp + 0x14]
push 0xfffffffffffffffd
push ecx
call edi
push 0x14
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
push 0x10
mov ebx, eax
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
push ebx
lea edx, [esp + 0x14]
push eax
push edx
jmp 0x678c6574
push 6
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
push 6
mov ebx, eax
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
push ebx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CDC::Draw3dRect
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
add eax, 0xffffffea
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
add eax, 0x16
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0xb0], 2
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0x2488
push ecx
mov ecx, eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push 0x25
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x54]
call dword [eax + 0x70]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
add eax, 0x16
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0x2489
push ecx
mov ecx, eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push 0x25
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x54]
call dword [eax + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
call edi
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, ebp
mov ebx, dword [esp + 0x10]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
lea eax, [esi + 0xd0]
mov edx, eax
sar edi, 1
mov dword [edx], ebx
mov dword [edx + 4], ecx
mov ebx, dword [esp + 0x18]
add ecx, edi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
mov edx, dword [esi + 0xf0]
mov dword [esi + 0xdc], ecx
push edx
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xe0]
mov edx, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0xc], eax
mov edx, dword [esi + 0xf4]
push edx
sub eax, edi
push ecx
lea ecx, [esp + 0x4c]
mov dword [esi + 0xe4], eax
call sub.MFC42.DLL_CDC::FillSolidRect_1
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0xb0], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
lea ecx, [esp + 0x44]
mov dword [esp + 0xb0], 0xffffffff
call sub.MFC42.DLL_CPaintDC::CPaintDC
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret