Function at 0x41c1c3
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 0x41c23e
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c25b
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 0x41c28e
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 0x41c2b7
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c2d4
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 0x41c2f3
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 0x41c32e
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 0x41c35a
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 0x41c372
and eax, 0xff
jmp 0x41c3bd
cmp ecx, 0x80000201
jne 0x41c37d
cwde
jmp 0x41c3bd
cmp ecx, 0x80000301
je 0x41c3bd
cmp ecx, 0x80000401
je 0x41c3bd
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41c3ad
cmp ecx, 0x80000601
je 0x41c3b2
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41c3b8
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 0x41c3db
mov eax, 0
jmp 0x41cb69
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 0x41cb4b
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 0x41c436
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 0x41c471
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 0x41c49d
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 0x41c4b5
and eax, 0xff
jmp 0x41c500
cmp ecx, 0x80000201
jne 0x41c4c0
cwde
jmp 0x41c500
cmp ecx, 0x80000301
je 0x41c500
cmp ecx, 0x80000401
je 0x41c500
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41c4f0
cmp ecx, 0x80000601
je 0x41c4f5
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41c4fb
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 0x41c544
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 0x41c56e
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 0x41c5b3
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 0x41c5ee
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 0x41c61a
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 0x41c632
and eax, 0xff
jmp 0x41c67d
cmp ecx, 0x80000201
jne 0x41c63d
cwde
jmp 0x41c67d
cmp ecx, 0x80000301
je 0x41c67d
cmp ecx, 0x80000401
je 0x41c67d
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41c66d
cmp ecx, 0x80000601
je 0x41c672
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41c678
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 0x41c6c1
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 0x41c6fc
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 0x41c728
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 0x41c740
and eax, 0xff
jmp 0x41c78b
cmp ecx, 0x80000201
jne 0x41c74b
cwde
jmp 0x41c78b
cmp ecx, 0x80000301
je 0x41c78b
cmp ecx, 0x80000401
je 0x41c78b
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x41c77b
cmp ecx, 0x80000601
je 0x41c780
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x54]
jmp 0x41c786
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 0x41c7cf
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 0x41c7f9
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 0x41c828
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 0x41c863
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 0x41c88f
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 0x41c8a7
and eax, 0xff
jmp 0x41c8f2
cmp ecx, 0x80000201
jne 0x41c8b2
cwde
jmp 0x41c8f2
cmp ecx, 0x80000301
je 0x41c8f2
cmp ecx, 0x80000401
je 0x41c8f2
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x41c8e2
cmp ecx, 0x80000601
je 0x41c8e7
push 2
call fcn.004327d6
add esp, 4
fld dword [ebp - 0x44]
jmp 0x41c8ed
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ea1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41cb3f
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
jne 0x41cb3f
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 0x41c938
push 6
call fcn.004327d6
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 0x41c953
mov eax, 0x466304
push eax
push 0x70002
push 0
push dword [0x9cd6fb]
push 3
mov ebx, 0x20
mov eax, 0x4401a0
call fcn.004330f0
add esp, 0x28
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c988
push ebx
call fcn.004327ee
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 [0x9cd6fb]
push 3
mov ebx, 0x2c
mov eax, 0x440300
call fcn.004330f0
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push 0x2710
push 0x70002
push 0
push dword [0x9cd6fb]
push 3
mov ebx, 0x28
mov eax, 0x440250
call fcn.004330f0
add esp, 0x28
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41ca10
mov eax, 0x466391
push eax
push 1
mov ebx, 0x168
call fcn.00433e70
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41ca36
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41ca4a
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x70002
push 0
push dword [0x9cd6fb]
push 1
mov ebx, 0x24
mov eax, 0x440230
call fcn.004330f0
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41ca85
mov eax, 0x466304
push eax
push 1
mov ebx, 0x154
call fcn.00434700
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.00434700
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 0x41cae1
mov eax, 0x466304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41caf5
mov eax, 0x466304
push eax
push 4
mov ebx, 0x148
call fcn.00434760
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41cb1b
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41cb2b
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x41cb3f
mov eax, 1
jmp 0x41cb69
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41c3e7
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.00414f94
mov eax, 0
jmp 0x41cb69
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41cb7a
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41cb8a
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41cb9a
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4