Function at 0x1400d80c0
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 0x1400d8202
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 0x1400d8124
xor eax, eax
jmp 0x1400d8327
mov ecx, dword [rsp + 0x30]
call fcn.1400aa96c
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 0x1400d8176
mov rcx, qword [rsp + 0x38]
call fcn.1400a8e60
xor eax, eax
jmp 0x1400d8327
mov dword [rsp + 0x44], 0
jmp 0x1400d818b
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 0x1400d81f3
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.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x48], eax
jne 0x1400d81f1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x38]
call fcn.1400a8e60
mov eax, dword [rsp + 0x58]
jmp 0x1400d8327
jmp 0x1400d8180
mov rcx, qword [rsp + 0x38]
call fcn.1400a8e60
jmp 0x1400d8325
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 0x1400d8249
xor eax, eax
jmp 0x1400d8327
mov ecx, dword [rsp + 0x5c]
call fcn.1400aa96c
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 0x1400d829b
mov rcx, qword [rsp + 0x68]
call fcn.1400a8e60
xor eax, eax
jmp 0x1400d8327
mov dword [rsp + 0x70], 0
jmp 0x1400d82b0
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 0x1400d831b
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.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x74], eax
jne 0x1400d8319
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x68]
call fcn.1400a8e60
mov eax, dword [rsp + 0x80]
jmp 0x1400d8327
jmp 0x1400d82a5
mov rcx, qword [rsp + 0x68]
call fcn.1400a8e60
xor eax, eax
add rsp, 0x98
ret