Function at 0x41823e
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 0x4182b9
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4182d6
push 6
call fcn.00430d71
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00431f50
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418309
push ebx
call fcn.00430d89
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 0x418332
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41834f
push 6
call fcn.00430d71
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 0x41836e
mov eax, 0x4643a8
push eax
push 2
mov ebx, 0x1a0
call fcn.00432190
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 0x4183a9
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
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 0x4183d5
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x4183ed
and eax, 0xff
jmp 0x418438
cmp ecx, 0x80000201
jne 0x4183f8
cwde
jmp 0x418438
cmp ecx, 0x80000301
je 0x418438
cmp ecx, 0x80000401
je 0x418438
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x418428
cmp ecx, 0x80000601
je 0x41842d
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x44]
jmp 0x418433
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ab9
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x418456
mov eax, 0x464300
jmp 0x418ae1
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 0x418abd
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x4643f8]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ab9
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4184b1
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
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 0x4184ec
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
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 0x418518
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x418530
and eax, 0xff
jmp 0x41857b
cmp ecx, 0x80000201
jne 0x41853b
cwde
jmp 0x41857b
cmp ecx, 0x80000301
je 0x41857b
cmp ecx, 0x80000401
je 0x41857b
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41856b
cmp ecx, 0x80000601
je 0x418570
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418576
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ab9
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x772aca]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ab9
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4185bf
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4185e9
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x772ad2]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ab9
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41862e
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
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 0x418669
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
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 0x418695
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x4186ad
and eax, 0xff
jmp 0x4186f8
cmp ecx, 0x80000201
jne 0x4186b8
cwde
jmp 0x4186f8
cmp ecx, 0x80000301
je 0x4186f8
cmp ecx, 0x80000401
je 0x4186f8
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x4186e8
cmp ecx, 0x80000601
je 0x4186ed
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x54]
jmp 0x4186f3
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ab9
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x772ada]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ab9
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41873c
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
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 0x418777
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
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 0x4187a3
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x4187bb
and eax, 0xff
jmp 0x418806
cmp ecx, 0x80000201
jne 0x4187c6
cwde
jmp 0x418806
cmp ecx, 0x80000301
je 0x418806
cmp ecx, 0x80000401
je 0x418806
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x4187f6
cmp ecx, 0x80000601
je 0x4187fb
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x54]
jmp 0x418801
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ab9
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x772ae2]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ab9
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41884a
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418874
push ebx
call fcn.00430d89
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 0x4188a3
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
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 0x4188de
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
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 0x41890a
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x418922
and eax, 0xff
jmp 0x41896d
cmp ecx, 0x80000201
jne 0x41892d
cwde
jmp 0x41896d
cmp ecx, 0x80000301
je 0x41896d
cmp ecx, 0x80000401
je 0x41896d
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41895d
cmp ecx, 0x80000601
je 0x418962
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x44]
jmp 0x418968
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ab9
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x418ab1
push dword [ebp - 0x28]
call fcn.00418b19
mov dword [ebp - 0x30], eax
push 0x772aea
push dword [ebp - 0x30]
call fcn.004010c7
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 0x4189b3
push ebx
call fcn.00430d89
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418ab1
push dword [ebp - 0x28]
call fcn.00418b19
mov dword [ebp - 0x30], eax
push 0x772af4
push dword [ebp - 0x30]
call fcn.004010c7
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 0x4189f6
push ebx
call fcn.00430d89
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418ab1
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 8], eax
jne 0x418ab1
push dword [ebp - 0x28]
call fcn.00418b19
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 0x418a39
push 6
call fcn.00430d71
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00432260
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x476678
push dword [ebp - 0x3c]
push 0x772afc
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 0x418a89
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x418a99
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x418aad
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x418462
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x418adc
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00430d7d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x418ae1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418af2
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418b02
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x418b12
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4