Function at 0x14014be18
Capabilities:
Encode data using base64
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, r9
mov edi, edx
mov rbx, r8
mov sil, cl
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014be8f
test byte [rcx + 0x1c], 0x20
je 0x14014be8f
cmp byte [rcx + 0x19], 4
jb 0x14014be8f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x3b
call fcn.140006b98
mov rcx, qword [0x14017a048]
xor r13d, r13d
lea r14, str.base_stor_blb_bmr_asrrestore.cpp
test rbx, rbx
jne 0x14014beb9
lea r8, str.rgguidVolumes
mov edx, 0x3eb
mov rcx, r14
call fcn.14008ac24
mov rcx, qword [0x14017a048]
test edi, edi
jne 0x14014bed8
lea r8, str.cVolumes___0
mov edx, 0x3ec
mov rcx, r14
call fcn.14008ac24
mov rcx, qword [0x14017a048]
test r12, r12
jne 0x14014bef8
lea r8, str.hKey
mov edx, 0x3ed
mov rcx, r14
call fcn.14008ac24
mov rcx, qword [0x14017a048]
mov qword [rbp - 9], r13
xorps xmm0, xmm0
mov dword [rbp + 0xf], 0xa
xorps xmm1, xmm1
mov qword [rbp - 0x39], r13
mov r14, r13
mov dword [rbp - 0x31], r13d
mov r15, r13
mov dword [rbp - 0x2d], r13d
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x29], r13
movdqu xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x14015f068]
movdqu xmmword [rbp - 1], xmm1
movdqu xmmword [rbp + 0x17], xmm0
test edi, edi
je 0x14014bf5a
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.1400f84c0
add rbx, 0x10
sub rdi, 1
jne 0x14014bf3d
mov rcx, qword [0x14017a048]
test sil, sil
je 0x14014c26f
lea r9, [rbp - 0x31]
mov rcx, r12
lea r8, [rbp - 0x39]
call fcn.140094b98
mov ebx, eax
test eax, eax
jns 0x14014c011
cmp eax, 0x80070002
jne 0x14014bfd1
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014bfc8
test byte [rcx + 0x1c], 0x20
je 0x14014bfc8
cmp byte [rcx + 0x19], 4
jb 0x14014bfc8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x3c
call fcn.140006b98
mov r14, qword [rbp - 0x39]
mov rcx, qword [0x14017a048]
jmp 0x14014c276
mov r14, qword [rbp - 0x39]
jmp 0x14014c276
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014c05e
test byte [rcx + 0x1c], 0x20
je 0x14014c05e
cmp byte [rcx + 0x19], 2
jb 0x14014c05e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x3d
mov r9d, eax
call fcn.140006bc4
mov r14, qword [rbp - 0x39]
jmp 0x14014c46d
mov r8d, dword [rbp - 0x31]
cmp r8d, 4
jae 0x14014c067
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014c059
test byte [rcx + 0x1c], 0x20
je 0x14014c059
cmp byte [rcx + 0x19], 2
jb 0x14014c059
mov rcx, qword [rcx + 0x10]
mov r9d, r8d
lea r8, [0x14016abb8]
mov edx, 0x3e
call fcn.140011750
mov rcx, qword [0x14017a048]
mov ebx, 0x8000ffff
mov r14, qword [rbp - 0x39]
jmp 0x14014c474
mov r14, qword [rbp - 0x39]
shr r8d, 1
lea eax, [r8 - 1]
cmp word [r14 + rax*2], r13w
jne 0x14014c22a
lea eax, [r8 - 2]
cmp word [r14 + rax*2], r13w
jne 0x14014c22a
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014c0ca
test byte [rcx + 0x1c], 0x20
je 0x14014c0ca
cmp byte [rcx + 0x19], 4
jb 0x14014c0ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x40
mov r9, r14
call fcn.1400112c8
mov rcx, qword [0x14017a048]
mov rdi, r14
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r13w
jne 0x14014c0d1
test rax, rax
je 0x14014c276
test r15, r15
je 0x14014c0fc
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x29], r13
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.14008c48c
mov ebx, eax
test eax, eax
js 0x14014c1e4
mov r15, qword [rbp - 0x29]
lea rdx, [rbp + 0x17]
mov eax, 0x5c
mov rcx, r15
mov word [r15 + 2], ax
call fcn.14008e374
mov ebx, eax
test eax, eax
js 0x14014c19f
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x14014c15e
mov rcx, qword [rbp + 0x1f]
mov rdx, qword [rbp + 0x17]
cmp qword [rax + 0x10], rdx
jne 0x14014c14f
cmp qword [rax + 0x18], rcx
je 0x14014c159
mov rax, qword [rax]
test rax, rax
je 0x14014c15e
jmp 0x14014c143
test rax, rax
jne 0x14014c16b
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.1400f84c0
or rdx, 0xffffffffffffffff
mov rax, rdx
inc rax
cmp word [rdi + rax*2], r13w
jne 0x14014c172
lea rdi, [rdi + rax*2]
mov rax, rdx
add rdi, 2
inc rax
cmp word [rdi + rax*2], r13w
jne 0x14014c187
test rax, rax
jne 0x14014c0e4
jmp 0x14014bfbc
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014c474
test byte [rcx + 0x1c], 0x20
je 0x14014c474
cmp byte [rcx + 0x19], 2
jb 0x14014c474
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x42
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140011330
jmp 0x14014c46d
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014c221
test byte [rcx + 0x1c], 0x20
je 0x14014c221
cmp byte [rcx + 0x19], 2
jb 0x14014c221
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x41
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140011330
mov r15, qword [rbp - 0x29]
jmp 0x14014c46d
mov r15, qword [rbp - 0x29]
jmp 0x14014c474
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14014c265
test byte [rcx + 0x1c], 0x20
je 0x14014c265
cmp byte [rcx + 0x19], 2
jb 0x14014c265
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x3f
call fcn.140006b98
mov rcx, qword [0x14017a048]
mov ebx, 0x80070057
jmp 0x14014c474
lea rsi, [0x14017a048]
mov ebx, dword [rbp - 9]
mov edx, 0xffffffff
mov eax, ebx
shl rax, 4
cmp rax, rdx
ja 0x14014c43f
mov ecx, eax
mov edi, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14014c2bd
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
mov ebx, 0x8007000e
jmp 0x14014c444
mov r8, rdi
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov rcx, qword [rbp - 0x19]
mov r8d, r13d
test ebx, ebx
je 0x14014c2fb
mov rdx, rsi
test rcx, rcx
je 0x14014c509
mov rax, rcx
inc r8d
mov rcx, qword [rcx]
movups xmm0, xmmword [rax + 0x10]
movdqu xmmword [rdx], xmm0
add rdx, 0x10
cmp r8d, ebx
jb 0x14014c2d8
lea r9, [rbp - 0x21]
mov rdx, rsi
lea r8, [rbp - 0x2d]
mov ecx, ebx
call fcn.14008bebc
mov rdi, qword [rbp - 0x21]
mov ebx, eax
test eax, eax
jns 0x14014c35f
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014c413
test byte [rcx + 0x1c], 0x20
je 0x14014c413
cmp byte [rcx + 0x19], 2
jb 0x14014c413
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x44
mov r9d, ebx
call fcn.140006bc4
jmp 0x14014c413
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014c396
test byte [rcx + 0x1c], 0x20
je 0x14014c396
cmp byte [rcx + 0x19], 4
jb 0x14014c396
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x45
mov r9, rdi
call fcn.1400112c8
mov eax, dword [rbp - 0x2d]
lea rdx, str.RestoredVolumes
mov dword [rsp + 0x28], eax
mov r9d, 7
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14014c413
jg 0x14014c3cb
mov ebx, eax
jmp 0x14014c3d4
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14014c413
test byte [rcx + 0x1c], 0x20
je 0x14014c413
cmp byte [rcx + 0x19], 2
jb 0x14014c413
mov rcx, qword [rcx + 0x10]
lea r9, str.RestoredVolumes
mov edx, 0x46
mov dword [rsp + 0x20], ebx
lea r8, [0x14016abb8]
call fcn.140011330
test rdi, rdi
je 0x14014c427
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rsi, [0x14017a048]
jmp 0x14014c46d
mov ebx, 0x80070216
cmp rcx, rsi
je 0x14014c474
test byte [rcx + 0x1c], 0x20
je 0x14014c474
cmp byte [rcx + 0x19], 2
jb 0x14014c474
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x43
mov r9d, ebx
call fcn.140006bc4
mov rcx, qword [0x14017a048]
test r14, r14
je 0x14014c48f
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test r15, r15
je 0x14014c4aa
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14014c4d0
test byte [rcx + 0x1c], 0x20
je 0x14014c4d0
cmp byte [rcx + 0x19], 4
jb 0x14014c4d0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016abb8]
mov edx, 0x47
call fcn.140006b98
lea rcx, [rbp - 0x19]
call fcn.1400ee9e8
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003714
int3