Function at 0x41ce83
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
jmp 0x41ceeb
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 0x41cf10
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41cf2d
push 6
call fcn.0043896b
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00439cf0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41cf60
push ebx
call fcn.00438983
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 0x41cf89
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41cfa6
push 6
call fcn.0043896b
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 0x41cfc5
mov eax, 0x46c39b
push eax
push 2
mov ebx, 0x1a0
call fcn.00439f30
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 0x41d000
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x19c
call fcn.00439b50
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 0x41d02c
push ebx
call fcn.00438983
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41d044
and eax, 0xff
jmp 0x41d08f
cmp ecx, 0x80000201
jne 0x41d04f
cwde
jmp 0x41d08f
cmp ecx, 0x80000301
je 0x41d08f
cmp ecx, 0x80000401
je 0x41d08f
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41d07f
cmp ecx, 0x80000601
je 0x41d084
push 2
call fcn.0043896b
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41d08a
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402f03
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x41d0ad
mov eax, 0x46c304
jmp 0x41d748
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 0x41d714
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x46c3e3]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402f03
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d108
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
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 0x41d143
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x19c
call fcn.00439b50
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 0x41d16f
push ebx
call fcn.00438983
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d187
and eax, 0xff
jmp 0x41d1d2
cmp ecx, 0x80000201
jne 0x41d192
cwde
jmp 0x41d1d2
cmp ecx, 0x80000301
je 0x41d1d2
cmp ecx, 0x80000401
je 0x41d1d2
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d1c2
cmp ecx, 0x80000601
je 0x41d1c7
push 2
call fcn.0043896b
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d1cd
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402f03
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x779da4]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402f03
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d216
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d240
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x779dac]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402f03
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d285
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
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 0x41d2c0
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x19c
call fcn.00439b50
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 0x41d2ec
push ebx
call fcn.00438983
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d304
and eax, 0xff
jmp 0x41d34f
cmp ecx, 0x80000201
jne 0x41d30f
cwde
jmp 0x41d34f
cmp ecx, 0x80000301
je 0x41d34f
cmp ecx, 0x80000401
je 0x41d34f
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d33f
cmp ecx, 0x80000601
je 0x41d344
push 2
call fcn.0043896b
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d34a
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402f03
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x779db4]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402f03
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d393
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
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 0x41d3ce
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x19c
call fcn.00439b50
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 0x41d3fa
push ebx
call fcn.00438983
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41d412
and eax, 0xff
jmp 0x41d45d
cmp ecx, 0x80000201
jne 0x41d41d
cwde
jmp 0x41d45d
cmp ecx, 0x80000301
je 0x41d45d
cmp ecx, 0x80000401
je 0x41d45d
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41d44d
cmp ecx, 0x80000601
je 0x41d452
push 2
call fcn.0043896b
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41d458
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402f03
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x779dbc]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402f03
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d4a1
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d4cb
push ebx
call fcn.00438983
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 0x41d4fa
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a330
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 0x41d535
mov eax, 0x46c39b
push eax
push 3
mov ebx, 0x19c
call fcn.00439b50
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 0x41d561
push ebx
call fcn.00438983
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41d579
and eax, 0xff
jmp 0x41d5c4
cmp ecx, 0x80000201
jne 0x41d584
cwde
jmp 0x41d5c4
cmp ecx, 0x80000301
je 0x41d5c4
cmp ecx, 0x80000401
je 0x41d5c4
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41d5b4
cmp ecx, 0x80000601
je 0x41d5b9
push 2
call fcn.0043896b
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41d5bf
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402f03
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41d708
push dword [ebp - 0x28]
call fcn.0041d780
mov dword [ebp - 0x30], eax
push 0x47f2ba
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 0x41d60a
push ebx
call fcn.00438983
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41d708
push dword [ebp - 0x28]
call fcn.0041d780
mov dword [ebp - 0x30], eax
push 0x779dc4
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 0x41d64d
push ebx
call fcn.00438983
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41d708
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x41d708
push dword [ebp - 0x28]
call fcn.0041d780
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 0x41d690
push 6
call fcn.0043896b
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0043a000
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x46c302
push dword [ebp - 0x3c]
push 0x47f233
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 0x41d6e0
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41d6f0
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41d704
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41d0b9
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41d733
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00438977
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41d748
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d759
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d769
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41d779
push ebx
call fcn.00438983
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4