Function at 0x140303690
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
endbr64
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
movups xmmword [rsp + 0xd0], xmm6
mov rdi, qword [0x140485900]
xor r9d, r9d
mov edx, 1
mov r15, qword [sym.imp.WS2_32.dll_WSASocketW]
mov r8d, 6
mov rax, qword [rdi]
mov qword [rsp + 0xc8], rax
lea rax, str.open_descriptors
mov rbp, rcx
lea rdi, str.C:_msys64_mingw64_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [rsp + 0x90], 0
movq xmm6, rdi
mov dword [rsp + 0x28], 1
mov ecx, 2
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x20], 0
movq xmm0, rax
punpcklqdq xmm6, xmm0
call r15
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140303bb8
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x40], 1
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140303e38
mov edx, 2
mov r14, qword [sym.imp.WS2_32.dll_htonl]
mov ecx, 0x7f000001
mov qword [rsp + 0x82], 0
mov word [rsp + 0x80], dx
mov qword [rsp + 0x88], 0
call r14
mov dword [rsp + 0x84], eax
xor eax, eax
mov word [rsp + 0x82], ax
cmp rbx, 0xffffffffffffffff
je 0x140303ec9
lea r12, [rsp + 0x80]
mov r8d, 0x10
mov rcx, rbx
mov rdx, r12
call qword [sym.imp.WS2_32.dll_bind]
mov r13d, eax
test eax, eax
jne 0x140303d08
mov dword [rsp + 0x90], 0
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x60], 0x10
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
mov r12d, eax
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0x38], rax
test r12d, r12d
jne 0x140303cc0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov esi, dword [rsp + 0x84]
xor ecx, ecx
call r14
cmp esi, eax
je 0x140303c10
cmp rbx, 0xffffffffffffffff
je 0x140303f6a
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
mov r12d, eax
test eax, eax
jne 0x140303d80
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov edx, 1
mov r8d, 6
mov dword [rsp + 0x20], 0
mov ecx, 2
call r15
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140303c28
mov qword [rsp + 0x50], rax
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
call qword [sym.imp.WS2_32.dll_connect]
mov r13d, eax
test eax, eax
jne 0x140303dc8
cmp rbx, 0xffffffffffffffff
je 0x140303c97
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140303df0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x44], 1
cmp r12, 0xffffffffffffffff
je 0x140303f1e
lea r8, [rsp + 0x44]
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x140303d68
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
test eax, eax
jne 0x140303b88
mov dword [rsp + 0x40], 1
lea r9, [rsp + 0x40]
mov r8d, 1
mov rcx, r12
mov dword [rsp + 0x20], 4
mov edx, 6
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140303e68
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x44], 1
cmp r13, 0xffffffffffffffff
je 0x140303e7d
lea r8, [rsp + 0x44]
mov edx, 0x8004667e
mov rcx, r13
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x140303d50
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
test eax, eax
je 0x140303aaa
lea rsi, [rsp + 0x90]
mov r8, rdi
lea rdx, str.socket_select_interrupter
mov rcx, rsi
mov qword [rsp + 0x70], 0x6d
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov dword [rsp + 0x40], 1
lea r9, [rsp + 0x40]
mov r8d, 1
mov rcx, r13
mov dword [rsp + 0x20], 4
mov edx, 6
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140303e50
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rbp], r13
mov qword [rbp + 8], r12
cmp rbx, 0xffffffffffffffff
je 0x140303b4d
lea r9, [rsp + 0xb0]
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov byte [rsp + 0x60], 0
call sym.boost::asio::detail::socket_ops::close_unsigned_long_long__unsigned_char__bool__boost::system::error_code___clone_isra0_
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rdi]
jne 0x140303fbd
movups xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x90]
mov r8, rdi
lea rdx, str.socket_select_interrupter
mov rcx, rsi
mov qword [rsp + 0x70], 0x63
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x1403039da
lea rsi, [rsp + 0x90]
lea r13, str.socket_select_interrupter
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
lea r8, [rsp + 0x60]
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x48], 0xffffffffffffffff
mov qword [rsp + 0x70], 0x32
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov edx, 0x2719
mov rcx, rsi
mov dword [rsp + 0x40], 1
call fcn.140229d60
jmp 0x140303773
mov ecx, 0x7f000001
call r14
mov dword [rsp + 0x84], eax
jmp 0x140303873
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
lea r13, str.socket_select_interrupter
mov r8, rdi
mov rcx, rsi
mov qword [rsp + 0x50], 0xffffffffffffffff
mov rdx, r13
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x55
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov edx, 0x2719
mov rcx, rsi
call fcn.140229d60
mov r8, rdi
mov rdx, r13
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x59
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
cmp rbx, 0xffffffffffffffff
jne 0x14030393f
lea rsi, [rsp + 0x90]
mov edx, 0x2719
mov rcx, rsi
call fcn.140229d60
mov qword [rsp + 0x58], 0xffffffffffffffff
jmp 0x140303e09
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
lea r13, str.socket_select_interrupter
cmp r12d, 0xffffffff
jne 0x14030385f
mov r8, rdi
mov rdx, r13
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x46
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x14030385f
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
lea rdi, [rsp + 0x60]
cmp r13d, 0xffffffff
jne 0x14030380f
lea r13, str.socket_select_interrupter
mov r8, rdi
mov rcx, rsi
mov qword [rsp + 0x70], 0x42
mov rdx, r13
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x14030380f
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
jmp 0x140303a8a
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
jmp 0x140303b90
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
cmp r12d, 0xffffffff
jne 0x1403038b9
lea r13, str.socket_select_interrupter
mov r8, rdi
mov rcx, rsi
mov qword [rsp + 0x70], 0x50
mov rdx, r13
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x1403038b9
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
cmp r13d, 0xffffffff
jne 0x140303935
lea r13, str.socket_select_interrupter
jmp 0x140303c71
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
mov qword [rsp + 0x58], 0xffffffffffffffff
mov r8, rdi
lea rdx, str.socket_select_interrupter
mov rcx, rsi
mov qword [rsp + 0x70], 0x5d
movups xmmword [rsp + 0x60], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov r13, 0xffffffffffffffff
jmp 0x140303982
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
jmp 0x140303773
lea rcx, [rsp + 0x90]
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
jmp 0x140303afe
lea rsi, [rsp + 0x90]
mov rcx, rsi
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
jmp 0x140303a2e
lea rsi, [rsp + 0x90]
mov edx, 0x2719
mov r8, rdi
mov rcx, rsi
call fcn.140229d60
lea rdx, str.socket_select_interrupter
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x6d
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov edx, 0x2719
mov rcx, rsi
mov dword [rsp + 0x40], 1
call fcn.140229d60
jmp 0x140303afe
lea rsi, [rsp + 0x90]
mov edx, 0x2719
lea rdi, [rsp + 0x60]
mov rcx, rsi
lea r13, str.socket_select_interrupter
mov r8, rdi
call fcn.140229d60
mov rdx, r13
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x42
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov edx, 0x2719
mov rcx, rsi
call fcn.140229d60
mov qword [rsp + 0x38], 0x10
jmp 0x140303ce1
lea rsi, [rsp + 0x90]
mov edx, 0x2719
mov r8, rdi
mov rcx, rsi
call fcn.140229d60
lea rdx, str.socket_select_interrupter
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0x63
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
mov edx, 0x2719
mov rcx, rsi
mov dword [rsp + 0x40], 1
call fcn.140229d60
jmp 0x140303a2e
lea rsi, [rsp + 0x90]
mov edx, 0x2719
mov rcx, rsi
call fcn.140229d60
jmp 0x140303d9a
lea rcx, [rsp + 0x50]
call method.boost::asio::detail::socket_holder.socket_holder__
lea rcx, [rsp + 0x48]
call method.boost::asio::detail::socket_holder.socket_holder__
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rdi]
je 0x140303fd4
call dbg.__stack_chk_fail
endbr64
mov rbx, rax
jmp 0x140303f95
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop
nop