Function at 0x1005df30
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x18], 0
je 0x1005dfa4
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_612
push 0
push 1
lea eax, [ebp - 0x7c]
push eax
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._tpTcpTable_begin_malloc._dwRemoteAddr__lu_
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x60]
mov dword [edx], eax
mov ecx, dword [ebp - 0x5c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x58]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x14
push 0x1c
call fcn.10193815
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1005e007
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_617
push 0
push 3
lea ecx, [ebp - 0x94]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
push 0x10236b90
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x10
xor eax, eax
jmp 0x1005e31a
mov dword [ebp - 8], 0x1c
push 0
push 4
push 2
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x57
jne 0x1005e07d
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_626
push 0
push 3
lea ecx, [ebp - 0xac]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x4c], edx
push str._tGetExtendedTcpTable_Error_ERROR_INVALID_PARAMETER.
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x10
xor eax, eax
jmp 0x1005e31a
cmp dword [ebp - 0x18], 0x7a
jne 0x1005e0f4
mov edx, dword [ebp - 0x10]
push edx
call fcn.101938a7
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10193815
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1005e0f4
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_633
push 0
push 3
lea ecx, [ebp - 0x88]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x44], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x40], edx
push str._tpTcpTable_Error_allocating_memory.
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x10
xor eax, eax
jmp 0x1005e31a
mov dword [ebp - 0x20], 0
push 0
push 4
push 2
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
test eax, eax
jne 0x1005e11e
mov dword [ebp - 0x1c], 1
jmp 0x1005e125
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x1005e2dd
cmp dword [ebp + 0x18], 0
je 0x1005e18a
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_643
push 0
push 1
lea edx, [ebp - 0xa0]
push edx
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
push str._tpTcpTable_Number_of_entries:__d.
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x68]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x14
mov dword [ebp - 0x14], 0
jmp 0x1005e19c
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jge 0x1005e2db
imul edx, dword [ebp - 0x14], 0x18
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + edx + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov dword [ebp - 0x24], edx
imul eax, dword [ebp - 0x14], 0x18
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax + 0x18]
cmp edx, dword [ebp + 8]
jne 0x1005e2d6
cmp dword [ebp + 0xc], 0
je 0x1005e1f1
imul eax, dword [ebp - 0x14], 0x18
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x1005e2d6
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0x10]
jne 0x1005e2d6
imul ecx, dword [ebp - 0x14], 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x18], 0
je 0x1005e279
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._ZSServerMag.cpp:CZSServerMag::GetMIBTcpRow__:Line_654
push 0
push 1
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
imul edx, dword [ebp - 0x14], 0x18
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._tdwRemoteAddr__lu__pid:_lu_tip:_s_tport_lu.
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x20
imul edx, dword [ebp - 0x14], 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + edx + 4]
mov dword [eax], edx
imul eax, dword [ebp - 0x14], 0x18
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax + 8]
mov dword [ecx + 4], eax
imul ecx, dword [ebp - 0x14], 0x18
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ecx + 0xc]
mov dword [edx + 8], ecx
imul edx, dword [ebp - 0x14], 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + edx + 0x10]
mov dword [eax + 0xc], edx
imul eax, dword [ebp - 0x14], 0x18
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ebp - 0x20], 1
jmp 0x1005e2db
jmp 0x1005e193
jmp 0x1005e2fe
mov ecx, dword [ebp - 0x18]
push ecx
push str._tGetTcpTable_failed_with__d_n
call fcn.10193e1f
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.101938a7
add esp, 4
xor eax, eax
jmp 0x1005e31a
cmp dword [ebp - 0x10], 0
je 0x1005e317
mov eax, dword [ebp - 0x10]
push eax
call fcn.101938a7
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x14