Function at 0x140152be0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x140428078]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor eax, eax
mov qword [r11 + 0x18], rbp
xorps xmm0, xmm0
mov qword [rsp + 0x30], rcx
xor esi, esi
mov qword [r11 - 0x38], r13
mov r12, rdx
mov dword [rsp + 0x4c], esi
mov rbp, rcx
mov qword [r11 - 0x80], rsi
movups xmmword [rsp + 0x60], xmm0
lea edx, [rax + 1]
movups xmmword [rsp + 0x70], xmm0
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea edx, [rsi + 1]
xor r8d, r8d
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea rax, [rsp + 0x60]
mov qword [r12], 0xffffffffffffffff
mov r14d, 2
mov dword [rsp + 0x28], 0x81
mov ecx, r14d
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov dword [rsp + 0x48], 0x18
xor r8d, r8d
mov qword [rbp], 0xffffffffffffffff
lea edx, [rsi + 1]
mov dword [rsp + 0x20], esi
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rsp + 0x40], rax
mov r13, rax
lea r15, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
cmp rax, 0xffffffffffffffff
jne 0x140152d26
call fcn.14030fe3c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140142740
mov dword [rbx], eax
mov qword [rsp + 0x40], r13
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140152d2e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x18f
mov r9d, ebx
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
jmp 0x140152d2e
mov rcx, rax
call fcn.140153250
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
mov rcx, r13
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140152db3
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140152db3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x196
mov r9d, ebx
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rcx, r13
call fcn.140153490
mov ecx, 0x7f000001
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x88], r14w
call qword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
mov dword [rsp + 0x8c], eax
call qword [sym.imp.WS2_32.dll_htons]
xor r9d, r9d
mov dword [rsp + 0x28], 0x81
xor r8d, r8d
mov word [rsp + 0x8a], ax
mov ecx, r14d
mov dword [rsp + 0x20], esi
lea edx, [r9 + 1]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140152e8e
call fcn.14030fe3c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140142740
mov dword [rbx], eax
mov qword [r12], 0xffffffffffffffff
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140152e9a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x1a3
mov r9d, ebx
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
jmp 0x140152e9a
mov rcx, rbx
call fcn.140153250
mov qword [r12], rbx
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x88]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140152f24
lea r8, [rsp + 0x3c]
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x88]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140152f24
mov edx, 1
mov rcx, r13
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x140152f24
mov rcx, qword [r12]
lea rdx, [rsp + 0x88]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140152f24
mov rcx, qword [r12]
call fcn.140153490
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp], rax
mov rax, qword [rbp]
cmp rax, 0xffffffffffffffff
je 0x140152fe4
mov ecx, 0x100000
call fcn.14030f8dc
mov r15, rax
test rax, rax
jne 0x140152fa2
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140152fa2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x1d0
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov edi, 0x100000
lea r13, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov esi, edi
test edi, edi
jne 0x14015307b
test esi, esi
jne 0x14015310a
mov rcx, r15
call fcn.14030f8c8
mov rax, qword [rbp]
lea r14d, [rdi + 2]
mov r13, qword [rsp + 0x40]
lea r15, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
xor esi, esi
cmp rax, 0xffffffffffffffff
jne 0x140152fec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
mov r13, qword [rsp + 0xa0]
cmp eax, 0xffffffff
jne 0x140153059
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140153059
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x1ef
mov r9d, ebx
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rcx, qword [rbp]
mov rbp, qword [rsp + 0xf0]
cmp rcx, 0xffffffffffffffff
je 0x140153198
call fcn.140153250
xor eax, eax
jmp 0x140153222
jle 0x14015310a
mov rcx, qword [r12]
mov rdx, r15
movsxd rax, edi
xor r9d, r9d
sub rdx, rax
mov r8d, edi
add rdx, 0x100000
call qword [sym.imp.WS2_32.dll_send]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140153107
call fcn.140142410
mov rbp, rax
test rax, rax
je 0x140153102
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [r14 + 3]
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x1db
mov r9d, ebx
mov qword [rsp + 0x20], r13
mov r8, rbp
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
lea ecx, [r14 + 3]
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rbp
call fcn.1401429f0
mov rbp, qword [rsp + 0x30]
sub edi, r14d
mov rcx, qword [rbp]
mov rdx, r15
movsxd rax, esi
xor r9d, r9d
sub rdx, rax
mov r8d, esi
add rdx, 0x100000
call qword [sym.imp.WS2_32.dll_recv]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140153190
call fcn.140142410
mov rbp, rax
test rax, rax
je 0x14015318b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [r14 + 3]
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x1e2
mov r9d, ebx
mov qword [rsp + 0x20], r13
mov r8, rbp
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
lea ecx, [r14 + 3]
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rbp
call fcn.1401429f0
mov rbp, qword [rsp + 0x30]
sub esi, r14d
jmp 0x140152fb0
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x14015320c
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x140153204
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140153204
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x206
mov r9d, ebx
mov qword [rsp + 0x20], r15
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, r14d
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov qword [r12], 0xffffffffffffffff
call fcn.14030fe3c
mov ecx, esi
mov rbx, rax
call fcn.140142740
mov dword [rbx], eax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140309780
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret