Function at 0x67948da0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67991a38
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_CWnd::GetStyle
and eax, 3
cmp al, 1
je 0x6794913b
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetStyle
test al, 3
je 0x6794913b
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, 1
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x67948e1b
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x157
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x10], edi
jne 0x67948e23
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
jne 0x67948e42
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x1c], 0
cmp eax, ecx
jne 0x67948e46
mov dword [esp + 0x1c], edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::IsWindowEnabled
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetExStyle
mov ebp, dword [esp + 0xa0]
mov ebx, eax
and ebx, 0x1000
test ebp, ebp
jne 0x67948e6d
xor eax, eax
jmp 0x67948e70
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x68]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_struct_HDC_____class_CRect_const__
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x98], 0
call dword [edx + 0xe4]
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_struct_HBRUSH______thiscall_CMHPSkinObjectFrame::FillBackground_class_CDC___struct_tagRECT_const___int_
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
push 0
push eax
push 0xf
mov ecx, esi
mov dword [esi + 0x1cc], 1
call dword [edx + 0xa8]
push ecx
mov dword [esi + 0x1cc], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.COMBOBOX
call sub.MFC42.DLL_CString::CString_5
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPOffice2007FrameHook::GetFrameBorder_void_const
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, eax
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CDC::SelectClipRgn_1
test edi, edi
jne 0x67948f0f
mov dword [esp + 0x10], 4
jmp 0x67948f31
mov eax, dword [esp + 0x10]
test eax, eax
je 0x67948f21
mov dword [esp + 0x10], 3
jmp 0x67948f31
mov edx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
setne al
inc eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push 0
push 0xfa1
push ecx
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::GetThemeEnumValue_int__int__int__int_
push 2
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test ebx, ebx
mov edi, eax
je 0x67948f95
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea ecx, [edi + eax + 3]
mov eax, dword [esp + 0x2c]
test ebp, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jne 0x67948f86
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x67948fc9
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 4]
lea edx, [esp + 0x40]
push ecx
push edx
jmp 0x67948fc9
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x2c]
sub eax, edi
sub eax, 3
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
test ebp, ebp
mov dword [esp + 0x44], eax
je 0x67948fbf
mov ebp, dword [ebp + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_FillRect]
test esi, esi
jne 0x67949041
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub eax, edi
add ecx, 0xfffffffd
sub eax, 3
add edx, 3
add esi, 3
mov dword [esp + 0x44], edx
test ebx, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
je 0x67949014
push 0
lea eax, [esp + 0x44]
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CDC::ExcludeClipRect
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x68]
push 0
push ecx
mov ecx, dword [esp + 0x28]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::DrawThemeBackground_class_CDC___int__int__struct_tagRECT_const__
jmp 0x679490d6
cmp esi, 1
jne 0x679490d6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0xed9
push edx
push 0
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPSkinManagerClass::GetThemeColor_int__int__int__unsigned_long_int_
push eax
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
test ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
je 0x679490ad
lea eax, [edi + ecx]
mov dword [esp + 0x40], eax
jmp 0x679490b3
sub eax, edi
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x60]
push ecx
neg eax
sbb eax, eax
lea edx, [esp + 0x44]
and eax, esi
push 2
push edx
push eax
call fcn.679331e0
add esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
test ebx, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
je 0x67949102
add edi, ecx
mov dword [esp + 0x58], edi
jmp 0x67949108
sub eax, edi
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x68]
push 1
push edx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::DrawThemeBackground_class_CDC___int__int__struct_tagRECT_const__
lea ecx, [esp + 0x60]
mov dword [esp + 0x98], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
jmp 0x6794926c
push esi
lea ecx, [esp + 0x34]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPClientRect::constructor_class_CWnd_const__
mov eax, dword [esi + 0x20]
push 0
push 0xffffffffffffffff
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x34]
lea ecx, [edi + eax*2]
add ecx, edx
push ecx
mov dword [esp + 0x40], ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.EDIT
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, dword [esp + 0xa0]
mov ebx, eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xe0]
push 0
push 0xfa1
push 0
push 0
mov ecx, ebx
mov ebp, eax
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPSkinManagerClass::GetThemeEnumValue_int__int__int__int_
cmp eax, 1
jne 0x67949204
push 0xffffffffffffffff
push 0xed9
push 0
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 ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::Draw3dRect
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push 0xffffffffffffffff
push edx
call ebx
test edi, edi
jne 0x679491ee
xor eax, eax
jmp 0x679491f1
mov eax, dword [edi + 4]
push ebp
lea ecx, [esp + 0x34]
push 1
push ecx
push eax
call fcn.679331e0
add esp, 0x10
jmp 0x67949249
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::Draw3dRect
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x34]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call ebx
test edi, edi
je 0x6794925b
mov edi, dword [edi + 4]
push ebp
lea edx, [esp + 0x34]
push 1
push edx
push edi
call fcn.679331e0
add esp, 0x10
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret 4