Function at 0x140003c50
Capabilities:
Connect socket
Connect udp socket
Create thread
Create udp socket
Enumerate processes
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x200
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov qword [rsp + 0x48], 0
mov esi, 2
mov word [rsp + 0x40], si
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x44], eax
mov ecx, 0x267c
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
xor r8d, r8d
lea edx, [rsi - 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003ce8
lea r8d, [rsi + 0xe]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140003d34
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x14005d030], 0xffffffffffffffff
lea rdx, str.Connection_fail__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400052c0
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 rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14004abc0
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rsi
ret
mov qword [0x14005d030], rbx
mov dword [rsp + 0x50], 0x130
xor edx, edx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003dd0
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, str.RustClient.exe
lea rcx, [rsp + 0x7c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
jne 0x140003d88
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
jmp 0x140003dd2
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140003dc7
nop word [rax + rax]
lea rdx, str.RustClient.exe
lea rcx, [rsp + 0x7c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
je 0x140003d7c
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003da0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x14005d048], eax
xor r8d, r8d
call fcn.1400012c0
mov r8d, 1
call fcn.1400012c0
mov qword [0x14005cda8], rax
mov ecx, 8
call fcn.14004ae78
lea rcx, [0x140002f70]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400059a0]
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 0x140003e76
cmp dword [rsp + 0x38], 0
jne 0x140003e4e
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140003e71
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
jmp 0x140003d13
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3