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

Disassembly:
push 0x88
mov eax, 0x1005d1b3
call fcn.100425c1
and dword [ebp - 0x24], 0
mov edi, 0x10077b78
call fcn.1001c89a
push 0
mov edi, 0x1001f78d
call fcn.10027d6c
push 6
pop edx
lea ebx, [ebp - 0x5c]
call fcn.10030df6
xor esi, esi
push esi
push 5
push 2
push esi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x14], esi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp dword [ebp - 0x14], esi
jbe 0x1001fc4c
push dword [ebp - 0x14]
call fcn.1004100b
pop ecx
push esi
push 5
push 2
mov ebx, eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x20], ebx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
test eax, eax
jne 0x1001fc45
mov dword [ebp - 0x1c], esi
cmp dword [ebx], esi
jbe 0x1001fc45
add ebx, 0xd
mov dword [ebp - 0x18], ebx
jmp 0x1001f8ac
mov ebx, dword [ebp - 0x18]
push esi
push esi
lea eax, [ebp - 0x44]
call fcn.10031e83
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x28], esp
push 0x10065430
call fcn.10030ec1
lea eax, [ebp - 0x44]
push eax
mov edx, str.protocol
mov byte [ebp - 4], 5
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100311c7
mov eax, dword [ebx - 5]
lea ecx, [ebp - 0x78]
call fcn.10027c93
sub esp, 0x18
mov byte [ebp - 4], 6
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.localAddr
mov byte [ebp - 4], 7
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 6
call fcn.100311c7
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10004d1a
mov ax, word [ebx - 1]
movzx ecx, byte [ebx]
shl ax, 8
movzx eax, ax
sub esp, 0x18
or eax, ecx
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10030e63
lea eax, [ebp - 0x44]
push eax
mov edx, str.localPort
mov byte [ebp - 4], 8
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100311c7
mov eax, dword [ebx + 3]
lea ecx, [ebp - 0x78]
call fcn.10027c93
sub esp, 0x18
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.remoteAddr
mov byte [ebp - 4], 0xa
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 9
call fcn.100311c7
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10004d1a
mov ax, word [ebx + 7]
movzx ecx, byte [ebx + 8]
shl ax, 8
movzx eax, ax
sub esp, 0x18
or eax, ecx
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10030e63
lea eax, [ebp - 0x44]
push eax
mov edx, str.remotePort
mov byte [ebp - 4], 0xb
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100311c7
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x28], esp
push dword [ebx + 0xb]
call fcn.10030e63
lea eax, [ebp - 0x44]
push eax
mov edx, 0x1006320c
mov byte [ebp - 4], 0xc
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100311c7
push dword [ebx + 0xb]
lea eax, [ebp - 0x94]
push eax
call fcn.1001f7b2
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0xd
call fcn.10001246
push ecx
push ecx
mov byte [ebp - 4], 0xe
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.procName
mov byte [ebp - 4], 0xf
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.100311c7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.10004d1a
push edi
push 1
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.10004e12
push edi
push dword [ebx + 0xb]
xor esi, esi
lea ebx, [ebp - 0x94]
call fcn.1003a905
mov byte [ebp - 4], 0x10
sub esp, 0x10
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.hash4k
mov byte [ebp - 4], 0x11
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.100311c7
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10004d1a
lea eax, [ebp - 0x44]
push eax
mov edx, str.remotePort
call fcn.100321b8
mov esi, eax
call fcn.10031468
mov ebx, dword [ebp - 0x18]
push eax
push dword [ebx + 3]
lea eax, [ebp - 0x44]
push eax
mov edx, str.localPort
call fcn.100321b8
mov esi, eax
call fcn.10031468
push eax
push dword [ebx - 5]
lea esi, [ebp - 0x94]
push str.tcp__08x:_d__08x:_d
call fcn.10028de6
push ecx
mov byte [ebp - 4], 0x12
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.mark
mov byte [ebp - 4], 0x13
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.100311c7
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.10004d1a
mov eax, dword [ebx - 9]
cmp eax, 1
jne 0x1001fb6b
mov eax, str.CLOSED
jmp 0x1001fbe6
cmp eax, 2
jne 0x1001fb77
mov eax, str.LISTENING
jmp 0x1001fbe6
cmp eax, 3
jne 0x1001fb83
mov eax, str.SYN_SENT
jmp 0x1001fbe6
cmp eax, 4
jne 0x1001fb8f
mov eax, str.SYN_RCVD
jmp 0x1001fbe6
cmp eax, 5
jne 0x1001fb9b
mov eax, str.ESTABLISHED
jmp 0x1001fbe6
cmp eax, 6
jne 0x1001fba7
mov eax, str.FIN_WAIT1
jmp 0x1001fbe6
cmp eax, 7
jne 0x1001fbb3
mov eax, str.FIN_WAIT2
jmp 0x1001fbe6
cmp eax, 8
jne 0x1001fbbf
mov eax, str.CLOSE_WAIT
jmp 0x1001fbe6
cmp eax, 9
jne 0x1001fbcb
mov eax, str.CLOSING
jmp 0x1001fbe6
cmp eax, 0xa
jne 0x1001fbd7
mov eax, str.LAST_ACK
jmp 0x1001fbe6
cmp eax, 0xb
mov eax, str.TIME_WAIT
je 0x1001fbe6
mov eax, 0x100654fc
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10030ec1
lea eax, [ebp - 0x44]
push eax
mov edx, str.state
mov byte [ebp - 4], 0x14
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100311c7
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10032209
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10031144
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ebx, 0x18
xor esi, esi
mov dword [ebp - 0x18], ebx
cmp ecx, dword [eax]
jb 0x1001f8a9
mov ebx, eax
push ebx
call fcn.10040f2e
pop ecx
push esi
push 1
push 2
push esi
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x14], esi
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
cmp dword [ebp - 0x14], esi
jbe 0x1001fef7
push dword [ebp - 0x14]
call fcn.1004100b
pop ecx
push esi
push 1
push 2
mov edi, eax
push esi
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x20], edi
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
test eax, eax
jne 0x1001fef0
mov dword [ebp - 0x1c], esi
cmp dword [edi], esi
jbe 0x1001fef0
lea ebx, [edi + 0xc]
mov dword [ebp - 0x18], ebx
jmp 0x1001fca6
mov ebx, dword [ebp - 0x18]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x44]
call fcn.10031e83
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov esi, esp
mov dword [ebp - 0x28], esp
push 0x10065500
call fcn.10030ec1
lea eax, [ebp - 0x44]
push eax
mov edx, str.protocol
mov byte [ebp - 4], 0x18
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.100311c7
mov eax, dword [ebx - 8]
lea ecx, [ebp - 0x94]
call fcn.10027c93
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.localAddr
mov byte [ebp - 4], 0x1a
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x19
call fcn.100311c7
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.10004d1a
mov ax, word [ebx - 4]
movzx ecx, byte [ebx - 3]
shl ax, 8
movzx eax, ax
sub esp, 0x18
or eax, ecx
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10030e63
lea eax, [ebp - 0x44]
push eax
mov edx, str.localPort
mov byte [ebp - 4], 0x1b
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.100311c7
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x28], esp
push dword [ebx]
call fcn.10030e63
lea eax, [ebp - 0x44]
push eax
mov edx, 0x1006320c
mov byte [ebp - 4], 0x1c
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.100311c7
push dword [ebx]
lea eax, [ebp - 0x78]
push eax
call fcn.1001f7b2
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x1d
call fcn.10001246
push ecx
push ecx
mov byte [ebp - 4], 0x1e
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.procName
mov byte [ebp - 4], 0x1f
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x1e
call fcn.100311c7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x94]
call fcn.10004d1a
push edi
push 1
lea esi, [ebp - 0x78]
mov byte [ebp - 4], 0x17
call fcn.10004e12
push edi
push dword [ebx]
xor esi, esi
lea ebx, [ebp - 0x94]
call fcn.1003a905
sub esp, 0x10
mov byte [ebp - 4], 0x20
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
push eax
mov edx, str.hash4k
mov byte [ebp - 4], 0x21
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.100311c7
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.10004d1a
lea eax, [ebp - 0x44]
push eax
mov edx, str.localPort
call fcn.100321b8
mov esi, eax
call fcn.10031468
push eax
mov eax, dword [ebp - 0x18]
push dword [eax - 8]
lea esi, [ebp - 0x94]
push str.udp__08x:_d
call fcn.10028de6
sub esp, 0xc
mov byte [ebp - 4], 0x22
mov edx, eax
mov esi, esp
mov dword [ebp - 0x28], esp
call fcn.10030f74
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x23
push eax
mov edx, str.mark
call fcn.100321b8
mov edi, eax
mov byte [ebp - 4], 0x22
call fcn.100311c7
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x17
call fcn.10004d1a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10032209
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10031144
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0xc
cmp ecx, dword [eax]
jb 0x1001fca1
mov edi, eax
push edi
call fcn.10040f2e
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.1003264a
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
call fcn.10031144
mov eax, dword [ebp + 8]
call fcn.10042699
ret