Function at 0x140006500
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140064008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
nop dword [rax]
nop word [rax + rax]
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0x64
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140006540
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, qword [rsp + 0x50]
mov qword [0x1400647f0], rax
nop
mov edx, dword [rsp + 0x50]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rsp + 0x60], 0x438
nop word [rax + rax]
mov r8d, 0x104
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rdx, str.client.dll
lea rcx, [rbp + 0x3d0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
je 0x1400065f2
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400065b0
jmp 0x1400065fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x78]
mov ecx, 0x32
mov qword [0x1400647e8], rdi
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x1400647e8], 0
je 0x140006590
mov ecx, 0x1d0
call fcn.140051a60
xor edx, edx
mov r8d, 0x1d0
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140006250
mov ecx, 0x10
mov rbx, rax
call fcn.140051a60
lea rcx, [0x140004a30]
xor edi, edi
mov r9, rax
lea r8, [0x1400069c0]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400069a2
cmp dword [rsp + 0x38], edi
jne 0x14000669f
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400066c2
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
mov ecx, 0x10
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140051a60
lea rcx, [0x140004820]
mov r9, rax
lea r8, [0x1400069c0]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006992
cmp dword [rsp + 0x38], edi
jne 0x140006725
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140006748
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
mov ecx, 0x10
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140051a60
lea rcx, [0x140004640]
mov r9, rax
lea r8, [0x1400069c0]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006982
cmp dword [rsp + 0x38], edi
jne 0x1400067ab
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400067ce
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
mov ecx, 0x10
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140051a60
lea rcx, [0x1400044a0]
mov r9, rax
lea r8, [0x1400069c0]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006972
cmp dword [rsp + 0x38], edi
jne 0x140006831
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140006860
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x3a0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400068c9
cmp dword [rbp + 0x3a8], 0x12
je 0x14000694c
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x3a0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140006881
mov rcx, rbx
call fcn.140001d40
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140006860
mov rcx, qword [rbx + 0xf0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [rbx + 0xe1], dil
jne 0x140006916
mov byte [rbx + 0xe1], 1
cmp eax, 0x80088
je 0x14000693c
mov r8d, 0x80088
jmp 0x14000692a
mov byte [rbx + 0xe1], dil
cmp eax, 0x800a8
je 0x14000693c
mov r8d, 0x800a8
mov rcx, qword [rbx + 0xf0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006860
xor eax, eax
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140051a40
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 6
mov dword [rsp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3