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

Disassembly:
push 0xffffffffffffffff
push 0x6798b80b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
mov ebx, dword [esp + 0x1a8]
push ebp
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esp + 0x50]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPClientRect::constructor_class_CWnd_const__
mov eax, dword [ebx + 0x20]
mov edi, dword [esp + 0x1b0]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
cmp eax, ebp
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebp
je 0x678e2260
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
jne 0x678e226c
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [ebx + 0x20]
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push ecx
call ebp
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
push edi
lea ecx, [esp + 0x98]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
mov eax, dword [esi + 0x34]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0x1ac], 0
call dword [edx + 0x34]
mov eax, dword [esi + 0x30]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
push 1
mov ecx, edi
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x64]
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x20]
push eax
push 0x1200
push ecx
mov dword [esp + 0x88], 0x6000
mov dword [esp + 0x74], 0x9f
mov dword [esp + 0x24], eax
call ebp
mov ebp, eax
lea edx, [ebp*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
xor edi, edi
test ebp, ebp
mov dword [esp + 0x10], eax
jle 0x678e232f
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x64]
push eax
push edi
push 0x1203
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
mov dword [eax + edx*4], edi
inc edi
cmp edi, ebp
jl 0x678e2307
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0x6000
push ecx
mov dword [esp + 0x68], 0x1f
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
test ebp, ebp
jle 0x678e246a
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0x74], 0xff
mov dword [esp + 0x6c], ecx
mov eax, dword [edi]
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [ebx + 0x20]
push 0x1203
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], edx
mov edx, dword [esi]
add eax, ebp
mov dword [esp + 0x48], ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
call dword [edx + 0x1c]
test al, 2
je 0x678e2405
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push 0
push eax
push ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPHeaderCtrl::HitTest_class_CPoint__unsigned_int__const
cmp eax, dword [edi]
jne 0x678e2405
mov dword [esp + 0x2c], 0x40
mov eax, dword [edi]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xc4]
test eax, eax
je 0x678e241e
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x678e2435
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 0x38]
test eax, eax
jne 0x678e2441
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call dword [edx + 0x40]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
add ebp, edx
add edi, 4
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jne 0x678e2369
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x1a8], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
mov ecx, dword [esp + 0x1a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x19c
ret 8