Function at 0x1001b6ef
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b73d
mov eax, dword fs:[0]
push eax
mov eax, 0x401c4
call fcn.10050050
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 5
push 2
push ebx
lea eax, [ebp - 0x40118]
push eax
lea eax, [ebp - 0x40010]
mov esi, ecx
mov dword [ebp - 0x40114], ebx
push eax
mov dword [ebp - 0x400f0], esi
mov dword [ebp - 0x40118], 0x40000
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
test eax, eax
je 0x1001b76b
push 0x10061238
mov ecx, esi
call fcn.10004842
mov eax, esi
jmp 0x1001c08f
lea eax, [ebp - 0x40190]
push eax
call fcn.1001c445
mov dword [ebp - 4], 1
xor edi, edi
cmp dword [ebp - 0x40010], ebx
jbe 0x1001b7c9
lea esi, [ebp - 0x40003]
mov ax, word [esi - 1]
movzx ecx, byte [esi]
shl ax, 8
movzx eax, ax
or eax, ecx
mov dword [ebp - 0x400d4], eax
lea eax, [ebp - 0x400d4]
push eax
lea ebx, [ebp - 0x40190]
call fcn.1001c47b
mov ecx, dword [esi + 0xb]
inc edi
mov dword [eax], ecx
add esi, 0x18
cmp edi, dword [ebp - 0x40010]
jb 0x1001b78e
xor ebx, ebx
lea eax, [ebp - 0x401c8]
push eax
call fcn.1001c10f
mov edi, 0x10074768
push edi
mov dword [ebp - 0x400d4], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10074b34
lea esi, [ebp - 0x401c8]
mov byte [ebp - 4], 3
call fcn.1001b542
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x10074b14
call fcn.1001c3c0
push ebx
mov edi, 0x1001b63d
call fcn.10027bd6
push 4
call fcn.1003f622
pop ecx
cmp eax, ebx
je 0x1001b831
lea ecx, [ebp - 0x40110]
mov dword [eax], ecx
jmp 0x1001b833
xor eax, eax
mov dword [ebp - 0x40110], eax
mov byte [ebp - 4], 4
call fcn.1001ebf8
mov dword [ebp - 0x400f8], eax
mov byte [eax + 0x5d], 1
mov eax, dword [ebp - 0x400f8]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x400f8]
mov dword [eax], eax
mov eax, dword [ebp - 0x400f8]
mov dword [eax + 8], eax
mov dword [ebp - 0x400f4], ebx
lea edi, [ebp - 0x40080]
call fcn.1001b43f
push 0x10063270
lea esi, [ebp - 0x40030]
mov byte [ebp - 4], 6
call fcn.100048d8
mov eax, esi
push eax
lea eax, [ebp - 0x40170]
push eax
mov byte [ebp - 4], 7
call fcn.10001246
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4007c]
mov byte [ebp - 4], 8
call fcn.10004be0
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x40170]
call fcn.10004d05
push ebx
push edi
mov byte [ebp - 4], 6
call fcn.10004dfd
push str.default
lea ecx, [ebp - 0x40060]
call fcn.10004c72
mov eax, dword [ebp - 0x401b0]
mov dword [ebp - 0x40080], edi
mov ecx, dword [eax]
mov dword [ebp - 0x400d8], ecx
mov ecx, dword [ebp - 0x401c8]
mov dword [ebp - 0x400dc], ecx
mov dword [ebp - 0x400e8], eax
mov dword [ebp - 0x400ec], ecx
jmp 0x1001bcad
lea esi, [ebp - 0x400dc]
call fcn.10029c2c
mov eax, dword [eax + 0xc]
add dword [ebp - 0x4003c], eax
call fcn.10029c2c
mov eax, dword [eax + 0x10]
add dword [ebp - 0x40038], eax
call fcn.10029c2c
mov eax, dword [eax + 4]
add dword [ebp - 0x40044], eax
call fcn.10029c2c
mov eax, dword [eax + 8]
add dword [ebp - 0x40040], eax
call fcn.10029c2c
movzx eax, word [eax]
mov dword [ebp - 0x400d4], eax
lea eax, [ebp - 0x400d4]
push eax
lea eax, [ebp - 0x40144]
push eax
lea ebx, [ebp - 0x40190]
call fcn.1001c51a
mov eax, dword [ebp - 0x40178]
mov dword [ebp - 0x40150], eax
mov eax, dword [ebp - 0x40190]
lea edi, [ebp - 0x40154]
lea esi, [ebp - 0x40144]
mov dword [ebp - 0x40154], eax
call fcn.10021085
test al, al
jne 0x1001bca2
call fcn.10029c2c
mov eax, dword [eax + 4]
mov dword [ebp - 0x400d4], eax
lea eax, [ebp - 0x400d4]
push eax
lea eax, [ebp - 0x400e4]
push eax
lea ebx, [ebp - 0x40110]
call fcn.1001c64a
mov eax, dword [ebp - 0x400f8]
mov dword [ebp - 0x40148], eax
mov eax, dword [ebp - 0x40110]
lea edi, [ebp - 0x4014c]
lea esi, [ebp - 0x400e4]
mov dword [ebp - 0x4014c], eax
call fcn.10021085
test al, al
je 0x1001bc03
push dword [ebp - 0x400d4]
lea eax, [ebp - 0x40170]
push eax
call fcn.1001b662
push eax
lea eax, [ebp - 0x40030]
push eax
mov byte [ebp - 4], 9
call fcn.10001246
add esp, 0x10
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x40170]
mov byte [ebp - 4], 0xb
call fcn.10004dfd
push 0x1006327c
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push 0x1006328c
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push str.pobus32.exe
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push str.pobus64.exe
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push 0x100632b4
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push 0x100632c4
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push str.poda32.exe
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
push str.poda64.exe
lea eax, [ebp - 0x40030]
call fcn.1000611c
pop ecx
test al, al
jne 0x1001bbf0
lea edi, [ebp - 0x400d0]
call fcn.1001b43f
or edi, 0xffffffff
push edi
push ebx
lea eax, [ebp - 0x40030]
push eax
lea ecx, [ebp - 0x400cc]
mov byte [ebp - 4], 0xc
call fcn.10004be0
push ebx
push dword [ebp - 0x400d4]
xor esi, esi
lea ebx, [ebp - 0x40170]
call fcn.10039b03
pop ecx
pop ecx
push edi
push esi
push eax
lea ecx, [ebp - 0x400b0]
mov byte [ebp - 4], 0xd
call fcn.10004be0
push esi
push 1
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.10004d05
lea eax, [ebp - 0x40110]
push eax
lea ebx, [ebp - 0x400d4]
call fcn.1001c57b
mov esi, eax
mov eax, dword [ebp - 0x400d0]
push edi
mov dword [esi], eax
push 0
lea eax, [ebp - 0x400cc]
push eax
lea ecx, [esi + 4]
call fcn.10004be0
push edi
push 0
lea eax, [ebp - 0x400b0]
push eax
lea ecx, [esi + 0x20]
call fcn.10004be0
mov eax, dword [ebp - 0x40094]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x40090]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x4008c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x40088]
mov dword [esi + 0x48], eax
mov eax, ebx
push eax
lea eax, [ebp - 0x401d0]
push eax
lea ebx, [ebp - 0x40110]
call fcn.1001c64a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x400d0]
mov dword [ebp - 0x400e4], ecx
mov dword [ebp - 0x400e0], eax
call fcn.1001c0b3
push 0
push 1
lea ecx, [ebp - 0x40030]
mov byte [ebp - 4], 6
call fcn.10004d05
mov eax, dword [ebp - 0x400f8]
mov dword [ebp - 0x40138], eax
mov eax, dword [ebp - 0x40110]
lea edi, [ebp - 0x4013c]
lea esi, [ebp - 0x400e4]
mov dword [ebp - 0x4013c], eax
call fcn.10021085
test al, al
jne 0x1001bca2
call fcn.10029c2c
lea esi, [ebp - 0x400dc]
lea edi, [eax + 0x48]
call fcn.10029c2c
mov eax, dword [eax + 0xc]
add dword [edi], eax
lea esi, [ebp - 0x400e4]
call fcn.10029c2c
lea esi, [ebp - 0x400dc]
lea edi, [eax + 0x4c]
call fcn.10029c2c
mov eax, dword [eax + 0x10]
add dword [edi], eax
lea esi, [ebp - 0x400e4]
call fcn.10029c2c
lea esi, [ebp - 0x400dc]
lea edi, [eax + 0x40]
call fcn.10029c2c
mov eax, dword [eax + 4]
add dword [edi], eax
lea esi, [ebp - 0x400e4]
call fcn.10029c2c
lea esi, [ebp - 0x400dc]
lea edi, [eax + 0x44]
call fcn.10029c2c
mov eax, dword [eax + 8]
add dword [edi], eax
lea esi, [ebp - 0x400dc]
call fcn.1001cf60
lea edi, [ebp - 0x400ec]
lea esi, [ebp - 0x400dc]
call fcn.10021085
test al, al
je 0x1001b90f
lea ecx, [ebp - 0x40134]
call fcn.1001c6ab
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x40120]
mov ecx, dword [ebp - 0x40134]
push eax
push ecx
lea eax, [ebp - 0x40080]
push eax
lea eax, [ebp - 0x40134]
push eax
call fcn.1001cffa
mov eax, dword [ebp - 0x400f8]
mov ecx, dword [eax]
mov dword [ebp - 0x400e0], ecx
mov ecx, dword [ebp - 0x40110]
mov dword [ebp - 0x400e4], ecx
mov dword [ebp - 0x400e8], eax
mov dword [ebp - 0x400ec], ecx
jmp 0x1001bd5d
lea esi, [ebp - 0x400e4]
call fcn.10029c2c
mov edi, eax
call fcn.10029c2c
mov ecx, dword [edi]
mov dword [eax + 4], ecx
call fcn.10029c2c
mov ecx, dword [ebp - 0x40120]
mov edx, dword [ebp - 0x40134]
push ecx
add eax, 4
push edx
push eax
lea eax, [ebp - 0x40134]
push eax
call fcn.1001cffa
call fcn.1001cfad
lea edi, [ebp - 0x400ec]
lea esi, [ebp - 0x400e4]
call fcn.10021085
test al, al
je 0x1001bd1e
lea eax, [ebp - 0x40134]
push eax
call fcn.1001ed00
push 6
pop edx
lea ebx, [ebp - 0x401a8]
call fcn.1002fa07
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x40120]
mov ecx, dword [eax]
mov dword [ebp - 0x400d8], ecx
mov ecx, dword [ebp - 0x40134]
mov dword [ebp - 0x400dc], ecx
mov dword [ebp - 0x400e8], eax
mov dword [ebp - 0x400ec], ecx
mov eax, dword [ebp - 0x400dc]
xor ebx, ebx
cmp eax, ebx
je 0x1001bdca
cmp eax, dword [ebp - 0x400ec]
je 0x1001bdcf
call fcn.1003f4f4
mov eax, dword [ebp - 0x400e8]
cmp dword [ebp - 0x400d8], eax
je 0x1001c019
push ebx
push ebx
lea eax, [ebp - 0x40030]
call fcn.10030a94
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x400d4], esp
push dword [eax]
call fcn.1002fa74
lea eax, [ebp - 0x40030]
push eax
mov edx, 0x1006120c
mov byte [ebp - 4], 0x13
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
lea edx, [eax + 4]
mov esi, esp
mov dword [ebp - 0x400d4], esp
call fcn.1002fb85
lea eax, [ebp - 0x40030]
push eax
mov edx, str.proc
mov byte [ebp - 4], 0x14
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
lea edx, [eax + 0x20]
mov esi, esp
mov dword [ebp - 0x400d4], esp
call fcn.1002fb85
lea eax, [ebp - 0x40030]
push eax
mov edx, str.hash4k
mov byte [ebp - 4], 0x15
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x400d4], esp
push dword [eax + 0x3c]
call fcn.1002fa74
lea eax, [ebp - 0x40030]
push eax
mov edx, 0x100632f4
mov byte [ebp - 4], 0x16
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x400d4], esp
push dword [eax + 0x40]
call fcn.1002fa74
lea eax, [ebp - 0x40030]
mov byte [ebp - 4], 0x17
push eax
mov edx, 0x100632f8
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x400d4], esp
push dword [eax + 0x44]
call fcn.1002fa74
lea eax, [ebp - 0x40030]
push eax
mov edx, 0x100632fc
mov byte [ebp - 4], 0x18
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x400d4], esp
push dword [eax + 0x48]
call fcn.1002fa74
lea eax, [ebp - 0x40030]
push eax
mov edx, 0x10063300
mov byte [ebp - 4], 0x19
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea esi, [ebp - 0x400dc]
call fcn.10010d5b
mov ecx, dword [eax + 0x48]
add ecx, dword [eax + 0x44]
sub esp, 0x18
add ecx, dword [eax + 0x40]
mov esi, esp
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x400d4], esp
push ecx
call fcn.1002fa74
lea eax, [ebp - 0x40030]
push eax
mov edx, str.total
mov byte [ebp - 4], 0x1a
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.1002fdd8
lea eax, [ebp - 0x40030]
push eax
lea eax, [ebp - 0x401a8]
push eax
call fcn.10030e1a
lea esi, [ebp - 0x40030]
mov byte [ebp - 4], 0xf
call fcn.1002fd55
lea esi, [ebp - 0x400dc]
call fcn.1001d043
jmp 0x1001bdb6
mov ecx, dword [ebp - 0x400f0]
lea eax, [ebp - 0x401a8]
push eax
call fcn.1003125d
lea esi, [ebp - 0x401a8]
mov dword [ebp - 0x40114], 1
mov byte [ebp - 4], 0xe
call fcn.1002fd55
lea ecx, [ebp - 0x40134]
call fcn.1001c6e8
lea esi, [ebp - 0x40080]
call fcn.1001c0b3
lea eax, [ebp - 0x40110]
push eax
mov byte [ebp - 4], 2
call fcn.1001c622
lea eax, [ebp - 0x401c8]
push eax
mov byte [ebp - 4], 1
call fcn.1001c20d
lea eax, [ebp - 0x40190]
push eax
mov byte [ebp - 4], bl
call fcn.1001c4f2
mov eax, dword [ebp - 0x400f0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f03d
leave
ret