Function at 0x140034430
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 [0x140191010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r12d, r8d
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor eax, eax
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x80], 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], Ordinal_21
lfence
mov r15, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400344ac
mov r15, qword [rax]
mov qword [rax + 0x10], 9
mov r8d, 9
lea rdx, str.bundle_id
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + 9], bl
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
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
lea rax, [rsp + 0x31]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rdi
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], Ordinal_21
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140034540
mov rdx, r14
mov rcx, rdi
call fcn.1400077b0
nop
mov qword [rsp + 0xa8], rdi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xb8], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x130]
call fcn.140035680
lea rax, [rsp + 0x130]
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x148], 1
xor eax, eax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 3
lfence
lea ecx, [rax + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rdi, rax
lea rax, [rsp + 0x32]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rdi
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], Ordinal_21
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 0x140034635
lea rax, [rcx + r13]
mov r14d, 0x1f
cmp rax, r14
cmova r14, rax
lea rcx, [r14 + 1]
call fcn.140002760
mov r15, rax
mov qword [rdi + Ordinal_21], 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 0x140034695
mov rcx, qword [rdi]
lea rdx, [r13 + 1]
cmp rdx, 0x1000
jb 0x14003468d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003482c
mov rcx, r8
lfence
call fcn.140071e50
mov rax, rdi
mov qword [rax], r15
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x60], 6
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.140035680
lea rax, [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov byte [rsp + 0x168], 1
lea rax, [rsp + 0x130]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x120]
call fcn.140035680
nop
lea r9, [0x140031180]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x130]
call fcn.140072518
nop
lea r9, [0x140031180]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x40]
call fcn.140072518
nop
lea r9, [0x140031180]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x80]
call fcn.140072518
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], Ordinal_21
mov byte [rsp + 0x170], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x120]
call fcn.14002bf40
mov rdi, rax
lea rax, [rsp + 0x170]
cmp rax, rdi
je 0x14003487a
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140034838
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034833
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.140071e50
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], Ordinal_21
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], Ordinal_21
mov byte [rdi], 0
mov r8, qword [rsp + 0x1e8]
cmp r8, 0x10
jb 0x1400348a0
inc r8
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x1d0]
call fcn.140007a30
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 0x1400348f7
mov byte [rsi + 0x20], al
jmp 0x140034b2b
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 0x140034938
mov qword [rsp + 0x1a0], rdx
mov word [rsp + rax*2 + 0x190], bx
jmp 0x14003497c
cmp rdx, 7
ja 0x140034961
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 0x14003497c
lfence
mov word [rsp + 0x20], bx
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x190]
call fcn.140003870
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, [0x140162f30]
lea rcx, [rsp + 0x1b0]
call fcn.140002ed0
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.140003020
mov r8d, 1
lea rdx, [0x140162f30]
lea rcx, [rsp + 0x1b0]
call fcn.140003020
test edi, edi
jne 0x140034b77
mov byte [rsi + 0x20], dil
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 8
jb 0x140034aab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], 7
mov word [rsp + 0x1b0], bx
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x140034b0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bf9
call fcn.140071e50
mov word [rsp + 0x190], bx
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], rbx
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140034c4d
mov rcx, qword [rsp + 0x170]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034c3a
call fcn.140071e50
jmp 0x140034c4d
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 0x140034b0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034b0a
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 0x140034c46
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034c41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034c41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov rsi, qword [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], Ordinal_21
mov byte [rsp + 0x170], 0
lea rcx, [rsp + 0x120]
call fcn.1400150e0
mov rax, rsi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140071e30
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