Function at 0x14020dfb0
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 0x14020e03d
cmp dword [rsp + 0xc8], reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
je 0x14020e188
mov eax, dword [rsp + 0xc8]
sub eax, 0x7b
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x89
ja case.0x14020e076.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x20e7c8]
mov eax, dword [rcx + rax*4 + 0x20e7b4]
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.0x14020e076.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x20e854]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x4110], 0
je case.0x14020e03b.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 + 0x4110]
call fcn.1402a0930
test eax, eax
je case.0x14020e03b.123
mov eax, 1
jmp 0x14020e7aa
cmp dword [0x1404e64a0], 0
jne 0x14020e0ed
cmp dword [0x1404e649c], 0
jne 0x14020e0ed
mov dword [0x1404e649c], 1
call fcn.1401232f0
cmp qword [0x1404e7670], 0
je 0x14020e153
mov rcx, qword [0x1404e7670]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14020e153
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
jne 0x14020e153
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 0x14020e7aa
mov rcx, qword [rsp + 0x100]
add rcx, 0x3ff8
xor r8d, r8d
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.1401262a0
test eax, eax
je 0x14020e183
mov eax, 1
jmp 0x14020e7aa
jmp case.0x14020e076.514
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x4110], 0
je 0x14020e1dc
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 + 0x4110]
call fcn.1402a0af0
test eax, eax
je 0x14020e1dc
mov eax, 1
jmp 0x14020e7aa
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14020e1fe
mov dword [rsp + 0xcc], 1
jmp 0x14020e209
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 0x14020e236
mov dword [rsp + 0xd0], 1
jmp 0x14020e241
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x4080]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14020e27c
mov qword [rsp + 0xd8], 0
jmp 0x14020e290
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x14020e373
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x4080]
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 0x14020e373
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
je 0x14020e300
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x79
jne 0x14020e373
cmp dword [rsp + 0x24], 0
jne 0x14020e373
cmp dword [rsp + 0x28], 0
jne 0x14020e373
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 + 0x4080], rax
jne 0x14020e33e
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
jmp 0x14020e369
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0x20000000
test rax, rax
jne 0x14020e369
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x4080]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x14020e7aa
cmp qword [0x1404e7670], 0
je 0x14020e39c
mov rcx, qword [0x1404e7670]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14020e39c
mov eax, 1
jmp 0x14020e7aa
jmp case.0x14020e076.514
mov rcx, qword [rsp + 0x108]
call fcn.140128010
test eax, eax
jne 0x14020e3e2
mov rcx, qword [rsp + 0x100]
add rcx, 0x3ff8
xor r8d, r8d
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.1401262a0
test eax, eax
je 0x14020e3e2
mov eax, 1
jmp 0x14020e7aa
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x1b
jne 0x14020e4fd
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x40c8]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x14020e43a
mov rcx, qword [rsp + 0x100]
add rcx, 0x40a8
mov rdx, qword [rsp + 0x100]
call fcn.14029c3b0
mov eax, 1
jmp 0x14020e7aa
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x4498]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14020e4a1
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x14020e482
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x14020e482
mov dword [rsp + 0xe0], 1
jmp 0x14020e48d
mov dword [rsp + 0xe0], 0
cmp dword [rsp + 0xe0], 0
je 0x14020e4a1
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 0x14020e4fd
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 0x14020e7aa
cmp dword [rsp + 0x20], 0
jne 0x14020e50b
xor eax, eax
jmp 0x14020e7aa
jmp case.0x14020e076.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 0x14020e5a4
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14020e5a4
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, 0x3ff8
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 0x14020e5eb
mov eax, 1
jmp 0x14020e7aa
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14020e60a
mov eax, 1
jmp 0x14020e7aa
jmp case.0x14020e076.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, 0x3ff8
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 0x14020e6a4
mov eax, 1
jmp 0x14020e7aa
jmp case.0x14020e076.514
mov rcx, qword [rsp + 0x100]
add rcx, 0x3ff8
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 0x14020e6e3
mov eax, 1
jmp 0x14020e7aa
jmp case.0x14020e076.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 0x14020e767
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, 0x3ff8
mov rdx, qword [rsp + 0x78]
call fcn.1401275c0
test eax, eax
je case.0x14020e076.514
mov eax, 1
jmp 0x14020e7aa
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_COleControl::OnSetText
add rsp, 0xf8
ret