Function at 0x14005b630
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, [0x1401dbe38]
mov eax, dword [rcx + rax]
cmp dword [0x1401dbe10], eax
jle 0x14005b76f
lea rcx, [0x1401dbe10]
call fcn.140139498
cmp dword [0x1401dbe10], ebx
jne 0x14005b76f
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 [0x1401dbe38], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1401dbe48], xmm1
lea rax, [rbp - 0x59]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005b740
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003e860
lea rcx, [0x14013d980]
call fcn.140139854
nop
lea rcx, [0x1401dbe10]
call fcn.14013942c
mov rcx, r12
cmp qword [0x1401dbe50], 0x10
cmovae rcx, qword [0x1401dbe38]
call fcn.1400340c0
test al, al
je 0x14005b794
mov byte [0x1401db838], 1
jmp 0x14005b7a1
cmp byte [0x1401db838], 0
je 0x14005b86d
mov edi, 1
xor esi, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005b7cf
cmp edi, 0xc
je 0x14005b7cf
mov eax, edi
cmp edi, 0x1b
cmove eax, esi
mov dword [0x1401db8dc], eax
mov byte [0x1401db838], sil
inc edi
cmp edi, 0x100
jl 0x14005b7a8
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 0x14005b850
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003dee0
jmp 0x14005baa1
mov edx, dword [0x1401db8dc]
test edx, edx
jne 0x14005b90d
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 0x14005b8f0
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.14003dee0
jmp 0x14005baa1
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 0x14005ba14
mov rdx, qword [0x1401dbe50]
cmp rdx, 0x10
jb 0x14005b9d7
mov rcx, qword [0x1401dbe38]
inc rdx
cmp rdx, 0x1000
jb 0x14005b9d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005ba46
mov rcx, r8
call fcn.14013986c
movdqa xmm0, xmmword [0x140178b50]
movdqu xmmword [0x1401dbe48], xmm0
mov byte [0x1401dbe38], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x1401dbe38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1401dbe48], 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 0x14005ba52
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ba4d
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 0x14005baa1
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ba9c
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