Function at 0x14026cdc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + COleVariant::operator=]
and eax, 1
test eax, eax
je 0x14026d261
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x1c0]
test eax, eax
jne 0x14026ce31
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
cmp rax, qword [rsp + 0x120]
je 0x14026ce71
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x1c0]
test eax, eax
je 0x14026ce5c
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
cmp rax, qword [rsp + 0x120]
jne 0x14026ce71
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x14026cebd
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x4a8], 0
jne 0x14026cebd
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rdx, qword [rsp + 0x120]
mov byte [rdx + 0x1c0], 0
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x3b8], 0
mov edx, 6
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x3b8]
test eax, eax
je 0x14026d25f
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x3b9]
test eax, eax
jne 0x14026cf4b
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x14026cf2a
mov dword [rsp + 0xf8], 1
jmp 0x14026cf35
mov dword [rsp + 0xf8], 0
mov rcx, qword [rsp + 0x120]
movzx eax, byte [rsp + 0xf8]
mov byte [rcx + 0x3b9], al
lea rdi, [rsp + 0xe8]
mov rsi, qword [rsp + 0x120]
add rsi, 0x1b0
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x40]
lea rsi, [rsp + 0xe8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x1e8]
mov qword [rsp + 0x88], rax
mov ecx, dword [rsp + 0x8c]
mov eax, dword [rsp + 0x2c]
sub eax, ecx
mov dword [rsp + 0xc4], eax
mov ecx, dword [rsp + 0x88]
mov eax, dword [rsp + 0x28]
sub eax, ecx
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x28]
mov qword [rcx + 0x1e8], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov ecx, dword [rsp + 0xa4]
mov eax, dword [rsp + 0x2c]
sub eax, ecx
mov dword [rsp + 0xcc], eax
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x28]
sub eax, ecx
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x120]
call fcn.14012b6f0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xd0], eax
mov ecx, dword [rsp + 0xd0]
call sub.MSVCR90.dll_labs
mov dword [rsp + 0xd4], eax
mov eax, dword [0x1404fa810]
cmp dword [rsp + 0xd4], eax
jg 0x14026d112
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xd8], eax
mov ecx, dword [rsp + 0xd8]
call sub.MSVCR90.dll_labs
mov dword [rsp + 0xdc], eax
mov eax, dword [0x1404fa814]
cmp dword [rsp + 0xdc], eax
jle 0x14026d25a
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x3b9]
test eax, eax
je 0x14026d25a
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + reloc.mfc90u.dll_CInternetException::CInternetException]
test eax, eax
je 0x14026d1b0
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0xe0], rax
call fcn.14019e520
mov rdx, qword [rsp + 0xe0]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14026d1ab
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
xor r9d, r9d
mov r8d, 0xffffffff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [rax + reloc.mfc90u.dll_CUIntArray::CUIntArray]
jmp 0x14026d23c
lea rdi, [rsp + 0xb0]
mov rsi, qword [rsp + 0x120]
add rsi, reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov r9b, 1
mov r8d, 1
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x120]
call qword [rax + 0x3d0]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + CToolBarCtrl::~CToolBarCtrl]
mov rdx, rax
lea rcx, [0x1404f7d88]
call fcn.1400dbb20
mov qword [rsp + 0x70], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1404f7d88]
call fcn.1400dcc50
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x3b8], 0
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x3b9], 0
jmp 0x14026d2f4
jmp 0x14026d2b2
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + COleVariant::operator=]
and eax, 2
test eax, eax
je 0x14026d2b2
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x3b8]
test eax, eax
je 0x14026d2b2
mov r8, qword [rsp + 0x130]
mov edx, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call fcn.1401290f0
jmp 0x14026d2f4
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x120]
call qword [rax + 0x710]
add rsp, 0x108
pop rdi
pop rsi
ret