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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5c7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], edx
push ebx
push 8
push 2
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 0x38], ecx
push eax
xor esi, esi
mov dword [ebp - 8], ebx
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
push dword ds:[ebp - 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
push 8
push 2
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
test eax, eax
jne 0x4503cb
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], edi
mov esi, dword [edi]
mov dword [ebp - 0x18], esi
jmp 0x4503df
push dword [ebp - 0xc]
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x20], ebx
push 0
push 8
push 0x17
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
push dword [ebp - 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 8
push 0x17
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea ecx, [ecx]
test eax, eax
jne 0x450431
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14], edi
add esi, dword [edi]
mov dword [ebp - 0x18], esi
jmp 0x450449
push dword ds:[ebp - 0xc]
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x14], ebx
push 0
push 2
push 2
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
push dword [ebp - 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 2
push 2
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
test eax, eax
jne 0x45049e
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x24], edi
add esi, dword [edi]
mov dword [ebp - 0x18], esi
jmp 0x4504b2
push dword [ebp - 0xc]
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x24], ebx
push 0
push 2
push 0x17
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
push dword [ebp - 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
push 2
push 0x17
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
test eax, eax
jne 0x450502
mov eax, dword ds:[ebp - 0xc]
mov dword [ebp - 0x28], eax
add esi, dword [eax]
mov dword [ebp - 0x18], esi
jmp 0x450516
push dword [ebp - 0xc]
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x28], ebx
cmp byte [0x5c79ca], bl
je 0x450578
mov edi, edi
cmp dword [sym.imp.IPHLPAPI.DLL_InternalGetBoundTcpEndpointTable], ebx
je 0x45054b
push 0
push dword [0x5cd55c]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.IPHLPAPI.DLL_InternalGetBoundTcpEndpointTable]
test eax, eax
jne 0x45054b
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edi
add esi, dword [edi]
mov dword [ebp - 0x18], esi
jmp 0x450550
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [sym.imp.IPHLPAPI.DLL_InternalGetBoundTcp6EndpointTable], ebx
je 0x45057d
push 0
push dword [0x5cd55c]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.IPHLPAPI.DLL_InternalGetBoundTcp6EndpointTable]
test eax, eax
jne 0x45057d
mov eax, dword [ebp - 0xc]
add esi, dword [eax]
mov dword [ebp - 0x18], esi
jmp 0x45057f
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
imul esi, esi, 0xd0
mov dword [ebp - 0x30], eax
push esi
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1c], edi
call fcn.00536b00
mov eax, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
je 0x450650
cmp dword [eax], ebx
jbe 0x450641
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
lea edx, [edi + 8]
mov dword [edx - 8], 0x11
lea edi, [edx + 0x40]
mov dword [edx - 4], 1
inc ebx
mov eax, dword [esi - 4]
mov dword [edx], eax
movzx eax, word [esi]
mov ch, al
mov dword [edx + 0x14], 1
mov cl, ah
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x18], eax
movzx eax, word [esi + 8]
mov ch, al
mov cl, ah
movzx eax, cx
mov dword [edx + 0x28], eax
mov eax, dword [esi - 8]
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
add esi, 0x18
mov dword [edx + 0x3c], ecx
mov ecx, 0x20
mov dword [edx + 0x38], eax
add edx, 0xd0
mov eax, dword [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
add esi, 0xa0
mov dword [ebp - 0x10], esi
cmp ebx, dword [eax]
jb 0x4505c4
mov edi, dword [ebp - 0x1c]
push eax
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45074a
cmp dword [eax], 0
mov dword [ebp - 0x10], 0
jbe 0x45073b
lea esi, [eax + 0x1c]
imul eax, ebx, 0xd0
lea edx, [edi + 8]
mov dword [ebp - 0x20], esi
add edx, eax
lea esp, [esp]
mov dword [edx - 8], 0x12
lea edi, [edx + 0x40]
mov dword [edx - 4], 2
inc ebx
mov eax, dword [esi - 0x14]
mov dword [edx], eax
mov eax, dword [esi - 0x10]
mov dword [edx + 4], eax
mov eax, dword [esi - 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi - 8]
mov dword [edx + 0xc], eax
movzx eax, word [esi]
mov ch, al
mov dword [edx + 0x14], 2
mov cl, ah
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x24], eax
movzx eax, word [esi + 0x18]
mov ch, al
mov cl, ah
movzx eax, cx
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
add esi, 0x2c
mov dword [edx + 0x3c], ecx
mov ecx, 0x20
mov dword [edx + 0x38], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [esi - 4]
mov dword [edx + 0xc0], eax
mov eax, dword [esi + 0x14]
add esi, 0xc0
mov dword [edx + 0xc4], eax
add edx, 0xd0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
cmp ecx, dword [eax]
jb 0x450680
push eax
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4507ff
cmp dword ds:[eax], 0
mov dword [ebp - 0x10], 0
jbe 0x4507f0
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0xc]
imul eax, ebx, 0xd0
mov dword [ebp - 0x14], esi
lea edx, [ecx + 8]
add edx, eax
lea ebx, [ebx]
mov dword [edx - 8], 0x21
lea edi, [edx + 0x40]
mov dword [edx - 4], 1
inc ebx
mov eax, dword [esi - 4]
mov dword [edx], eax
mov ax, word [esi]
mov ch, al
mov dword [edx + 0x14], 0
mov cl, ah
mov dword [edx + 0x2c], 0
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add esi, 0x1c
mov dword [edx + 0x3c], ecx
mov ecx, 0x20
mov dword [edx + 0x38], eax
add edx, 0xd0
mov eax, dword [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
inc eax
mov esi, dword [ebp - 0x14]
add esi, 0xa0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
cmp eax, dword [ecx]
jb 0x450780
mov eax, ecx
push eax
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4508c6
cmp dword [eax], 0
mov dword [ebp - 0x10], 0
jbe 0x4508b2
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x1c]
imul eax, ebx, 0xd0
mov dword [ebp - 0x14], esi
lea edx, [ecx + 8]
add edx, eax
mov edi, edi
mov dword [edx - 8], 0x22
lea edi, [edx + 0x40]
mov dword [edx - 4], 2
inc ebx
mov eax, dword [esi - 0x14]
mov dword [edx], eax
mov eax, dword [esi - 0x10]
mov dword [edx + 4], eax
mov eax, dword [esi - 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi - 8]
mov dword [edx + 0xc], eax
mov ax, word [esi]
mov ch, al
mov dword [edx + 0x14], 0
mov cl, ah
mov dword [edx + 0x2c], 0
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add esi, 0x1c
mov dword [edx + 0x3c], ecx
mov ecx, 0x20
mov dword [edx + 0x38], eax
add edx, 0xd0
mov eax, dword [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
inc eax
mov esi, dword [ebp - 0x14]
add esi, 0xb0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
cmp eax, dword [ecx]
jb 0x450830
mov eax, ecx
push eax
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp byte [0x5c79ca], 0
je 0x450a5a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x45095e
xor edi, edi
cmp dword [eax], edi
jbe 0x45094f
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0xc]
imul eax, ebx, 0xd0
lea edx, [ecx + 8]
add edx, eax
mov dword [edx - 8], 0x11
lea esi, [esi + 0x1c]
mov dword [edx - 4], 1
inc edi
mov eax, dword [esi - 0x20]
inc ebx
mov dword [edx], eax
movzx eax, word [esi - 0x1c]
mov ch, al
mov dword [edx + 0x14], 1
mov cl, ah
movzx eax, cx
mov dword [edx + 0x10], eax
mov eax, dword [esi - 0x18]
mov dword [edx + 0x18], eax
movzx eax, word [esi - 0x14]
mov ch, al
mov cl, ah
movzx eax, cx
mov dword [edx + 0x28], eax
mov eax, dword [esi - 0x24]
mov dword [edx + 0x2c], eax
mov eax, dword [esi - 0x10]
mov dword [edx + 0x30], eax
add edx, 0xd0
mov eax, dword [ebp - 0x2c]
cmp edi, dword [eax]
jb 0x4508f5
push eax
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x450a5a
cmp dword [edi], 0
mov dword [ebp - 0x10], 0
jbe 0x450a4b
mov ecx, dword [ebp - 0x1c]
lea esi, [edi + 0x18]
imul eax, ebx, 0xd0
add ecx, 8
add eax, ecx
lea ebx, [ebx]
mov dword [eax - 8], 0x12
lea eax, [eax + 0xd0]
mov dword [eax - 0xd4], 2
lea esi, [esi + 0x3c]
mov ecx, dword [esi - 0x50]
mov dword [eax - 0xd0], ecx
mov ecx, dword [esi - 0x4c]
mov dword [eax - 0xcc], ecx
mov ecx, dword [esi - 0x48]
mov dword [eax - 0xc8], ecx
mov ecx, dword [esi - 0x44]
mov dword [eax - 0xc4], ecx
movzx ecx, word [esi - 0x3c]
mov dh, cl
mov dword [eax - 0xbc], 2
mov dl, ch
movzx ecx, dx
mov dword [eax - 0xc0], ecx
mov ecx, dword [esi - 0x38]
mov dword [eax - 0xb8], ecx
mov ecx, dword [esi - 0x34]
mov dword [eax - 0xb4], ecx
mov ecx, dword [esi - 0x30]
mov dword [eax - 0xb0], ecx
mov ecx, dword [esi - 0x2c]
mov dword [eax - 0xac], ecx
movzx ecx, word [esi - 0x24]
mov dh, cl
mov dl, ch
movzx ecx, dx
mov dword [eax - 0xa8], ecx
mov ecx, dword [esi - 0x20]
mov dword [eax - 0xa4], ecx
mov ecx, dword [esi - 0x1c]
mov dword [eax - 0xa0], ecx
mov ecx, dword [esi - 0x40]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi - 0x28]
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi]
jb 0x450990
push edi
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
pop ebx
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret