Function at 0x1400d9110
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 0x1400d9252
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 0x1400d9174
xor eax, eax
jmp 0x1400d9377
mov ecx, dword [rsp + 0x30]
call fcn.1400aba8c
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 0x1400d91c6
mov rcx, qword [rsp + 0x38]
call fcn.1400a9ef0
xor eax, eax
jmp 0x1400d9377
mov dword [rsp + 0x44], 0
jmp 0x1400d91db
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 0x1400d9243
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 0x1400d9241
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x38]
call fcn.1400a9ef0
mov eax, dword [rsp + 0x58]
jmp 0x1400d9377
jmp 0x1400d91d0
mov rcx, qword [rsp + 0x38]
call fcn.1400a9ef0
jmp 0x1400d9375
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 0x1400d9299
xor eax, eax
jmp 0x1400d9377
mov ecx, dword [rsp + 0x5c]
call fcn.1400aba8c
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 0x1400d92eb
mov rcx, qword [rsp + 0x68]
call fcn.1400a9ef0
xor eax, eax
jmp 0x1400d9377
mov dword [rsp + 0x70], 0
jmp 0x1400d9300
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 0x1400d936b
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 0x1400d9369
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x68]
call fcn.1400a9ef0
mov eax, dword [rsp + 0x80]
jmp 0x1400d9377
jmp 0x1400d92f5
mov rcx, qword [rsp + 0x68]
call fcn.1400a9ef0
xor eax, eax
add rsp, 0x98
ret