Function at 0x14001b6c6
Capabilities:
Log keystrokes via polling
Reference sql statements

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400bd990
push 1
pop rcx
call fcn.1400166fb
movabs rdx, 0x140273064
lea rcx, [0x1404ba3dc]
call fcn.1400bd510
mov qword [rsp + 0x28], 0
jmp 0x14001b707
push 0x4d
pop rcx
call fcn.1400a3a84
cmp rax, qword [rsp + 0x28]
jl 0x14001b82f
push qword [rsp + 0x28]
push 0x4d
pop rcx
pop rdx
call fcn.14009d0bc
mov r15, rax
and r15, 1
and r15, r15
je 0x14001b824
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 2
push qword [rsp + 0x58]
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a3acc
add rsp, 0x28
call fcn.1400bd860
push qword [0x1404ba29c]
push 0
pop rcx
sub rsp, 0x20
call fcn.1400a681c
add rsp, 0x20
mov r15, rax
add r15, 0xa0
mov rax, r15
push rax
sub rsp, 8
push 0
pop rcx
sub rsp, 0x20
call fcn.1400a6894
add rsp, 0x28
mov r15, rax
add r15, 0xc8
mov rax, r15
push rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 0x18], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140029f72
add rsp, 0x28
lea rcx, [0x1404ba3dc]
pop rdx
call fcn.1400bd6c0
jmp 0x14001b82f
inc qword [rsp + 0x28]
jno 0x14001b707
push qword [0x1404ba3dc]
movabs rcx, str.noneresult
pop rdx
call fcn.1400bd7a0
or rax, rax
je 0x14001b85a
push 0
pop rcx
call fcn.1400166fb
jmp 0x14001bfdb
mov r9, 7
movabs r8, 0x140282478
lea rdx, [rsp + 0x30]
mov rcx, 0x90
call fcn.1400b4bfc
mov qword [rsp + 0x28], 0
jmp 0x14001b887
push 0x4d
pop rcx
call fcn.1400a3a84
cmp rax, qword [rsp + 0x28]
jl 0x14001b92e
push qword [rsp + 0x28]
push 0x4d
pop rcx
pop rdx
call fcn.14009d0bc
mov r15, rax
and r15, 1
and r15, r15
je 0x14001b923
push qword [rsp + 0x30]
pop rcx
call fcn.1400b4cdc
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 0
push qword [rsp + 0x48]
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a3acc
add rsp, 0x28
mov rbp, qword [rsp + 0x40]
lea rcx, [rbp + 0x18]
pop rdx
call fcn.1400bd6c0
push qword [rsp + 0x28]
pop rax
mov qword [rbp + 0x98], rax
inc qword [rsp + 0x28]
jno 0x14001b887
movabs rax, str.Begin_Transaction
push rax
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400ad6c8
mov r15, rax
and r15, r15
jne 0x14001b9ed
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x14027cd96
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.1400ad72c
add rsp, 0x20
pop rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400349a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov rcx, qword [rsp + 0x30]
call fcn.1400b4db8
mov rcx, qword [rsp + 0x30]
call fcn.1400b4dcc
or rax, rax
je 0x14001bf04
mov rbp, qword [rsp + 0x38]
push qword [rbp + 0x18]
pop rcx
call fcn.140020d21
and rax, rax
je 0x14001bb60
push 2
push qword [0x1404ba3dc]
mov rbp, qword [rsp + 0x48]
push qword [rbp + 0x98]
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
call fcn.14009cc54
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.UPDATE_keys_SET_Comment
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [0x1404ba3dc]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x1402799b0
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rbp + 0x18]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x140273830
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
call fcn.1400bd860
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ad6c8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
jne 0x14001bb1b
push 0
mov rbp, qword [rsp + 0x40]
push qword [rbp + 0x98]
push 0x1013
sub rsp, 8
push 0x4d
pop rcx
sub rsp, 0x20
call fcn.14009cec8
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
call sub.USER32.dll_SendMessageW
call fcn.14002bd10
jmp 0x14001bed7
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
mov rbp, qword [rsp + 0x48]
push qword [rbp + 0x18]
pop rcx
sub rsp, 0x20
call fcn.14002b220
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bd6c0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 0x4e
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009cdb4
add rsp, 0x28
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.14002b220
add rsp, 0x28
call fcn.1400bd860
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
movabs rcx, 0x140275a68
sub rsp, 0x20
call fcn.1400bd650
add rsp, 0x20
mov rcx, qword [0x1404ba5cc]
sub rsp, 0x20
call fcn.1400bd650
add rsp, 0x20
pop rcx
sub rsp, 8
call fcn.1400bd890
add rsp, 8
mov rcx, rax
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400bd890
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.1400bd7a0
or rax, rax
je 0x14001bce3
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_key_FROM_keys_WHERE_NOT_key_And_Description
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._And_NOT_Blocked
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.1400bd6c0
jmp 0x14001bd3e
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_key_FROM_keys_WHERE_NOT_key_And_Description
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._And_Blocked
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.1400bd6c0
push qword [rsp + 0x48]
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400ad7fc
mov r15, rax
and r15, r15
je 0x14001bed7
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad878
and rax, rax
je 0x14001bec6
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ad8ac
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400bd6c0
push qword [rsp + 0x50]
movabs rcx, 0x140273064
pop rdx
call fcn.1400bd7a0
or rax, rax
jne 0x14001bebc
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.UPDATE_keys_SET_Comment
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [0x1404ba3dc]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x1402799b0
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, 0x140273830
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
call fcn.1400bd860
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ad6c8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
jne 0x14001bebc
call fcn.14002bd10
jmp 0x14001bd60
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
call fcn.1400ad8f4
push SQLFreeHandle
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14001beff
call fcn.1400a6dec
mov r15, rax
and r15, r15
jne 0x14001beff
call fcn.14002bd10
jmp 0x14001bf04
jmp 0x14001b9f7
movabs rax, str.Commit
push rax
movsxd rax, dword [0x1404baa3c]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400ad6c8
mov r15, rax
and r15, r15
jne 0x14001bfc3
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x14027cd96
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
push rcx
sub rsp, 0x20
call main
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.1400ad72c
add rsp, 0x20
pop rax
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400349a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
push qword [rsp + 0x30]
pop rcx
call fcn.1400b4e08
push 0
pop rcx
call fcn.1400166fb
xor rax, rax
push rax
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
push qword [rsp + 0x38]
pop rcx
sub rsp, 0x28
call fcn.1400b4e08
add rsp, 0x28
pop rax
add rsp, 0x58
pop r15
pop rbp
ret