Function at 0x140147800
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov dword [rbp + 0xd8], 0x80
xorps xmm0, xmm0
lea rbx, [rbp - 0x30]
mov r12, r8
mov r14, rdx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
test rdx, rdx
je 0x140147864
lea rbx, [rdx + 0x328]
mov ecx, dword [rbp + 0xf8]
mov r15d, 1
mov qword [rsp + 0x1d0], rdi
mov rsi, 0xffffffffffffffff
sub ecx, r15d
je 0x1401478ec
cmp ecx, r15d
jne 0x140147979
mov rdi, qword [rbp + 0xf0]
lea r15d, [rsi + 0x11]
mov eax, 2
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], ax
test rdi, rdi
je 0x1401478d0
mov r9d, r15d
lea r8, [rsp + 0x50]
mov rdx, rdi
xor ecx, ecx
call fcn.14012de80
cmp eax, 0xfffffffe
jne 0x1401478c8
jmp 0x14014797b
cmp eax, esi
je 0x140147979
movzx ecx, word [rbp + 0xe8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
lea r9, [rsp + 0x50]
jmp 0x1401479ea
mov rdi, qword [rbp + 0xf0]
lea r9, [rsp + 0x60]
xor eax, eax
mov word [rsp + 0x60], r15w
mov qword [rbp - 0x3e], rax
mov dword [rbp - 0x36], eax
movups xmmword [rsp + 0x62], xmm0
movups xmmword [rsp + 0x72], xmm0
movups xmmword [rbp - 0x7e], xmm0
movups xmmword [rbp - 0x6e], xmm0
movups xmmword [rbp - 0x5e], xmm0
movups xmmword [rbp - 0x4e], xmm0
test rdi, rdi
je 0x140147979
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140147930
cmp rax, 0x6c
jb 0x14014799b
mov rcx, r14
call fcn.14012f580
mov rcx, rax
mov qword [rsp + 0x30], rdi
lea rax, str.__s__too_long_for_UNIX_domain_socket
mov r9d, r15d
lea rdx, str.lws_socket_bind
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r14
lea rdx, [0x14012ebe0]
call fcn.1401319f0
mov eax, esi
mov rdi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov rax, rsi
nop
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1401479a0
lea rdx, [rsp + 0x62]
mov rcx, rdi
sub rdx, rdi
lea r15d, [rax + 2]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1401479c0
cmp byte [rsp + 0x62], 0x40
jne 0x1401479db
mov byte [rsp + 0x62], al
jmp 0x1401479ea
lea rcx, [rsp + 0x62]
call sub.msvcrt.dll__unlink
lea r9, [rsp + 0x60]
cmp r12, rsi
jne 0x1401479f3
xor eax, eax
jmp 0x14014797b
mov r8d, r15d
mov rdx, r9
mov rcx, r12
call qword [sym.imp.WS2_32.dll_bind]
mov r15d, eax
test eax, eax
jns 0x140147aad
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
mov ebx, eax
call fcn.14012f580
mov r9d, 1
mov dword [rsp + 0x48], ebx
lea rdx, str.lws_socket_bind
mov rcx, rax
mov r8, r14
mov dword [rsp + 0x40], r15d
cmp dword [rbp + 0xf8], r9d
jne 0x140147a6e
mov qword [rsp + 0x38], rdi
lea rax, str.ERROR_on_binding_fd__d_to___s____d__d_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [0x14012ebe0]
call fcn.1401319f0
jmp 0x140147979
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x38], eax
lea rax, str.ERROR_on_binding_fd__d_to_port__d___d__d_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [0x14012ebe0]
call fcn.1401319f0
cmp ebx, 0x2740
mov eax, 0xfffffffd
cmove esi, eax
jmp 0x140147979
lea r8, [rbp + 0xd8]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, esi
je 0x140147ada
mov rcx, qword [rbx]
shr rcx, 0x10
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbp + 0xe8], eax
mov r8d, 0x48
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140147730
mov eax, dword [rbp + 0xe8]
jmp 0x14014797b