Function at 0x140158ba0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140431178]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, rdx
mov r13, rcx
lea rcx, [rbp - 0x80]
call fcn.140166e80
nop
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], r14b
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], r14b
mov dword [rsp + 0x30], WSACleanup
mov r12b, 1
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, edx
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140158c6a
call fcn.14031577c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140146670
mov dword [rbx], eax
mov rdx, r15
mov rcx, r13
call fcn.140159170
mov ebx, eax
jmp 0x140159095
mov rcx, rdi
call fcn.1401597e0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140158540
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140166ec0
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
test eax, eax
jne 0x140158ce8
lea rcx, [rbp - 0x80]
call fcn.140166eb0
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14014b420
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x140158deb
call fcn.14031577c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140146670
mov dword [rbx], eax
call fcn.14031577c
mov esi, dword [rax]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140158d5e
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140158d5e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x280
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
cmp qword [rsp + 0x48], 0
je 0x140158dd0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.14031e23c
test eax, eax
jne 0x140158db7
cmp qword [rsp + 0x68], 0
je 0x140158db7
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.14031e354
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax], 0
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax], 0
test r12b, r12b
je 0x140159089
mov rdx, r15
mov rcx, r13
call fcn.140159170
mov ebx, eax
jmp 0x140159095
xor r12b, r12b
mov edx, 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x140158cd1
lea r8, [rsp + 0x30]
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x140158e84
call fcn.140146340
mov rsi, rax
test rax, rax
je 0x140158e7d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x254
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rsi
call fcn.140146920
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
xor r8d, r8d
mov edx, 1
mov ecx, edx
call fcn.140159880
mov qword [r15], rax
cmp rax, 0xffffffffffffffff
je 0x140158cd1
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140158f42
call fcn.14031577c
mov r14d, dword [rax]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140158f32
call fcn.140146340
mov rsi, rax
test rax, rax
je 0x140158f32
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x27a
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rsi
call fcn.140146920
call fcn.14031577c
mov dword [rax], r14d
xor r14d, r14d
jmp 0x140158ce8
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [r13], rax
cmp rax, 0xffffffffffffffff
jne 0x140158faa
call fcn.14031577c
mov ecx, dword [rax]
call fcn.140315808
mov rbx, rax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x265
mov r9, rsi
mov r8, rbx
lea rdx, str._s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rbx
call fcn.140146920
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140159012
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140159012
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x269
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
cmp qword [rsp + 0x48], 0
je 0x140159084
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.14031e23c
test eax, eax
jne 0x14015906b
cmp qword [rsp + 0x68], 0
je 0x14015906b
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.14031e354
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax], r12b
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax], r12b
mov ebx, r14d
jmp 0x140159095
call fcn.14031577c
mov dword [rax], esi
mov ebx, 0xffffffff
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1401590d2
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401590cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159169
call fcn.14030e898
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14015911e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159163
call fcn.14030e898
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
lea rcx, [rbp - 0x80]
call fcn.14014c150
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14030f0d0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140315630
nop
call fcn.140315630
int3