Function at 0x14003c180
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 [0x14021b0e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rcx + 0x2a8]
lea rdx, [rbp - 0x20]
mov rdi, rcx
mov rcx, qword [rax + 0x10]
mov rax, qword [0x14022a710]
cmp dword [rax + 0xa60], 0
jne 0x14003c302
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.14015b020
mov rcx, qword [rdi + 0x2a8]
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.14015b020
mov rsi, rax
test r14, r14
je 0x14003c3c5
test rax, rax
je 0x14003c3c5
mov rdx, rax
mov rcx, r14
call fcn.14015acf8
mov rcx, r14
mov ebx, eax
call fcn.14014e740
mov rcx, rsi
call fcn.14014e740
test ebx, ebx
jne 0x14003c3c5
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_rejected_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
cmp dword [rdi + 0x2d0], 7
mov rcx, qword [rdi + 0x2a8]
jl 0x14003c2a7
mov byte [rbp - 0x40], bl
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x40]
jmp 0x14003c2b8
mov dword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov r8d, 4
call fcn.14008af60
test eax, eax
je 0x14003c2fb
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x3c]
mov r8d, 4
mov dword [rbp - 0x3c], 0x29000000
call fcn.14008af60
test eax, eax
je 0x14003c2fb
mov rcx, qword [rdi + 0x2a8]
lea rdx, str.Local_loop_back_connections_are_disabled.
mov r8d, 0x29
call fcn.14008ae40
xor eax, eax
jmp 0x14003c3ca
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.14015b020
mov rcx, qword [rdi + 0x2a8]
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.14015b020
mov rsi, rax
test r14, r14
je 0x14003c3c5
test rax, rax
je 0x14003c3c5
mov rdx, rax
mov rcx, r14
call fcn.14015acf8
mov rcx, r14
mov ebx, eax
call fcn.14014e740
mov rcx, rsi
call fcn.14014e740
test ebx, ebx
jne 0x14003c3c5
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_accepted_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov rax, qword [rdi + 0x2b8]
mov byte [rax + 0x3c8], 1
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140147af0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret