Function at 0x140054a40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
movabs rbp, 0xb564480dddd255b0
movabs rdi, 0x19d70cc8c70f86d1
movabs r15, 0x19d70cc8a261e99f
mov rbx, 0xffffffffffffffff
lea r14, [0x1401d4778]
mov eax, dword [rcx + rax]
cmp dword [0x1401d4728], eax
jle 0x140054b30
lea rcx, [0x1401d4728]
call fcn.140131f24
cmp dword [0x1401d4728], ebx
jne 0x140054b30
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbp
movaps xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [0x1401d4778], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1401d4788], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140054b00
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140041350
lea rcx, [0x140135ea0]
call fcn.1401322e0
nop
lea rcx, [0x1401d4728]
call fcn.140131eb8
mov rcx, r14
cmp qword [0x1401d4790], 0x10
cmovae rcx, qword [0x1401d4778]
call fcn.1400340c0
test al, al
je 0x140054b55
mov byte [0x1401d41a9], 1
jmp 0x140054b62
cmp byte [0x1401d41a9], 0
je 0x140054bf2
mov edi, 1
xor esi, esi
nop dword [rax]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054b97
cmp edi, 0xc
je 0x140054b97
mov eax, edi
cmp edi, 0x1b
cmove eax, esi
mov dword [0x1401d41ec], eax
mov byte [0x1401d41a9], sil
inc edi
cmp edi, 0x100
jl 0x140054b70
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rbp
movabs rax, 0x19d70cc8a24fc7b1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbp
movaps xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140054bd4
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003e5a0
jmp 0x140054d99
mov edx, dword [0x1401d41ec]
test edx, edx
jne 0x140054c43
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbp
movaps xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140054c25
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003e5a0
jmp 0x140054d99
lea rcx, [rsp + 0x60]
call fcn.140052e10
nop
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
movaps xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14003e7f0
mov rbx, rax
cmp r14, rax
je 0x140054d06
mov rdx, qword [0x1401d4790]
cmp rdx, 0x10
jb 0x140054cc9
mov rcx, qword [0x1401d4778]
inc rdx
cmp rdx, 0x1000
jb 0x140054cc4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140054d3a
mov rcx, r8
call fcn.1401322f8
movdqa xmm0, xmmword [0x140171cb0]
movdqu xmmword [0x1401d4788], xmm0
mov byte [0x1401d4778], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x1401d4778], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1401d4788], xmm1
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140054d46
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054d41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401322f8
movdqa xmm0, xmmword [0x140171cb0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140054d99
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054d94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054d94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401322f8
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret