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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 0xa90]
xor ebp, ebp
mov dword [rcx + 0x13c], ebp
mov esi, edx
mov rbx, rcx
test rax, rax
je 0x14001a3d2
cmp byte [rax + 1], bpl
jne 0x14001a3d2
mov rdi, qword [rcx + 0x340]
test rdi, rdi
je 0x14001a3ce
lea ecx, [rbp + 0x10]
call fcn.14000ec70
test al, al
je 0x14001a3c2
mov r8, rdi
lea rdx, str.Sorry_but_I_cant_chroot_to__s_because_this_operating_system_doesnt_appear_to_support_the_chroot___system_call
lea ecx, [rbp + 0x10]
call fcn.14000e820
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
mov byte [rax + 1], 1
cmp dword [rcx + 0x20], ebp
jne 0x14001a429
movzx edx, byte [0x1400d1a42]
test dl, dl
jne 0x14001a413
cmp byte [0x1400cb9c6], bpl
jne 0x14001a429
mov ecx, 0x40
call fcn.14000ec70
test al, al
je 0x14001a40a
lea rdx, str.WARNING:_this_configuration_may_cache_passwords_in_memory____use_the_auth_nocache_option_to_prevent_this
mov ecx, 0x40
call fcn.14000e820
mov byte [0x1400cb9c6], 1
jmp 0x14001a429
lea rdi, [0x1400d1a40]
xor eax, eax
mov ecx, 0x2003
rep stosb byte [rdi], al
mov byte [0x1400d1a42], dl
mov edi, esi
and edi, 1
je 0x14001a464
mov ecx, 0x1001
call fcn.140061d20
mov ecx, 0x1001
call fcn.1400801e0
cmp dword [0x1400d3ed4], 1
jb 0x14001a493
mov ecx, 1
call fcn.14000ec70
test al, al
je 0x14001a493
lea rdx, str._s_With_Errors___see_http:__openvpn.net_faq.htmldhcpclientserv__
jmp 0x14001a482
cmp dword [0x1400d3ed4], 1
jb 0x14001a493
mov ecx, 1
call fcn.14000ec70
test al, al
je 0x14001a493
lea rdx, [0x14008d6e8]
lea r8, str.Initialization_Sequence_Completed
mov ecx, 1
call fcn.14000e820
test sil, 3
jne 0x14001a4a0
mov byte [rbx + 0x138], 1
mov rcx, qword [rbx + 0xc68]
call fcn.1400827f0
cmp qword [0x1400d3e98], rbp
je 0x14001a5e1
mov rcx, qword [rbx + 0xd30]
lea rax, str.SUCCESS
test edi, edi
mov dword [rsp + 0x60], 0x1c
lea rsi, str.ERROR
xorps xmm0, xmm0
cmove rsi, rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
mov rax, qword [rbx + 0xd40]
movups xmmword [rsp + 0x68], xmm0
test rax, rax
jne 0x14001a501
mov rax, rcx
mov rax, qword [rax]
lea r8, [rsp + 0x60]
mov rcx, qword [rcx + 0x30]
lea rdx, [rsp + 0x68]
movups xmm0, xmmword [rax + 0x18]
movsd xmm1, qword [rax + 0x28]
mov eax, dword [rax + 0x30]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd qword [rsp + 0x50], xmm1
call qword [sym.imp.WS2_32.dll_getsockname]
mov rcx, qword [rbx + 0xc68]
mov r8, rsi
test rcx, rcx
mov edx, 4
lea rdi, [rcx + 0x14c]
lea rax, [rcx + 0x154]
cmove rdi, rbp
lea rcx, [rsp + 0x40]
cmove rax, rbp
mov qword [rsp + 0x30], rcx
mov r9, rdi
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
call fcn.140026490
test rdi, rdi
je 0x14001a5e1
mov rbx, qword [0x1400d3e98]
cmp byte [rbx + 0xf0], bpl
je 0x14001a5e1
cmp dword [rbx + 0x2118], ebp
jne 0x14001a5e1
mov ecx, dword [rdi]
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, eax
lea rdi, [rbx + 0xe8]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov rdx, rax
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov ecx, 0x400
call fcn.1400632a0
test eax, eax
jne 0x14001a60a
mov rcx, rbx
call fcn.140025f80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008aca0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea r8, str.ret0
mov edx, 0xc07
lea rcx, str.C:Users_vagrant_buildbotwindows_server_2019_static_msbuildopenvpn_srcopenvpnmanage.c
call fcn.14000ed60
int3