Function at 0x41877d
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 0x4187f8
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x418815
push 6
call fcn.004327d6
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00433b60
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418848
push ebx
call fcn.004327ee
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 0x418871
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41888e
push 6
call fcn.004327d6
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 0x4188ad
mov eax, 0x466391
push eax
push 2
mov ebx, 0x1a0
call fcn.00433da0
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 0x4188e8
mov eax, 0x466391
push eax
push 3
mov ebx, 0x19c
call fcn.004339c0
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 0x418914
push ebx
call fcn.004327ee
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41892c
and eax, 0xff
jmp 0x418977
cmp ecx, 0x80000201
jne 0x418937
cwde
jmp 0x418977
cmp ecx, 0x80000301
je 0x418977
cmp ecx, 0x80000401
je 0x418977
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x418967
cmp ecx, 0x80000601
je 0x41896c
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x44]
jmp 0x418972
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ea1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x418995
mov eax, 0x466304
jmp 0x419020
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 0x418ffc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x4663d9]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ea1
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4189f0
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
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 0x418a2b
mov eax, 0x466391
push eax
push 3
mov ebx, 0x19c
call fcn.004339c0
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 0x418a57
push ebx
call fcn.004327ee
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418a6f
and eax, 0xff
jmp 0x418aba
cmp ecx, 0x80000201
jne 0x418a7a
cwde
jmp 0x418aba
cmp ecx, 0x80000301
je 0x418aba
cmp ecx, 0x80000401
je 0x418aba
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x418aaa
cmp ecx, 0x80000601
je 0x418aaf
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418ab5
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ea1
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x773184]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ea1
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418afe
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418b28
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x77318c]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ea1
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418b6d
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
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 0x418ba8
mov eax, 0x466391
push eax
push 3
mov ebx, 0x19c
call fcn.004339c0
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 0x418bd4
push ebx
call fcn.004327ee
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418bec
and eax, 0xff
jmp 0x418c37
cmp ecx, 0x80000201
jne 0x418bf7
cwde
jmp 0x418c37
cmp ecx, 0x80000301
je 0x418c37
cmp ecx, 0x80000401
je 0x418c37
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x418c27
cmp ecx, 0x80000601
je 0x418c2c
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418c32
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ea1
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x773194]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ea1
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418c7b
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
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 0x418cb6
mov eax, 0x466391
push eax
push 3
mov ebx, 0x19c
call fcn.004339c0
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 0x418ce2
push ebx
call fcn.004327ee
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418cfa
and eax, 0xff
jmp 0x418d45
cmp ecx, 0x80000201
jne 0x418d05
cwde
jmp 0x418d45
cmp ecx, 0x80000301
je 0x418d45
cmp ecx, 0x80000401
je 0x418d45
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x418d35
cmp ecx, 0x80000601
je 0x418d3a
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418d40
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ea1
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x77319c]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ea1
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418d89
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418db3
push ebx
call fcn.004327ee
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 0x418de2
mov eax, 0x466391
push eax
push 3
mov ebx, 0x1a8
call fcn.004341a0
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 0x418e1d
mov eax, 0x466391
push eax
push 3
mov ebx, 0x19c
call fcn.004339c0
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 0x418e49
push ebx
call fcn.004327ee
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x418e61
and eax, 0xff
jmp 0x418eac
cmp ecx, 0x80000201
jne 0x418e6c
cwde
jmp 0x418eac
cmp ecx, 0x80000301
je 0x418eac
cmp ecx, 0x80000401
je 0x418eac
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x418e9c
cmp ecx, 0x80000601
je 0x418ea1
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x44]
jmp 0x418ea7
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ea1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x418ff0
push dword [ebp - 0x28]
call fcn.00419058
mov dword [ebp - 0x30], eax
push 0x7731a4
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 0x418ef2
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418ff0
push dword [ebp - 0x28]
call fcn.00419058
mov dword [ebp - 0x30], eax
push 0x7731ae
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 0x418f35
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418ff0
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x418ff0
push dword [ebp - 0x28]
call fcn.00419058
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 0x418f78
push 6
call fcn.004327d6
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00433e70
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x466302
push dword [ebp - 0x3c]
push 0x7731b6
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 0x418fc8
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x418fd8
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x418fec
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x4189a1
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41901b
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004327e2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x419020
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419031
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419041
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x419051
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4