Function at 0x41ed6a
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 0x41ede5
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41ee02
push 6
call fcn.00438bca
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00439f70
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ee35
push ebx
call fcn.00438be2
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 0x41ee5e
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41ee7b
push 6
call fcn.00438bca
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 0x41ee9a
mov eax, 0x46c399
push eax
push 2
mov ebx, 0x1a0
call fcn.0043a1b0
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 0x41eed5
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x19c
call fcn.00439dd0
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 0x41ef01
push ebx
call fcn.00438be2
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41ef19
and eax, 0xff
jmp 0x41ef64
cmp ecx, 0x80000201
jne 0x41ef24
cwde
jmp 0x41ef64
cmp ecx, 0x80000301
je 0x41ef64
cmp ecx, 0x80000401
je 0x41ef64
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41ef54
cmp ecx, 0x80000601
je 0x41ef59
push 2
call fcn.00438bca
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41ef5f
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ed7
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x41ef82
mov eax, 0
jmp 0x41f710
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 0x41f6f2
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41efdd
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
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 0x41f018
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x19c
call fcn.00439dd0
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 0x41f044
push ebx
call fcn.00438be2
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41f05c
and eax, 0xff
jmp 0x41f0a7
cmp ecx, 0x80000201
jne 0x41f067
cwde
jmp 0x41f0a7
cmp ecx, 0x80000301
je 0x41f0a7
cmp ecx, 0x80000401
je 0x41f0a7
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41f097
cmp ecx, 0x80000601
je 0x41f09c
push 2
call fcn.00438bca
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41f0a2
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x7aac4b]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f0eb
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41f115
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x7aac53]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f15a
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
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 0x41f195
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x19c
call fcn.00439dd0
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 0x41f1c1
push ebx
call fcn.00438be2
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41f1d9
and eax, 0xff
jmp 0x41f224
cmp ecx, 0x80000201
jne 0x41f1e4
cwde
jmp 0x41f224
cmp ecx, 0x80000301
je 0x41f224
cmp ecx, 0x80000401
je 0x41f224
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41f214
cmp ecx, 0x80000601
je 0x41f219
push 2
call fcn.00438bca
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41f21f
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x7aac5b]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f268
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
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 0x41f2a3
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x19c
call fcn.00439dd0
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 0x41f2cf
push ebx
call fcn.00438be2
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x41f2e7
and eax, 0xff
jmp 0x41f332
cmp ecx, 0x80000201
jne 0x41f2f2
cwde
jmp 0x41f332
cmp ecx, 0x80000301
je 0x41f332
cmp ecx, 0x80000401
je 0x41f332
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41f322
cmp ecx, 0x80000601
je 0x41f327
push 2
call fcn.00438bca
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41f32d
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x54]
call fcn.00402ed7
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x7aac63]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x3c]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f376
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41f3a0
push ebx
call fcn.00438be2
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 0x41f3cf
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x1a8
call fcn.0043a5b0
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 0x41f40a
mov eax, 0x46c399
push eax
push 3
mov ebx, 0x19c
call fcn.00439dd0
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 0x41f436
push ebx
call fcn.00438be2
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x41f44e
and eax, 0xff
jmp 0x41f499
cmp ecx, 0x80000201
jne 0x41f459
cwde
jmp 0x41f499
cmp ecx, 0x80000301
je 0x41f499
cmp ecx, 0x80000401
je 0x41f499
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41f489
cmp ecx, 0x80000601
je 0x41f48e
push 2
call fcn.00438bca
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41f494
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ed7
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41f6e6
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
jne 0x41f6e6
push dword [ebp - 0x28]
call fcn.0041b8e8
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 0x41f4df
push 6
call fcn.00438bca
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 0x41f4fa
mov eax, 0x46c300
push eax
push 0x70002
push 0
push dword [0xa7d223]
push 3
mov ebx, 0x20
mov eax, 0x446790
call fcn.004394e0
add esp, 0x28
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41f52f
push ebx
call fcn.00438be2
add esp, 4
push 0x80000301
push 0
push 0x2710
push reloc.WSOCK32.dll_connect
push 0
push str._id_:1__jsonrpc_:_2.0___method_:_login___params_:_login_:_x___pass_:_x___agent_:_x__r_n
push 0x70002
push 0
push dword [0xa7d223]
push 3
mov ebx, 0x2c
mov eax, 0x4468f0
call fcn.004394e0
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push 0x2710
push 0x70002
push 0
push dword [0xa7d223]
push 3
mov ebx, 0x28
mov eax, 0x446840
call fcn.004394e0
add esp, 0x28
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41f5b7
mov eax, 0x46c399
push eax
push 1
mov ebx, 0x168
call fcn.0043a280
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41f5dd
push ebx
call fcn.00438be2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f5f1
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x70002
push 0
push dword [0xa7d223]
push 1
mov ebx, 0x24
mov eax, 0x446820
call fcn.004394e0
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41f62c
mov eax, 0x46c300
push eax
push 1
mov ebx, 0x154
call fcn.0043ab10
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_connect
push 0
push str._jsonrpc_:_2.0_
push 1
mov ebx, 0x154
call fcn.0043ab10
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 0x41f688
mov eax, 0x46c300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41f69c
mov eax, 0x46c300
push eax
push 4
mov ebx, 0x148
call fcn.0043ab70
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41f6c2
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41f6d2
push ebx
call fcn.00438be2
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x41f6e6
mov eax, 1
jmp 0x41f710
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41ef8e
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.00417824
mov eax, 0
jmp 0x41f710
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f721
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41f731
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f741
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4