Function at 0x140274ac0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x180
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0xfffffffffffffffe
mov rax, qword [rsp + 0x190]
movzx eax, byte [rax + 0x3b8]
test eax, eax
je 0x140274b04
mov rax, qword [rsp + 0x190]
mov byte [rax + 0x3b8], 0
mov rax, qword [rsp + 0x190]
cmp dword [rax + reloc.mfc90u.dll_AfxHelpEnabled], 0
je 0x140275306
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x190]
call qword [rax + CToolBarCtrl::~CToolBarCtrl]
mov rdx, rax
lea rcx, [0x1404e65a8]
call fcn.1400f7980
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x478]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + reloc.mfc90u.dll_AfxHelpEnabled]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x190]
call qword [rax + CPagerCtrl::CreateEx]
mov rcx, qword [rsp + 0x190]
call fcn.14027bfe0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x48], eax
jne 0x1402752f7
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x158], eax
cmp dword [rsp + 0x158], 8
je 0x1402750e8
cmp dword [rsp + 0x158], 9
je 0x140274d50
cmp dword [rsp + 0x158], 0x13
je 0x140274bd9
jmp 0x1402752da
mov dword [rsp + 0x4c], 1
cmp qword [0x1404e8078], 0
jne 0x140274c02
mov rcx, qword [rsp + 0x190]
call sub.mfc90u.dll_CDialog::GetThisClass
mov qword [rsp + 0x160], rax
jmp 0x140274c11
mov rax, qword [0x1404e8078]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140274d2b
call fcn.14020d9c0
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140274c6d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x3f0]
mov dword [rsp + 0x4c], eax
jmp 0x140274d2b
call fcn.140103480
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140274cad
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x60]
call qword [rax + _AfxDeleteRegKey]
mov dword [rsp + 0x4c], eax
jmp 0x140274d2b
call fcn.140284d30
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140274ced
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x68]
call qword [rax + CDocManager::AddDocTemplate]
mov dword [rsp + 0x4c], eax
jmp 0x140274d2b
call fcn.1402837d0
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140274d2b
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x70]
call qword [rax + CDocManager::AddDocTemplate]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x140274d4b
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x190]
call qword [rax + CRecordset::BuildSQL]
jmp 0x1402752f7
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140275031
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x190]
call qword [rax + 0x648]
test eax, eax
je 0x140275031
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x130]
mov qword [rsp + 0x110], rax
xor r8d, r8d
xor r9d, r9d
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x3e8], 0
jne 0x140274ef9
mov edx, 0xa
lea rcx, [rsp + 0x80]
call sub.mfc90u.dll_CMemFile::CMemFile
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call fcn.140288bc0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140274eea
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
jne 0x140274e42
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x128], rax
call fcn.140271b40
mov rdx, qword [rsp + 0x128]
mov rdx, qword [rdx]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x648]
test eax, eax
je 0x140274ee5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + reloc.mfc90u.dll_CScrollView::CScrollView]
mov r8d, eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 1
mov rcx, qword [rsp + 0xc0]
call qword [rax + CImageList::Create]
jmp 0x140274e13
lea rcx, [rsp + 0x80]
call sub.mfc90u.dll_CInternetSession::CInternetSession
jmp 0x140274f55
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + reloc.mfc90u.dll_AfxCompareValueByRef]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + reloc.mfc90u.dll_AfxCompareValueByRef]
mov rax, qword [rax]
call qword [rax + reloc.mfc90u.dll_CUIntArray::CUIntArray]
mov rbx, rax
call fcn.1402eda00
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x140274f55
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call fcn.1402ede70
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x130]
mov qword [rsp + 0x130], rax
mov r8d, 1
xor r9d, r9d
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call sub.mfc90u.dll_CIPAddressCtrl::GetRuntimeClass
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x130]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140274fcd
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [rax + reloc.mfc90u.dll_CInternetException::CInternetException]
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x130]
mov qword [rsp + 0x138], rax
xor eax, eax
test rax, rax
jne 0x140274ff9
mov qword [rsp + 0x168], 0
jmp 0x14027500a
xor eax, eax
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov r9d, CDocument::CDocument
mov r8, qword [rsp + 0x168]
xor edx, edx
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x1402750e3
cmp qword [rsp + 0x30], 0
je 0x1402750e3
cmp qword [rsp + 0x40], 0
je 0x1402750e3
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1ec]
mov dword [rsp + 0x140], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + reloc.mfc90u.dll_CScrollView::CScrollView]
and eax, dword [rsp + 0x140]
test eax, eax
je 0x1402750e3
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x3e8], 0
jne 0x140275097
mov dword [rsp + 0x170], 1
jmp 0x1402750a2
mov dword [rsp + 0x170], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + reloc.mfc90u.dll_CScrollView::CScrollView]
mov r8d, eax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x190]
call qword [rax + CImageList::Create]
jmp 0x140275322
cmp dword [0x1404e7e9c], 0
je 0x1402752d8
mov edx, 8
mov rcx, qword [rsp + 0x190]
call fcn.14027ae60
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x14027511f
jmp 0x140275322
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x28]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x190]
call sub.mfc90u.dll_CDHtmlElementEventSink::QueryInterface
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x108], rax
mov r8d, dword [rsp + 0x10c]
mov edx, dword [rsp + 0x108]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x190]
call sub.mfc90u.dll_CDragListBox::CancelDrag
mov r11, qword [rsp + 0xe0]
mov dword [r11 + 0x18], 1
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x190]
call fcn.14027a050
mov eax, dword [rsp + 0xfc]
add eax, 1
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xec], eax
mov rcx, qword [rsp + 0x190]
call sub.mfc90u.dll_CRichEditView::GetContextMenu
and eax, 0x400000
test eax, eax
je 0x140275244
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf8]
sub ecx, eax
mov eax, dword [rsp + 0xe8]
add eax, ecx
mov dword [rsp + 0xe8], eax
cmp qword [rsp + 0x190], 0
jne 0x14027525d
mov qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], 0
jmp 0x140275271
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x40]
mov qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
call qword [rax + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1402752d8
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x18], 0
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x190]
call fcn.14027a050
jmp 0x140275322
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call qword [rax + 0x6c8]
mov rcx, qword [rsp + 0x190]
call sub.mfc90u.dll_CDHtmlDialog::DDX_DHtml_CheckBox_1
jmp 0x140275322
mov r8, qword [rsp + 0x1a0]
mov edx, dword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
call fcn.140143690
add rsp, 0x180
pop rbx
ret