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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r13, r9
mov rdi, r8
mov ebx, edx
mov sil, cl
lea rax, [0x1001653b8]
mov r15b, 0x20
mov r10, qword [0x1001653b8]
cmp r10, rax
je 0x100147487
test byte [r10 + 0x1c], r15b
je 0x100147487
cmp byte [r10 + 0x19], 4
jb 0x100147487
mov edx, 0x39
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7b8
mov r10, qword [0x1001653b8]
lea rbp, [0x1000157f8]
xor r14d, r14d
cmp rdi, r14
jne 0x1001474b1
lea r8, [0x100015a90]
mov edx, 0x3ce
mov rcx, rbp
call fcn.100099ad8
mov r10, qword [0x1001653b8]
cmp ebx, r14d
ja 0x1001474d1
lea r8, [0x100015aa0]
mov edx, 0x3cf
mov rcx, rbp
call fcn.100099ad8
mov r10, qword [0x1001653b8]
cmp r13, r14
jne 0x1001474f1
lea r8, [0x100015ab0]
mov edx, 0x3d0
mov rcx, rbp
call fcn.100099ad8
mov r10, qword [0x1001653b8]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0xa
mov rbp, r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x44], r14d
movdqu xmm0, xmmword [0x100001fe0]
movdqu xmmword [rsp + 0x88], xmm0
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov r12, r14
mov qword [rsp + 0x38], r14
cmp ebx, r14d
jbe 0x100147565
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1001049fc
add rdi, 0x10
sub rbx, 1
jne 0x100147547
mov r10, qword [0x1001653b8]
cmp sil, r14b
je 0x1001478fb
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x30]
lea rdx, [0x100015ab8]
mov rcx, r13
call fcn.1000a15d4
mov edi, eax
cmp eax, r14d
jge 0x10014763c
cmp eax, 0x80070002
jne 0x1001475e9
mov r10, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp r10, rax
je 0x1001475df
test byte [r10 + 0x1c], r15b
je 0x1001475df
cmp byte [r10 + 0x19], 4
jb 0x1001475df
mov edx, 0x3a
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7b8
mov rbp, qword [rsp + 0x30]
mov r10, qword [0x1001653b8]
jmp 0x1001478fb
mov rbp, qword [rsp + 0x30]
jmp 0x1001478fb
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
cmp r10, rbx
je 0x100147632
test byte [r10 + 0x1c], r15b
je 0x100147632
cmp byte [r10 + 0x19], 2
jb 0x100147632
mov edx, 0x3b
mov r9d, eax
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7dc
mov rbp, qword [rsp + 0x30]
mov r10, qword [0x1001653b8]
jmp 0x100147b27
mov rbp, qword [rsp + 0x30]
jmp 0x100147b27
mov edi, dword [rsp + 0x44]
cmp edi, 4
jae 0x100147693
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
cmp r10, rbx
je 0x100147684
test byte [r10 + 0x1c], r15b
je 0x100147684
cmp byte [r10 + 0x19], 2
jb 0x100147684
mov edx, 0x3c
mov r9d, edi
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7dc
mov r10, qword [0x1001653b8]
mov edi, 0x8000ffff
mov rbp, qword [rsp + 0x30]
jmp 0x100147b27
shr edi, 1
lea eax, [rdi - 1]
mov rbp, qword [rsp + 0x30]
cmp word [rbp + rax*2], r14w
jne 0x1001478b5
lea eax, [rdi - 2]
cmp word [rbp + rax*2], r14w
jne 0x1001478b5
mov r10, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp r10, rax
je 0x1001476f7
test byte [r10 + 0x1c], r15b
je 0x1001476f7
cmp byte [r10 + 0x19], 4
jb 0x1001476f7
mov edx, 0x3e
mov r9, rbp
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001da24
mov r10, qword [0x1001653b8]
mov rbx, rbp
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x1001478fb
cmp r12, r14
je 0x100147729
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.10009b37c
mov edi, eax
cmp eax, r14d
jl 0x100147850
mov eax, 0x5c
mov r12, qword [rsp + 0x38]
mov word [r12 + 2], ax
lea rdx, [rsp + 0x88]
mov rcx, r12
call fcn.10009c4a0
mov edi, eax
cmp eax, r14d
jl 0x1001477f5
mov rax, qword [rsp + 0x50]
cmp rax, r14
je 0x1001477a7
lea rdx, [rsp + 0x88]
mov rdi, qword [rax + 0x10]
cmp rdi, qword [rdx]
jne 0x100147796
mov rdi, qword [rax + 0x18]
cmp rdi, qword [rdx + 8]
jne 0x100147796
mov ecx, r14d
jmp 0x10014779a
sbb ecx, ecx
sbb ecx, esi
cmp ecx, r14d
je 0x1001477aa
mov rax, qword [rax]
cmp rax, r14
jne 0x100147776
mov rax, r14
cmp rax, r14
jne 0x1001477c1
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.1001049fc
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rbx, [rbx + rcx*2]
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
jne 0x100147716
mov r10, qword [0x1001653b8]
jmp 0x1001478fb
mov r10, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp r10, rax
je 0x100147b20
test byte [r10 + 0x1c], r15b
je 0x100147b17
cmp byte [r10 + 0x19], 2
jb 0x100147b0e
mov edx, 0x40
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001daa4
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
jmp 0x100147b27
mov r10, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp r10, rax
je 0x1001478a4
test byte [r10 + 0x1c], r15b
je 0x1001478a4
cmp byte [r10 + 0x19], 2
jb 0x1001478a4
mov edx, 0x3f
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001daa4
mov r12, qword [rsp + 0x38]
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
jmp 0x100147b27
mov r12, qword [rsp + 0x38]
lea rbx, [0x1001653b8]
jmp 0x100147b27
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
cmp r10, rbx
je 0x1001478f1
test byte [r10 + 0x1c], r15b
je 0x1001478f1
cmp byte [r10 + 0x19], 2
jb 0x1001478f1
mov edx, 0x3d
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7b8
mov r10, qword [0x1001653b8]
mov edi, 0x80070057
jmp 0x100147b27
mov ebx, dword [rsp + 0x60]
mov rax, rbx
shl rax, 4
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x100147917
mov edi, 0x80070216
jmp 0x100147935
mov edi, eax
mov ecx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
cmp rax, r14
jne 0x10014797e
mov edi, 0x8007000e
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
cmp r10, rbx
je 0x100147b27
test byte [r10 + 0x1c], r15b
je 0x100147b27
cmp byte [r10 + 0x19], 2
jb 0x100147b27
mov edx, 0x41
mov r9d, edi
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7dc
mov r10, qword [0x1001653b8]
jmp 0x100147b27
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x50]
mov edi, r14d
cmp ebx, r14d
jbe 0x1001479cf
mov rcx, rsi
mov eax, r14d
cmp rdx, r14
setne al
cmp eax, r14d
je 0x1001479c4
mov rax, rdx
mov rdx, qword [rdx]
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmmword [rcx], xmm0
inc edi
add rcx, 0x10
cmp edi, ebx
jb 0x10014799b
jmp 0x1001479cf
mov ecx, 0x80004005
call fcn.100019658
int3
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rdx, rsi
mov ecx, ebx
call fcn.10009b704
mov edi, eax
mov rbx, qword [rsp + 0x48]
cmp eax, r14d
jge 0x100147a37
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100147ae7
test byte [rcx + 0x1c], r15b
je 0x100147ae7
cmp byte [rcx + 0x19], 2
jb 0x100147ae7
mov edx, 0x42
mov r9d, edi
lea r8, [0x100002c20]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
jmp 0x100147ae7
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100147a6e
test byte [rcx + 0x1c], r15b
je 0x100147a6e
cmp byte [rcx + 0x19], 4
jb 0x100147a6e
mov edx, 0x43
mov r9, rbx
lea r8, [0x100002c20]
mov rcx, qword [rcx + 0x10]
call fcn.10001da24
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 7
xor r8d, r8d
lea rdx, [0x100015ab8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, r14d
je 0x100147ae7
movzx edi, ax
or edi, 0x80070000
cmp eax, r14d
cmovle edi, eax
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100147ae7
test byte [rcx + 0x1c], r15b
je 0x100147ae7
cmp byte [rcx + 0x19], 2
jb 0x100147ae7
mov edx, 0x44
mov dword [rsp + 0x20], edi
lea r9, [0x100015ab8]
lea r8, [0x100002c20]
mov rcx, qword [rcx + 0x10]
call fcn.10001daa4
cmp rbx, r14
je 0x100147af5
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x1001653b8]
lea rbx, [0x1001653b8]
jmp 0x100147b27
lea rbx, [0x1001653b8]
jmp 0x100147b27
lea rbx, [0x1001653b8]
jmp 0x100147b27
lea rbx, [0x1001653b8]
cmp rbp, r14
je 0x100147b3c
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x1001653b8]
cmp r12, r14
je 0x100147b51
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x1001653b8]
cmp r10, rbx
je 0x100147b79
test byte [r10 + 0x1c], r15b
je 0x100147b79
cmp byte [r10 + 0x19], 4
jb 0x100147b79
mov edx, 0x45
lea r8, [0x100002c20]
mov rcx, qword [r10 + 0x10]
call fcn.10001c7b8
nop
lea rcx, [rsp + 0x50]
call fcn.100104c70
mov eax, edi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret