Function at 0x1400015a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x1d8], rax
mov esi, 1
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.enter_key:
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x140004640]
movdqu xmmword [rbp + 0x1a0], xmm1
mov byte [rbp + 0x190], 0
lea rdx, [rbp + 0x190]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001ce0
lea rcx, [rbp + 0x190]
mov rbx, qword [rbp + 0x190]
mov r15, qword [rbp + 0x1a8]
cmp r15, 0xf
cmova rcx, rbx
lea rdx, str.e9551a3d_d599_4133_91be_791cc2c8c082
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001802
xor r12d, r12d
mov r14d, r12d
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400016fa
nop dword [rax]
lea rax, [rsp + 0x5c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400016b0
mov r8d, 7
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rsp + 0x5c]
lea rcx, str.cs2.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400016e1
cmp rbx, 7
je 0x1400016f5
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400016a0
jmp 0x1400016fa
mov r14d, dword [rsp + 0x38]
test rdi, rdi
je 0x140001708
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r14d
call fcn.140001290
mov rdi, rax
test rax, rax
je 0x140001721
test r14d, r14d
je 0x140001721
mov al, 1
jmp 0x140001723
xor al, al
test al, al
jne 0x140001733
lea rcx, str.game_not_found_or_failed_to_get_handle
jmp 0x1400017dc
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
mov edx, r14d
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x1400017c7
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001780
mov r8d, 0xa
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400017b5
cmp rbx, 0xa
je 0x140001840
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140001770
test r14, r14
je 0x1400017d5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.client.dll_is_nullptr
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
je 0x1400017fb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp + 0x190]
cmp r15, 0xf
jbe 0x140001b33
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001b2b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r13, qword [rsp + 0x48]
test r13, r13
je 0x1400017d5
mov qword [rbp + 0x1b4], r12
mov qword [rbp + 0x1bc], r12
mov qword [rbp + 0x1c8], r12
mov dword [rbp + 0x1b0], r12d
mov dword [rbp + 0x1c4], 2
mov qword [rbp + 0x1d0], r12
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.alo_pidoras_bind_na_trigger_nazhmi:
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov r12d, eax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__putch]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x140004614]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140001b19
lea rbx, [r13 + 0x1823a08]
xor r15d, r15d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x180], r15
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x180]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov rbx, qword [rbp + 0x180]
test rbx, rbx
je 0x140001af7
mov qword [rbp + 0x178], r15
lea rdx, [r13 + 0x19bdd78]
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x178]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov r15, qword [rbp + 0x178]
test r15, r15
je 0x140001af4
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001af4
xor eax, eax
mov dword [rbp + 0x174], eax
lea rdx, [rbx + 0x13a8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x174]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov r14d, dword [rbp + 0x174]
test r14d, r14d
jle 0x140001af4
mov qword [rbp + 0x188], 0
mov eax, r14d
sar eax, 9
shl eax, 3
movsxd rdx, eax
add r15, 0x10
add rdx, r15
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x188]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov qword [rbp + 0x178], r15
and r14d, 0x1ff
imul edx, r14d, 0x78
add rdx, qword [rbp + 0x188]
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x178]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov r14, qword [rbp + 0x178]
test r14, r14
je 0x140001af7
mov byte [rbp + 0x171], r15b
lea rdx, [r14 + 0x3c3]
mov qword [rsp + 0x20], r15
mov r9d, esi
lea r8, [rbp + 0x171]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov byte [rbp + 0x170], r15b
lea rdx, [rbx + 0x3c3]
mov qword [rsp + 0x20], r15
mov r9d, esi
lea r8, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
movzx eax, byte [rbp + 0x170]
cmp byte [rbp + 0x171], al
je 0x140001af7
mov dword [rbp + 0x174], r15d
lea rdx, [r14 + 0x324]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x174]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
cmp dword [rbp + 0x174], r15d
jle 0x140001af7
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x1c4], 0x8002
mov r8d, 0x28
lea rdx, [rbp + 0x1b0]
mov ecx, esi
call qword [sym.imp.USER32.dll_SendInput]
mov dword [rbp + 0x1c4], 0x8004
mov r8d, 0x28
lea rdx, [rbp + 0x1b0]
mov ecx, esi
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x140001af7
xor r15d, r15d
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
lea rbx, [r13 + 0x1823a08]
je 0x1400018d6
mov r15, qword [rbp + 0x1a8]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x1400017ed
mov rcx, rbx
call fcn.140002120
mov eax, esi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rsp
call fcn.140002100
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret