Function at 0x1009e630
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c29be
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x9e0
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x28]
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
push dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x9d4], eax
lea eax, [ebp - 0x270]
movups xmmword [ebp - 0x280], xmm0
push eax
movups xmmword [ebp - 0x290], xmm0
movups xmmword [ebp - 0x2a0], xmm0
movups xmmword [ebp - 0x2b0], xmm0
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x230], xmm0
movups xmmword [ebp - 0x240], xmm0
movups xmm0, xmmword [esi + 0x140]
movups xmmword [ebp - 0x270], xmm0
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x130]
lea eax, [ebp - 0x250]
push dword [esi + 0x24]
movups xmmword [ebp - 0x250], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x150]
lea eax, [ebp - 0x280]
push dword [esi + 0x24]
movups xmmword [ebp - 0x280], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x120]
lea eax, [ebp - 0x290]
push dword [esi + 0x24]
movups xmmword [ebp - 0x290], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x160]
lea eax, [ebp - 0x2a0]
push dword [esi + 0x24]
movups xmmword [ebp - 0x2a0], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x170]
lea eax, [ebp - 0x2b0]
push dword [esi + 0x24]
movups xmmword [ebp - 0x2b0], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x180]
lea eax, [ebp - 0x260]
push dword [esi + 0x24]
movups xmmword [ebp - 0x260], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x1b4]
lea eax, [ebp - 0x230]
push dword [esi + 0x24]
movups xmmword [ebp - 0x230], xmm0
push eax
call edi
push dword [esi + 0x28]
movups xmm0, xmmword [esi + 0x1a0]
lea eax, [ebp - 0x240]
push dword [esi + 0x24]
movups xmmword [ebp - 0x240], xmm0
push eax
call edi
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetRecentUserColumnCount_void_const
mov ecx, esi
mov dword [ebp - 0x9d8], eax
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetUserColumnCount_void_const
mov dword [ebp - 0x9dc], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x98]
mov edi, dword [ebp - 0x9d4]
test cl, 0x40
je 0x1009e954
mov edx, dword [edi]
cmp dword [ebp - 0x230], edx
jg 0x1009e954
mov eax, dword [edi + 4]
cmp dword [ebp - 0x22c], eax
jg 0x1009e954
cmp dword [ebp - 0x228], edx
jle 0x1009e954
cmp dword [ebp - 0x224], eax
jle 0x1009e954
cmp dword [esi + 0x7f8], 0
jne 0x1009e954
and ecx, 0xffffffbf
push 0x14
mov dword [esi + 0x98], ecx
call fcn.100854b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x9d8], edi
mov dword [ebp - 4], 0
push 0xf8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call sym.HncOfficeFramework.dll_protected:_unsigned_int___thiscall_CHDCSpuitButton::_GetMV_unsigned_int_
push 0x10d
mov dword [edi + 0xc], eax
call sym.HncOfficeFramework.dll_protected:_unsigned_int___thiscall_CHDCSpuitButton::_GetMV_unsigned_int_
mov dword [edi + 0x10], eax
mov ecx, edi
lea eax, [ebp - 0x9d4]
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [esi + 0x7f8], edi
mov dword [ebp - 0x9d4], 0
call fcn.101144a0
test eax, eax
je 0x1009e92c
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
mov dword [ebp - 4], 1
mov ecx, esi
push dword [ebp - 0x9d4]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorPickCtrl::SetColor_unsigned_long_int_
lea eax, [esi + 0x9c]
push eax
lea ecx, [esi + 0xa0]
push ecx
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorPickCtrl::_GetNormalColorByColor_class_CHncColor_const___int___int__const
test eax, eax
jne 0x1009e906
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x9c], 0xffffffff
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColor::operator_class_CHncColor_const__const
neg eax
mov ecx, esi
sbb eax, eax
inc eax
push eax
push 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_InputColor_int__int_
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::destructor_void_
mov eax, dword [esi + 0x7f8]
test eax, eax
je 0x1009ef70
push 0x14
push eax
call fcn.1008549d
add esp, 8
mov dword [esi + 0x7f8], 0
jmp 0x1009ef70
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
test cl, 4
je 0x1009e989
and ecx, 0xfffffffb
mov dword [esi + 0x98], ecx
lea ecx, [ebp - 0x260]
push 0
push ecx
push dword [esi + 8]
call eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi + 0x98]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
test cl, 0x10
je 0x1009e9b4
and ecx, 0xffffffef
mov dword [esi + 0x98], ecx
lea ecx, [ebp - 0x270]
push 0
push ecx
push dword [esi + 8]
call eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi + 0x98]
test ecx, 0x200
je 0x1009e9e3
push 0
lea eax, [ebp - 0x250]
and ecx, 0xfffffdff
push eax
push dword [esi + 8]
mov dword [esi + 0x98], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetColumnCount_void_const
cmp dword [esi + 0xb4], eax
jge 0x1009ea2c
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetColumnCount_void_const
cmp dword [esi + 0xb8], eax
jge 0x1009ea2c
mov eax, dword [ebp - 0x9dc]
cmp dword [esi + 0xbc], eax
jge 0x1009ea2c
mov eax, dword [ebp - 0x9d8]
cmp dword [esi + 0xc0], eax
jge 0x1009ea2c
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetRowCount_void_const
cmp dword [esi + 0xb0], eax
jl 0x1009ea4d
push dword [edi + 4]
lea eax, [ebp - 0x240]
push dword [edi]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1009ea4d
mov dword [esi + 0x1dc], eax
jmp 0x1009ef70
push dword [edi + 4]
lea eax, [ebp - 0x240]
push dword [edi]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1009ea9b
mov eax, dword [esi + 0x98]
test al, al
jns 0x1009ef70
cmp dword [esi + 0x1d8], 0
jne 0x1009ef70
and eax, 0xffffff7f
mov dword [0x10240918], esi
mov ecx, esi
mov dword [esi + 0x98], eax
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::TrackPopUP_void_
jmp 0x1009ef70
lea eax, [ebp - 0x9d8]
mov ecx, esi
push eax
lea eax, [ebp - 0x9dc]
push eax
push edi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColorPickCtrl::HitTestNormalColor_struct_tagPOINT_const___int___int__
cmp eax, 1
jne 0x1009eb57
cmp dword [esi + 0x1dc], 0
je 0x1009eb57
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
push 0
mov dword [ebp - 4], 2
mov ecx, esi
push dword [ebp - 0x9d8]
push dword [ebp - 0x9dc]
call sym.HncOfficeFramework.dll_protected:_class_CHncColor_const____thiscall_CHncColorPickCtrl::GetPaletteColor_int__int__int_const
push eax
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorPickCtrl::SetColor_class_CHncColor_const__
push 0
push dword [esi + 0xa0]
mov ecx, esi
push dword [esi + 0x9c]
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_RedrawCell_int__int__int_
push 1
push 1
mov ecx, esi
mov dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0xb4], 0xffffffff
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_InputColor_int__int_
mov esi, dword [ebp - 0x9e8]
test esi, esi
je 0x1009ef70
mov ecx, esi
call dword [sym.imp.HncDrawingEngine.dll_public:_void___thiscall_Hnc::Shape::Color::destructor_void_]
push 0x14
push esi
call fcn.1008549d
add esp, 8
jmp 0x1009ef70
push 0
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColorPickCtrl::HitTestStandardColor_struct_tagPOINT_const___int__
cmp eax, 1
jne 0x1009ec34
cmp dword [esi + 0xb8], 0
jl 0x1009ef70
cmp dword [esi + 0x1dc], 0
je 0x1009ef70
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
push 1
push 0
mov dword [ebp - 4], 3
mov ecx, esi
push dword [esi + 0xb8]
call sym.HncOfficeFramework.dll_protected:_class_CHncColor_const____thiscall_CHncColorPickCtrl::GetPaletteColor_int__int__int_const
push eax
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorPickCtrl::SetColor_class_CHncColor_const__
movzx ecx, word [esi + 0x10]
movzx eax, word [esi + 0x20]
shl ecx, 0x10
push edi
or ecx, eax
mov dword [esi + 0xa0], 0xffffffff
push ecx
push dword [0x10240044]
mov ecx, esi
mov dword [esi + 0x9c], 0xffffffff
mov dword [esi + 0x14], 0
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncPickCtrl::SendCommand_unsigned_int__unsigned_int__long_int_
mov eax, dword [edi]
cmp eax, 1
jne 0x1009ebfb
mov eax, 0xc0ffffff
jmp 0x1009ec08
cmp eax, 2
jne 0x1009ec05
or eax, 0xffffffff
jmp 0x1009ec08
mov eax, dword [edi + 4]
movzx ecx, word [esi + 0x10]
push eax
movzx eax, word [esi + 0x20]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [0x1023ffbc]
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncPickCtrl::SendCommand_unsigned_int__unsigned_int__long_int_
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::destructor_void_
jmp 0x1009ef70
push 0
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColorPickCtrl::HitTestUserColor_struct_tagPOINT_const___int__
cmp eax, 1
jne 0x1009ec8c
cmp dword [esi + 0xbc], 0
jl 0x1009ef70
cmp dword [esi + 0x1dc], 0
je 0x1009ef70
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
push 2
push 0
mov dword [ebp - 4], 4
mov ecx, esi
push dword [esi + 0xbc]
call sym.HncOfficeFramework.dll_protected:_class_CHncColor_const____thiscall_CHncColorPickCtrl::GetPaletteColor_int__int__int_const
jmp 0x1009ed1f
push 0
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColorPickCtrl::HitTestRecentColor_struct_tagPOINT_const___int__
cmp eax, 1
jne 0x1009ed56
cmp dword [esi + 0xc0], 0
jl 0x1009ef70
cmp dword [esi + 0x1dc], 0
je 0x1009ef70
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
mov dword [ebp - 4], 5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1023fa10]
mov edi, dword [esi + 0xc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1025b644]
cmp eax, dword [ecx + 4]
jg 0x1009ef95
test edi, edi
js 0x1009ed1a
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncColorPickCtrl::GetRecentUserColumnCount_void_const
cmp edi, eax
jge 0x1009ed1a
mov ecx, dword [esi + 0x74]
call fcn.100a3cf0
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
add eax, 0xc
jmp 0x1009ed1f
mov eax, 0x10240e4c
push eax
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorPickCtrl::SetColor_class_CHncColor_const__
push 1
push 1
mov ecx, esi
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x9c], 0xffffffff
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_InputColor_int__int_
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::destructor_void_
jmp 0x1009ef70
mov edx, edi
lea ecx, [ebp - 0x270]
call fcn.10017670
test eax, eax
je 0x1009ed88
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
mov dword [ebp - 4], 7
mov dword [edi], 2
jmp 0x1009edb8
mov edx, edi
lea ecx, [ebp - 0x250]
call fcn.10017670
test eax, eax
je 0x1009edd3
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
mov dword [ebp - 4], 8
mov dword [edi], 3
push 1
push 0
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_InputColor_int__int_
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::destructor_void_
jmp 0x1009ef70
mov edx, edi
lea ecx, [ebp - 0x260]
call fcn.10017670
test eax, eax
je 0x1009ef70
push dword [esi + 8]
call sym.HncOfficeFramework.dll_struct_HWND______cdecl_GetPopupWnd_struct_HWND____
add esp, 4
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1009ee14
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1009ee00
push edi
call sym.HncOfficeFramework.dll_struct_HWND______cdecl_GetPopupWnd_struct_HWND____
add esp, 4
mov edi, eax
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x220]
mov eax, str.SlidingToolboxWnd
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009ee79
test dx, dx
je 0x1009ee75
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009ee79
add eax, 4
add ecx, 4
test dx, dx
jne 0x1009ee53
xor eax, eax
jmp 0x1009ee7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1009ee8d
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
jmp 0x1009ee93
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 0x84]
cmp ecx, 1
jne 0x1009eeaa
mov dword [ebp - 0x9d4], 0xc0ffffff
jmp 0x1009eec7
cmp ecx, 2
jne 0x1009eebb
mov dword [ebp - 0x9d4], 0xffffffff
jmp 0x1009eec7
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x9d4], eax
push 0
push dword [esi + 8]
call edi
push eax
push dword [ebp - 0x9d4]
lea ecx, [ebp - 0x9d0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorSelDialog::constructor_unsigned_long_int__struct_HWND_____int_
lea ecx, [ebp - 0x9d0]
mov dword [ebp - 4], 9
call sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHDDialog::DoModal_void_
cmp eax, 1
jne 0x1009ef65
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_LoadUserColor_void_
lea edi, [esi + 0x84]
push edi
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_class_CHncColor_const__
mov byte [ebp - 4], 0xa
mov ecx, esi
push dword [ebp - 0x9b0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColorPickCtrl::SetColor_unsigned_long_int_
lea eax, [esi + 0x9c]
push eax
lea ecx, [esi + 0xa0]
push ecx
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorPickCtrl::_GetNormalColorByColor_class_CHncColor_const___int___int__const
test eax, eax
jne 0x1009ef4f
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x9c], 0xffffffff
push 1
push 1
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_InputColor_int__int_
lea ecx, [ebp - 0x9f0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::destructor_void_
lea ecx, [ebp - 0x9d0]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncColorSelDialog::destructor_void_
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x1025b644
call fcn.100859a4
add esp, 4
cmp dword [0x1025b644], 0xffffffff
jne 0x1009ecf8
mov ecx, 0x10240e4c
mov byte [ebp - 4], 6
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_void_
push 0x101cd040
call fcn.10085dc9
add esp, 4
mov byte [ebp - 4], 5
push 0x1025b644
call fcn.1008595a
add esp, 4
jmp 0x1009ecf8