Function at 0x14001321e
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, SafeArrayGetLBound
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001323b
sub rsp, 0x28
call fcn.1400bc5a0
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400bc610
add rsp, 0x10
push 1
pop rcx
call fcn.1400165a3
call fcn.14002bcda
push 0
push 0
push reloc.WS2_32.dll_inet_addr
sub rsp, 8
push 0x4d
pop rcx
sub rsp, 0x20
call fcn.14009ce68
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
call sub.USER32.dll_SendMessageW
push 0x4e
pop rcx
call fcn.14009d020
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0xb0]
and r15, r15
jle 0x1400132dc
push 0x4d
pop rcx
call fcn.14009cdec
mov r15, qword [rsp + 0xb8]
and r15, r15
jle 0x140013307
movabs rax, 0x14027e99a
push rax
push 0xffffffffffffffff
push 0x4d
pop rcx
pop rdx
pop r8
call fcn.14009d104
mov qword [rsp + 0x38], 0
call fcn.1400a60b0
mov qword [rsp + 0x40], rax
push qword [rsp + 0x40]
pop rax
mov qword [rsp + 0x48], 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
movabs rcx, str.SELECT_key__Description__ActivCount__Comment__Blocked__ActivVal__EditionID_FROM_keys
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
push qword [rsp + 0xb8]
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400ac408
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x140013a45
push qword [rsp + 0xa0]
pop rcx
call fcn.1400ac484
and rax, rax
je 0x140013a28
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 + 0xc0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400bc2d0
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 1
push qword [rsp + 0xc0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400bc2d0
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 + 0xc0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x68]
pop rdx
call fcn.1400bc2d0
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 3
push qword [rsp + 0xc0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x70]
pop rdx
call fcn.1400bc2d0
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 4
push qword [rsp + 0xc0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.1400bc2d0
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
sub rsp, 8
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
push 5
push qword [rsp + 0xd0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ac4b8
add rsp, 0x28
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400b9160
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
mov qword [rsp + 0x78], rax
movabs rax, str.key
push rax
push qword [rsp + 0x30]
pop rcx
pop rdx
call fcn.1400b8e10
mov r15, rax
and r15, r15
jle 0x140013724
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x68]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, 0x14027128c
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
push qword [rsp + 0x90]
pop rcx
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
pop rdx
sub rsp, 0x20
call fcn.1400b9000
add rsp, 0x20
pop rax
movabs rcx, 0x14027187e
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
push 0xffffffffffffffff
push 0x4d
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14009d104
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
sub rsp, 8
push 0
push 0
pop rcx
sub rsp, 0x20
call fcn.1400a6e08
add rsp, 0x20
mov r15, rax
add r15, 0xffffffffffffff92
mov rax, r15
push rax
push 1
push 0
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009ccf0
add rsp, 0x30
mov qword [0x1404bc1b0], 0
jmp 0x1400139d9
mov qword [0x1404bc1b0], 1
sub rsp, 8
push 0
push qword [0x1404bbd98]
push 1
push 0
push 0x4d
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009ccf0
add rsp, 0x30
push qword [rsp + 0x50]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x1400139d9
push qword [rsp + 0x60]
movabs rcx, 0x140271064
pop rdx
call fcn.1400bc3b0
or rax, rax
jne 0x140013938
push qword [rsp + 0x60]
movabs rcx, str.Key_Blocked_
pop rdx
call fcn.1400bc3b0
or rax, rax
je 0x1400137cf
movabs rdx, str.Key_Blocked_
lea rcx, [rsp + 0x80]
call fcn.1400bc120
jmp 0x140013866
movabs rax, 0x14027f312
push rax
push qword [rsp + 0x68]
pop rcx
pop rdx
call fcn.1400b8e10
mov r15, rax
and r15, r15
jle 0x14001381f
mov rcx, qword [rsp + 0x60]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
lea rcx, [rsp + 0x88]
pop rdx
call fcn.1400bc2d0
jmp 0x140013866
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x140272650
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
lea rcx, [rsp + 0x88]
pop rdx
call fcn.1400bc2d0
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x60]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_ioctlsocket
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x98]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_ioctlsocket
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x80]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
push 0xffffffffffffffff
push 0x4d
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14009d104
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
jmp 0x1400139d9
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x60]
push rcx
sub rsp, 0x28
call main
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_ioctlsocket
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
mov rcx, qword [rsp + 0x80]
sub rsp, 0x28
call fcn.1400bc260
add rsp, 0x28
call fcn.1400bc470
push 0xffffffffffffffff
push 0x4d
push rax
call fcn.1400bc440
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14009d104
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14004b97c
add rsp, 0x28
pop rax
call fcn.1400a60b0
mov r15, rax
sub r15, qword [rsp + 0x40]
cmp r15, 0x5a
jle 0x1400139fb
call fcn.1400a60b0
mov qword [rsp + 0x40], rax
call fcn.14002bcda
push 0x1b
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x140013a23
call fcn.1400a6d8c
mov r15, rax
and r15, r15
jne 0x140013a23
call fcn.14002bcda
jmp 0x140013a28
jmp 0x1400133b7
push qword [rsp + 0x30]
push 0x4e
pop rcx
pop rdx
call fcn.14009cae8
push qword [rsp + 0xa0]
pop rcx
call fcn.1400ac500
mov r15, qword [0x1404bc1b0]
and r15, r15
jle 0x140013ab4
mov rax, qword [0x1404bc020]
mov rax, rax
push rax
mov rax, qword [0x1404bbf00]
mov rax, rax
push rax
mov rax, qword [0x1404bbf28]
mov rax, rax
push rax
sub rsp, 8
push 0x4d
pop rcx
sub rsp, 0x20
call fcn.14009ce68
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
call fcn.140038345
push qword [0x1404bc020]
push qword [0x1404bbf28]
push 0x4d
pop rcx
pop rdx
pop r8
call fcn.140025326
jmp 0x140013b15
mov rax, qword [0x1404bc400]
mov rax, rax
push rax
mov rax, qword [0x1404bc3b0]
mov rax, rax
push rax
mov rax, qword [0x1404bc1c0]
mov rax, rax
push rax
sub rsp, 8
push 0x4d
pop rcx
sub rsp, 0x20
call fcn.14009ce68
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
call fcn.140038345
push qword [0x1404bc400]
push qword [0x1404bc1c0]
push 0x4d
pop rcx
pop rdx
pop r8
call fcn.140025326
push 0
push 1
push reloc.WS2_32.dll_inet_addr
sub rsp, 8
push 0x4d
pop rcx
sub rsp, 0x20
call fcn.14009ce68
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
pop r9
call sub.USER32.dll_SendMessageW
call fcn.14002bcda
push 0
pop rcx
call fcn.1400165a3
xor rax, rax
push rax
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400bc6b0
add rsp, 0x28
pop rax
add rsp, 0x90
pop r15
ret