Function at 0x41d677
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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], 0
mov dword [ebp - 0x34], esp
push 0
push 5
push 2
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41d6f9
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41d716
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 - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d749
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], esp
push 0
push 5
push 2
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41d772
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41d78f
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 0x41d7ae
mov eax, 0x4643a8
push eax
push 2
mov ebx, 0x1a0
call fcn.00432190
add esp, 0x1c
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41d7e9
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d815
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp ecx, 0x80000101
jne 0x41d82d
and eax, 0xff
jmp 0x41d878
cmp ecx, 0x80000201
jne 0x41d838
cwde
jmp 0x41d878
cmp ecx, 0x80000301
je 0x41d878
cmp ecx, 0x80000401
je 0x41d878
mov dword [ebp - 0x48], eax
cmp ecx, 0x80000501
je 0x41d868
cmp ecx, 0x80000601
je 0x41d86d
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x48]
jmp 0x41d873
mov dword [ebp - 0x44], edx
fld qword [ebp - 0x48]
call fcn.00402ab9
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0
jne 0x41d896
mov eax, 0
jmp 0x41e0c0
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 0x41e008
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x4643f8]
fstp qword [ebp - 0x40]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x40]
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 0x41d8f1
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x44], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x41d92c
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
add esp, 0x28
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41d958
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
cmp ecx, 0x80000101
jne 0x41d970
and eax, 0xff
jmp 0x41d9bb
cmp ecx, 0x80000201
jne 0x41d97b
cwde
jmp 0x41d9bb
cmp ecx, 0x80000301
je 0x41d9bb
cmp ecx, 0x80000401
je 0x41d9bb
mov dword [ebp - 0x58], eax
cmp ecx, 0x80000501
je 0x41d9ab
cmp ecx, 0x80000601
je 0x41d9b0
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x58]
jmp 0x41d9b6
mov dword [ebp - 0x54], edx
fld qword [ebp - 0x58]
call fcn.00402ab9
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x772aca]
fstp qword [ebp - 0x40]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x40]
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 0x41d9ff
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41da29
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x772ad2]
fstp qword [ebp - 0x40]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x40]
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 0x41da6e
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x44], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x41daa9
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
add esp, 0x28
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41dad5
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
cmp ecx, 0x80000101
jne 0x41daed
and eax, 0xff
jmp 0x41db38
cmp ecx, 0x80000201
jne 0x41daf8
cwde
jmp 0x41db38
cmp ecx, 0x80000301
je 0x41db38
cmp ecx, 0x80000401
je 0x41db38
mov dword [ebp - 0x58], eax
cmp ecx, 0x80000501
je 0x41db28
cmp ecx, 0x80000601
je 0x41db2d
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x58]
jmp 0x41db33
mov dword [ebp - 0x54], edx
fld qword [ebp - 0x58]
call fcn.00402ab9
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x772ada]
fstp qword [ebp - 0x40]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x40]
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 0x41db7c
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x44], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x41dbb7
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
add esp, 0x28
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41dbe3
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
cmp ecx, 0x80000101
jne 0x41dbfb
and eax, 0xff
jmp 0x41dc46
cmp ecx, 0x80000201
jne 0x41dc06
cwde
jmp 0x41dc46
cmp ecx, 0x80000301
je 0x41dc46
cmp ecx, 0x80000401
je 0x41dc46
mov dword [ebp - 0x58], eax
cmp ecx, 0x80000501
je 0x41dc36
cmp ecx, 0x80000601
je 0x41dc3b
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x58]
jmp 0x41dc41
mov dword [ebp - 0x54], edx
fld qword [ebp - 0x58]
call fcn.00402ab9
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x772ae2]
fstp qword [ebp - 0x40]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x40]
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 0x41dc8a
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41dcb4
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 0x41dce3
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x1a8
call fcn.00432590
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41dd1e
mov eax, 0x4643a8
push eax
push 3
mov ebx, 0x19c
call fcn.00431db0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41dd4a
push ebx
call fcn.00430d89
add esp, 4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp ecx, 0x80000101
jne 0x41dd62
and eax, 0xff
jmp 0x41ddad
cmp ecx, 0x80000201
jne 0x41dd6d
cwde
jmp 0x41ddad
cmp ecx, 0x80000301
je 0x41ddad
cmp ecx, 0x80000401
je 0x41ddad
mov dword [ebp - 0x48], eax
cmp ecx, 0x80000501
je 0x41dd9d
cmp ecx, 0x80000601
je 0x41dda2
push 2
call fcn.00430d71
add esp, 4
fld dword [ebp - 0x48]
jmp 0x41dda8
mov dword [ebp - 0x44], edx
fld qword [ebp - 0x48]
call fcn.00402ab9
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 5
jne 0x41dffc
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
jne 0x41dffc
push dword [ebp - 0x28]
call fcn.00418b19
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.WSOCK32.dll_ntohs]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x41ddf3
push 6
call fcn.00430d71
add esp, 4
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41de0e
mov eax, 0x464300
push eax
push 0x70002
push 0
push dword [0x9c7f64]
push 3
mov ebx, 0x20
mov eax, 0x43e6e0
call fcn.00431640
add esp, 0x28
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41de43
push ebx
call fcn.00430d89
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 [0x9c7f64]
push 3
mov ebx, 0x2c
mov eax, 0x43e840
call fcn.00431640
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push 0x2710
push 0x70002
push 0
push dword [0x9c7f64]
push 3
mov ebx, 0x28
mov eax, 0x43e790
call fcn.00431640
add esp, 0x28
mov dword [ebp - 0x34], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41decb
mov eax, 0x4643a8
push eax
push 1
mov ebx, 0x168
call fcn.00432260
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41def1
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41df05
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x70002
push 0
push dword [0x9c7f64]
push 1
mov ebx, 0x24
mov eax, 0x43e770
call fcn.00431640
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41df40
mov eax, 0x464300
push eax
push 1
mov ebx, 0x154
call fcn.00433620
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.WSOCK32.dll_connect
push 0
push str._jsonrpc_:_2.0_
push 1
mov ebx, 0x154
call fcn.00433620
add esp, 0x10
mov dword [ebp - 0x38], 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 - 0x38]
test eax, eax
jne 0x41df9c
mov eax, 0x464300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41dfb0
mov eax, 0x464300
push eax
push 4
mov ebx, 0x148
call fcn.00432af0
add esp, 0x34
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41dfd6
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41dfe6
push ebx
call fcn.00430d89
add esp, 4
cmp dword [ebp - 0x3c], 0xffffffff
je 0x41dffc
mov dword [ebp - 0x30], 1
jmp 0x41e008
add dword [ebp - 0x10], 0x18
pop eax
pop ebx
pop ecx
jmp 0x41d8a2
add esp, 0xc
push dword [ebp + 8]
call fcn.00415a74
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x168
call fcn.00432260
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 0x772675
push dword [ebp - 0x34]
push 0x8b734f
mov ecx, 4
call fcn.0040106b
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41e065
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41e075
push ebx
call fcn.00430d89
add esp, 4
mov dword [ebp - 0x40], esp
push dword [ebp - 0x3c]
xor eax, eax
call dword [0x9c7fec]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x41e097
push 6
call fcn.00430d71
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41e0a7
push ebx
call fcn.00430d89
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
call fcn.00412242
mov eax, dword [ebp - 0x30]
jmp 0x41e0c0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41e0d1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41e0e1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41e0f1
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4