Function at 0x140019a30
Capabilities:
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 - 0x850]
sub rsp, 0x950
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0x840], rax
lea rcx, str.CS2_External_ESP_By__aaron656_on_discord
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._Info__This_Can_Lower_Trust_Factor_And_Has_A_Possibility_Of_A_Ban
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._info__Github_Repository:_https:__github.com_Aaron_656_CS2_External_ESP_
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._info__Created_By__aaron656_on_discord_n
call fcn.140004f90
lea rdx, [0x140005160]
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]
lea ecx, [r14 + 0x38]
call fcn.14001aad0
mov qword [rsp + 0x68], rax
lea rcx, vtable.std::_Ref_count_obj2_class_pProcess_.0
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rdx
mov rbx, qword [0x140026f30]
mov qword [0x140026f28], rcx
mov qword [0x140026f30], rax
test rbx, rbx
je 0x140019b64
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140019b64
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140019b64
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
call fcn.140001ba0
lea rcx, str.color_0A
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Waiting_for_cs2.exe...
call fcn.140004f90
lea rdx, [0x140005160]
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 rsi, 0x7fffffffc46535fe
movabs rdi, 0x7fffffffffffffff
nop dword [rax]
mov rbx, qword [0x140026f28]
call fcn.14001a240
mov dword [rbx], eax
test eax, eax
jne 0x140019bfe
lea rcx, [rsp + 0x70]
call fcn.140018bb0
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jg 0x140019bed
add rax, 0x3b9aca00
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
call fcn.14001a140
jmp 0x140019bb0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
call fcn.14001a140
jmp 0x140019bb0
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rbp - 0x10]
mov dword [rsp + 0x20], 2
mov rcx, rax
mov qword [rbx + 8], rax
mov r8d, 0x7f8
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp + 0x40]
lea r8, [rbp - 8]
mov rcx, qword [rbx + 8]
mov r9d, 0x18
mov qword [rbx + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp]
mov edx, dword [rbx]
mov qword [rbx + 0x20], rax
call fcn.14001a470
lea rcx, str.color_0A
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Attached_to_cs2.exe_n
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._config__Reading_offsets_from_configuration.
call fcn.140004f90
lea rdx, [0x140005160]
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.1400125b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._config__Sucessfully_read_offsets_file_n
test al, al
jne 0x140019cd0
lea rdx, str._config__Error_reading_offsets_file__reseting_to_the_default_state_n
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._warn__If_the_esp_doesnt_work__consider_updating_offsets_manually_in_the_file_offsets.json
call fcn.140004f90
lea rdx, [0x140005160]
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]
nop dword [rax + rax]
mov rcx, qword [0x140026f28]
lea rdx, [rbp - 0x78]
call fcn.14001a530
movups xmm0, xmmword [rax]
movq rax, xmm0
movups xmmword [0x140026f08], xmm0
test rax, rax
jne 0x140019d90
lea rcx, [rsp + 0x78]
call fcn.140018bb0
mov rax, qword [rsp + 0x78]
cmp rax, rsi
jg 0x140019d55
add rax, 0x3b9aca00
mov qword [rsp + 0x60], rax
jmp 0x140019d5a
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x60]
call fcn.14001a140
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Failed_to_find_module_client.dll__waiting_for_the_game_to_load_it...
call fcn.140004f90
lea rdx, [0x140005160]
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]
cmp qword [0x140026f08], r14
je 0x140019d10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Waiting_to_focus_game_to_create_the_overlay...
call fcn.140004f90
lea rdx, [0x140005160]
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 [0x140026f28]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
je 0x140019e2f
lea rcx, [rbp - 0x80]
call fcn.140018bb0
mov rax, qword [rbp - 0x80]
cmp rax, rsi
jg 0x140019de5
add rax, 0x3b9aca00
mov qword [rsp + 0x60], rax
jmp 0x140019dea
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x60]
call fcn.14001a140
mov rbx, qword [0x140026f28]
mov edx, dword [rbx]
call fcn.14001a470
mov qword [rbx + 0x10], rax
mov edx, 1
mov rcx, qword [0x140026f28]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x140026f28]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
jne 0x140019dc6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Creating_window_overlay...
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [0x140026f28]
lea rax, [0x140019840]
xorps xmm0, xmm0
mov qword [rbp - 0x50], r14
movdqa xmmword [rbp - 0x40], xmm0
mov edx, 0xfffffffa
mov qword [rbp - 0x18], r14
mov dword [rbp - 0x60], 0x50
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x5c], 3
mov qword [rbp - 0x30], r14
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd rcx, eax
lea rbx, [0x14001fa68]
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140026f28]
lea rdx, [0x140026f18]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x140026f18]
lea r8, str.cs2_external_esp
mov ecx, dword [0x140026f24]
mov r9d, 0x80000000
mov eax, dword [0x140026f20]
add ecx, edx
mov qword [rsp + 0x58], r14
sub eax, edx
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
mov ecx, 0x800a8
mov dword [rsp + 0x30], eax
mov eax, dword [0x140026f1c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, rbx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
test rax, rax
je 0x14001a0c9
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], r14d
lea rdx, [r9 - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea rcx, [rbp + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140019ffa
movabs rsi, 0x7ffffffffff0bdbe
nop word [rax + rax]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140019ffa
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x68]
call fcn.140018bb0
mov rax, qword [rsp + 0x68]
cmp rax, rsi
jg 0x140019fd5
add rax, 0xf4240
mov qword [rsp + 0x60], rax
jmp 0x140019fda
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x60]
call fcn.14001a140
xor r9d, r9d
lea rcx, [rbp + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140019f90
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Destroying_overlay_window.
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [0x140026f38]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x140026f40]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Deataching_from_process
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [0x140026f28]
mov rcx, qword [rcx + 8]
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]
lea rdx, str._cs2__Press_any_key_to_close
call fcn.140004f90
lea rdx, [0x140005160]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.14001aab0
lea r11, [rsp + 0x950]
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