Function at 0x140013c80
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x140110340]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1401c3790]
mov r14, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x3ef8]
cmp byte [rbx + 0xbb], 0
je 0x140013cc5
xor al, al
jmp 0x1400140a8
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.14004d160
mov rcx, qword [rbx]
cmp dword [rcx + 0x3f40], eax
jne 0x140013d1f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140066440
movzx r9d, word [0x1400f0034]
xor bpl, bpl
movzx r10d, byte [0x1400f0036]
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 0x140013dc2
lea rcx, ds:[rsp + 0x50]
vzeroupper
call fcn.1400bf6c0
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140013d72
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 0x140013d80
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 0x140013d90
lea rcx, [rsp + 0x50]
call fcn.1400060a0
movzx r10d, byte [0x1400f0036]
movzx r9d, word [0x1400f0034]
nop
jmp 0x140013e30
mov cl, 9
mov byte [rsp + 0x40], 0x66
xor cl, 0x66
mov byte [rsp + 0x45], bpl
mov al, 0x28
mov byte [rsp + 0x42], cl
xor al, 0x66
lea rbx, [rsp + 0x70]
mov dl, 8
mov byte [rsp + 0x41], al
xor dl, 0x66
lea rcx, [rbx - 1]
mov r8b, 3
mov byte [rsp + 0x43], dl
xor r8b, 0x66
mov byte [rsp + 0x44], r8b
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013e00
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 0x140013e20
lea rax, [rbx - 1]
cmp byte [rax + 1], bpl
lea rax, [rax + 1]
jne 0x140013e34
mov rsi, qword [0x1401c3790]
mov word [rax], r9w
mov byte [rax + 2], r10b
vxorps xmm6, xmm6, xmm6
test rbx, rbx
jne 0x140013e5c
vxorps xmm0, xmm0, xmm0
jmp 0x140013ebf
vmovss xmm0, dword [0x1400f56f8]
vmovss xmm3, dword [0x1400f56b4]
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.140079340
vmovss xmm0, dword [rsp + 0x48]
vaddss xmm1, xmm0, dword [0x1400f5374]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm7, xmm0, dword [0x1400f54e0]
lea rcx, [rbx - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140013ed0
movzx eax, word [0x1400f0038]
dec rbx
mov word [rcx], ax
movzx eax, byte [0x1400f003a]
mov byte [rcx + 2], al
cmp byte [rbx + 1], bpl
lea rbx, [rbx + 1]
jne 0x140013ef1
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140013f00
vzeroupper
call fcn.14007fe60
mov rax, qword [rsi + 0x3ef8]
vsubss xmm4, xmm0, dword [rsi + 0x381c]
mov rdx, qword [rax + 0x1a8]
test rdx, rdx
jne 0x140013f38
vmovaps xmm2, xmm6
jmp 0x140013f58
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.140082a40
mov rsi, qword [rsp + 0x118]
vmovaps xmm7, xmmword [rsp + 0xc0]
vmovaps xmm6, xmmword [rsp + 0xd0]
test al, al
je 0x140013fd6
mov rcx, rdi
call fcn.14005f650
mov rcx, rdi
call fcn.14005fcd0
nop
test al, al
je 0x14001409c
lea rcx, str.Press_a_key...
call fcn.140081b20
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140014019
inc ebx
cmp ebx, 0xfe
jle 0x140014000
jmp 0x140014025
mov dword ds:[r14], ebx
mov bpl, 1
call fcn.14005fb40
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140014045
mov dword ds:[r14], 0
call fcn.14005fb40
mov rbx, qword [0x1401c3790]
mov rdx, qword [rbx + 0x3ef8]
cmp qword [rbx + 0x48d8], rdx
jne 0x140014080
cmp byte [rbx + 0x4951], 0
je 0x140014080
cmp dword [rbx + 0x4910], 0
jne 0x140014080
mov ecx, dword [rbx + 0x4954]
and ecx, 0xfffffff2
or ecx, 2
mov dword [rbx + 0x4954], ecx
test dword [rdx + 0x14], 0x1000000
je 0x140014090
mov byte [rbx + 0x3e5e], 1
call fcn.14005ab10
mov byte [rbx + 0x3e5e], 0
movzx eax, bpl
mov rbp, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400dba80
add rsp, 0xe0
pop r14
pop rdi
pop rbx
ret