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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x140
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rcx + 0xbc], 2
mov rbx, rdx
mov rbp, qword [rcx]
mov rsi, rcx
je 0x1400b6339
cmp byte [rcx + 0x3ba], 0
mov qword [rsp + 0x170], rdi
jne 0x1400b625a
cmp byte [rcx + 0x3d6], 0
jne 0x1400b625a
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1400b6123
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.1400d8d50
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rbp
call fcn.1400b4780
jmp 0x1400b6331
xor edx, edx
mov dword [rsp + 0x20], 0x80
mov r8d, 0x80
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400b6180
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.1400d8d50
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rbp
call fcn.1400b4780
jmp 0x1400b6331
lea rbx, [rsi + 0x186]
mov rdx, rbx
lea r8, [rsi + 0x1b4]
lea rcx, [rsp + 0xb0]
call fcn.1400b57e0
test al, al
jne 0x1400b61d5
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edx, ebx
mov rcx, rsi
mov rdi, rax
call fcn.1400d8d50
mov r8d, dword [rdi]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.1400b4780
jmp 0x1400b6331
movups xmm0, xmmword [rbx]
mov eax, dword [rbx + 0x28]
lea r8, [rsi + 0x1e8]
movups xmm1, xmmword [rbx + 0x10]
lea rdx, [rsi + 0x1b8]
movups xmmword [rsi + 0x88], xmm0
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rsi + 0x98], xmm1
movsd qword [rsi + 0xa8], xmm0
mov dword [rsi + 0xb0], eax
movzx eax, word [rbx + 0x2c]
mov word [rsi + 0xb4], ax
call fcn.1400b57e0
test al, al
jne 0x1400b625a
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edx, ebx
mov rcx, rsi
mov rdi, rax
call fcn.1400d8d50
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.1400b4780
jmp 0x1400b6331
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 0x186]
movups xmmword [rcx + 0x1660], xmm0
movups xmm1, xmmword [rsi + 0x196]
movups xmmword [rcx + 0x1670], xmm1
movsd xmm0, qword [rsi + 0x1a6]
movsd qword [rcx + 0x1680], xmm0
mov eax, dword [rsi + 0x1ae]
mov dword [rcx + 0x1688], eax
movzx eax, word [rsi + 0x1b2]
mov word [rcx + 0x168c], ax
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 0x1b8]
movups xmmword [rcx + 0x1694], xmm0
movups xmm1, xmmword [rsi + 0x1c8]
movups xmmword [rcx + 0x16a4], xmm1
movsd xmm0, qword [rsi + 0x1d8]
movsd qword [rcx + 0x16b4], xmm0
mov eax, dword [rsi + 0x1e0]
mov dword [rcx + 0x16bc], eax
movzx eax, word [rsi + 0x1e4]
mov word [rcx + 0x16c0], ax
mov rax, qword [rsi + 0x400]
mov rcx, qword [rsi]
mov rax, qword [rax]
mov qword [rcx + 0x16c8], rax
mov rax, qword [rsi + 0x400]
mov rcx, qword [rsi]
mov eax, dword [rax + 0x7c]
mov dword [rcx + 0x16d0], eax
mov rcx, qword [rsi]
mov eax, dword [rsi + 0x1b4]
mov dword [rcx + 0x1690], eax
mov rcx, qword [rsi]
mov eax, dword [rsi + 0x1e8]
mov dword [rcx + 0x16c4], eax
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x140
pop rsi
pop rbp
pop rbx
ret