Function at 0x140003df0
Capabilities:
Connect socket
Enumerate processes
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rdx
mov ebx, ecx
lea rcx, str.CeServ_v1.2_by_RF_Cheats.ru_n
call fcn.140002010
mov r14d, 2
cmp ebx, r14d
je 0x140003fda
lea rdx, str.Use_pid_as_an_argument_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004330
lea rdx, str.Waiting_for_the_process_called
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004330
mov rcx, rax
lea rdx, str.AMo.exe
call fcn.140004330
mov rcx, rax
lea rdx, str......_n
call fcn.140004330
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140003fa9
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140003f81
nop word [rax + rax]
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140003f6b
mov r9d, 0xff
lea r8, [rbp + 0xe0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140003f6b
lea rbx, [rbp + 0xe0]
lea rdx, [0x14000a83c]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140003f48
nop word [rax + rax]
inc rbx
lea rdx, [0x14000a83c]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140003f30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 7
lea rdx, str.AMo.exe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x140003f9a
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003ed0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003e94
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x38]
jmp 0x140003fab
xor edi, edi
lea rdx, str.Process_found__PID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004330
mov rcx, rax
mov edx, edi
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_int____ptr64]
mov rcx, rax
lea rdx, [0x14000aac0]
call fcn.140004330
jmp 0x140003fe6
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
mov ecx, 0x10b8
call fcn.140006e8c
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x10b8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140004720
nop
test byte [rax + 0x44], 1
je 0x140004028
lea rcx, str.License_expired_n
call fcn.140002010
jmp 0x140004106
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x14000e7d0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x14000e838]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x14000e800]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rsp + 0x28], 0
mov word [rsp + 0x20], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x24], eax
mov ecx, 0x6987
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x22], ax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400040d5
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000412f
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x14000e830], 0xffffffffffffffff
lea rdx, str.Driver_connection_failed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004330
call qword [sym.imp.WS2_32.dll_WSACleanup]
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]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140006cf0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov qword [0x14000e830], rbx
xor edx, edx
mov r8d, 0x10c
lea rcx, [rbp + 0xec]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xe0], 0x12345568
mov dword [rbp + 0xe4], 1
mov dword [rbp + 0xe8], edi
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
mov r8d, 0x118
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400041e6
xor r9d, r9d
mov r8d, 0x118
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rbx, 8
jb 0x1400041e6
cmp dword [rsp + 0x30], 0x12345568
jne 0x1400041e6
cmp dword [rsp + 0x34], 2
jne 0x1400041e6
mov rdx, qword [rsp + 0x38]
jmp 0x1400041e8
xor edx, edx
mov qword [0x14000e828], rdx
lea rcx, str.Connection_with_driver_established._Process_base_address:__p._n
call fcn.140002010
mov dword [rbp + 0xd0], edi
mov ecx, 0x202
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140004221
lea rcx, str.WSA_Startup_error_n
call fcn.140001f60
mov dword [rsp + 0x24], 0
mov ecx, 0xce00
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x22], ax
mov word [rsp + 0x20], r14w
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x14000426b
lea rcx, str.Socket_not_created_n
call fcn.140001f60
mov rax, qword [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140004295
lea rcx, str.Socket_bind_error._Programm_already_running__n
call fcn.140001f60
jmp 0x1400040f3
lea rcx, str.Socket_binded_success_n
call fcn.140001f60
mov edx, 0x7fffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_listen]
lea rcx, [rsp + 0x30]
call fcn.140003d00
int3