Function at 0x14005c0d0
Capabilities:
List tcp connections and listeners

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbx, rcx
xor esi, esi
mov edi, esi
mov qword [rax - 0x28], rsi
mov qword [rax - 0x20], rsi
mov dword [rax + 8], esi
mov r9d, 2
mov r12d, reloc.WS2_32.dll_socket
cmp dword [rcx], 6
cmove r9d, r12d
mov dword [rax - 0x50], esi
mov dword [rax - 0x58], 4
xor r8d, r8d
lea rdx, [rax + 8]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp eax, 0x7a
jne 0x14005c1a6
nop
mov ebp, dword [rsp + 0x80]
test rdi, rdi
je 0x14005c144
mov rcx, rdi
call fcn.14009667c
mov qword [rsp + 0x58], rbp
test rbp, rbp
je 0x14005c16d
mov rcx, rbp
call fcn.140076158
mov rdi, rax
mov qword [rsp + 0x50], rax
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140096590
jmp 0x14005c175
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov r9d, 2
cmp dword [rbx], 6
cmove r9d, r12d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rdi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp eax, 0x7a
je 0x14005c130
test eax, eax
je 0x14005c1b8
test rdi, rdi
je 0x14005c336
jmp 0x14005c32e
movzx ecx, word [rbx + 0x14]
cmp dword [rbx], 6
jne 0x14005c2bb
call qword [sym.imp.WS2_32.dll_htons]
movzx ebp, ax
movzx ecx, word [rbx + 0x2c]
call qword [sym.imp.WS2_32.dll_htons]
movzx r11d, ax
mov edx, dword [rdi]
test edx, edx
je 0x14005c32e
movzx r8d, bp
lea rcx, [rdi + 0x30]
nop
cmp r8d, dword [rcx - 0x18]
jne 0x14005c299
movzx eax, r11w
cmp eax, dword [rcx]
jne 0x14005c299
movsd xmm0, qword [rcx - 0x14]
movsd qword [rsp + 0x40], xmm0
movsd xmm1, qword [rcx - 0xc]
movsd qword [rsp + 0x48], xmm1
cmp dword [rbx + 0x18], 6
jne 0x14005c299
mov eax, dword [rsp + 0x40]
cmp dword [rbx + 0x1c], eax
jne 0x14005c299
mov rax, qword [rsp + 0x40]
shr rax, 0x20
cmp dword [rbx + 0x20], eax
jne 0x14005c299
mov eax, dword [rsp + 0x48]
cmp dword [rbx + 0x24], eax
jne 0x14005c299
mov rax, qword [rsp + 0x48]
shr rax, 0x20
cmp dword [rbx + 0x28], eax
jne 0x14005c299
movsd xmm0, qword [rcx - 0x2c]
movsd qword [rsp + 0x50], xmm0
movsd xmm1, qword [rcx - 0x24]
movsd qword [rsp + 0x58], xmm1
cmp dword [rbx], 6
jne 0x14005c299
mov eax, dword [rsp + 0x50]
cmp dword [rbx + 4], eax
jne 0x14005c299
mov rax, qword [rsp + 0x50]
shr rax, 0x20
cmp dword [rbx + 8], eax
jne 0x14005c299
mov eax, dword [rsp + 0x58]
cmp dword [rbx + 0xc], eax
jne 0x14005c299
mov rax, qword [rsp + 0x58]
shr rax, 0x20
cmp dword [rbx + 0x10], eax
je 0x14005c2ac
inc esi
add rcx, 0x38
cmp esi, edx
jae 0x14005c32e
jmp 0x14005c1f0
mov ebx, dword [rcx + 8]
mov rcx, rdi
call fcn.14009667c
mov eax, ebx
jmp 0x14005c338
call qword [sym.imp.WS2_32.dll_htons]
movzx ebp, ax
movzx ecx, word [rbx + 0x2c]
call qword [sym.imp.WS2_32.dll_htons]
movzx r11d, ax
mov edx, dword [rdi]
test edx, edx
je 0x14005c32e
movzx r8d, bp
lea rcx, [rdi + 0x14]
cmp r8d, dword [rcx - 8]
jne 0x14005c313
movzx eax, r11w
cmp eax, dword [rcx]
jne 0x14005c313
cmp dword [rbx + 0x18], 4
jne 0x14005c313
mov eax, dword [rcx - 4]
cmp dword [rbx + 0x1c], eax
sete al
test al, al
je 0x14005c313
cmp dword [rbx], 4
jne 0x14005c313
mov eax, dword [rcx - 0xc]
cmp dword [rbx + 4], eax
sete al
test al, al
jne 0x14005c31f
inc esi
add rcx, 0x18
cmp esi, edx
jae 0x14005c32e
jmp 0x14005c2e0
mov ebx, dword [rcx + 4]
mov rcx, rdi
call fcn.14009667c
mov eax, ebx
jmp 0x14005c338
mov rcx, rdi
call fcn.14009667c
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret