Function at 0x140022a80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400ee340]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov r13, rcx
cmp byte [0x1400ee3f8], 0
jne 0x140022e80
cmp byte [0x1401b9311], 0
je 0x140022e80
lea rdx, [rcx + 0xa0]
lea rcx, [rbp + 0xc8]
call fcn.14001e2a0
lea rdx, [rbp + 0xc8]
mov rdi, qword [rbp + 0xc8]
mov rsi, qword [rbp + 0xe0]
cmp rsi, 0xf
cmova rdx, rdi
lea rbx, [0x140144028]
mov rcx, rbx
mov r15, qword [0x140144040]
cmp r15, 0xf
cmova rcx, qword [0x140144028]
mov r8, qword [0x140144038]
mov r14, qword [rbp + 0xd8]
cmp r8, r14
jne 0x140022b38
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140022b9b
mov byte [0x1401b9330], 0
lea r9, [rbp + 0xc8]
cmp rsi, 0xf
cmova r9, rdi
cmp r14, r15
ja 0x140022b7b
cmp r15, 0xf
cmova rbx, qword [0x140144028]
mov qword [0x140144038], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140022b9b
mov rdx, r14
mov rcx, rbx
call fcn.14001f680
mov rsi, qword [rbp + 0xe0]
mov r14, qword [rbp + 0xd8]
mov rdi, qword [rbp + 0xc8]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rax
vmovups xmmword [rsp + 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rax + 0xc]
lea rdx, str.smokegrenade
lea rcx, [rsp + 0x40]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x70], xmm1
mov r8d, 9
lea rdx, str.flashbang
lea rcx, [rsp + 0x60]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x70], xmm1
mov r8d, 9
lea rdx, str.hegrenade
lea rcx, [rbp - 0x80]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x50], xmm1
mov r8d, 7
lea rdx, str.molotov
lea rcx, [rbp - 0x60]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x30], xmm1
mov r8d, 5
lea rdx, str.decoy
lea rcx, [rbp - 0x40]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0xa
lea rdx, str.incgrenade
lea rcx, [rbp - 0x20]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x10], xmm1
mov r8d, 3
lea rdx, [0x1400cd344]
lea rcx, [rbp]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x30], xmm1
mov r8d, 5
lea rdx, str.ssg08
lea rcx, [rbp + 0x20]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x50], xmm1
mov r8d, 3
lea rdx, [0x1400cd46c]
lea rcx, [rbp + 0x40]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x70], xmm1
mov r8d, 5
lea rdx, str.sg556
lea rcx, [rbp + 0x60]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x90], xmm1
mov r8d, 5
lea rdx, str.knife
lea rcx, [rbp + 0x80]
call fcn.1400091a0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xa0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 2
lea rdx, [0x1400cd510]
lea rcx, [rbp + 0xa0]
call fcn.1400091a0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe8]
call fcn.14001df80
lea r9, [fcn.140008a90]
mov edx, 0x20
lea r8d, [rdx - 0x14]
lea rcx, [rsp + 0x40]
call fcn.1400bc24c
mov rbx, qword [rbp + 0xe8]
mov r15, qword [rbp + 0xf0]
cmp rbx, r15
je 0x140022eab
nop word [rax + rax]
lea rdx, [rbp + 0xc8]
cmp rsi, 0xf
cmova rdx, rdi
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140022e20
mov rcx, qword [rbx]
cmp r8, r14
jne 0x140022e2e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140022e37
add rbx, 0x20
cmp rbx, r15
jne 0x140022e00
cmp rbx, r15
je 0x140022eab
lea rcx, [rbp + 0xe8]
call fcn.14001e5b0
cmp rsi, 0xf
jbe 0x140022e80
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140022e77
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023010
mov rcx, rdi
call fcn.1400bc55c
nop
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1400bc0d0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
xor r14d, r14d
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x140022f1f
mov eax, dword [0x1401b9410]
test eax, eax
je 0x140022ef1
mov edx, dword [0x140143f84]
add rdx, qword [r13 + 0x48]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x1401b9410]
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x140022f1f
test eax, eax
je 0x140022f1f
mov edx, dword [0x140144010]
add rdx, qword [rbp + 0x100]
mov qword [rsp + 0x20], r14
mov r9d, 1
lea r8, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp + 0xc0], r14b
je 0x140022f2f
mov byte [0x1401b9330], r14b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
cmp byte [0x1400ee400], r14b
jne 0x140022f78
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140022f78
mov ecx, ebx
sub ecx, dword [0x1401b9334]
cmp ecx, 0x1f4
jb 0x140022f78
cmp byte [0x1401b9330], r14b
sete al
mov byte [0x1401b9330], al
mov dword [0x1401b9334], ebx
jmp 0x140022f7f
movzx eax, byte [0x1401b9330]
test al, al
je 0x140022fcd
mov dword [rbp + 0xc4], 0x2d
cmp byte [0x1400ee3f8], r14b
jne 0x140022fcd
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x140022fcd
cmp dword [0x1401b9410], r14d
je 0x140022fcd
mov edx, dword [0x140143fd8]
add rdx, qword [r13]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp + 0xc4]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [rbp + 0xe8]
call fcn.14001e5b0
cmp rsi, 0xf
jbe 0x140022e80
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140022e77
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022e77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3