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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x24], edx
push edi
push 8
xor eax, eax
mov dword [ebp - 0x28], ecx
push 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push edi
push eax
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
push dword [ebp - 4]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edi
push 8
push 2
mov ebx, eax
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
test eax, eax
jne 0x43a59f
mov eax, dword [ebx]
mov dword [ebp - 8], eax
jmp 0x43a5b3
push ebx
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push 0
push 8
push 0x17
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
push dword [ebp - 4]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 8
push 0x17
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
test eax, eax
jne 0x43a601
mov eax, dword [ebp - 8]
add eax, dword [esi]
mov dword [ebp - 8], eax
jmp 0x43a613
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x1c], edi
push 0
push 2
push 2
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
push dword [ebp - 4]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 2
push 2
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
test eax, eax
jne 0x43a661
mov eax, dword [ebp - 8]
add eax, dword [esi]
mov dword [ebp - 8], eax
jmp 0x43a673
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x20], edi
push 0
push 2
push 0x17
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
push dword [ebp - 4]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 2
push 0x17
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
test eax, eax
jne 0x43a6c1
mov eax, dword [ebp - 8]
add eax, dword [esi]
mov dword [ebp - 8], eax
jmp 0x43a6d6
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], edi
imul esi, eax, 0xd0
push esi
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.004dce30
add esp, 0xc
test ebx, ebx
je 0x43a7b8
cmp dword [ebx], edi
jbe 0x43a7a9
mov edx, dword [ebp - 0x10]
add ebx, 0x10
add edx, 8
mov dword [edx - 8], 0x11
lea esi, [ebx + 0x18]
mov dword [edx - 4], 1
lea edi, [edx + 0x40]
mov eax, dword [ebx - 4]
lea ebx, [ebx + 0xa0]
mov dword [edx], eax
movzx eax, word [ebx - 0xa0]
mov ch, al
mov dword [edx + 0x14], 1
mov cl, ah
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [ebx - 0x9c]
mov dword [edx + 0x18], eax
movzx eax, word [ebx - 0x98]
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, 0x20
mov dword [edx + 0x28], eax
mov eax, dword [ebx - 0xa8]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx - 0x94]
mov dword [edx + 0x30], eax
mov eax, dword [ebx - 0x90]
mov dword [edx + 0x38], eax
mov eax, dword [ebx - 0x8c]
mov dword [edx + 0x3c], eax
add edx, 0xd0
mov eax, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
inc edi
mov dword [ebp - 0xc], edi
cmp edi, dword [eax]
jb 0x43a713
mov ebx, eax
push ebx
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43a8dc
cmp dword [eax], 0
mov dword [ebp - 0x18], 0
jbe 0x43a8cd
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + 0x1c]
imul eax, edi, 0xd0
lea edx, [ecx + 8]
add edx, eax
mov dword [edx - 8], 0x12
lea esi, [ebx + 0x2c]
mov dword [edx - 4], 2
lea edi, [edx + 0x40]
mov eax, dword [ebx - 0x14]
lea ebx, [ebx + 0xc0]
mov dword [edx], eax
mov eax, dword [ebx - 0xd0]
mov dword [edx + 4], eax
mov eax, dword [ebx - 0xcc]
mov dword [edx + 8], eax
mov eax, dword [ebx - 0xc8]
mov dword [edx + 0xc], eax
movzx eax, word [ebx - 0xc0]
mov ch, al
mov dword [edx + 0x14], 2
mov cl, ah
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [ebx - 0xbc]
mov dword [edx + 0x18], eax
mov eax, dword [ebx - 0xb8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx - 0xb4]
mov dword [edx + 0x20], eax
mov eax, dword [ebx - 0xb0]
mov dword [edx + 0x24], eax
movzx eax, word [ebx - 0xa8]
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, 0x20
mov dword [edx + 0x28], eax
mov eax, dword [ebx - 0xa4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx - 0xa0]
mov dword [edx + 0x30], eax
mov eax, dword [ebx - 0x9c]
mov dword [edx + 0x38], eax
mov eax, dword [ebx - 0x98]
mov dword [edx + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx - 0xc4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
inc ecx
mov dword [edx + 0xc0], eax
inc edi
mov eax, dword [ebx - 0xac]
mov dword [edx + 0xc4], eax
add edx, 0xd0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax]
jb 0x43a7e4
push eax
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43a99a
cmp dword [eax], 0
mov dword [ebp - 0x1c], 0
jbe 0x43a98b
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + 0xc]
imul eax, edi, 0xd0
lea edx, [ecx + 8]
add edx, eax
jmp 0x43a910
mov dword [edx - 8], 0x21
lea esi, [ebx + 0x1c]
mov dword [edx - 4], 1
lea edi, [edx + 0x40]
mov eax, dword [ebx - 4]
lea ebx, [ebx + 0xa0]
mov dword [edx], eax
mov ax, word [ebx - 0xa0]
mov ch, al
mov dword [edx + 0x14], 0
mov cl, ah
mov dword [edx + 0x2c], 0
movzx eax, cx
mov ecx, 0x20
mov dword [edx + 0x10], eax
mov eax, dword [ebx - 0x9c]
mov dword [edx + 0x30], eax
mov eax, dword [ebx - 0x94]
mov dword [edx + 0x38], eax
mov eax, dword [ebx - 0x90]
mov dword [edx + 0x3c], eax
add edx, 0xd0
mov eax, dword [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
inc ecx
inc edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], edi
cmp ecx, dword [eax]
jb 0x43a910
push eax
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43aa89
cmp dword [eax], 0
mov dword [ebp - 0x20], 0
jbe 0x43aa7a
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + 0x1c]
imul eax, edi, 0xd0
add ecx, 8
add eax, ecx
mov dword [eax - 8], 0x22
lea esi, [ebx + 0x1c]
mov dword [eax - 4], 2
lea edi, [eax + 0x40]
mov ecx, dword [ebx - 0x14]
lea eax, [eax + 0xd0]
mov dword [eax - 0xd0], ecx
lea ebx, [ebx + 0xb0]
mov ecx, dword [ebx - 0xc0]
mov dword [eax - 0xcc], ecx
mov ecx, dword [ebx - 0xbc]
mov dword [eax - 0xc8], ecx
mov ecx, dword [ebx - 0xb8]
mov dword [eax - 0xc4], ecx
mov cx, word [ebx - 0xb0]
mov dh, cl
mov dword [eax - 0xbc], 0
mov dl, ch
mov dword [eax - 0xa4], 0
movzx ecx, dx
mov edx, dword [ebp - 0x20]
mov dword [eax - 0xc0], ecx
inc edx
mov ecx, dword [ebx - 0xac]
mov dword [eax - 0xa0], ecx
mov ecx, dword [ebx - 0xa4]
mov dword [eax - 0x98], ecx
mov ecx, dword [ebx - 0xa0]
mov dword [eax - 0x94], ecx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp edx, dword [ecx]
jb 0x43a9c6
mov eax, ecx
push eax
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
pop ebx
mov dword [ecx], eax
mov al, 1
mov esp, ebp
pop ebp
ret