Function at 0x67836f01
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sym.MfcHlpr520.dll_public:_class_CMHPCommandBars____thiscall_CMHPCommandBar::GetCommandBars_void_const
mov ebp, eax
test ebp, ebp
je 0x67836d64
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x67836d64
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPCommandBar::IsHelpMode_void_const
test eax, eax
je 0x67836d7b
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov eax, dword [esi + 0x118]
test eax, eax
jg 0x67837139
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CWnd____thiscall_CMHPCommandBar::GetSite_void_const
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push esi
push ecx
push 0x285a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::InternalRelease
test eax, eax
je 0x67837139
mov eax, dword [esi + 0xb8]
mov ecx, esi
push eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edi, eax
test edi, edi
je 0x67836e03
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x78]
test eax, eax
je 0x67836e03
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
push ecx
push edx
mov ecx, edi
call dword [eax + 0xe0]
cmp eax, 1
je 0x6783713e
cmp eax, 2
je 0x6783713e
test esi, esi
je 0x67837139
mov eax, dword [esi + 0x20]
test eax, eax
je 0x67837139
mov eax, dword [esp + 0x14]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x67836e2e.13
xor ecx, ecx
mov cl, byte [eax + 0x6783715c]
jmp dword [ecx*4 + 0x67837148]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jge 0x67836e85
test ebp, ebp
je 0x67836e85
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CMHPCommandBar____thiscall_CMHPCommandBar::GetRootParent_void_const
mov ebx, eax
push ebx
push sym.MfcHlpr520.dll_struct_CRuntimeClass_CMHPToolBar::classCMHPToolBar
call sub.MFC42.DLL_AfxDynamicDownCast
add esp, 8
test eax, eax
je 0x67836e85
push 0x10
call edi
xor edx, edx
mov ecx, ebp
test ax, ax
setl dl
dec edx
and edx, 2
dec edx
push edx
push ebx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBars::SetToolBarFocus_class_CMHPToolBar___int_
test eax, eax
jne 0x67837139
mov ebx, dword [esi]
push 0x10
call edi
xor ecx, ecx
test ax, ax
setl cl
push ecx
mov ecx, esi
call dword [ebx + 0x150]
mov edx, dword [esi + 0xb8]
mov ecx, esi
push edx
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov esi, eax
test esi, esi
je 0x67837139
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test eax, eax
je 0x67837139
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x74]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
push 0xa
mov ecx, esi
call dword [eax + 0x150]
test eax, eax
jne 0x67837139
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
test eax, eax
je 0x67836f3e
call edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x67836f3e
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov eax, dword [esi + 0xec]
test eax, eax
je 0x67836f64
cmp eax, 1
je 0x67836f64
cmp eax, 4
je 0x67836f64
cmp eax, 5
jne 0x67836f60
cmp dword [esi + 0xe4], 1
je 0x67836f64
xor edi, edi
jmp 0x67836f69
mov edi, 1
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::IsLayoutRTL_void_const
mov edx, dword [esp + 0x14]
lea ecx, [edx - 0x23]
cmp ecx, 5
ja case.default.0x67836f80
jmp dword [ecx*4 + 0x67837174]
test edi, edi
je 0x67836fa9
xor edx, edx
mov ecx, esi
test eax, eax
setne dl
add edx, 8
mov eax, edx
mov edx, dword [esi]
push eax
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor ecx, ecx
mov edx, dword [esi]
test eax, eax
setne cl
add ecx, 2
mov eax, ecx
mov ecx, esi
push eax
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
test edi, edi
je 0x67836fe4
mov edx, dword [esi]
mov ecx, esi
neg eax
sbb eax, eax
add eax, 9
push eax
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
mov ecx, esi
neg eax
sbb eax, eax
add eax, 3
push eax
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
xor ecx, ecx
test edi, edi
setne cl
inc ecx
push ecx
mov ecx, esi
call dword [eax + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
mov ecx, esi
neg edi
sbb edi, edi
and edi, 3
push edi
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
push 6
mov ecx, esi
call dword [eax + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
push 7
mov ecx, esi
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
pop ebx
ret 8
test edx, edx
je 0x67837139
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x67837139
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::IsKeyboardTipsVisible_void_const
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x678370a1
push 0x11
call edi
test ax, ax
jl 0x678370a1
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPCommandBar::OnKeyboardTipChar_unsigned_int_
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
test ebp, ebp
je 0x678370c7
push esi
push sym.MfcHlpr520.dll_struct_CRuntimeClass_CMHPToolBar::classCMHPToolBar
call sub.MFC42.DLL_AfxDynamicDownCast
add esp, 8
test eax, eax
je 0x678370c7
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBars::OnFrameAccel_unsigned_int_
test eax, eax
jne 0x67837139
push 0x11
mov dword [esp + 0x1c], 0
call edi
test ax, ax
jl 0x67837123
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::FindAccelEx_unsigned_int__int__const
mov edi, eax
cmp edi, 0xffffffff
je 0x67837123
mov edx, dword [esi]
push 2
push edi
mov ecx, esi
call dword [edx + 0xcc]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x67837139
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
mov eax, dword [esp + 0x14]
cmp eax, 0x10
je 0x67837139
cmp eax, 0x11
je 0x67837139
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 8