Function at 0x1009d710
Capabilities:
Log keystrokes via polling

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 0x101c2918
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
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 edi, ecx
push dword [edi + 0x28]
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x44]
push dword [edi + 0x24]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x5c], ecx
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [edi + 0x140]
movups xmmword [ebp - 0x44], xmm0
call esi
push dword [edi + 0x28]
movups xmm0, xmmword [edi + 0x130]
lea eax, [ebp - 0x24]
push dword [edi + 0x24]
movups xmmword [ebp - 0x24], xmm0
push eax
call esi
push dword [edi + 0x28]
movups xmm0, xmmword [edi + 0x180]
lea eax, [ebp - 0x34]
push dword [edi + 0x24]
movups xmmword [ebp - 0x34], xmm0
push eax
call esi
push dword [edi + 0x28]
movups xmm0, xmmword [edi + 0x1b4]
lea eax, [ebp - 0x54]
push dword [edi + 0x24]
movups xmmword [ebp - 0x54], xmm0
push eax
call esi
mov eax, dword [edi + 0x98]
test al, 1
jne 0x1009d7ff
or eax, 1
mov dword [ebp - 0x6c], 0x10
mov dword [edi + 0x98], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x60], 0xffffffff
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
je 0x1009d81b
mov dword [edi + 0x1dc], 1
mov esi, dword [ebp - 0x5c]
mov ecx, edi
push esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_UpdateColorStandardOnMousePos_struct_tagPOINT_const__
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorPickCtrl::_UpdateRowColOnMousePos_struct_tagPOINT_const__
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_UpdateUserColorOnMousePos_struct_tagPOINT_const__
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_UpdateRecentColorOnMousePos_struct_tagPOINT_const__
mov eax, dword [edi + 0x98]
push dword [esi + 4]
shr eax, 3
push dword [esi]
and eax, 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
shl eax, 3
xor eax, dword [edi + 0x98]
and eax, 8
xor eax, dword [edi + 0x98]
mov dword [edi + 0x98], eax
shr eax, 3
and eax, 1
cmp eax, dword [ebp - 0x58]
je 0x1009d897
push 0
lea eax, [ebp - 0x44]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x58], 0
je 0x1009d8c5
mov esi, dword [edi + 8]
call sym.HncOfficeFramework.dll_class_CHDCToolTipCtrl____cdecl_GetToolTipCtrl_void_
push 1
push 0
lea ecx, [edi + 0x1e0]
push ecx
push 0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x5c]
push ecx
push esi
mov ecx, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCToolTipCtrl::HitTest_struct_HWND____const__struct_tagPOINT_const___struct_tagRECT_const___unsigned_short_int_const___unsigned_short_int_const___unsigned_long_int__int_
mov esi, dword [ebp - 0x5c]
mov eax, dword [edi + 0x98]
push dword [esi + 4]
shr eax, 8
push dword [esi]
and eax, 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
shl eax, 8
xor eax, dword [edi + 0x98]
and eax, 0x100
xor eax, dword [edi + 0x98]
mov dword [edi + 0x98], eax
shr eax, 8
and eax, 1
cmp eax, dword [ebp - 0x58]
je 0x1009d920
push 0
lea eax, [ebp - 0x24]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x58], 0
je 0x1009d94e
mov esi, dword [edi + 8]
call sym.HncOfficeFramework.dll_class_CHDCToolTipCtrl____cdecl_GetToolTipCtrl_void_
push 1
push 0
lea ecx, [edi + 0x3e8]
push ecx
push 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x5c]
push ecx
push esi
mov ecx, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCToolTipCtrl::HitTest_struct_HWND____const__struct_tagPOINT_const___struct_tagRECT_const___unsigned_short_int_const___unsigned_short_int_const___unsigned_long_int__int_
mov esi, dword [ebp - 0x5c]
mov eax, dword [edi + 0x98]
push dword [esi + 4]
shr eax, 1
push dword [esi]
and eax, 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
add eax, eax
xor eax, dword [edi + 0x98]
and eax, 2
xor eax, dword [edi + 0x98]
mov dword [edi + 0x98], eax
shr eax, 1
and eax, 1
cmp eax, dword [ebp - 0x58]
je 0x1009d9a4
push 0
lea eax, [ebp - 0x34]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x58], 0
je 0x1009d9d2
mov esi, dword [edi + 8]
call sym.HncOfficeFramework.dll_class_CHDCToolTipCtrl____cdecl_GetToolTipCtrl_void_
push 1
push 0
lea ecx, [edi + 0x5f0]
push ecx
push 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x5c]
push ecx
push esi
mov ecx, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCToolTipCtrl::HitTest_struct_HWND____const__struct_tagPOINT_const___struct_tagRECT_const___unsigned_short_int_const___unsigned_short_int_const___unsigned_long_int__int_
mov esi, dword [ebp - 0x5c]
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_UpdateColorSetOnMousePos_struct_tagPOINT_const__
push dword [esi + 4]
lea eax, [ebp - 0x54]
push dword [esi]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
shl eax, 5
mov ecx, edi
xor eax, dword [edi + 0x98]
and eax, 0x20
xor dword [edi + 0x98], eax
push esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncColorPickCtrl::_UpdateSpuitSetOnMousePos_struct_tagPOINT_const__
lea ecx, [ebp - 0x70]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncColor::constructor_void_
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorPickCtrl::_HitTestColor_struct_tagPOINT_const___class_CHncColor__
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x2300]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColor::operator_class_CHncColor_const__const
test eax, eax
jne 0x1009da8c
cmp dword [edi + 0x2314], eax
je 0x1009da7d
mov ecx, dword [ebp - 0x70]
cmp ecx, 1
jne 0x1009da48
mov eax, 0xc0ffffff
jmp 0x1009da54
mov eax, dword [ebp - 0x6c]
or edx, 0xffffffff
cmp ecx, 2
cmove eax, edx
push eax
movzx eax, word [edi + 0x20]
mov ecx, edi
push eax
push dword [0x1023ff9c]
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncPickCtrl::SendCommand_unsigned_int__unsigned_int__long_int_
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
movzx eax, word [edi + 0x20]
push eax
push dword [0x1023ffe4]
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncPickCtrl::SendCommand_unsigned_int__unsigned_int__long_int_
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x2300]
call sym.HncOfficeFramework.dll_public:_class_CHncColor_const____thiscall_CHncColor::operator_class_CHncColor_const__
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x1009daa6
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
xor eax, eax
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