Function at 0x140103680
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
ja 0x14010370d
cmp dword [rsp + 0xc8], reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
je 0x140103858
mov eax, dword [rsp + 0xc8]
sub eax, 0x7b
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x89
ja case.0x140103746.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x103e98]
mov eax, dword [rcx + rax*4 + 0x103e84]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0xc8]
sub eax, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0xa
ja case.0x140103746.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x103f24]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x2b8], 0
je case.0x14010370b.123
mov r9, qword [rsp + 0x108]
mov r9, qword [r9 + 0x18]
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x10]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x2b8]
call fcn.1402a0930
test eax, eax
je case.0x14010370b.123
mov eax, 1
jmp 0x140103e7c
cmp dword [0x1404e64a0], 0
jne 0x1401037bd
cmp dword [0x1404e649c], 0
jne 0x1401037bd
mov dword [0x1404e649c], 1
call fcn.1401232f0
cmp qword [0x1404e7670], 0
je 0x140103823
mov rcx, qword [0x1404e7670]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140103823
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
jne 0x140103823
mov rax, qword [0x1404e7670]
mov qword [rsp + 0x80], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140103e7c
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
xor r8d, r8d
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.1401262a0
test eax, eax
je 0x140103853
mov eax, 1
jmp 0x140103e7c
jmp case.0x140103746.514
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x2b8], 0
je 0x1401038ac
mov r9, qword [rsp + 0x108]
mov r9, qword [r9 + 0x18]
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x10]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x2b8]
call fcn.1402a0af0
test eax, eax
je 0x1401038ac
mov eax, 1
jmp 0x140103e7c
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401038ce
mov dword [rsp + 0xcc], 1
jmp 0x1401038d9
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x24], eax
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140103906
mov dword [rsp + 0xd0], 1
jmp 0x140103911
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14010394c
mov qword [rsp + 0xd8], 0
jmp 0x140103960
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x140103a43
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140103a43
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
je 0x1401039d0
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x79
jne 0x140103a43
cmp dword [rsp + 0x24], 0
jne 0x140103a43
cmp dword [rsp + 0x28], 0
jne 0x140103a43
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x98]
cmp qword [rcx + 0x228], rax
jne 0x140103a0e
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
jmp 0x140103a39
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0x20000000
test rax, rax
jne 0x140103a39
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x228]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x140103e7c
cmp qword [0x1404e7670], 0
je 0x140103a6c
mov rcx, qword [0x1404e7670]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140103a6c
mov eax, 1
jmp 0x140103e7c
jmp case.0x140103746.514
mov rcx, qword [rsp + 0x108]
call fcn.140128010
test eax, eax
jne 0x140103ab4
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
lea r8, [rsp + 0x20]
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.1401262a0
test eax, eax
je 0x140103ab4
mov eax, 1
jmp 0x140103e7c
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x1b
jne 0x140103bcf
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x270]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x140103b0c
mov rcx, qword [rsp + 0x100]
add rcx, 0x250
mov rdx, qword [rsp + 0x100]
call fcn.14029c3b0
mov eax, 1
jmp 0x140103e7c
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x640]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140103b73
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x140103b54
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x140103b54
mov dword [rsp + 0xe0], 1
jmp 0x140103b5f
mov dword [rsp + 0xe0], 0
cmp dword [rsp + 0xe0], 0
je 0x140103b73
mov rcx, qword [rsp + 0x38]
call fcn.14029c230
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0xa8], rax
call fcn.1402861a0
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140103bcf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140103e7c
cmp dword [rsp + 0x20], 0
jne 0x140103bdd
xor eax, eax
jmp 0x140103e7c
jmp case.0x140103746.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140103c76
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140103c76
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
mov r9, qword [rsp + 0x108]
mov r9, qword [r9]
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 8]
call fcn.140126970
test eax, eax
je 0x140103cbd
mov eax, 1
jmp 0x140103e7c
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140103cdc
mov eax, 1
jmp 0x140103e7c
jmp case.0x140103746.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
mov r9, qword [rsp + 0x108]
mov r9, qword [r9]
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 8]
call fcn.140126970
test eax, eax
je 0x140103d76
mov eax, 1
jmp 0x140103e7c
jmp case.0x140103746.514
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x18]
mov rdx, qword [rsp + 0x108]
mov rdx, qword [rdx + 0x10]
call fcn.1401276d0
test eax, eax
je 0x140103db5
mov eax, 1
jmp 0x140103e7c
jmp case.0x140103746.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xc4], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140103e39
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x1a0
mov rdx, qword [rsp + 0x78]
call fcn.1401275c0
test eax, eax
je case.0x140103746.514
mov eax, 1
jmp 0x140103e7c
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_COlePropertyPage::OnSetPageSite
add rsp, 0xf8
ret