Function at 0x140013400
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x14012d340]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1401e0b10]
mov r14, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x3ef8]
cmp byte [rbx + 0xbb], 0
je 0x140013445
xor al, al
jmp 0x140013828
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.140061cc0
mov rcx, qword [rbx]
cmp dword [rcx + 0x3f40], eax
jne 0x14001349f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14007bce0
movzx r9d, word [0x1401090e4]
xor bpl, bpl
movzx r10d, byte [0x1401090e6]
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 0x140013542
lea rcx, ds:[rsp + 0x50]
vzeroupper
call fcn.1400d66a0
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400134f2
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 0x140013500
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 0x140013510
lea rcx, [rsp + 0x50]
call fcn.140006100
movzx r10d, byte [0x1401090e6]
movzx r9d, word [0x1401090e4]
nop
jmp 0x1400135b0
mov cl, 0x4a
mov byte [rsp + 0x40], 0x25
xor cl, 0x25
mov byte [rsp + 0x45], bpl
mov al, 0x6b
mov byte [rsp + 0x42], cl
xor al, 0x25
lea rbx, [rsp + 0x70]
mov dl, 0x4b
mov byte [rsp + 0x41], al
xor dl, 0x25
lea rcx, [rbx - 1]
mov r8b, 0x40
mov byte [rsp + 0x43], dl
xor r8b, 0x25
mov byte [rsp + 0x44], r8b
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013580
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 0x1400135a0
lea rax, [rbx - 1]
cmp byte [rax + 1], bpl
lea rax, [rax + 1]
jne 0x1400135b4
mov rsi, qword [0x1401e0b10]
mov word [rax], r9w
mov byte [rax + 2], r10b
vxorps xmm6, xmm6, xmm6
test rbx, rbx
jne 0x1400135dc
vxorps xmm0, xmm0, xmm0
jmp 0x14001363f
vmovss xmm0, dword [0x14010fe18]
vmovss xmm3, dword [0x14010fdd4]
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.14008f460
vmovss xmm0, dword [rsp + 0x48]
vaddss xmm1, xmm0, dword [0x14010fa90]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm7, xmm0, dword [0x14010fc00]
lea rcx, [rbx - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013650
movzx eax, word [0x1401090e8]
dec rbx
mov word [rcx], ax
movzx eax, byte [0x1401090ea]
mov byte [rcx + 2], al
cmp byte [rbx + 1], bpl
lea rbx, [rbx + 1]
jne 0x140013671
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140013680
vzeroupper
call fcn.140096300
mov rax, qword [rsi + 0x3ef8]
vsubss xmm4, xmm0, dword [rsi + 0x381c]
mov rdx, qword [rax + 0x1a8]
test rdx, rdx
jne 0x1400136b8
vmovaps xmm2, xmm6
jmp 0x1400136d8
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.140098f00
mov rsi, qword [rsp + 0x118]
vmovaps xmm7, xmmword [rsp + 0xc0]
vmovaps xmm6, xmmword [rsp + 0xd0]
test al, al
je 0x140013756
mov rcx, rdi
call fcn.140074ac0
mov rcx, rdi
call fcn.140075280
nop
test al, al
je 0x14001381c
lea rcx, str.Press_a_key...
call fcn.140098080
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140013799
inc ebx
cmp ebx, 0xfe
jle 0x140013780
jmp 0x1400137a5
mov dword ds:[r14], ebx
mov bpl, 1
call fcn.1400750e0
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400137c5
mov dword ds:[r14], 0
call fcn.1400750e0
mov rbx, qword [0x1401e0b10]
mov rdx, qword [rbx + 0x3ef8]
cmp qword [rbx + 0x48d8], rdx
jne 0x140013800
cmp byte [rbx + 0x4951], 0
je 0x140013800
cmp dword [rbx + 0x4910], 0
jne 0x140013800
mov ecx, dword [rbx + 0x4954]
and ecx, 0xfffffff2
or ecx, 2
mov dword [rbx + 0x4954], ecx
test dword [rdx + 0x14], 0x1000000
je 0x140013810
mov byte [rbx + 0x3e5e], 1
call fcn.14006fd20
mov byte [rbx + 0x3e5e], 0
movzx eax, bpl
mov rbp, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400f4a00
add rsp, 0xe0
pop r14
pop rdi
pop rbx
ret