Function at 0x1400546c0
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, [0x1401d4798]
mov eax, dword [rcx + rax]
cmp dword [0x1401d4774], eax
jle 0x1400547b0
lea rcx, [0x1401d4774]
call fcn.140131f24
cmp dword [0x1401d4774], ebx
jne 0x1400547b0
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 [0x1401d4798], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1401d47a8], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140054780
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140041350
lea rcx, [0x140135e30]
call fcn.1401322e0
nop
lea rcx, [0x1401d4774]
call fcn.140131eb8
mov rcx, r14
cmp qword [0x1401d47b0], 0x10
cmovae rcx, qword [0x1401d4798]
call fcn.1400340c0
test al, al
je 0x1400547d5
mov byte [0x1401d41a8], 1
jmp 0x1400547e2
cmp byte [0x1401d41a8], 0
je 0x140054872
mov edi, 1
xor esi, esi
nop dword [rax]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054817
cmp edi, 0xc
je 0x140054817
mov eax, edi
cmp edi, 0x1b
cmove eax, esi
mov dword [0x1401d41f8], eax
mov byte [0x1401d41a8], sil
inc edi
cmp edi, 0x100
jl 0x1400547f0
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 0x140054854
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003e5a0
jmp 0x140054a19
mov edx, dword [0x1401d41f8]
test edx, edx
jne 0x1400548c3
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 0x1400548a5
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003e5a0
jmp 0x140054a19
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 0x140054986
mov rdx, qword [0x1401d47b0]
cmp rdx, 0x10
jb 0x140054949
mov rcx, qword [0x1401d4798]
inc rdx
cmp rdx, 0x1000
jb 0x140054944
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400549ba
mov rcx, r8
call fcn.1401322f8
movdqa xmm0, xmmword [0x140171cb0]
movdqu xmmword [0x1401d47a8], xmm0
mov byte [0x1401d4798], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x1401d4798], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1401d47a8], 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 0x1400549c6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400549c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400549c1
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 0x140054a19
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a14
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