Function at 0x140003230
Capabilities:
Create thread
Enumerate process modules
Execute command
Log keystrokes via polling
Set console window title

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 - 0x1060]
mov eax, 0x1160
call fcn.140007ee0
sub rsp, rax
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x1050], rax
lea rcx, [0x140009750]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, 0x38
call fcn.140006fd8
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_obj2_class_pProcess_.0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
xor edx, edx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rdx
mov qword [0x14000c7b8], rcx
mov rbx, qword [0x14000c7c0]
mov qword [0x14000c7c0], rax
test rbx, rbx
je 0x140003300
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003300
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003300
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [0x14000c7b8]
call fcn.140001b70
mov dword [rbx], eax
test eax, eax
je 0x14000335c
mov ecx, eax
call fcn.140001800
mov qword [rbx + 8], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x1400033c3
lea rdx, str._cheat__Handle_Hijack_failed__falling_back_to_OpenProcess_method.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002160
lea rdx, [0x140002330]
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]
call fcn.140001b70
mov dword [rbx], eax
test eax, eax
jne 0x14000336f
mov qword [rbp - 0x30], 1
lea rcx, [rbp - 0x30]
call fcn.1400067e0
jmp 0x140003300
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbx + 8], rax
mov dword [rsp + 0x20], 2
lea r9, [rbp]
mov r8d, 0x7f8
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp + 0x50]
mov qword [rbx + 0x18], rdx
mov r9d, 0x18
lea r8, [rbp + 8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp + 0x10]
jmp 0x140003407
mov dword [rsp + 0x20], 2
lea r9, [rbp + 4]
mov r8d, 0x7f8
lea rdx, [rbp + 0x850]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp + 0x850]
mov qword [rbx + 0x18], rdx
mov r9d, 0x18
lea r8, [rbp - 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp - 0x28]
mov qword [rbx + 0x20], rax
mov edx, dword [rbx]
call fcn.140001da0
mov qword [rbx + 0x10], rax
nop word [rax + rax]
lea r8, str.client.dll
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14000c7b8]
call fcn.140001e60
movups xmm0, xmmword [rax]
movups xmmword [0x14000c788], xmm0
lea r8, str.engine2.dll
lea rdx, [rsp + 0x70]
mov rcx, qword [0x14000c7b8]
call fcn.140001e60
movups xmm0, xmmword [rax]
movups xmmword [0x14000c778], xmm0
mov rax, qword [0x14000c788]
test rax, rax
je 0x14000347c
mov rdx, qword [0x14000c778]
test rdx, rdx
jne 0x1400034be
mov qword [rbp - 0x30], 1
lea rcx, [rbp - 0x30]
call fcn.1400067e0
lea rdx, str._Failed_to_find_module_client.dll_engine2.dll__waiting_for_the_game_to_load_it...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002160
lea rdx, [0x140002330]
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]
mov rax, qword [0x14000c788]
mov rdx, qword [0x14000c778]
test rax, rax
je 0x140003420
test rdx, rdx
je 0x140003420
add rdx, 0x488514
mov rcx, qword [0x14000c7b8]
call fcn.1400066b0
mov rbx, rax
lea rdx, str._n_build_number_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002160
mov rdx, rbx
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, str._Make_sure_your_game_is_in__Full_Screen_Windowed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002160
lea rdx, [0x140002330]
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]
mov rbx, qword [0x14000c7b8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
je 0x140003587
mov qword [rbp - 0x30], 1
lea rcx, [rbp - 0x30]
call fcn.1400067e0
mov rbx, qword [0x14000c7b8]
mov edx, dword [rbx]
call fcn.140001da0
mov qword [rbx + 0x10], rax
mov edx, 1
mov rcx, qword [0x14000c7b8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x14000c7b8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
jne 0x140003543
lea rdx, str.Creating_window_overlay
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002160
lea rdx, [0x140002330]
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]
xor edi, edi
mov qword [rbp - 0x70], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x80], 0x50
lea rax, [0x140002b30]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x7c], 3
mov qword [rbp - 0x50], rdi
lea edx, [rdi - 6]
mov rcx, qword [0x14000c7b8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd rcx, eax
mov qword [rbp - 0x68], rcx
lea rbx, [0x140009860]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea rdx, [0x14000c7a8]
mov rcx, qword [0x14000c7b8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x14000c7a8]
mov ecx, dword [0x14000c7b4]
add ecx, edx
mov eax, dword [0x14000c7b0]
sub eax, edx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x14000c7ac]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r9d, 0x80000000
lea r8, str.cs2_HalfPeople_esp
mov rdx, rbx
mov ecx, 0x800a8
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
test rax, rax
je 0x1400037e2
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rdi - 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
lea edx, [rdi + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400037a1
lea r14, [0x140005e60]
nop dword [rax]
mov ecx, 8
call fcn.140006fd8
mov qword [rax], r14
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140006f60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140003845
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140003834
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 8], 0
je 0x140003828
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
je 0x14000381c
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x30], xmm0
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140003810
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400036e0
mov rcx, qword [0x14000c7c8]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x14000c7d0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [0x14000c7b8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140006fb0
lea r11, [rsp + 0x1160]
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
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp dword [rbp - 8], 0
je 0x1400037a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3