Function at 0x140313010
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x1400], 0
je 0x140313057
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x868]
test eax, eax
je 0x14031305c
jmp 0x14031339d
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x70], rax
call fcn.140111350
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1403130da
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + reloc.mfc90u.dll_CStatusBar::SetPaneInfo]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1403130da
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + reloc.mfc90u.dll_CStatusBar::SetPaneInfo]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x70], 0
je 0x1403130da
jmp 0x14031339d
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x1674], 0
je 0x14031313c
mov edx, 3
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov rax, qword [rsp + 0xd0]
mov dword [rax + CInternetFile::QueryOption], 0
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x1430], 0
mov rcx, qword [rsp + 0xd0]
add rcx, reloc.mfc90u.dll_CInternetFile::QueryOption
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
call qword [rax + reloc.mfc90u.dll_COleControl::DestroyTracker]
test eax, eax
je 0x14031339d
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x1664], 0
je 0x14031339d
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x1668]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x1403131b5
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x1660]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
jne 0x1403131b5
jmp 0x14031339d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1403131cf
jmp 0x14031339d
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rsp + 0xd0]
call fcn.140313b70
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140313220
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x1428], 0
je 0x140313249
mov edx, 1
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rsp + 0x68], 0xffffffff
mov dword [rsp + 0x6c], 0xffffffff
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0xe0], eax
jne 0x14031328a
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0xe4], eax
jne 0x14031328a
mov dword [rsp + 0xa0], 1
jmp 0x140313295
mov dword [rsp + 0xa0], 0
cmp dword [rsp + 0xa0], 0
je 0x140313344
mov rcx, qword [rsp + 0xd0]
call fcn.140313c50
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140313344
lea rdi, [rsp + 0x90]
mov rsi, qword [rsp + 0x48]
add rsi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call sub.mfc90u.dll_CDragListBox::CancelDrag
mov rdi, qword [rsp + 0xd0]
mov rdi, qword [rdi + 0x1400]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x1400]
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xd0]
call qword [rdi + 0x6a8]
jmp 0x14031339d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.140313be0
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x1400]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x1400]
mov rax, qword [rax]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0xe4]
mov r8d, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd0]
call qword [rax + 0x6a8]
add rsp, 0xb8
pop rdi
pop rsi
ret