Function at 0x1400d6d10
Capabilities:
List tcp connections and listeners
List udp connections and listeners

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x98
cmp dword [rsp + 0xa8], 0
je 0x1400d6e52
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x7a
je 0x1400d6d74
xor eax, eax
jmp 0x1400d6f77
mov ecx, dword [rsp + 0x30]
call fcn.1400aa210
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400d6dc6
mov rcx, qword [rsp + 0x38]
call fcn.1400a8710
xor eax, eax
jmp 0x1400d6f77
mov dword [rsp + 0x44], 0
jmp 0x1400d6ddb
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x44], eax
jae 0x1400d6e43
mov ecx, dword [rsp + 0x44]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx + 4]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx ecx, word [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x48], eax
jne 0x1400d6e41
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x38]
call fcn.1400a8710
mov eax, dword [rsp + 0x58]
jmp 0x1400d6f77
jmp 0x1400d6dd0
mov rcx, qword [rsp + 0x38]
call fcn.1400a8710
jmp 0x1400d6f75
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x5c]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x7a
je 0x1400d6e99
xor eax, eax
jmp 0x1400d6f77
mov ecx, dword [rsp + 0x5c]
call fcn.1400aa210
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x68]
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400d6eeb
mov rcx, qword [rsp + 0x68]
call fcn.1400a8710
xor eax, eax
jmp 0x1400d6f77
mov dword [rsp + 0x70], 0
jmp 0x1400d6f00
mov eax, dword [rsp + 0x70]
add eax, 1
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
cmp dword [rsp + 0x70], eax
jae 0x1400d6f6b
mov ecx, dword [rsp + 0x70]
imul rcx, rcx, 0xc
mov rax, qword [rsp + 0x68]
lea rax, [rax + rcx + 4]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x74], eax
jne 0x1400d6f69
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x68]
call fcn.1400a8710
mov eax, dword [rsp + 0x80]
jmp 0x1400d6f77
jmp 0x1400d6ef5
mov rcx, qword [rsp + 0x68]
call fcn.1400a8710
xor eax, eax
add rsp, 0x98
ret