Function at 0x14003b310
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 [0x1401fdf80]
lea rdx, [rbp - 0x20]
mov rdi, rcx
mov rcx, qword [rcx + 0x2a8]
cmp dword [rax + 0xa60], 0
mov rcx, qword [rcx + 0x10]
jne 0x14003b492
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.140145b50
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.140145b50
mov rsi, rax
test r14, r14
je 0x14003b555
test rax, rax
je 0x14003b555
mov rdx, rax
mov rcx, r14
call fcn.140145828
mov rcx, r14
mov ebx, eax
call fcn.140139270
mov rcx, rsi
call fcn.140139270
test ebx, ebx
jne 0x14003b555
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_rejected_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
cmp dword [rdi + 0x2d0], 7
mov rcx, qword [rdi + 0x2a8]
jl 0x14003b437
mov byte [rbp - 0x40], bl
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x40]
jmp 0x14003b448
mov dword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov r8d, 4
call fcn.140088740
test eax, eax
je 0x14003b48b
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x3c]
mov r8d, 4
mov dword [rbp - 0x3c], 0x29000000
call fcn.140088740
test eax, eax
je 0x14003b48b
mov rcx, qword [rdi + 0x2a8]
lea rdx, str.Local_loop_back_connections_are_disabled.
mov r8d, 0x29
call fcn.140088620
xor eax, eax
jmp 0x14003b55a
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.140145b50
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.140145b50
mov rsi, rax
test r14, r14
je 0x14003b555
test rax, rax
je 0x14003b555
mov rdx, rax
mov rcx, r14
call fcn.140145828
mov rcx, r14
mov ebx, eax
call fcn.140139270
mov rcx, rsi
call fcn.140139270
test ebx, ebx
jne 0x14003b555
lea r8, str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_accepted_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov rax, qword [rdi + 0x2b8]
mov byte [rax + 0x3c8], 1
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140132620
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret