Function at 0x41d1e6
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 0x41d261
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41d27e
push 6
call fcn.00439f3a
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.0043b2b0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d2b1
push ebx
call fcn.00439f52
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 0x41d2da
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41d2f7
push 6
call fcn.00439f3a
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 0x41d316
mov eax, 0x46e39f
push eax
push 2
mov ebx, 0x1a0
call fcn.0043b4f0
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 0x41d351
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x41d37d
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41d395
and eax, 0xff
jmp 0x41d3e0
cmp ecx, 0x80000201
jne 0x41d3a0
cwde
jmp 0x41d3e0
cmp ecx, 0x80000301
je 0x41d3e0
cmp ecx, 0x80000401
je 0x41d3e0
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41d3d0
cmp ecx, 0x80000601
je 0x41d3d5
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41d3db
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ed7
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x41d3fe
mov eax, 0x46e300
jmp 0x41da89
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 0x41da65
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x46e3e7]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d459
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x41d494
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x41d4c0
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d4d8
and eax, 0xff
jmp 0x41d523
cmp ecx, 0x80000201
jne 0x41d4e3
cwde
jmp 0x41d523
cmp ecx, 0x80000301
je 0x41d523
cmp ecx, 0x80000401
je 0x41d523
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d513
cmp ecx, 0x80000601
je 0x41d518
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d51e
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9c0e07]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d567
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d591
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9c0e0f]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d5d6
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x41d611
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x41d63d
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d655
and eax, 0xff
jmp 0x41d6a0
cmp ecx, 0x80000201
jne 0x41d660
cwde
jmp 0x41d6a0
cmp ecx, 0x80000301
je 0x41d6a0
cmp ecx, 0x80000401
je 0x41d6a0
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d690
cmp ecx, 0x80000601
je 0x41d695
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d69b
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9c0e17]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d6e4
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x41d71f
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x41d74b
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d763
and eax, 0xff
jmp 0x41d7ae
cmp ecx, 0x80000201
jne 0x41d76e
cwde
jmp 0x41d7ae
cmp ecx, 0x80000301
je 0x41d7ae
cmp ecx, 0x80000401
je 0x41d7ae
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d79e
cmp ecx, 0x80000601
je 0x41d7a3
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d7a9
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9c0e1f]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d7f2
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d81c
push ebx
call fcn.00439f52
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 0x41d84b
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x41d886
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x41d8b2
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41d8ca
and eax, 0xff
jmp 0x41d915
cmp ecx, 0x80000201
jne 0x41d8d5
cwde
jmp 0x41d915
cmp ecx, 0x80000301
je 0x41d915
cmp ecx, 0x80000401
je 0x41d915
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41d905
cmp ecx, 0x80000601
je 0x41d90a
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41d910
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ed7
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41da59
push dword [ebp - 0x28]
call fcn.0041dac1
mov dword [ebp - 0x30], eax
push str.127.0.0.1
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 0x41d95b
push ebx
call fcn.00439f52
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41da59
push dword [ebp - 0x28]
call fcn.0041dac1
mov dword [ebp - 0x30], eax
push 0x9c0e27
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 0x41d99e
push ebx
call fcn.00439f52
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41da59
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x41da59
push dword [ebp - 0x28]
call fcn.0041dac1
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 0x41d9e1
push 6
call fcn.00439f3a
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0043b5c0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x46e303
push dword [ebp - 0x3c]
push 0x492587
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 0x41da31
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41da41
push ebx
call fcn.00439f52
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41da55
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41d40a
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41da84
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00439f46
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41da89
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41da9a
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41daaa
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41daba
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4