Function at 0x14001ca80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13b0]
mov eax, 0x14b0
call fcn.14003d750
sub rsp, rax
movaps xmmword [rsp + 0x14a0], xmm6
mov rax, qword [0x1400920a0]
xor rax, rsp
mov qword [rbp + 0x1390], rax
xor r12d, r12d
mov dword [rsp + 0x24], r12d
mov byte [rsp + 0x20], r12b
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
call fcn.14001d240
call fcn.140003340
mov rbx, rax
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x160], cl
movabs rax, 0x3fb999999999999a
mov qword [rbx + 0x168], rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r12b
lea r8d, [r12 + 0xe]
lea rdx, str.rsVPNClientSvc
lea rcx, [rsp + 0x78]
call fcn.140007e00
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.14002ff00
lea rcx, [rbx + 0x80]
mov rdx, rax
call fcn.140006da0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14001cb8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cb8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d210
call fcn.14003cd90
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001cbdc
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cbd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d216
call fcn.14003cd90
mov rcx, rbx
call fcn.140003db0
test al, al
jne 0x14001cc22
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov r8d, 0x1e
lea rdx, str.Using_hardcoded_default_config
lea rcx, [rsp + 0x78]
call fcn.140007e00
lea rcx, [rsp + 0x78]
call fcn.14002e290
mov rcx, rbx
call fcn.1400036c0
call fcn.140003340
movzx edx, byte [rax + 0x160]
lea rcx, [rbp - 0x28]
call fcn.140001f30
mov r15, rax
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
xor r8d, r8d
lea rdx, [0x14007e05b]
lea rcx, [rbp - 0x68]
call fcn.140007e00
mov ebx, 1
mov dword [rsp + 0x24], ebx
mov edi, dword [rsp + 0x30]
mov ecx, edi
lea r14, str.Unknown
lea esi, [rbx + 8]
test edi, edi
je 0x14001cca0
sub ecx, ebx
je 0x14001cc97
cmp ecx, ebx
je 0x14001cc8b
mov rdx, r14
jmp 0x14001cca7
lea rdx, str.Uninstall
mov r8, rsi
jmp 0x14001ccad
lea rdx, str.Install
jmp 0x14001cca7
lea rdx, str.Regular
mov r8d, 7
lea rcx, [rbp - 0x68]
call fcn.140007e00
mov r9d, 0x1f
lea r8, str.rsClientSvc_starting_with_mode
lea rcx, [rbp - 0x68]
call fcn.14000b490
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x24], 3
mov r8d, 6
lea rdx, str._dev:
lea rcx, [rsp + 0x78]
call fcn.140007f60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x24], 7
mov r9, r15
lea r8, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000a470
mov dword [rsp + 0x24], 0xf
lea rcx, [rsp + 0x58]
call fcn.14002e290
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14001cd9d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d21c
call fcn.14003cd90
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001cdd9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cdd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d222
call fcn.14003cd90
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x24], 0xe
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14001ce2d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ce28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d228
call fcn.14003cd90
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001ce78
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ce73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d22e
call fcn.14003cd90
call fcn.14001f370
call fcn.140027b90
mov edx, eax
cmp eax, 0xffffffff
jne 0x14001cf28
call fcn.14003bed0
mov dword [rbp + 0x1384], 0xffffffff
mov dword [rbp + 4], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rbp + rbx*4 + 4], eax
inc rbx
cmp rbx, 0x270
jb 0x14001cea0
mov dword [rbp], 0x270
lea rcx, [rbp]
call fcn.14001e360
mov r8d, eax
mov eax, 0x6680a41
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 9
cmp ecx, 0x419a02
jae 0x14001cec6
mov eax, 0x6680a41
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3e7
sub r8d, eax
lea ecx, [r8 - 0x7fffffff]
mov r8d, 0x80000000
lea eax, [rcx + r8]
lea edx, [rcx - 0x80000000]
cmp ecx, r8d
cmovae edx, eax
movd xmm6, edx
cvtdq2pd xmm6, xmm6
divsd xmm6, qword [0x140085898]
call fcn.140003340
movsd xmm1, qword [rax + 0x168]
movzx eax, byte [0x1400958ea]
mov byte [0x1400958e8], al
test al, al
jne 0x14001cf7d
xorps xmm0, xmm0
comisd xmm6, xmm0
jb 0x14001cf79
comisd xmm1, xmm0
jbe 0x14001cf79
movsd xmm0, qword [0x140085890]
comisd xmm0, xmm1
jb 0x14001cf79
comisd xmm1, xmm6
ja 0x14001cf7d
xor al, al
jmp 0x14001cf7f
mov al, 1
mov byte [0x1400958e9], al
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
xor r8d, r8d
lea rdx, [0x14007e05b]
lea rcx, [rsp + 0x78]
call fcn.140007e00
mov dword [rsp + 0x24], 0x1e
mov ecx, edi
test edi, edi
je 0x14001cfe2
sub ecx, 1
je 0x14001cfd9
cmp ecx, 1
jne 0x14001cfe9
lea r14, str.Uninstall
jmp 0x14001cfee
lea r14, str.Install
jmp 0x14001cfe9
lea r14, str.Regular
mov esi, 7
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140007e00
mov r9d, 0x1c
lea r8, str.rsClientSvc_running_in_mode
lea rcx, [rsp + 0x78]
call fcn.14000b490
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x24], 0x3e
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov r8d, 4
lea rdx, str.Main
lea rcx, [rbp - 0x48]
call fcn.140007e00
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140019de0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001d0b8
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d0b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d20a
call fcn.14003cd90
call fcn.140003340
lea rdx, [rax + 0xc0]
lea rcx, [rbp - 0x28]
call fcn.140006e80
mov rdx, rax
call fcn.14001b5d0
test al, al
jne 0x14001d14a
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov r8d, 0x21
lea rdx, str.Product_registry_entry_is_missing
lea rcx, [rbp - 0x48]
call fcn.140007e00
nop
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov r8d, 4
lea rdx, str.Main
lea rcx, [rsp + 0x78]
call fcn.140007e00
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14001a090
mov eax, 0xfffffffe
jmp 0x14001d1da
cmp edi, 1
jne 0x14001d159
call fcn.14001d5c0
jmp 0x14001d1da
cmp edi, 2
jne 0x14001d165
call fcn.14001dc00
jmp 0x14001d1da
call fcn.140003340
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001d178
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rax, [0x14001dda0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14001d1a9
mov eax, 0xfffffffd
jmp 0x14001d1da
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov r8d, 0x17
lea rdx, str.rsClientSvc:_Main:_Exit
lea rcx, [rbp - 0x48]
call fcn.140007c30
lea rcx, [rbp - 0x48]
call fcn.14002e330
xor eax, eax
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.14003cd70
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004f8c4
nop
call fcn.14004f8c4
nop
call fcn.14004f8c4
nop
call fcn.14004f8c4
nop
call fcn.14004f8c4
nop
call fcn.14004f8c4
nop
call fcn.14004f8c4
int3