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

Disassembly:
push 0xffffffffffffffff
push 0x67988e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, ecx
mov ebp, dword [esi + 0x60]
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sym.MfcHlpr520.dll_public:_enum_MHPTabLayoutStyle___thiscall_CMHPTabManager::GetLayout_void_
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x48]
cmp eax, 2
je 0x678acc31
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x48]
test eax, eax
je 0x678acc31
xor eax, eax
jmp 0x678acc36
mov eax, 1
xor ebx, ebx
test eax, eax
mov eax, dword [esp + 0x24]
sete bl
cmp eax, 5
mov dword [esp + 0x14], ebx
jne 0x678acc57
xor eax, eax
test ebx, ebx
sete al
mov ebx, eax
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPTabManagerItem::GetCaption_void_
mov eax, dword [edi + 0x28]
mov dword [esp + 0x64], 0
test eax, eax
je 0x678acc95
mov edx, dword [esi + 0x60]
cmp dword [edx + 8], esi
jne 0x678acc95
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x678acc95
test ebx, ebx
je 0x678acc8d
lea eax, [edi + 0x128]
jmp 0x678acca5
lea eax, [edi + 0x118]
jmp 0x678acca5
test ebx, ebx
lea eax, [edi + 0x120]
jne 0x678acca5
lea eax, [edi + 0x110]
mov ebx, dword [esp + 0x6c]
push eax
push ebx
lea ecx, [esp + 0x54]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
mov ecx, dword [edi + 0x8c]
mov eax, dword [edi + 0x88]
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
push 0
push esi
mov dword [esp + 0x40], eax
mov ebp, dword [ebp]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x80], esp
push 0
mov byte [esp + 0x7c], 1
call fcn.67875660
mov ecx, dword [esp + 0x2c]
push ebx
call dword [ebp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp eax, 3
jne 0x678acd0c
mov eax, dword [esi + 0x60]
cmp dword [eax + 8], esi
je 0x678acd0c
xor eax, eax
jmp 0x678acd11
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x6c], ecx
je 0x678acd80
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x678acd80
xor ebp, ebp
mov dword [esp + 0x6c], ecx
test eax, eax
jle 0x678acd80
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + ebp*4]
mov eax, dword [ecx + 8]
cmp eax, 2
je 0x678acd4b
cmp eax, 1
jne 0x678acd69
mov edx, dword [esi + 0x60]
cmp dword [edx + 8], esi
jne 0x678acd69
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x678acd65
mov eax, dword [esp + 0x3c]
add dword [esp + 0x6c], eax
mov eax, dword [esi + 0x74]
inc ebp
cmp ebp, eax
jl 0x678acd30
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jle 0x678acd80
add ecx, 3
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x678ad36a
test ecx, ecx
jle 0x678acefd
mov ecx, dword [edi + 0xe8]
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x678acdb6
sub dword [esp + 0x80], 3
jmp 0x678acdbb
sub dword [esp + 0x7c], 3
mov eax, dword [esi + 0x74]
dec eax
test eax, eax
mov dword [esp + 0x6c], eax
jl 0x678acefd
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x6c]
mov ebp, dword [ecx + edx*4]
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x678acdf2
cmp eax, 1
jne 0x678aceee
mov eax, dword [esi + 0x60]
cmp dword [eax + 8], esi
jne 0x678aceee
mov edx, dword [ebp]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call dword [edx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x678ace79
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
sub esp, 0x10
lea eax, [edx + ecx]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
lea edx, [ecx + eax]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x8c]
sub eax, edx
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManagerNavigateButton::SetRect_class_CRect_
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
sub eax, edx
mov dword [esp + 0x7c], eax
jmp 0x678acede
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
add eax, ecx
cdq
sub eax, edx
sub esp, 0x10
mov ecx, eax
mov eax, esi
cdq
sar ecx, 1
sub eax, edx
mov edx, ecx
sar eax, 1
sub edx, eax
sub ecx, eax
add edx, esi
mov esi, dword [esp + 0x90]
sub esi, dword [esp + 0x38]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManagerNavigateButton::SetRect_class_CRect_
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x70]
sub eax, edx
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x6c]
push ebx
mov ecx, dword [eax + ecx*4]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManagerNavigateButton::Draw_class_CDC__
mov eax, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x6c], eax
jns 0x678acdcb
mov ecx, dword [edi + 0xe8]
push esi
push ebx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
test eax, eax
mov eax, dword [esi + 0x20]
je 0x678ad139
sub eax, edx
test eax, eax
jle 0x678acf5a
cdq
sub eax, edx
lea ecx, [esp + 0x74]
sar eax, 1
neg eax
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x60]
mov ebp, dword [esp + 0x78]
add edx, eax
add ebp, edx
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x18]
mov ecx, ebp
mov eax, dword [ebp]
call dword [eax + 0x48]
cmp eax, 3
push 0
jne 0x678acf8b
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x6c]
push ecx
push 0
push edx
jmp 0x678acf95
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
push eax
push 0
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CRect::DeflateRect
mov eax, dword [esp + 0x20]
test eax, eax
je 0x678ad00a
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, eax
mov eax, dword [esp + 0x34]
sar ecx, 1
dec edx
mov dword [esp + 0x6c], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x80]
sub eax, edx
mov edx, dword [esp + 0x38]
cmp eax, edx
jle 0x678acffa
mov edx, dword [ebp]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x70]
push 1
push esi
push eax
push ecx
push ebx
mov ecx, ebp
call dword [edx + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
lea eax, [ecx + edx + 2]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x678ad30a
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
add ecx, 8
cmp eax, ecx
jle 0x678ad30a
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x48]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x40]
xor edx, edx
cmp eax, 3
sete dl
mov eax, ecx
sub eax, edx
mov edx, dword [esp + 0x74]
sub eax, esi
mov esi, dword [edi + 0x78]
sub eax, edx
add esi, 0xfffffffc
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
sub ecx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x78]
mov eax, ebp
mov dword [esp + 0x74], ebp
sub eax, ecx
xor ecx, ecx
add eax, edx
test esi, esi
setl cl
dec ecx
mov dword [esp + 0x7c], eax
and ecx, esi
mov esi, dword [edi + 0x68]
add esi, ecx
mov ecx, dword [edi + 0x98]
sub edx, esi
test ecx, ecx
mov dword [esp + 0x80], edx
jne 0x678ad0c6
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabPaintManager::StripMnemonics_class_CString__
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + 0x90]
test ecx, ecx
je 0x678ad106
push 0x920
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x24]
push ecx
push ebx
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabPaintManager::DrawTextPathEllipsis_class_CDC___class_CString_const___class_CRect__unsigned_int_
mov esi, dword [esp + 0x70]
jmp 0x678ad30a
mov eax, dword [edi + 0x94]
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
mov edx, dword [ecx - 8]
and eax, 0x8000
mov esi, dword [ebx]
or eax, 0x920
push eax
lea eax, [esp + 0x78]
push eax
push edx
push ecx
mov ecx, ebx
call dword [esi + 0x70]
mov esi, dword [esp + 0x70]
jmp 0x678ad30a
sub eax, edx
test eax, eax
jle 0x678ad154
cdq
sub eax, edx
push 0
sar eax, 1
neg eax
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x60]
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
add edx, eax
add ebp, edx
mov dword [esp + 0x74], ebp
mov eax, dword [ecx]
call dword [eax + 0x48]
cmp eax, 2
jne 0x678ad180
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x6c]
push ecx
push 0
push edx
jmp 0x678ad18a
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
push eax
push 0
push ecx
push 0
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CRect::DeflateRect
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x678ad207
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x74]
lea edx, [eax - 1]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x7c]
sub edx, eax
cmp edx, dword [esp + 0x34]
jle 0x678ad1f9
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea eax, [esp + 0x34]
push eax
push 1
push esi
push ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
call dword [edx + 0x44]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
lea eax, [eax + edx + 2]
mov dword [esp + 0x74], eax
jmp 0x678ad20b
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x678ad30a
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
jle 0x678ad30a
mov edx, dword [edi + 0x78]
neg ebp
sbb ebp, ebp
and ebp, 2
sub ebp, edx
mov edx, dword [edi + 0x68]
sub ebp, edx
mov edx, dword [esi + 0x80]
add ecx, ebp
test edx, edx
mov dword [esp + 0x7c], ecx
je 0x678ad253
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
jmp 0x678ad30a
mov edx, dword [edi + 0x90]
test edx, edx
je 0x678ad2a6
mov edx, dword [edi + 0x98]
mov ebp, dword [edi + 0x9c]
neg edx
sbb edx, edx
and edx, 0x800
or edx, ebp
or edx, 0x20
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x24]
push edx
push ebx
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabPaintManager::DrawTextPathEllipsis_class_CDC___class_CString_const___class_CRect__unsigned_int_
jmp 0x678ad30a
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x678ad2c6
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPTabPaintManager::StripMnemonics_class_CString__
mov eax, dword [edi + 0xa0]
test eax, eax
jne 0x678ad2d4
mov eax, dword [edi + 0x98]
test eax, eax
jne 0x678ad2d4
xor ecx, ecx
jmp 0x678ad2d9
mov ecx, 0x800
mov eax, dword [edi + 0x94]
mov ebp, dword [edi + 0x9c]
neg eax
sbb eax, eax
and eax, 0x8000
or eax, ebp
mov ebp, dword [ebx]
or eax, ecx
mov ecx, dword [esp + 0x10]
or al, 0x20
mov edx, dword [ecx - 8]
push eax
lea eax, [esp + 0x78]
push eax
push edx
push ecx
mov ecx, ebx
call dword [ebp + 0x70]
mov ecx, dword [esi + 0x60]
cmp dword [ecx + 8], esi
jne 0x678ad344
mov edx, dword [ecx]
call dword [edx + 0x78]
test eax, eax
je 0x678ad344
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov eax, dword [edi]
push esi
push ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov ecx, edi
call dword [eax + 0x74]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x678ad5e3
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x678ad38c
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xd4]
mov edx, dword [edi + 0xdc]
push eax
push ecx
jmp 0x678ad5b8
cmp eax, 3
jne 0x678ad51d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x678ad3c4
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x678ad3ad
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xd4]
push ecx
add eax, 8
push edx
push eax
jmp 0x678ad5b9
mov eax, dword [edi + 0x28]
test eax, eax
je 0x678ad3ee
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x678ad3ee
mov eax, dword [esp + 0x14]
test eax, eax
je 0x678ad3e6
lea eax, [edi + 0x128]
jmp 0x678ad402
lea eax, [edi + 0x118]
jmp 0x678ad402
mov eax, dword [esp + 0x14]
test eax, eax
lea eax, [edi + 0x120]
jne 0x678ad402
lea eax, [edi + 0x110]
push eax
push ebx
lea ecx, [esp + 0x2c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov byte [esp + 0x64], 2
mov dword [esp + 0x70], ebp
mov eax, dword [ecx + 0x60]
cmp eax, ebp
jle 0x678ad4c4
mov edx, dword [esp + 0x70]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
jl 0x678ad44f
cmp edx, eax
jge 0x678ad44f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x5c]
mov ecx, dword [ecx + edx*4]
mov esi, dword [edi + 0x98]
lea edx, [esp + 0x84]
neg esi
sbb esi, esi
push edx
and esi, 0x800
or esi, 0x520
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPTabManagerItem::GetCaption_void_
mov eax, dword [eax]
mov edx, dword [ebx]
push esi
lea esi, [esp + 0x40]
mov ecx, dword [eax - 8]
push esi
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x74], 3
call dword [edx + 0x70]
lea ecx, [esp + 0x84]
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edx
cmp ebp, eax
jg 0x678ad4ac
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
inc ecx
mov eax, dword [eax + 0x60]
mov dword [esp + 0x70], ecx
cmp ecx, eax
jl 0x678ad427
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x678ad4d0
xor eax, eax
jmp 0x678ad4e0
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x678ad4e0
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xd4]
push ecx
mov ecx, dword [edi + 0x78]
push edx
mov edx, dword [edi + 0x70]
add ecx, edx
mov edx, dword [esp + 0x74]
add ecx, eax
add ecx, ebp
add ecx, edx
push ecx
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPTabPaintManager::_GetButtonLength_int__int__int_
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x64], 1
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
jmp 0x678ad5c2
mov eax, dword [esi + 0x80]
test eax, eax
je 0x678ad537
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
xor ecx, ecx
xor eax, eax
jmp 0x678ad578
mov eax, dword [edi + 0x98]
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
mov edx, dword [ecx - 8]
and eax, 0x800
mov esi, dword [ebx]
or eax, 0x520
push eax
lea eax, [esp + 0x78]
push eax
push edx
push ecx
mov ecx, ebx
call dword [esi + 0x70]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
sub eax, esi
sub ecx, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x678ad588
xor eax, eax
jmp 0x678ad598
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x678ad598
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0xd8]
mov ebp, dword [edi + 0x70]
push edx
mov edx, dword [edi + 0xd4]
push edx
mov edx, dword [edi + 0x78]
add edx, ebp
add edx, eax
add edx, ecx
mov ecx, dword [esp + 0x74]
add edx, ecx
push edx
mov ecx, edi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPTabPaintManager::_GetButtonLength_int__int__int_
mov esi, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x1c