Function at 0x14005bad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
movabs rdi, 0xaf3f3421fc151efb
mov rbx, 0xffffffffffffffff
movabs r14, 0x8295272c5d47d68e
movabs r15, 0xaf3f3421997b71b5
lea r12, [0x1401dbe18]
mov eax, dword [rcx + rax]
cmp dword [0x1401dbdc4], eax
jle 0x14005bc0f
lea rcx, [0x1401dbdc4]
call fcn.140139498
cmp dword [0x1401dbdc4], ebx
jne 0x14005bc0f
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], r14
lea r8, [rbp - 9]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.14004a760
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.14004a760
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x37]
call fcn.14004a760
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
xorps xmm0, xmm0
movups xmmword [0x1401dbe18], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1401dbe28], xmm1
lea rax, [rbp - 0x59]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005bbe0
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003e860
lea rcx, [0x14013d9f0]
call fcn.140139854
nop
lea rcx, [0x1401dbdc4]
call fcn.14013942c
mov rcx, r12
cmp qword [0x1401dbe30], 0x10
cmovae rcx, qword [0x1401dbe18]
call fcn.1400340c0
test al, al
je 0x14005bc34
mov byte [0x1401db839], 1
jmp 0x14005bc41
cmp byte [0x1401db839], 0
je 0x14005bd0d
mov edi, 1
xor esi, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005bc6f
cmp edi, 0xc
je 0x14005bc6f
mov eax, edi
cmp edi, 0x1b
cmove eax, esi
mov dword [0x1401db858], eax
mov byte [0x1401db839], sil
inc edi
cmp edi, 0x100
jl 0x14005bc48
movabs rdi, 0xaf3f342199555f9b
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x37]
call fcn.14004a760
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.14004a760
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x11], r14
lea r8, [rbp - 9]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.14004a760
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x59]
inc rbx
cmp byte [rax + rbx], sil
jne 0x14005bcf0
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003dee0
jmp 0x14005bf41
mov edx, dword [0x1401db858]
test edx, edx
jne 0x14005bdad
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x37]
call fcn.14004a760
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.14004a760
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x11], r14
lea r8, [rbp - 9]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.14004a760
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x59]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005bd90
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003dee0
jmp 0x14005bf41
lea rcx, [rbp - 0x19]
call fcn.140058d40
mov rbx, rax
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x37]
call fcn.14004a760
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.14004a760
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x41], r14
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.14004a760
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.14003e170
mov rbx, rax
cmp r12, rax
je 0x14005beb4
mov rdx, qword [0x1401dbe30]
cmp rdx, 0x10
jb 0x14005be77
mov rcx, qword [0x1401dbe18]
inc rdx
cmp rdx, 0x1000
jb 0x14005be72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005bee6
mov rcx, r8
call fcn.14013986c
movdqa xmm0, xmmword [0x140178b50]
movdqu xmmword [0x1401dbe28], xmm0
mov byte [0x1401dbe18], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x1401dbe18], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1401dbe28], 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 [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14005bef2
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005beed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005beed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013986c
movdqa xmm0, xmmword [0x140178b50]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14005bf41
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bf3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bf3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013986c
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret