Function at 0x679060e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798daf8
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov eax, dword [ebp + 4]
mov esi, ecx
cmp eax, 0x100
jne 0x679061ba
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x679061ba
mov eax, dword [ebp + 8]
cmp eax, 9
je 0x67906134
cmp eax, 0x21
je 0x67906134
cmp eax, 0x22
jne 0x679061ba
xor edi, edi
cmp eax, 0x21
je 0x6790614d
cmp eax, 9
jne 0x67906152
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x67906152
mov edi, 1
mov eax, dword [esi + 0x20]
push 0
push 0x30002
push 0x127
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPSkinObjectFrame::FrameHasMenuBar_void_
test eax, eax
jne 0x679061b0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6790618a
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPPropertySheet::GetPageIndex_class_CMHPPropertyPage__const
jmp 0x67906190
mov eax, dword [esi + 0x12c]
test edi, edi
je 0x679061a0
mov edx, dword [esi + 0x90]
lea eax, [eax + edx - 1]
jmp 0x679061a1
inc eax
cdq
idiv dword [esi + 0x90]
mov ecx, esi
push edx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPPropertySheet::SetActivePage_int_
mov eax, 1
jmp 0x679062ce
cmp dword [ebp + 4], 0x104
jne 0x67906242
mov eax, dword [esi + 0x90]
xor edi, edi
test eax, eax
jle 0x67906242
test edi, edi
jl 0x679061e2
cmp edi, eax
jge 0x679061e2
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax + edi*4]
jmp 0x679061e4
xor ecx, ecx
lea edx, [esp + 0x20]
push edx
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPPropertyPage::GetCaption_void_
mov eax, dword [esp + 0x20]
push 0x26
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
test eax, eax
je 0x67906226
mov cl, byte [eax + 1]
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_private:_char___thiscall_CMHPPropertySheet::ToUpper_char_
mov dl, byte [ebp + 8]
mov ecx, esi
push edx
mov bl, al
call sym.MfcHlpr520.dll_private:_char___thiscall_CMHPPropertySheet::ToUpper_char_
cmp bl, al
je 0x6790626b
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x90]
inc edi
cmp edi, eax
jl 0x679061cf
mov eax, dword [ebp + 4]
cmp eax, 0x100
jb 0x679062c6
cmp eax, 0x108
ja 0x679062c6
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
push ebp
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CDialog::PreTranslateMessage
test eax, eax
jne 0x6790628b
jmp 0x679062ce
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPPropertySheet::SetActivePage_int_
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x679062ce
call edi
mov edi, eax
cmp edi, ebx
je 0x679062bf
mov eax, dword [esi + 0x20]
test eax, eax
je 0x679062bf
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x679062a7
mov eax, dword [eax + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x679062bf
mov ecx, dword [esi + 0x9c]
push edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPPropertyPage::OnChildSetFocus_struct_HWND____
mov eax, 1
jmp 0x679062ce
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDialog::PreTranslateMessage
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4