Function at 0x140001140
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x318]
sub rsp, 0x3f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xor r13d, r13d
mov esi, r13d
mov qword [rbp + 0x180], r13
mov r14d, r13d
mov qword [rbp + 0x188], r13
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x1a4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1a0], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140001260
lea rax, [rbp + 0x1cc]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400011f0
mov r8d, 7
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x1cc]
lea rcx, str.cs2.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001223
cmp rbx, 7
je 0x140001239
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400011e0
jmp 0x140001260
mov esi, dword [rbp + 0x1a8]
mov qword [rbp + 0x180], rsi
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov qword [rbp + 0x188], rax
test rdi, rdi
je 0x14000126f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
mov edx, esi
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov rsi, r13
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x14000130a
nop
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400012c0
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 0x1400012f1
cmp rbx, 0xa
je 0x140001305
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400012b0
jmp 0x14000130a
mov rsi, qword [rsp + 0x48]
test rdi, rdi
je 0x140001318
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
lea rdx, [0x140001040]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140001020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x140001790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs r15, 0x311cdad160000
movabs r12, 0x112e0be826d694b3
movsd xmm6, qword [0x140003368]
nop dword [rax]
movabs rbx, 0x7fffffffffffffff
movabs rdi, 0x7fffffffff67697e
mov qword [rbp + 0x178], r13
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp + 0x178]
lea rdx, [rsi + 0x16c8f38]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x178]
test rdx, rdx
je 0x140001418
mov byte [rbp + 0x170], 0
add rdx, 0x30
mov qword [rsp + 0x20], r13
mov r9d, 1
lea r8, [rbp + 0x170]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x5a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001418
test byte [rbp + 0x170], 1
je 0x140001418
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x180]
call fcn.140001060
mov rax, qword [rbp + 0x180]
cmp rax, rdi
lea rdi, [rax + 0x989680]
jle 0x140001440
mov rdi, rbx
nop word [rax + rax]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x140001461
imul rbx, rcx, 0x64
jmp 0x1400014df
cmp rbx, 0x16e3600
jne 0x1400014be
movabs r9, 0xb2f4fc0794908cf3
mov rax, r9
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
lea rbx, [rcx + rdx]
sar rbx, 0x18
mov rax, rbx
shr rax, 0x3f
add rbx, rax
imul rax, r8, 0x3b9aca00
jmp 0x1400014dc
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
cmp rdi, rbx
je 0x140001380
jl 0x140001380
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
mov rax, rdi
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x140001515
lea r8, [rcx + r15]
mov rax, r15
jmp 0x140001519
lea r8, [rcx + rax]
mov qword [rbp + 0x178], r8
add rcx, rax
mov rax, r12
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x190], rdx
imul eax, edx, 0x3b9aca00
sub r8d, eax
mov dword [rbp + 0x198], r8d
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x140001440