Function at 0x1402a5c00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [rsp + 0x138]
cmp dword [rax + 8], reloc.mfc90u.dll_COleVariant::COleVariant
jne 0x1402a5cf9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402a5cf9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1402a5cf9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 8]
mov dword [rsp + 0x38], eax
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x1402a6317
mov rax, qword [rsp + 0x138]
cmp dword [rax + 8], 0x100
jne 0x1402a6302
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1402a5fd2
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1402a5fd2
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1402a5fd2
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0xd
je 0x1402a5def
cmp qword [rsp + 0x108], 0x20
jbe 0x1402a5fd2
cmp qword [rsp + 0x108], 0x24
jbe 0x1402a5db1
cmp qword [rsp + 0x108], 0x26
je 0x1402a5db1
cmp qword [rsp + 0x108], 0x28
je 0x1402a5db1
jmp 0x1402a5fd2
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x58], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1402a5def
jmp 0x1402a5fd2
mov rcx, qword [rsp + 0x130]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x60], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1402a5ea9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 8]
mov dword [rsp + 0x70], eax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402a5fc8
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140008d90
test rax, rax
je 0x1402a5fc8
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add rdx, 0x128
mov rcx, qword [rsp + 0x130]
call sub.mfc90u.dll_CMultiDocTemplate::GetThisClass
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1402a5f37
mov qword [rsp + 0xb0], 0
jmp 0x1402a5f4b
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x98]
call fcn.140008d90
mov qword [rsp + 0xa0], rax
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa8]
mov edx, ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x1402a6317
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 9
je 0x1402a6023
cmp qword [rsp + 0x110], 0x1b
je 0x1402a60d1
cmp qword [rsp + 0x110], 0x26
je 0x1402a616b
cmp qword [rsp + 0x110], 0x28
je 0x1402a616b
jmp 0x1402a6302
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
test rax, rax
je 0x1402a60cc
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0x130], 0
jne 0x1402a6081
mov qword [rsp + 0x118], 0
jmp 0x1402a6095
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x118], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov rcx, rax
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x1402a6317
jmp 0x1402a6302
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x1402a6135
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xc8], rax
xor r8d, r8d
xor r9d, r9d
mov edx, CCmdUI::CCmdUI
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x130]
call sub.mfc90u.dll_CDialog::GetThisClass
test rax, rax
je 0x1402a6166
mov rcx, qword [rsp + 0x130]
call sub.mfc90u.dll_CDialog::GetThisClass
mov rcx, rax
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x1402a6317
jmp 0x1402a6302
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1402a6302
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1402a6302
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x1402a6302
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xd8], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1402a62fb
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xe0], rax
mov r8d, 1
xor r9d, r9d
mov edx, CCmdUI::CCmdUI
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
test rax, rax
je 0x1402a62fb
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add rax, 0x130
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x100], rax
mov r8d, 1
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
jmp 0x1402a6317
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.140299c60
add rsp, 0x128
ret