Function at 0x14001cc00
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.1400416d0
sub rsp, rax
movaps xmmword [rsp + 0x14a0], xmm6
mov rax, qword [0x14009a0a0]
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.14001d3c0
call fcn.140003370
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 + 0xb]
lea rdx, str.rsClientSvc
lea rcx, [rsp + 0x78]
call fcn.140007ec0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1400321e0
lea rcx, [rbx + 0x80]
mov rdx, rax
call fcn.140006ca0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14001cd0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d390
call fcn.140040d10
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001cd5c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d396
call fcn.140040d10
mov rcx, rbx
call fcn.140003de0
test al, al
jne 0x14001cda2
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.140007ec0
lea rcx, [rsp + 0x78]
call fcn.140030470
mov rcx, rbx
call fcn.1400036f0
call fcn.140003370
movzx edx, byte [rax + 0x160]
lea rcx, [rbp - 0x28]
call fcn.140001f60
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, [0x14008512b]
lea rcx, [rbp - 0x68]
call fcn.140007ec0
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 0x14001ce20
sub ecx, ebx
je 0x14001ce17
cmp ecx, ebx
je 0x14001ce0b
mov rdx, r14
jmp 0x14001ce27
lea rdx, str.Uninstall
mov r8, rsi
jmp 0x14001ce2d
lea rdx, str.Install
jmp 0x14001ce27
lea rdx, str.Regular
mov r8d, 7
lea rcx, [rbp - 0x68]
call fcn.140007ec0
mov r9d, 0x1f
lea r8, str.rsClientSvc_starting_with_mode
lea rcx, [rbp - 0x68]
call fcn.14000b550
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.140008020
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.14000a530
mov dword [rsp + 0x24], 0xf
lea rcx, [rsp + 0x58]
call fcn.140030470
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14001cf1d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cf17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d39c
call fcn.140040d10
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001cf59
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cf54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d3a2
call fcn.140040d10
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 0x14001cfad
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cfa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d3a8
call fcn.140040d10
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001cff8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d3ae
call fcn.140040d10
call fcn.14002d1c0
mov edx, eax
cmp eax, 0xffffffff
jne 0x14001d0a8
call fcn.14003fe54
mov dword [rbp + 0x1384], 0xffffffff
mov dword [rbp + 4], eax
nop word [rax + rax]
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 0x14001d020
mov dword [rbp], 0x270
lea rcx, [rbp]
call fcn.14001e4d0
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 0x14001d046
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 [0x14008cec0]
call fcn.140003370
movsd xmm1, qword [rax + 0x168]
movzx eax, byte [0x14009d9ba]
mov byte [0x14009d9b8], al
test al, al
jne 0x14001d0fd
xorps xmm0, xmm0
comisd xmm6, xmm0
jb 0x14001d0f9
comisd xmm1, xmm0
jbe 0x14001d0f9
movsd xmm0, qword [0x14008cea8]
comisd xmm0, xmm1
jb 0x14001d0f9
comisd xmm1, xmm6
ja 0x14001d0fd
xor al, al
jmp 0x14001d0ff
mov al, 1
mov byte [0x14009d9b9], 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, [0x14008512b]
lea rcx, [rsp + 0x78]
call fcn.140007ec0
mov dword [rsp + 0x24], 0x1e
mov ecx, edi
test edi, edi
je 0x14001d162
sub ecx, 1
je 0x14001d159
cmp ecx, 1
jne 0x14001d169
lea r14, str.Uninstall
jmp 0x14001d16e
lea r14, str.Install
jmp 0x14001d169
lea r14, str.Regular
mov esi, 7
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140007ec0
mov r9d, 0x1c
lea r8, str.rsClientSvc_running_in_mode
lea rcx, [rsp + 0x78]
call fcn.14000b550
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.140007ec0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140019ed0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14001d238
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d233
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d38a
call fcn.140040d10
call fcn.140003370
lea rdx, [rax + 0xc0]
lea rcx, [rbp - 0x28]
call fcn.140006d80
mov rdx, rax
call fcn.14001b740
test al, al
jne 0x14001d2ca
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.140007ec0
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.140007ec0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14001a180
mov eax, 0xfffffffe
jmp 0x14001d35a
cmp edi, 1
jne 0x14001d2d9
call fcn.14001d740
jmp 0x14001d35a
cmp edi, 2
jne 0x14001d2e5
call fcn.14001dd80
jmp 0x14001d35a
call fcn.140003370
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001d2f8
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rax, [0x14001deb0]
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 0x14001d329
mov eax, 0xfffffffd
jmp 0x14001d35a
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.140007cf0
lea rcx, [rbp - 0x48]
call fcn.140030510
xor eax, eax
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.140040cf0
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.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
int3