Function at 0x1401644b0
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 [0x140464178]
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 0x1401645f6
call fcn.14032e13c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140150e70
mov dword [rbx], eax
mov qword [rsp + 0x40], r13
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x1401645fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
jmp 0x1401645fe
mov rcx, rax
call fcn.140164b20
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 0x140164683
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x140164683
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
mov rcx, r13
call fcn.140164d80
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 0x14016475e
call fcn.14032e13c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140150e70
mov dword [rbx], eax
mov qword [r12], 0xffffffffffffffff
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x14016476a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
jmp 0x14016476a
mov rcx, rbx
call fcn.140164b20
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 0x1401647f4
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 0x1401647f4
mov edx, 1
mov rcx, r13
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1401647f4
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 0x1401647f4
mov rcx, qword [r12]
call fcn.140164d80
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 0x1401648b4
mov ecx, 0x100000
call fcn.14032dbdc
mov r15, rax
test rax, rax
jne 0x140164872
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x140164872
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
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 0x14016494b
test esi, esi
jne 0x1401649da
mov rcx, r15
call fcn.14032dbc8
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 0x1401648bc
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 0x140164929
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x140164929
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
mov rcx, qword [rbp]
mov rbp, qword [rsp + 0xf0]
cmp rcx, 0xffffffffffffffff
je 0x140164a68
call fcn.140164b20
xor eax, eax
jmp 0x140164af2
jle 0x1401649da
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 0x1401649d7
call fcn.140150b40
mov rbp, rax
test rax, rax
je 0x1401649d2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [r14 + 3]
mov ebx, eax
call fcn.140337dc0
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.140150370
lea ecx, [r14 + 3]
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rbp
call fcn.140151120
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 0x140164a60
call fcn.140150b40
mov rbp, rax
test rax, rax
je 0x140164a5b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [r14 + 3]
mov ebx, eax
call fcn.140337dc0
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.140150370
lea ecx, [r14 + 3]
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rbp
call fcn.140151120
mov rbp, qword [rsp + 0x30]
sub esi, r14d
jmp 0x140164880
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140164adc
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x140164ad4
call fcn.140150b40
mov rdi, rax
test rax, rax
je 0x140164ad4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, r14d
mov ebx, eax
call fcn.140337dc0
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.140150370
mov ecx, r14d
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
mov rcx, rdi
call fcn.140151120
mov qword [r12], 0xffffffffffffffff
call fcn.14032e13c
mov ecx, esi
mov rbx, rax
call fcn.140150e70
mov dword [rbx], eax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140327a40
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret