Function at 0x1400387b0
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r12d, r8d
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
xor eax, eax
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0xa0], 3
lfence
lea ecx, [rax + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rdi, rax
xor ebx, ebx
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
lfence
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x14003882e
mov r14, qword [rax]
mov qword [rax + 0x10], 9
mov r8d, 9
lea rdx, str.bundle_id
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + 9], bl
mov qword [rsp + 0xa8], rdi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xb8], 1
mov byte [rsp + 0xc0], 0
xor eax, eax
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1400446d0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0xd8], 1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x130]
call fcn.14003a390
lea rax, [rsp + 0x130]
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x148], 1
xor eax, eax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x60], 3
lfence
lea ecx, [rax + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rdi, rax
lea rax, [rsp + 0x31]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rdi
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
lfence
mov r13, qword [rdi + 0x18]
mov rcx, r13
shr rcx, 1
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rcx
cmp r13, rax
ja 0x14003896a
lea rax, [rcx + r13]
mov r14d, 0x1f
cmp rax, r14
cmova r14, rax
lea rcx, [r14 + 1]
call fcn.140002610
mov r15, rax
mov qword [rdi + 0x10], 0x10
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [str.subscr_days_left]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
cmp r13, 0x10
jb 0x1400389ca
mov rcx, qword [rdi]
lea rdx, [r13 + 1]
cmp rdx, 0x1000
jb 0x1400389c2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038bef
mov rcx, r8
lfence
call fcn.14007e2a0
mov rax, rdi
mov qword [rax], r15
mov qword [rsp + 0x68], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
mov byte [rsp + 0x80], 6
mov qword [rsp + 0x88], r12
lea rax, [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x150]
call fcn.14003a390
lea rax, [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov byte [rsp + 0x168], 1
lea rax, [rsp + 0x130]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x38]
call fcn.14003a390
nop
lea r9, [0x140033fd0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x130]
call fcn.14007e954
nop
lea r9, [0x140033fd0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x60]
call fcn.14007e954
nop
lea r9, [0x140033fd0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xa0]
call fcn.14007e954
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], 0xf
mov byte [rsp + 0x170], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x38]
call fcn.14000e3e0
mov rdi, rax
lea rax, [rsp + 0x170]
cmp rax, rdi
je 0x140038bae
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140038b6c
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038b67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038be8
call fcn.14007e2a0
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], 0xf
mov byte [rsp + 0x170], 0
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x170], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x180], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x1e8]
cmp rdx, 0x10
jb 0x140038bfb
inc rdx
mov rcx, qword [rsp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038bf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038bf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007e2a0
mov byte [rsp + 0x1d0], 0
mov dword [rsp + 0x34], ebx
mov r14, qword [rsp + 0x180]
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 0x10
cmovae rcx, qword [rsp + 0x170]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
lea edx, [r14 + 1]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x140038d3c
mov byte [rsi + 0x20], al
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140038c94
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003907f
call fcn.14007e2a0
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], 0xf
mov byte [rsp + 0x170], 0
movzx ecx, byte [rsp + 0x38]
sub ecx, 1
je 0x140038d04
sub ecx, 1
je 0x140038ce6
cmp ecx, 1
jne 0x1400390b8
mov rcx, qword [rsp + 0x40]
call fcn.140007160
mov edx, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.14007e2a0
jmp 0x1400390b8
mov rcx, qword [rsp + 0x40]
call fcn.1400179e0
mov edx, 0x18
mov rcx, qword [rsp + 0x40]
call fcn.14007e2a0
jmp 0x1400390b8
mov rdi, qword [rsp + 0x40]
mov r8, qword [rdi]
mov r8, qword [r8 + 8]
mov rdx, rdi
mov rcx, rdi
call fcn.14001a6c0
mov edx, 0x50
mov rcx, qword [rdi]
call fcn.14007e2a0
mov edx, 0x10
mov rcx, qword [rsp + 0x40]
call fcn.14007e2a0
jmp 0x1400390b8
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], 7
mov word [rsp + 0x190], bx
mov eax, dword [rsp + 0x34]
sub eax, 1
mov edx, eax
jne 0x140038d7d
mov qword [rsp + 0x1a0], rdx
mov word [rsp + rax*2 + 0x190], bx
jmp 0x140038dc1
cmp rdx, 7
ja 0x140038da6
mov qword [rsp + 0x1a0], rdx
movzx eax, bx
lea rdi, [rsp + 0x190]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x190], bx
jmp 0x140038dc1
lfence
mov word [rsp + 0x20], bx
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x190]
call fcn.1400038c0
lea r9, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae r9, qword [rsp + 0x190]
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 0x10
cmovae rcx, qword [rsp + 0x170]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
lea edx, [r14 + 1]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov edi, eax
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], 7
mov word [rsp + 0x1b0], bx
mov r8d, 1
lea rdx, [0x1401848fc]
lea rcx, [rsp + 0x1b0]
call fcn.140002f20
nop
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x1b0]
call fcn.140003070
mov r8d, 1
lea rdx, [0x1401848fc]
lea rcx, [rsp + 0x1b0]
call fcn.140003070
test edi, edi
jne 0x140038fbc
mov byte [rsi + 0x20], dil
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 8
jb 0x140038ef0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038eeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], 7
mov word [rsp + 0x1b0], bx
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x140038f54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038f4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003903e
call fcn.14007e2a0
mov word [rsp + 0x190], bx
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], rbx
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140039092
inc rdx
mov rcx, qword [rsp + 0x170]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140038fb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003907f
call fcn.14007e2a0
jmp 0x140039092
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x1c0]
movups xmmword [rsi + 0x10], xmm1
mov byte [rsi + 0x20], 1
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], 7
mov word [rsp + 0x1b0], bx
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x140038f54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038f4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038f4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x14003908b
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039086
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039086
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov rsi, qword [rsp + 0x48]
xor ebx, ebx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], 0xf
mov byte [rsp + 0x170], 0
lea rcx, [rsp + 0x38]
call fcn.14000e700
mov rax, rsi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret