Function at 0x14001d890
Capabilities:
Get local ipv4 addresses
Get socket information
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2d0], rbx
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rdx
mov rbx, rcx
xor edi, edi
lea rax, vtable.InMemoryStream.0
mov qword [rsp + 0x40], rax
mov ecx, 0x400
call fcn.140198594
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0x400
mov rdx, r12
mov rcx, rbx
call fcn.140007720
cmp eax, 1
jne 0x14001d911
mov r14d, eax
jmp 0x14001e02c
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008a30
mov r14d, 1
lea r13, str.close
test rax, rax
je 0x14001d95d
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r13 + rcx - 1]
jne 0x14001d959
cmp rcx, 6
jne 0x14001d940
cmp dl, byte [r13 + rcx - 1]
cmove edi, r14d
mov rcx, rbx
call fcn.140009120
test eax, eax
cmove edi, r14d
mov rcx, rbx
call fcn.140008660
mov r15, rax
mov rcx, rbx
call fcn.140008670
xor edx, edx
lea r8, str.HEAD
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x14001d9a8
cmp rdx, 5
jne 0x14001d990
xor esi, esi
jmp 0x14001d9ad
sbb esi, esi
or esi, r14d
mov rdx, r15
lea rcx, str._Connectivity
call fcn.14019af50
test eax, eax
jne 0x14001daa7
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [rsp + 0x64]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001e1b0
mov rcx, rbx
call fcn.140008e10
mov rcx, rbx
call fcn.140008640
mov r8, rax
lea rax, [0x140227afc]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197aa8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085a0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008830
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008830
cmp edi, r14d
jne 0x14001da7f
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008830
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140008af0
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a20
jmp 0x14001e02f
mov rdx, r15
lea rcx, str._Connectivity_settings
call fcn.14019af50
test eax, eax
jne 0x14001dc0f
mov rcx, rbx
call fcn.1400090a0
mov r13, rax
lea r15, str.settings.xsl
lea rcx, str.TS_CONFIG
call fcn.140198108
mov rcx, rax
call fcn.14000faf0
mov dword [rsp + 0x30], 0
test r13, r13
je 0x14001db00
mov rdx, r15
mov rcx, rbx
call fcn.140006180
test eax, eax
jne 0x14001db03
xor r15d, r15d
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r15
call fcn.140010fd0
mov r15, rax
mov dword [rsp + 0x34], 0
lea rcx, [0x140270aa0]
cmp qword [0x140270ab8], 0x10
cmovae rcx, qword [0x140270aa0]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x34]
call fcn.14000fcc0
mov r13, rax
mov rcx, rbx
call fcn.140008e10
mov rcx, rbx
call fcn.140008640
mov r8, rax
lea rax, [0x140227afc]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197aa8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085a0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008830
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008830
cmp edi, r14d
jne 0x14001dbd1
lea r8, str.close
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008830
mov eax, dword [rsp + 0x34]
add eax, eax
mov r8d, dword [rsp + 0x30]
add r8d, r8d
mov dword [rsp + 0x20], eax
mov r9, r13
mov rdx, r15
mov rcx, rbx
call fcn.140008b80
mov rcx, r15
call fcn.140198554
mov r9d, r14d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a20
jmp 0x14001e02f
mov rdx, r15
lea rcx, str._Connectivity_config
call fcn.14019af50
test eax, eax
jne 0x14001dd53
lea r14, str.__xml_version1.0__
mov rcx, rbx
call fcn.1400090a0
mov r15, rax
test rax, rax
je 0x14001dc6e
lea rdx, str.config.xsl
mov rcx, rbx
call fcn.140006180
test eax, eax
je 0x14001dc6e
lea r9, str.config.xsl
mov r8, r15
lea rdx, str.__xml_version1.0___n__xml_stylesheet_type_s_href_xslt__s___n
lea rcx, [rbp + 0x70]
call fcn.140197aa8
lea r14, [rbp + 0x70]
mov rcx, rbx
call fcn.140008e10
mov rcx, rbx
call fcn.140008640
mov r8, rax
lea rax, [0x140227afc]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197aa8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085a0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008830
lea rcx, [0x140270a18]
cmp qword [0x140270a30], 0x10
cmovae rcx, qword [0x140270a18]
xor r8d, r8d
mov rdx, r14
call fcn.140004230
mov r14, rax
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008830
cmp edi, 1
jne 0x14001dd19
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008830
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x14001dd20
mov rdx, r14
mov rcx, rbx
call fcn.140008af0
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a20
mov rcx, r14
call fcn.140198554
jmp 0x14001e02f
mov rdx, r15
lea rcx, str._Connectivity_ts_config
call fcn.14019af50
test eax, eax
jne 0x14001dea3
lea rcx, str.TS_CONFIG
call fcn.140198108
test rax, rax
je 0x14001dea3
lea r14, str.__xml_version1.0__
mov rcx, rbx
call fcn.1400090a0
mov r15, rax
test rax, rax
je 0x14001ddc7
lea rdx, str.config.xsl
mov rcx, rbx
call fcn.140006180
test eax, eax
je 0x14001ddc7
lea r9, str.config.xsl
mov r8, r15
lea rdx, str.__xml_version1.0___n__xml_stylesheet_type_s_href_xslt__s___n
lea rcx, [rbp + 0x70]
call fcn.140197aa8
lea r14, [rbp + 0x70]
mov rcx, rbx
call fcn.140008e10
mov rcx, rbx
call fcn.140008640
mov r8, rax
lea rax, [0x140227afc]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197aa8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085a0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008830
lea rcx, str.TS_CONFIG
call fcn.140198108
mov rcx, rax
mov r8b, 1
mov rdx, r14
call fcn.140004230
mov r14, rax
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008830
cmp edi, 1
jne 0x14001de6a
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008830
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [r14 + r8], 0
jne 0x14001de70
mov rdx, r14
mov rcx, rbx
call fcn.140008af0
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a20
mov rcx, r14
call fcn.140198554
jmp 0x14001e02f
mov r8d, reloc.WS2_32.dll_socket
mov rdx, r15
lea rcx, str._Connectivity_settings_
call fcn.1401992e0
mov rcx, rbx
test eax, eax
jne 0x14001e021
lea r13, str.settingsDetails.xsl
call fcn.1400090a0
mov qword [rsp + 0x38], rax
lea rcx, str.TS_CONFIG
call fcn.140198108
mov rcx, rax
call fcn.14000faf0
mov dword [rsp + 0x34], 0
cmp qword [rsp + 0x38], 0
je 0x14001df07
mov rdx, r13
mov rcx, rbx
call fcn.140006180
test eax, eax
jne 0x14001df0a
xor r13d, r13d
lea r8, [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov rcx, r13
call fcn.140010fd0
mov r13, rax
mov dword [rsp + 0x30], 0
lea rcx, [0x140270aa0]
cmp qword [0x140270ab8], 0x10
cmovae rcx, qword [0x140270aa0]
lea rdx, [r15 + 0x17]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
call fcn.14000fdc0
mov r15, rax
mov rcx, rbx
call fcn.140008e10
mov rcx, rbx
call fcn.140008640
mov r8, rax
lea rax, [0x140227afc]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197aa8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085a0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008830
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008830
cmp edi, r14d
jne 0x14001dfde
lea r8, str.close
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008830
mov eax, dword [rsp + 0x30]
add eax, eax
mov r8d, dword [rsp + 0x34]
add r8d, r8d
mov dword [rsp + 0x20], eax
mov r9, r15
mov rdx, r13
mov rcx, rbx
call fcn.140008b80
mov rcx, r13
call fcn.140198554
mov rcx, r15
call fcn.140198554
mov r9d, r14d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a20
jmp 0x14001e02f
mov rdx, r12
call fcn.140006630
mov r14d, eax
mov edi, r14d
lea rax, vtable.InMemoryStream.0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x50]
call fcn.140198554
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14019ac00
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret