Function at 0x140035380
Capabilities:
Create thread
Enumerate processes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400460c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor esi, esi
lea r14, str.cs2.exe
mov rcx, r14
call fcn.1400352b0
mov edi, eax
test eax, eax
jne 0x140035457
lea rcx, str.fallacy____Counter_Strike_2_not_found._Waiting..._r_n
call fcn.14001a780
mov edi, esi
mov dword [rbp - 0x10], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140035444
lea rdx, [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140035444
nop dword [rax + rax]
mov rcx, rsi
lea rdx, [rbp + 0x1c]
nop word [rax + rax]
movzx eax, byte [r14 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400354c4
cmp rcx, 8
jne 0x140035420
mov edi, dword [rbp - 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x1400353d0
lea rcx, str.fallacy____Counter_Strike_2_found._n
call fcn.14001a780
lea rdx, str.NVIDIA_GeForce_Overlay
lea rcx, str.CEF_OSC_WIDGET
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x1400354dd
lea rcx, str.fallacy____Failed_to_find_valid_window._Exiting..._n
call fcn.14001a780
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140035890
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x10]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14003543b
jmp 0x140035410
mov qword [0x140046458], rax
lea rcx, str.fallacy____Found_a_valid_window._Proceeding..._n
call fcn.14001a780
mov rdx, qword [0x140046458]
lea rcx, [0x1400463f8]
call fcn.140035030
test al, al
jne 0x140035513
lea rcx, str.fallacy____Failed_to_create_overlay._Exiting...
jmp 0x140035483
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtUserGetPointerProprietaryId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046350], rax
mov ecx, dword [0x140046358]
test rax, rax
cmovne ecx, edi
mov dword [0x140046358], ecx
lea rdi, str.client.dll
lea rbx, str.engine2.dll
nop word [rax + rax]
mov qword [rsp + 0x44], rsi
mov qword [rsp + 0x4c], rsi
mov qword [rsp + 0x54], rsi
mov dword [rsp + 0x5c], esi
mov qword [rsp + 0x64], rsi
mov dword [rsp + 0x6c], esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x60], 0x80000002
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x40]
call rax
cmp qword [rsp + 0x68], rsi
je 0x1400355e6
mov qword [rbp - 0x6c], rsi
mov qword [rbp - 0x64], rsi
mov qword [rbp - 0x5c], rsi
mov dword [rbp - 0x54], esi
mov qword [rbp - 0x4c], rsi
mov dword [rbp - 0x44], esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x50], 0x80000002
mov qword [rbp - 0x40], rbx
mov eax, dword [0x140046358]
mov dword [rbp - 0x70], eax
lea rcx, [rbp - 0x70]
call qword [0x140046350]
cmp qword [rbp - 0x48], rsi
jne 0x14003560f
lea rcx, str.fallacy____Waiting_for_game_to_load..._n
call fcn.14001a780
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140046358]
mov rax, qword [0x140046350]
jmp 0x140035560
lea rcx, [0x140046360]
call fcn.140034b60
mov ecx, 8
call fcn.140035e28
test rax, rax
je 0x140035636
lea rcx, [0x140035270]
mov qword [rax], rcx
jmp 0x140035639
mov rax, rsi
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140035240]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140035732
cmp dword [rsp + 0x38], 0
je 0x140035741
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14003572a
lea rcx, str.fallacy____Success__n
call fcn.14001a780
cmp byte [0x140046461], 0
jne 0x14003570b
mov ebx, 1
nop dword [rax]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bl, al
movzx eax, byte [0x140046460]
cmovne eax, ebx
mov byte [0x140046460], al
lea rcx, [0x1400463f8]
call fcn.140034f40
cmp byte [0x140046460], 0
je 0x1400356ea
mov byte [0x140046461], bl
jmp 0x1400356f6
lea rcx, [0x140046360]
call fcn.140034e20
lea rcx, [0x1400463f8]
call fcn.140034fc0
cmp byte [0x140046461], 0
je 0x1400356b0
lea rcx, [0x140046360]
call fcn.1400349b0
lea rcx, [0x1400463f8]
call fcn.140034f70
xor eax, eax
jmp 0x140035498
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3