Function at 0x67949550
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67991a80
push eax
mov dword fs:[0], esp
sub esp, 0xbc
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x1c4]
xor ebp, ebp
cmp eax, ebp
jne 0x6794959d
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x20], ebp
cmp eax, ecx
jne 0x679495a5
mov dword [esp + 0x20], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::IsWindowEnabled
mov ebx, dword [esp + 0xdc]
mov esi, eax
cmp ebx, ebp
jne 0x679495bd
xor eax, eax
jmp 0x679495c0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x5c]
push edx
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_struct_HDC_____class_CRect_const__
mov ecx, edi
mov dword [esp + 0xd4], ebp
call sub.MFC42.DLL_CWnd::IsWindowEnabled
neg eax
sbb eax, eax
mov ecx, edi
and al, 0xf6
add eax, 0xf
push eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPSkinObject::GetColor_int_const
mov ebp, eax
lea eax, [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x50], ebp
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x67949686
test ebx, ebx
mov dword [edi + 0x1cc], 1
jne 0x6794961c
xor eax, eax
jmp 0x6794961f
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x94]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_struct_HDC_____class_CRect_const__
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x8c]
mov edx, dword [edi]
push 0
neg eax
sbb eax, eax
mov byte [esp + 0xd8], 1
and eax, ecx
mov ecx, edi
push eax
push 0xf
call dword [edx + 0xa8]
lea ecx, [esp + 0x8c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::Discard_void_
lea ecx, [esp + 0x8c]
mov dword [edi + 0x1cc], 0
mov byte [esp + 0xd4], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
mov ecx, dword [esp + 0x60]
mov eax, dword [edi]
push 0
push ecx
push 0x318
mov ecx, edi
call dword [eax + 0xa8]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.COMBOBOX
call sub.MFC42.DLL_CString::CString_5
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPOffice2007FrameHook::GetFrameBorder_void_const
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ebx, eax
test esi, esi
mov dword [esp + 0x40], ebx
jne 0x679496cf
mov dword [esp + 0x20], 4
jmp 0x679496df
mov edx, dword [esp + 0x20]
xor eax, eax
test edx, edx
setne al
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
push 0
push 0xfa1
push ecx
push 0
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::GetThemeEnumValue_int__int__int__int_
push 2
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x67949795
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPSystemVersion::GetComCtlVersion_void_const
cmp eax, 0x6000a
jb 0x67949795
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 1
test eax, eax
jne 0x679497d5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffffe
lea eax, [edx - 2]
mov edx, dword [esp + 0x28]
add edx, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
add edx, 2
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], edx
call sub.MFC42.DLL_CDC::ExcludeClipRect
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x64]
push 0
push eax
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::DrawThemeBackground_class_CDC___int__int__struct_tagRECT_const__
jmp 0x6794983e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, ecx
mov dword [esp + 0x18], ecx
sub eax, edx
mov edx, dword [esp + 0x28]
sub eax, 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push ebp
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CDC::FillSolidRect_1
jmp 0x6794983e
cmp eax, 1
jne 0x6794983e
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push 0xed9
push ecx
push 0
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPSkinManagerClass::GetThemeColor_int__int__int__unsigned_long_int_
push eax
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push ebp
lea edx, [esp + 0x14]
mov dword [esp + 0x20], ecx
push ebp
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CDC::Draw3dRect
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CDC::SelectClipRgn_1
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetStyle
test al, 2
je 0x67949980
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
sub edx, eax
lea eax, [esp + 0x10]
add edx, ebx
push ebp
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CDC::FillSolidRect_1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.BUTTON
call sub.MFC42.DLL_CString::CString_5
mov ecx, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPOffice2007FrameHook::GetFrameBorder_void_const
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ebp, eax
mov eax, 0xd
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
push 1
push 0
push 0
push 3
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::GetThemePartSize_int__int__struct_tagRECT___enum_THEMESIZE__struct_tagSIZE__
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
sub eax, ebx
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, edx
mov edx, dword [esp + 0x14]
add eax, edx
sar ecx, 1
cdq
mov dword [esp + 0x4c], ecx
sub eax, edx
add ecx, ebx
lea edx, [esp + 0xbc]
sar eax, 1
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
add eax, ecx
neg esi
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x20]
sbb esi, esi
push edx
push 0
and esi, 0xfffffffd
push 0x1001
push eax
add esi, 4
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp eax, 1
setne cl
mov eax, ecx
test eax, eax
je 0x67949964
add esi, 4
lea edx, [esp + 0x4c]
lea eax, [esp + 0x5c]
push edx
push esi
push 3
push eax
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::DrawThemeBackground_class_CDC___int__int__struct_tagRECT_const__
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetStyle
test al, 1
jne 0x679499f9
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x679499f9
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
push 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, edx
push ebp
sub ecx, eax
mov eax, dword [esp + 0x18]
sub esi, eax
sub edx, ecx
push esi
push edx
push eax
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x64]
push 1
push ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::DrawThemeBackground_class_CDC___int__int__struct_tagRECT_const__
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd4], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 4