Function at 0x427672
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 0x4276ed
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x42770a
push 6
call fcn.004481f1
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00449630
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42773d
push ebx
call fcn.00448209
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 0x427766
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x427783
push 6
call fcn.004481f1
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 0x4277a2
mov eax, 0x48c3a9
push eax
push 2
mov ebx, 0x1a0
call fcn.00449870
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 0x4277dd
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
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 0x427809
push ebx
call fcn.00448209
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x427821
and eax, 0xff
jmp 0x42786c
cmp ecx, 0x80000201
jne 0x42782c
cwde
jmp 0x42786c
cmp ecx, 0x80000301
je 0x42786c
cmp ecx, 0x80000401
je 0x42786c
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x42785c
cmp ecx, 0x80000601
je 0x427861
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x44]
jmp 0x427867
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ffd
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x42788a
mov eax, 0x48c313
jmp 0x427f15
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 0x427ef1
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x48c3f1]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4278e5
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
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 0x427920
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
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 0x42794c
push ebx
call fcn.00448209
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x427964
and eax, 0xff
jmp 0x4279af
cmp ecx, 0x80000201
jne 0x42796f
cwde
jmp 0x4279af
cmp ecx, 0x80000301
je 0x4279af
cmp ecx, 0x80000401
je 0x4279af
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x42799f
cmp ecx, 0x80000601
je 0x4279a4
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x54]
jmp 0x4279aa
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ffd
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x733f23]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4279f3
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427a1d
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9e0955]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x427a62
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
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 0x427a9d
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
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 0x427ac9
push ebx
call fcn.00448209
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x427ae1
and eax, 0xff
jmp 0x427b2c
cmp ecx, 0x80000201
jne 0x427aec
cwde
jmp 0x427b2c
cmp ecx, 0x80000301
je 0x427b2c
cmp ecx, 0x80000401
je 0x427b2c
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x427b1c
cmp ecx, 0x80000601
je 0x427b21
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x54]
jmp 0x427b27
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ffd
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9e095d]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x427b70
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
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 0x427bab
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
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 0x427bd7
push ebx
call fcn.00448209
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x427bef
and eax, 0xff
jmp 0x427c3a
cmp ecx, 0x80000201
jne 0x427bfa
cwde
jmp 0x427c3a
cmp ecx, 0x80000301
je 0x427c3a
cmp ecx, 0x80000401
je 0x427c3a
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x427c2a
cmp ecx, 0x80000601
je 0x427c2f
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x54]
jmp 0x427c35
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ffd
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9e0965]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x427c7e
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427ca8
push ebx
call fcn.00448209
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 0x427cd7
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x1a8
call fcn.00449c70
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 0x427d12
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
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 0x427d3e
push ebx
call fcn.00448209
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x427d56
and eax, 0xff
jmp 0x427da1
cmp ecx, 0x80000201
jne 0x427d61
cwde
jmp 0x427da1
cmp ecx, 0x80000301
je 0x427da1
cmp ecx, 0x80000401
je 0x427da1
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x427d91
cmp ecx, 0x80000601
je 0x427d96
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x44]
jmp 0x427d9c
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ffd
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x427ee5
push dword [ebp - 0x28]
call fcn.00427f4d
mov dword [ebp - 0x30], eax
push 0x73406d
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 0x427de7
push ebx
call fcn.00448209
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x427ee5
push dword [ebp - 0x28]
call fcn.00427f4d
mov dword [ebp - 0x30], eax
push 0x9e096d
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 0x427e2a
push ebx
call fcn.00448209
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x427ee5
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x427ee5
push dword [ebp - 0x28]
call fcn.00427f4d
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 0x427e6d
push 6
call fcn.004481f1
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00449940
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x48c316
push dword [ebp - 0x3c]
push 0x733e96
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 0x427ebd
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x427ecd
push ebx
call fcn.00448209
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427ee1
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x427896
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x427f10
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004481fd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x427f15
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427f26
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427f36
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427f46
push ebx
call fcn.00448209
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4