Function at 0x1400f0710
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x14014d340]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov eax, dword [0x1401a3190]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [0x140216c20]
mov rdx, rax
lea rcx, [0x140217910]
call fcn.140025710
movzx eax, al
test eax, eax
jne 0x1400f0764
jmp 0x1400f0aec
cmp dword [0x140216c20], 0xffffffff
jne 0x1400f0772
jmp 0x1400f0aec
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x32]
call fcn.140006f70
mov qword [rsp + 0x50], rax
mov eax, dword [0x140216c20]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x48]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.140006e90
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.1400227f0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rcx, [0x140217950]
call fcn.1400283c0
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x140217910]
call fcn.14002df30
mov qword [0x140216c18], rax
cmp qword [0x140216c18], 0
jne 0x1400f0863
jmp 0x1400f0aec
mov eax, dword [0x140216c20]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [0x140216c18]
add rcx, rax
mov rax, rcx
lea r8, [0x140216c28]
mov rdx, rax
lea rcx, [0x140217910]
call fcn.140007e30
movzx eax, al
test eax, eax
jne 0x1400f08a2
jmp 0x1400f0aec
lea rdx, [0x140216c28]
lea rcx, [0x1402170b0]
call fcn.14002e330
movzx eax, al
test eax, eax
jne 0x1400f08c1
jmp 0x1400f0aec
movzx eax, byte [0x140217371]
test eax, eax
jne 0x1400f08e7
mov rax, qword [rsp + 0x130]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x10c]
jae 0x1400f08e7
jmp 0x1400f0aec
movzx eax, byte [0x140217370]
test eax, eax
je 0x1400f092c
mov eax, dword [0x1401a3150]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, [0x140217910]
call fcn.140024b60
movzx eax, byte [rsp + 0xe8]
test eax, eax
jne 0x1400f092c
jmp 0x1400f0aec
movzx eax, byte [0x14014d405]
test eax, eax
je 0x1400f0975
mov rax, qword [rsp + 0x130]
mov ecx, dword [0x1402171a4]
cmp dword [rax + 0xf4], ecx
je 0x1400f0960
cmp dword [0x140217190], 0
jle 0x1400f0960
mov dword [rsp + 0x34], 1
jmp 0x1400f0968
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [0x140216c0f], al
jmp 0x1400f099b
cmp dword [0x140217190], 0
jle 0x1400f0988
mov dword [rsp + 0x38], 1
jmp 0x1400f0990
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [0x140216c0f], al
movzx eax, byte [0x140216c0f]
test eax, eax
jne 0x1400f09ab
jmp 0x1400f0aec
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140217d48], eax
jle 0x1400f09f6
lea rcx, [0x140217d48]
call fcn.140120af8
cmp dword [0x140217d48], 0xffffffff
jne 0x1400f09f6
lea rcx, [0x140217d50]
call fcn.140009f50
lea rcx, [0x140217d48]
call fcn.140120a8c
lea rcx, [rsp + 0xf0]
call fcn.140009f50
lea rdx, [0x14014d3b4]
lea rcx, [rsp + 0x90]
call fcn.140024c00
mov qword [rsp + 0x80], rax
lea r8, [0x140217d50]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x98]
call fcn.14002be40
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.14002bea0
movzx eax, al
test eax, eax
je 0x1400f0aec
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400f0a7a
mov byte [rsp + 0x30], 1
jmp 0x1400f0a7f
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400f0add
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
lea rdx, [0x1400f06d0]
lea rcx, [rsp + 0xf8]
call fcn.1400f0cf0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400f0640
nop
lea rcx, [rsp + 0xf8]
call fcn.1400f05e0
mov rax, qword [rsp + 0xf0]
mov qword [0x140217d50], rax
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140120a30
add rsp, 0x118
pop rdi
pop rsi
ret