Function at 0x1401000d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r9
mov r15, r8
mov rbp, rdx
mov r13, rcx
mov dword [rsp + 0x20], 0
movups xmm0, xmmword [0x1401eb1a8]
movups xmmword [rcx], xmm0
mov byte [rcx + 0x10], 0
mov dword [rsp + 0x20], 1
test r8, r8
je 0x1401002b9
xor ebx, ebx
xor edi, edi
test r9, r9
je 0x14010027a
lea r13, [0x1401eb4d0]
mov rsi, qword [rsp + 0xa0]
movzx eax, byte [rdi + r15]
shr rax, 2
movzx edx, byte [rax + r13]
mov rcx, rbp
call fcn.140043660
inc rbx
cmp rbx, rsi
jne 0x140100170
lea rdx, [0x140002010]
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ebx, ebx
movzx ecx, byte [rdi + r15]
and cl, 3
shl cl, 4
inc rdi
cmp rdi, r12
jae 0x140100192
lea r14, [rdi + r15]
movzx eax, byte [r14]
shr al, 4
or cl, al
jmp 0x140100196
lea r14, [r15 + rdi]
movzx eax, cl
movzx edx, byte [rax + r13]
mov rcx, rbp
call fcn.140043660
inc rbx
cmp rbx, rsi
jne 0x1401001c0
lea rdx, [0x140002010]
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ebx, ebx
lea rsi, [rdi + 1]
cmp rdi, r12
jae 0x1401001fc
movzx ecx, byte [r14]
and cl, 0xf
shl cl, 2
cmp rsi, r12
jae 0x1401001ee
lea rdi, [rsi + r15]
movzx eax, byte [rdi]
shr al, 6
or cl, al
movzx eax, cl
movzx edx, byte [rax + r13]
jmp 0x140100202
lea rdi, [r15 + rsi]
movzx eax, cl
movzx edx, byte [rax + r13]
jmp 0x140100202
mov dl, 0x3d
lea rdi, [r15 + rsi]
mov rcx, rbp
call fcn.140043660
inc rbx
mov r14, qword [rsp + 0xa0]
cmp rbx, r14
jne 0x14010022c
lea rdx, [0x140002010]
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ebx, ebx
cmp rsi, r12
jae 0x14010023e
movzx eax, byte [rdi]
and eax, 0x3f
movzx edx, byte [rax + r13]
jmp 0x140100240
mov dl, 0x3d
mov rcx, rbp
call fcn.140043660
inc rbx
cmp rbx, r14
jne 0x140100262
lea rdx, [0x140002010]
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ebx, ebx
lea rdi, [rsi + 1]
cmp rdi, r12
mov rsi, r14
jb 0x140100140
mov r13, qword [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
movups xmm0, xmmword [0x1401eb198]
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x38]
cmp rax, r13
je 0x1401002b9
cmp byte [r13 + 0x10], 0
je 0x1401002af
mov rcx, qword [r13 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
mov rax, r13
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret