Function at 0x14001d9e0
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.140198304
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0x400
mov rdx, r12
mov rcx, rbx
call fcn.140007760
cmp eax, 1
jne 0x14001da61
mov r14d, eax
jmp 0x14001e17c
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008a70
mov r14d, 1
lea r13, str.close
test rax, rax
je 0x14001daad
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r13 + rcx - 1]
jne 0x14001daa9
cmp rcx, 6
jne 0x14001da90
cmp dl, byte [r13 + rcx - 1]
cmove edi, r14d
mov rcx, rbx
call fcn.140009160
test eax, eax
cmove edi, r14d
mov rcx, rbx
call fcn.1400086a0
mov r15, rax
mov rcx, rbx
call fcn.1400086b0
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 0x14001daf8
cmp rdx, 5
jne 0x14001dae0
xor esi, esi
jmp 0x14001dafd
sbb esi, esi
or esi, r14d
mov rdx, r15
lea rcx, str._Connectivity
call fcn.14019ad70
test eax, eax
jne 0x14001dbf7
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.14001e300
mov rcx, rbx
call fcn.140008e50
mov rcx, rbx
call fcn.140008680
mov r8, rax
lea rax, [0x140227a0c]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197bf8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085e0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008870
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008870
cmp edi, r14d
jne 0x14001dbcf
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008870
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140008b30
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a70
jmp 0x14001e17f
mov rdx, r15
lea rcx, str._Connectivity_settings
call fcn.14019ad70
test eax, eax
jne 0x14001dd5f
mov rcx, rbx
call fcn.1400090e0
mov r13, rax
lea r15, str.settings.xsl
lea rcx, str.TS_CONFIG
call fcn.140198258
mov rcx, rax
call fcn.14000fb80
mov dword [rsp + 0x30], 0
test r13, r13
je 0x14001dc50
mov rdx, r15
mov rcx, rbx
call fcn.1400061c0
test eax, eax
jne 0x14001dc53
xor r15d, r15d
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r15
call fcn.140011060
mov r15, rax
mov dword [rsp + 0x34], 0
lea rcx, [0x140270ae0]
cmp qword [0x140270af8], 0x10
cmovae rcx, qword [0x140270ae0]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x34]
call fcn.14000fd50
mov r13, rax
mov rcx, rbx
call fcn.140008e50
mov rcx, rbx
call fcn.140008680
mov r8, rax
lea rax, [0x140227a0c]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197bf8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085e0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008870
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008870
cmp edi, r14d
jne 0x14001dd21
lea r8, str.close
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008870
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.140008bc0
mov rcx, r15
call fcn.1401982c4
mov r9d, r14d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a70
jmp 0x14001e17f
mov rdx, r15
lea rcx, str._Connectivity_config
call fcn.14019ad70
test eax, eax
jne 0x14001dea3
lea r14, str.__xml_version1.0__
mov rcx, rbx
call fcn.1400090e0
mov r15, rax
test rax, rax
je 0x14001ddbe
lea rdx, str.config.xsl
mov rcx, rbx
call fcn.1400061c0
test eax, eax
je 0x14001ddbe
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.140197bf8
lea r14, [rbp + 0x70]
mov rcx, rbx
call fcn.140008e50
mov rcx, rbx
call fcn.140008680
mov r8, rax
lea rax, [0x140227a0c]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197bf8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085e0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008870
lea rcx, [0x140270a58]
cmp qword [0x140270a70], 0x10
cmovae rcx, qword [0x140270a58]
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.140008870
cmp edi, 1
jne 0x14001de69
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008870
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x14001de70
mov rdx, r14
mov rcx, rbx
call fcn.140008b30
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a70
mov rcx, r14
call fcn.1401982c4
jmp 0x14001e17f
mov rdx, r15
lea rcx, str._Connectivity_ts_config
call fcn.14019ad70
test eax, eax
jne 0x14001dff3
lea rcx, str.TS_CONFIG
call fcn.140198258
test rax, rax
je 0x14001dff3
lea r14, str.__xml_version1.0__
mov rcx, rbx
call fcn.1400090e0
mov r15, rax
test rax, rax
je 0x14001df17
lea rdx, str.config.xsl
mov rcx, rbx
call fcn.1400061c0
test eax, eax
je 0x14001df17
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.140197bf8
lea r14, [rbp + 0x70]
mov rcx, rbx
call fcn.140008e50
mov rcx, rbx
call fcn.140008680
mov r8, rax
lea rax, [0x140227a0c]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197bf8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085e0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008870
lea rcx, str.TS_CONFIG
call fcn.140198258
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.140008870
cmp edi, 1
jne 0x14001dfba
mov r8, r13
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008870
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [r14 + r8], 0
jne 0x14001dfc0
mov rdx, r14
mov rcx, rbx
call fcn.140008b30
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a70
mov rcx, r14
call fcn.1401982c4
jmp 0x14001e17f
mov r8d, reloc.WS2_32.dll_socket
mov rdx, r15
lea rcx, str._Connectivity_settings_
call fcn.140199100
mov rcx, rbx
test eax, eax
jne 0x14001e171
lea r13, str.settingsDetails.xsl
call fcn.1400090e0
mov qword [rsp + 0x38], rax
lea rcx, str.TS_CONFIG
call fcn.140198258
mov rcx, rax
call fcn.14000fb80
mov dword [rsp + 0x34], 0
cmp qword [rsp + 0x38], 0
je 0x14001e057
mov rdx, r13
mov rcx, rbx
call fcn.1400061c0
test eax, eax
jne 0x14001e05a
xor r13d, r13d
lea r8, [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov rcx, r13
call fcn.140011060
mov r13, rax
mov dword [rsp + 0x30], 0
lea rcx, [0x140270ae0]
cmp qword [0x140270af8], 0x10
cmovae rcx, qword [0x140270ae0]
lea rdx, [r15 + 0x17]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
call fcn.14000fe50
mov r15, rax
mov rcx, rbx
call fcn.140008e50
mov rcx, rbx
call fcn.140008680
mov r8, rax
lea rax, [0x140227a0c]
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea rdx, str._s__d__s
lea rcx, [rsp + 0x70]
call fcn.140197bf8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400085e0
lea r8, str.Matcher
lea rdx, str.Server
mov rcx, rbx
call fcn.140008870
lea r8, str.text_xml
lea rdx, str.Content_Type
mov rcx, rbx
call fcn.140008870
cmp edi, r14d
jne 0x14001e12e
lea r8, str.close
lea rdx, str.Connection
mov rcx, rbx
call fcn.140008870
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.140008bc0
mov rcx, r13
call fcn.1401982c4
mov rcx, r15
call fcn.1401982c4
mov r9d, r14d
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call fcn.140007a70
jmp 0x14001e17f
mov rdx, r12
call fcn.140006670
mov r14d, eax
mov edi, r14d
lea rax, vtable.InMemoryStream.0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x50]
call fcn.1401982c4
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14019aa20
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret