Function at 0x421032
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 0x4210ad
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4210ca
push 6
call fcn.00439f3a
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.0043b2b0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4210fd
push ebx
call fcn.00439f52
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 0x421126
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x421143
push 6
call fcn.00439f3a
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 0x421162
mov eax, 0x46e39f
push eax
push 2
mov ebx, 0x1a0
call fcn.0043b4f0
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 0x42119d
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x4211c9
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x4211e1
and eax, 0xff
jmp 0x42122c
cmp ecx, 0x80000201
jne 0x4211ec
cwde
jmp 0x42122c
cmp ecx, 0x80000301
je 0x42122c
cmp ecx, 0x80000401
je 0x42122c
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x42121c
cmp ecx, 0x80000601
je 0x421221
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x44]
jmp 0x421227
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 0x42124a
mov eax, 0
jmp 0x4219d8
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 0x4219ba
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x46e3e7]
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 0x4212a5
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x4212e0
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x42130c
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x421324
and eax, 0xff
jmp 0x42136f
cmp ecx, 0x80000201
jne 0x42132f
cwde
jmp 0x42136f
cmp ecx, 0x80000301
je 0x42136f
cmp ecx, 0x80000401
je 0x42136f
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x42135f
cmp ecx, 0x80000601
je 0x421364
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x42136a
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 [0x9c0e07]
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 0x4213b3
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4213dd
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [0x9c0e0f]
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 0x421422
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x42145d
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x421489
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x4214a1
and eax, 0xff
jmp 0x4214ec
cmp ecx, 0x80000201
jne 0x4214ac
cwde
jmp 0x4214ec
cmp ecx, 0x80000301
je 0x4214ec
cmp ecx, 0x80000401
je 0x4214ec
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x4214dc
cmp ecx, 0x80000601
je 0x4214e1
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x4214e7
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 [0x9c0e17]
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 0x421530
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x42156b
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x421597
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x80000101
jne 0x4215af
and eax, 0xff
jmp 0x4215fa
cmp ecx, 0x80000201
jne 0x4215ba
cwde
jmp 0x4215fa
cmp ecx, 0x80000301
je 0x4215fa
cmp ecx, 0x80000401
je 0x4215fa
mov dword [ebp - 0x54], eax
cmp ecx, 0x80000501
je 0x4215ea
cmp ecx, 0x80000601
je 0x4215ef
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x54]
jmp 0x4215f5
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 [0x9c0e1f]
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 0x42163e
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x421668
push ebx
call fcn.00439f52
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 0x421697
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x1a8
call fcn.0043b8f0
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 0x4216d2
mov eax, 0x46e39f
push eax
push 3
mov ebx, 0x19c
call fcn.0043b110
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 0x4216fe
push ebx
call fcn.00439f52
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x421716
and eax, 0xff
jmp 0x421761
cmp ecx, 0x80000201
jne 0x421721
cwde
jmp 0x421761
cmp ecx, 0x80000301
je 0x421761
cmp ecx, 0x80000401
je 0x421761
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x421751
cmp ecx, 0x80000601
je 0x421756
push 2
call fcn.00439f3a
add esp, 4
fld dword [ebp - 0x44]
jmp 0x42175c
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00402ed7
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x4219ae
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
jne 0x4219ae
push dword [ebp - 0x28]
call fcn.0041dac1
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 0x4217a7
push 6
call fcn.00439f3a
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 0x4217c2
mov eax, 0x46e300
push eax
push 0x70002
push 0
push dword [0xcae716]
push 3
mov ebx, 0x20
mov eax, 0x4479c0
call fcn.0043a820
add esp, 0x28
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4217f7
push ebx
call fcn.00439f52
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 [0xcae716]
push 3
mov ebx, 0x2c
mov eax, 0x447b20
call fcn.0043a820
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push 0x2710
push 0x70002
push 0
push dword [0xcae716]
push 3
mov ebx, 0x28
mov eax, 0x447a70
call fcn.0043a820
add esp, 0x28
mov dword [ebp - 0x30], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x42187f
mov eax, 0x46e39f
push eax
push 1
mov ebx, 0x168
call fcn.0043b5c0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4218a5
push ebx
call fcn.00439f52
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4218b9
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x70002
push 0
push dword [0xcae716]
push 1
mov ebx, 0x24
mov eax, 0x447a50
call fcn.0043a820
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4218f4
mov eax, 0x46e300
push eax
push 1
mov ebx, 0x154
call fcn.0043be50
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.0043be50
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 0x421950
mov eax, 0x46e300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x421964
mov eax, 0x46e300
push eax
push 4
mov ebx, 0x148
call fcn.0043c110
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42198a
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42199a
push ebx
call fcn.00439f52
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x4219ae
mov eax, 1
jmp 0x4219d8
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x421256
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.004188fd
mov eax, 0
jmp 0x4219d8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4219e9
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4219f9
push ebx
call fcn.00439f52
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x421a09
push ebx
call fcn.00439f52
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4