Function at 0x1401a33e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 8]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x104
ja 0x1401a344f
cmp dword [rsp + 0x58], 0x104
je case.0x1401a347c.512
mov eax, dword [rsp + 0x58]
sub eax, 0xa1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x5f
ja case.0x1401a347c.515
mov eax, dword [rsp + 0x58]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1a3880]
mov eax, dword [rcx + rax*4 + 0x1a3874]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x58]
sub eax, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 8
ja case.0x1401a347c.515
mov eax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1a38e0]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + reloc.mfc90u.dll_CBrush::CBrush], 0xffffffff
je case.0x1401a347c.512
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je case.0x1401a347c.512
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x21
je 0x1401a35f6
cmp qword [rsp + 0x60], 0x22
je 0x1401a34d6
jmp case.0x1401a347c.512
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x1401a34f8
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
mov rcx, qword [rsp + 0x90]
add eax, dword [rcx + 0x148]
cmp dword [rsp + 0x20], eax
jge 0x1401a35ec
mov eax, dword [rsp + 0x20]
cdq
mov rcx, qword [rsp + 0x90]
idiv dword [rcx + 0x148]
mov dword [rsp + 0x24], edx
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x4d8]
test eax, eax
je 0x1401a35e7
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x374], 1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.mfc90u.dll_CDHtmlControlSink::AddRef]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.mfc90u.dll_CRecordset::AddNew]
mov rcx, rax
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov r8, qword [rsp + 0x90]
mov r8, qword [r8]
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
mov rcx, qword [rsp + 0x90]
call qword [r8 + AfxParseURL]
mov r11, qword [rsp + 0x90]
mov dword [r11 + 0x374], 0
jmp 0x1401a35ec
jmp 0x1401a34ed
mov eax, 1
jmp 0x1401a386a
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x148]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x28], eax
jmp 0x1401a3627
mov eax, dword [rsp + 0x28]
sub eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
cmp dword [rsp + 0x28], eax
jle 0x1401a370d
mov eax, dword [rsp + 0x28]
cdq
mov rcx, qword [rsp + 0x90]
idiv dword [rcx + 0x148]
mov dword [rsp + 0x2c], edx
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x4d8]
test eax, eax
je 0x1401a3708
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x374], 1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.mfc90u.dll_CDHtmlControlSink::AddRef]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.mfc90u.dll_CRecordset::AddNew]
mov rcx, rax
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov r8, qword [rsp + 0x90]
mov r8, qword [r8]
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + reloc.mfc90u.dll_CBrush::CBrush]
mov rcx, qword [rsp + 0x90]
call qword [r8 + AfxParseURL]
mov r11, qword [rsp + 0x90]
mov dword [r11 + 0x374], 0
jmp 0x1401a370d
jmp 0x1401a361c
mov eax, 1
jmp 0x1401a386a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x1b8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401a373e
mov qword [rsp + 0x68], 0
jmp 0x1401a374c
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1401a3787
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x1b8]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x98]
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x1b0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1401a37ae
mov qword [rsp + 0x70], 0
jmp 0x1401a37bc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je case.0x1401a347c.515
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x1b0]
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x98]
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x98]
cmp dword [rax + 8], 0x203
jne 0x1401a3855
mov rax, qword [rsp + 0x90]
add rax, 0x3040
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1401a382e
mov qword [rsp + 0x78], 0
jmp 0x1401a383c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x78]
cmp qword [rcx], rax
jne 0x1401a3855
mov eax, 1
jmp 0x1401a386a
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1401b0780
add rsp, 0x88
ret