Function at 0x14001f3f0
Capabilities:
List tcp connections and listeners

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov r14, r9
mov r15, r8
mov ebp, edx
mov r13, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x3c], 0x78
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x40]
lea rdx, str._ProxyMonitor::getProcessByPort_
lea rcx, [rsp + 0x50]
call fcn.140001d10
nop
xor r12b, r12b
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 5
lea r9d, [rdi + 2]
xor r8d, r8d
lea rdx, [rsp + 0x38]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.MSVCR90.dll_malloc]
mov rsi, rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 5
lea r9d, [rdi + 2]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rax
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
test eax, eax
jne 0x14001f6df
test rsi, rsi
je 0x14001f7c7
cmp dword [rsi], eax
jbe 0x14001f7c7
lea rbx, [rsi + 4]
movzx ecx, word [rbx + 8]
call sub.WS2_32.dll_ntohs
movzx r11d, ax
cmp ebp, r11d
je 0x14001f4e8
inc edi
add rbx, 0x18
cmp edi, dword [rsi]
jb 0x14001f4c7
jmp 0x14001f7c7
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14001f5d0
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x14001f5d0
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProxyMonitor::getProcessByPort_
lea rcx, [rsp + 0x70]
call fcn.140002150
mov rcx, rax
lea rdx, str.pid2name_call
call fcn.140002150
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae r8, qword [rsp + 0x168]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x178]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov r9, r14
mov r8, r15
mov edx, dword [rbx + 0x14]
mov rcx, r13
call fcn.14001f820
movzx r12d, al
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14001f7c7
mov r9, qword [rcx]
mov edx, 0x7d0
call qword [r9 + 0x10]
test eax, eax
je 0x14001f7c7
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProxyMonitor::getProcessByPort_
lea rcx, [rsp + 0x70]
call fcn.140002150
mov rcx, rax
lea rdx, str.pid2name_return:
call fcn.140002150
mov rcx, rax
mov rdx, r15
call qword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae r8, qword [rsp + 0x168]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x178]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
jmp 0x14001f7c7
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14001f7c7
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x14001f7c7
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProxyMonitor::getProcessByPort_
lea rcx, [rsp + 0x70]
call fcn.140002150
mov rcx, rax
lea rdx, str.Failed_to_get_GetExtendedTcpTable
call fcn.140002150
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae r8, qword [rsp + 0x168]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x178]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_free]
nop
lea rcx, [rsp + 0x50]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, r12b
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140155650
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret