Function at 0x140012fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x14012c340]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1401dfb90]
mov r14, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x3ef8]
cmp byte [rbx + 0xbb], 0
je 0x140013005
xor al, al
jmp 0x1400133e8
movsxd rax, dword ds:[rbx + 0xf0]
xor edx, edx
mov r8, qword [rbx + 0xf8]
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x118], rsi
vmovaps xmmword [rsp + 0xd0], xmm6
mov r8d, dword [r8 + rax*4 - 4]
vmovaps xmmword [rsp + 0xc0], xmm7
call fcn.1400604a0
mov rcx, qword [rbx]
cmp dword [rcx + 0x3f40], eax
jne 0x14001305f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14007a4c0
movzx r9d, word [0x140103294]
xor bpl, bpl
movzx r10d, byte [0x140103296]
mov edx, dword [r14]
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x70], ymm0
mov word [rsp + 0x70], r9w
mov byte [rsp + 0x72], r10b
vmovups ymmword [rsp + 0x90], ymm0
test edx, edx
je 0x140013102
lea rcx, ds:[rsp + 0x50]
vzeroupper
call fcn.1400d4ce0
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400130b2
mov r8, qword [rax]
lea rbx, [rsp + 0x70]
lea rcx, [rbx - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x1400130c0
xor edx, edx
nop dword [rax]
movzx eax, byte ds:[r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400130d0
lea rcx, [rsp + 0x50]
call fcn.140006100
movzx r10d, byte [0x140103296]
movzx r9d, word [0x140103294]
nop
jmp 0x140013170
mov cl, 0x36
mov byte [rsp + 0x40], 0x59
xor cl, 0x59
mov byte [rsp + 0x45], bpl
mov al, 0x17
mov byte [rsp + 0x42], cl
xor al, 0x59
lea rbx, [rsp + 0x70]
mov dl, 0x37
mov byte [rsp + 0x41], al
xor dl, 0x59
lea rcx, [rbx - 1]
mov r8b, 0x3c
mov byte [rsp + 0x43], dl
xor r8b, 0x59
mov byte [rsp + 0x44], r8b
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013140
lea r8, [rsp + 0x41]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140013160
lea rax, [rbx - 1]
cmp byte [rax + 1], bpl
lea rax, [rax + 1]
jne 0x140013174
mov rsi, qword [0x1401dfb90]
mov word [rax], r9w
mov byte [rax + 2], r10b
vxorps xmm6, xmm6, xmm6
test rbx, rbx
jne 0x14001319c
vxorps xmm0, xmm0, xmm0
jmp 0x1400131ff
vmovss xmm0, dword [0x14010edc0]
vmovss xmm3, dword [0x14010ed7c]
vmovss xmm2, dword [rsi + 0x3c20]
mov rcx, qword [rsi + 0x3c18]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbx
vmovss dword [rsp + 0x20], xmm0
vzeroupper
call fcn.14008dc40
vmovss xmm0, dword [rsp + 0x48]
vaddss xmm1, xmm0, dword [0x14010ea38]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm7, xmm0, dword [0x14010eba8]
lea rcx, [rbx - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013210
movzx eax, word [0x140103298]
dec rbx
mov word [rcx], ax
movzx eax, byte [0x14010329a]
mov byte [rcx + 2], al
cmp byte [rbx + 1], bpl
lea rbx, [rbx + 1]
jne 0x140013231
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140013240
vzeroupper
call fcn.140094ae0
mov rax, qword [rsi + 0x3ef8]
vsubss xmm4, xmm0, dword [rsi + 0x381c]
mov rdx, qword [rax + 0x1a8]
test rdx, rdx
jne 0x140013278
vmovaps xmm2, xmm6
jmp 0x140013298
movsxd rax, dword [rdx + 0xc]
vmovss xmm2, dword [rdx + 0x14]
vmovss xmm0, dword [rdx + 0x18]
imul rcx, rax, 0x1c
mov rax, qword [rdx + 0x68]
vsubss xmm1, xmm0, xmm2
vfmadd231ss xmm2, xmm1, dword [rcx + rax]
mov rax, qword [rsi + 0x3ef8]
lea rdx, [rsp + 0x48]
vaddss xmm1, xmm2, xmm4
vsubss xmm2, xmm1, xmm7
lea rcx, [rsp + 0x70]
mov byte [rax + 0xb8], 1
mov rax, qword [rsi + 0x3ef8]
vmovss dword [rsp + 0x48], xmm6
vmovss dword [rsp + 0x4c], xmm6
vmovss xmm0, dword [rax + 0x20]
vsubss xmm3, xmm0, dword [rax + 0x84]
vaddss xmm0, xmm3, xmm2
vmovss dword [rax + 0x100], xmm0
mov byte [rax + 0x141], 1
call fcn.1400976e0
mov rsi, qword [rsp + 0x118]
vmovaps xmm7, xmmword [rsp + 0xc0]
vmovaps xmm6, xmmword [rsp + 0xd0]
test al, al
je 0x140013316
mov rcx, rdi
call fcn.1400732a0
mov rcx, rdi
call fcn.140073a60
nop
test al, al
je 0x1400133dc
lea rcx, str.Press_a_key...
call fcn.140096860
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140013359
inc ebx
cmp ebx, 0xfe
jle 0x140013340
jmp 0x140013365
mov dword ds:[r14], ebx
mov bpl, 1
call fcn.1400738c0
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140013385
mov dword ds:[r14], 0
call fcn.1400738c0
mov rbx, qword [0x1401dfb90]
mov rdx, qword [rbx + 0x3ef8]
cmp qword [rbx + 0x48d8], rdx
jne 0x1400133c0
cmp byte [rbx + 0x4951], 0
je 0x1400133c0
cmp dword [rbx + 0x4910], 0
jne 0x1400133c0
mov ecx, dword [rbx + 0x4954]
and ecx, 0xfffffff2
or ecx, 2
mov dword [rbx + 0x4954], ecx
test dword [rdx + 0x14], 0x1000000
je 0x1400133d0
mov byte [rbx + 0x3e5e], 1
call fcn.14006e500
mov byte [rbx + 0x3e5e], 0
movzx eax, bpl
mov rbp, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400f3040
add rsp, 0xe0
pop r14
pop rdi
pop rbx
ret