Function at 0x418aa9
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], esp
push 0
push 5
push 2
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x418b24
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x418b41
push 6
call fcn.00434227
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.004355a0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418b74
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
push 0
push 5
push 2
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x418b9d
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x418bba
push 6
call fcn.00434227
add esp, 4
push 0x80000301
push 0
push 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418bd9
mov eax, 0x4683a1
push eax
push 2
mov ebx, 0x1a0
call fcn.004357e0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418c14
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x19c
call fcn.00435400
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x418c40
push ebx
call fcn.0043423f
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x418c58
and eax, 0xff
jmp 0x418ca3
cmp ecx, 0x80000201
jne 0x418c63
cwde
jmp 0x418ca3
cmp ecx, 0x80000301
je 0x418ca3
cmp ecx, 0x80000401
je 0x418ca3
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x418c93
cmp ecx, 0x80000601
je 0x418c98
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x44]
jmp 0x418c9e
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402e79
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x418cc1
mov eax, 0x468304
jmp 0x41934c
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x419328
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x4683e9]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402e79
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418d1c
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x40], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x418d57
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x19c
call fcn.00435400
add esp, 0x28
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x418d83
push ebx
call fcn.0043423f
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418d9b
and eax, 0xff
jmp 0x418de6
cmp ecx, 0x80000201
jne 0x418da6
cwde
jmp 0x418de6
cmp ecx, 0x80000301
je 0x418de6
cmp ecx, 0x80000401
je 0x418de6
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x418dd6
cmp ecx, 0x80000601
je 0x418ddb
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418de1
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402e79
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x775175]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402e79
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418e2a
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418e54
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x77517d]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402e79
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418e99
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x40], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x418ed4
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x19c
call fcn.00435400
add esp, 0x28
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x418f00
push ebx
call fcn.0043423f
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418f18
and eax, 0xff
jmp 0x418f63
cmp ecx, 0x80000201
jne 0x418f23
cwde
jmp 0x418f63
cmp ecx, 0x80000301
je 0x418f63
cmp ecx, 0x80000401
je 0x418f63
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x418f53
cmp ecx, 0x80000601
je 0x418f58
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418f5e
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402e79
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x775185]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402e79
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418fa7
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x40], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x418fe2
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x19c
call fcn.00435400
add esp, 0x28
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41900e
push ebx
call fcn.0043423f
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x419026
and eax, 0xff
jmp 0x419071
cmp ecx, 0x80000201
jne 0x419031
cwde
jmp 0x419071
cmp ecx, 0x80000301
je 0x419071
cmp ecx, 0x80000401
je 0x419071
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x419061
cmp ecx, 0x80000601
je 0x419066
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41906c
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402e79
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x77518d]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402e79
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4190b5
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4190df
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 1
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41910e
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x1a8
call fcn.00435be0
add esp, 0x28
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x419149
mov eax, 0x4683a1
push eax
push 3
mov ebx, 0x19c
call fcn.00435400
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x419175
push ebx
call fcn.0043423f
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41918d
and eax, 0xff
jmp 0x4191d8
cmp ecx, 0x80000201
jne 0x419198
cwde
jmp 0x4191d8
cmp ecx, 0x80000301
je 0x4191d8
cmp ecx, 0x80000401
je 0x4191d8
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x4191c8
cmp ecx, 0x80000601
je 0x4191cd
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x44]
jmp 0x4191d3
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402e79
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41931c
push dword [ebp - 0x28]
call fcn.00419384
mov dword [ebp - 0x30], eax
push 0x775195
push dword [ebp - 0x30]
call fcn.004010e7
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41921e
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41931c
push dword [ebp - 0x28]
call fcn.00419384
mov dword [ebp - 0x30], eax
push 0x77519f
push dword [ebp - 0x30]
call fcn.004010e7
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x419261
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41931c
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x41931c
push dword [ebp - 0x28]
call fcn.00419384
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.WSOCK32.dll_ntohs]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4192a4
push 6
call fcn.00434227
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004358b0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x468302
push dword [ebp - 0x3c]
push 0x7751a7
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.0040106b
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4192f4
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x419304
push ebx
call fcn.0043423f
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x419318
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x418ccd
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x419347
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00434233
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41934c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41935d
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41936d
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41937d
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4