Function at 0x140029f72
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push r15
mov rax, reloc.ODBC32.dll_SQLFetch
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140029f8f
sub rsp, 0x28
call fcn.1400bd990
mov rcx, qword [rsp + 0xc0]
call fcn.14004bcd8
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400bda00
add rsp, 0x10
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400bda00
add rsp, 0x10
mov qword [rsp + 0x38], 0x17a
mov qword [rsp + 0x40], SQLConnectW
sub rsp, 8
push 4
movabs rax, 0x140273064
push rax
push qword [rsp + 0x58]
push qword [rsp + 0x58]
push qword [rsp + 0xd0]
push qword [rsp + 0xd0]
push SQLGetData
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a6964
add rsp, 0x40
sub rsp, 8
push qword [rsp + 0x48]
push qword [rsp + 0x48]
push 0
push 0
push 0xffffffffffffffff
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009c15c
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x28]
push reloc.ODBC32.dll_SQLRowCount
push 0x140
push 5
push reloc.OLEAUT32.dll_SafeArrayPutElement
push 0xffffffffffffffff
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009b18c
add rsp, 0x30
mov qword [rsp + 0x50], rax
push 0x10000000
push reloc.ODBC32.dll_SQLFetchScroll
push 0x145
push reloc.OLEAUT32.dll_SafeArrayPutElement
push reloc.OLEAUT32.dll_SafeArrayPutElement
push 0xffffffffffffffff
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009f878
add rsp, 0x30
mov qword [rsp + 0x58], rax
push qword [0x1404ba7d4]
push reloc.OLEAUT32.dll_SafeArrayPutElement
push 0x3c
mov r15, qword [rsp + 0x58]
add r15, 0xffffffffffffffdd
mov rax, r15
push rax
push 0xd2
push 0xffffffffffffffff
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a1dbc
add rsp, 0x30
mov qword [rsp + 0x60], rax
push qword [0x1404ba244]
push reloc.OLEAUT32.dll_SafeArrayPutElement
push 0x3c
mov r15, qword [rsp + 0x58]
add r15, 0xffffffffffffffdd
mov rax, r15
push rax
push 0x122
push 0xffffffffffffffff
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400a1dbc
add rsp, 0x30
mov qword [rsp + 0x68], rax
call fcn.14009c3a8
push SQLGetData
pop rcx
call fcn.14003312c
push qword [rsp + 0x30]
push qword [rsp + 0x60]
pop rcx
pop rdx
call fcn.14009ccd8
push qword [rsp + 0x58]
pop rcx
call fcn.14009ce7c
push 0xffffffffffffffff
push 0
push 0xb1
sub rsp, 8
push qword [rsp + 0x78]
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
push 0
pop rcx
call fcn.140094af8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [0x1404ba33c]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._tCtrlV
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
call fcn.1400bd860
push 1
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140094b60
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [0x1404ba4cc]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
movabs rcx, str._tCtrlC
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
call fcn.1400bd860
push 2
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140094b60
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004bcd8
add rsp, 0x28
pop rax
push qword [0x1404ba7bc]
push 3
pop rcx
pop rdx
call fcn.140094b60
movabs rdx, 0x140273064
lea rcx, [rsp + 0x70]
call fcn.1400bd510
call fcn.1400a6814
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14002a986
call fcn.1400a8378
mov rax, rax
push rax
mov r15, SQLGetData
cmp r15, qword [rsp]
jne 0x14002a53d
push qword [rsp + 0x80]
mov r15, 0x332c
cmp r15, qword [rsp]
jne 0x14002a539
sub rsp, 0x20
call fcn.1400a835c
add rsp, 0x20
mov rax, rax
push rax
mov r15, qword [rsp + 0x70]
cmp r15, qword [rsp]
jne 0x14002a4a0
sub rsp, 8
sub rsp, 0x20
call fcn.1400a8340
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14002a49b
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
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.1400ada98
add rsp, 0x20
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400bad50
add rsp, 0x20
lea rcx, [rsp + 0xa0]
pop rdx
sub rsp, 0x28
call fcn.1400bd6c0
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
movabs rax, reloc.ODBC32.dll_SQLFetch
push rax
push qword [rsp + 0xb0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400bb020
add rsp, 0x20
lea rcx, [rsp + 0xa0]
pop rdx
sub rsp, 0x28
call fcn.1400bd6c0
add rsp, 0x28
sub rsp, 8
movabs rax, 0x140273064
push rax
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x28
sub rsp, 8
push qword [rsp + 0xa0]
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x28
jmp 0x14002a538
mov r15, qword [rsp + 0x78]
cmp r15, qword [rsp]
jne 0x14002a502
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
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009cdb4
add rsp, 0x20
lea rcx, [rsp + 0x90]
pop rdx
sub rsp, 0x28
call fcn.1400bd6c0
add rsp, 0x28
add rsp, 0x18
jmp 0x14002a996
mov r15, qword [rsp + 0x80]
cmp r15, qword [rsp]
jne 0x14002a538
movabs rdx, str.noneresult
lea rcx, [rsp + 0x88]
sub rsp, 0x28
call fcn.1400bd510
add rsp, 0x28
add rsp, 0x18
jmp 0x14002a996
pop rax
add rsp, 8
pop rax
push qword [rsp + 0x78]
mov r15, 0x204
cmp r15, qword [rsp]
jne 0x14002a751
sub rsp, 8
push qword [rsp + 0x68]
pop rcx
sub rsp, 0x20
call fcn.1400181d7
add rsp, 0x28
and rax, rax
je 0x14002a74c
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.1400ada98
add rsp, 0x20
call fcn.1400bd860
movabs rcx, 0x140273064
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400bd890
add rsp, 0x20
pop rcx
mov rdx, rax
sub rsp, 0x28
call fcn.1400bd7a0
add rsp, 0x28
or rax, rax
jne 0x14002a5fd
sub rsp, 8
push 0
push 1
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
add rsp, 0x28
jmp 0x14002a621
sub rsp, 8
push 1
push 1
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
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
push qword [rsp + 0x70]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009cdb4
add rsp, 0x20
call fcn.1400bd860
movabs rcx, 0x140273064
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400bd890
add rsp, 0x20
pop rcx
mov rdx, rax
sub rsp, 0x28
call fcn.1400bd7a0
add rsp, 0x28
or rax, rax
jne 0x14002a6d5
sub rsp, 8
push 0
push 2
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
add rsp, 0x28
sub rsp, 8
push 0
push 3
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
add rsp, 0x28
jmp 0x14002a71d
sub rsp, 8
push 1
push 2
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
add rsp, 0x28
sub rsp, 8
push 1
push 3
push 0
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140094cf8
add rsp, 0x28
sub rsp, 8
push SQLGetData
pop rcx
sub rsp, 0x20
call fcn.1400a6338
add rsp, 0x20
mov rax, rax
push rax
push 0
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140094cb4
add rsp, 0x28
jmp 0x14002a83f
mov r15, 0x332d
cmp r15, qword [rsp]
jne 0x14002a83f
sub rsp, 8
sub rsp, 0x20
call fcn.1400a8394
add rsp, 0x28
mov rax, rax
push rax
mov r15, 1
cmp r15, qword [rsp]
jne 0x14002a7c5
push 0
push 0
push 0x302
sub rsp, 8
push qword [rsp + 0x88]
pop rcx
sub rsp, 0x20
call fcn.14009cec8
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.USER32.dll_SendMessageW
add rsp, 0x20
jmp 0x14002a83e
mov r15, 2
cmp r15, qword [rsp]
jne 0x14002a813
push 0
push 0
push 0x301
sub rsp, 8
push qword [rsp + 0x88]
pop rcx
sub rsp, 0x20
call fcn.14009cec8
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.USER32.dll_SendMessageW
add rsp, 0x20
jmp 0x14002a83e
mov r15, 3
cmp r15, qword [rsp]
jne 0x14002a83e
movabs rax, 0x140273064
push rax
push qword [rsp + 0x70]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14009ccd8
add rsp, 0x20
pop rax
add rsp, 8
push SQLFreeHandle
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14002a883
call fcn.1400a6dec
mov r15, rax
cmp r15, 0x27
jne 0x14002a883
movabs rdx, str.noneresult
lea rcx, [rsp + 0x70]
call fcn.1400bd510
call fcn.14002bd10
jmp 0x14002a996
push reloc.ODBC32.dll_SQLFetch
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14002a984
call fcn.1400a6dec
mov r15, rax
cmp r15, 0x27
jne 0x14002a984
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 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
movabs rax, reloc.ODBC32.dll_SQLFetch
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 qword [rsp + 0xa0]
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
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400bb020
add rsp, 0x20
push rax
call fcn.1400bd830
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400bad50
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.1400bd6c0
call fcn.14002bd10
jmp 0x14002a996
jmp 0x14002a991
push SQLGetData
pop rcx
call fcn.1400a6e40
jmp 0x14002a2f6
push SQLGetData
pop rcx
call fcn.1400a61a4
mov rcx, qword [rsp + 0x70]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd650
add rsp, 0x28
pop rax
push rax
call fcn.1400bd800
pop rdx
add rax, rdx
jmp 0x14002a9da
push rax
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400bdaa0
add rsp, 0x28
pop rax
add rsp, 0x90
pop r15
ret