Function at 0x41c6cc
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 0x41c747
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c764
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 0x41c797
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 0x41c7c0
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c7dd
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 0x41c7fc
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 0x41c837
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 0x41c863
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 0x41c87b
and eax, 0xff
jmp 0x41c8c6
cmp ecx, 0x80000201
jne 0x41c886
cwde
jmp 0x41c8c6
cmp ecx, 0x80000301
je 0x41c8c6
cmp ecx, 0x80000401
je 0x41c8c6
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41c8b6
cmp ecx, 0x80000601
je 0x41c8bb
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41c8c1
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 0x41c8e4
mov eax, 0
jmp 0x41d072
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 0x41d054
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 0x41c93f
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 0x41c97a
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 0x41c9a6
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 0x41c9be
and eax, 0xff
jmp 0x41ca09
cmp ecx, 0x80000201
jne 0x41c9c9
cwde
jmp 0x41ca09
cmp ecx, 0x80000301
je 0x41ca09
cmp ecx, 0x80000401
je 0x41ca09
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41c9f9
cmp ecx, 0x80000601
je 0x41c9fe
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41ca04
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 0x41ca4d
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 0x41ca77
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 0x41cabc
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 0x41caf7
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 0x41cb23
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 0x41cb3b
and eax, 0xff
jmp 0x41cb86
cmp ecx, 0x80000201
jne 0x41cb46
cwde
jmp 0x41cb86
cmp ecx, 0x80000301
je 0x41cb86
cmp ecx, 0x80000401
je 0x41cb86
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41cb76
cmp ecx, 0x80000601
je 0x41cb7b
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41cb81
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 0x41cbca
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 0x41cc05
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 0x41cc31
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 0x41cc49
and eax, 0xff
jmp 0x41cc94
cmp ecx, 0x80000201
jne 0x41cc54
cwde
jmp 0x41cc94
cmp ecx, 0x80000301
je 0x41cc94
cmp ecx, 0x80000401
je 0x41cc94
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41cc84
cmp ecx, 0x80000601
je 0x41cc89
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41cc8f
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 0x41ccd8
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 0x41cd02
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 0x41cd31
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 0x41cd6c
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 0x41cd98
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 0x41cdb0
and eax, 0xff
jmp 0x41cdfb
cmp ecx, 0x80000201
jne 0x41cdbb
cwde
jmp 0x41cdfb
cmp ecx, 0x80000301
je 0x41cdfb
cmp ecx, 0x80000401
je 0x41cdfb
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41cdeb
cmp ecx, 0x80000601
je 0x41cdf0
push 2
call fcn.00434227
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41cdf6
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402e79
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41d048
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
jne 0x41d048
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 0x41ce41
push 6
call fcn.00434227
add esp, 4
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41ce5c
mov eax, 0x468304
push eax
push 0x70002
push 0
push dword [0xa2ccbe]
push 3
mov ebx, 0x20
mov eax, 0x441ad0
call fcn.00434b30
add esp, 0x28
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41ce91
push ebx
call fcn.0043423f
add esp, 4
push 0x80000301
push 0
push 0x2710
push reloc.WSOCK32.dll_connect
push 0
push 0x9165a8
push 0x70002
push 0
push dword [0xa2ccbe]
push 3
mov ebx, 0x2c
mov eax, 0x441c30
call fcn.00434b30
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push 0x2710
push 0x70002
push 0
push dword [0xa2ccbe]
push 3
mov ebx, 0x28
mov eax, 0x441b80
call fcn.00434b30
add esp, 0x28
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41cf19
mov eax, 0x4683a1
push eax
push 1
mov ebx, 0x168
call fcn.004358b0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41cf3f
push ebx
call fcn.0043423f
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41cf53
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x70002
push 0
push dword [0xa2ccbe]
push 1
mov ebx, 0x24
mov eax, 0x441b60
call fcn.00434b30
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41cf8e
mov eax, 0x468304
push eax
push 1
mov ebx, 0x154
call fcn.00436140
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_connect
push 0
push 0x916602
push 1
mov ebx, 0x154
call fcn.00436140
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41cfea
mov eax, 0x468304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41cffe
mov eax, 0x468304
push eax
push 4
mov ebx, 0x148
call fcn.004361a0
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41d024
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d034
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x41d048
mov eax, 1
jmp 0x41d072
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41c8f0
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.004152c0
mov eax, 0
jmp 0x41d072
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d083
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d093
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41d0a3
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4