Function at 0x14003ac90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x1401fdf60]
lea rdx, [rbp - 0x20]
mov rdi, rcx
mov rcx, qword [rcx + 0x2b8]
cmp dword [rax + 0xa60], 0
mov rcx, qword [rcx + 0x10]
jne 0x14003ae12
lea r8, [rbp - 0x3c]
mov dword [rbp - 0x3c], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [rbp - 0x1c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
lea rbx, str._unavailable_
mov rcx, rbx
cmovne rcx, rax
call fcn.140149d70
mov rcx, qword [rdi + 0x2b8]
lea r8, [rbp - 0x38]
xorps xmm0, xmm0
mov dword [rbp - 0x38], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x30]
mov r14, rax
movups xmmword [rbp - 0x30], xmm0
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_getpeername]
mov ecx, dword [rbp - 0x2c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
cmovne rbx, rax
mov rcx, rbx
call fcn.140149d70
mov rsi, rax
test r14, r14
je 0x14003aed5
test rax, rax
je 0x14003aed5
mov rdx, rax
mov rcx, r14
call fcn.140149a48
mov rcx, r14
mov ebx, eax
call fcn.140137f10
mov rcx, rsi
call fcn.140137f10
test ebx, ebx
jne 0x14003aed5
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_rejected_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
cmp dword [rdi + 0x2e0], 7
mov rcx, qword [rdi + 0x2b8]
jl 0x14003adb7
mov byte [rbp - 0x40], bl
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x40]
jmp 0x14003adc8
mov dword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov r8d, 4
call fcn.140087cf0
test eax, eax
je 0x14003ae0b
mov rcx, qword [rdi + 0x2b8]
lea rdx, [rbp - 0x3c]
mov r8d, 4
mov dword [rbp - 0x3c], 0x29000000
call fcn.140087cf0
test eax, eax
je 0x14003ae0b
mov rcx, qword [rdi + 0x2b8]
lea rdx, str.Local_loop_back_connections_are_disabled.
mov r8d, 0x29
call fcn.140087bd0
xor eax, eax
jmp 0x14003aeda
lea r8, [rbp - 0x38]
mov dword [rbp - 0x38], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [rbp - 0x1c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
lea rbx, str._unavailable_
mov rcx, rbx
cmovne rcx, rax
call fcn.140149d70
mov rcx, qword [rdi + 0x2b8]
lea r8, [rbp - 0x3c]
xorps xmm0, xmm0
mov dword [rbp - 0x3c], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x30]
mov r14, rax
movups xmmword [rbp - 0x30], xmm0
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_getpeername]
mov ecx, dword [rbp - 0x2c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
cmovne rbx, rax
mov rcx, rbx
call fcn.140149d70
mov rsi, rax
test r14, r14
je 0x14003aed5
test rax, rax
je 0x14003aed5
mov rdx, rax
mov rcx, r14
call fcn.140149a48
mov rcx, r14
mov ebx, eax
call fcn.140137f10
mov rcx, rsi
call fcn.140137f10
test ebx, ebx
jne 0x14003aed5
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_accepted_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov rax, qword [rdi + 0x2c8]
mov byte [rax + 0x3c8], 1
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401312c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret