Function at 0x14002519c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov qword [rax - 0x58], 0xfffffffffffffffe
mov rsi, rcx
xor r10d, r10d
mov dword [rax - 0x68], r10d
mov qword [rcx + 0x10], r10
mov qword [rcx + 0x18], 7
mov word [rcx], r10w
mov dword [rax - 0x68], 1
mov rbx, qword [rdx]
mov rbp, qword [rdx + 8]
sub rbp, rbx
cmp rbp, 0x7fffffff
ja 0x14002541b
test ebp, ebp
jle 0x140025400
movabs r11, 0x7ffffffffffffffe
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
xor edx, edx
mov word [rsp + 0x98], dx
mov cl, byte [rbx]
inc rbx
cmp ebp, 1
jle 0x140025236
mov r8b, byte [rbx]
inc rbx
cmp ebp, 2
jle 0x14002523e
mov dl, byte [rbx]
inc rbx
jmp 0x14002523e
mov r8b, byte [rsp + 0x99]
movzx ecx, cl
mov eax, ecx
shr rax, 2
mov al, byte [rax + rdi]
mov byte [rsp + 0xa8], al
movzx r9d, r8b
mov eax, r9d
shr rax, 4
shl rcx, 4
or rax, rcx
and eax, 0x3f
mov al, byte [rax + rdi]
mov byte [rsp + 0xa9], al
cmp ebp, 1
jle 0x14002528d
mov ecx, r9d
shl ecx, 2
movzx eax, dl
shr rax, 6
or rcx, rax
and ecx, 0x3f
mov al, byte [rcx + rdi]
jmp 0x14002528f
mov al, 0x3d
mov byte [rsp + 0xaa], al
cmp ebp, 2
jle 0x1400252a6
movzx eax, dl
and eax, 0x3f
mov cl, byte [rax + rdi]
jmp 0x1400252a8
mov cl, 0x3d
mov byte [rsp + 0xab], cl
mov rax, r10
mov qword [rsp + 0x28], rax
movsx ecx, byte [rsp + rax + 0xa8]
mov word [rsp + 0xa0], cx
mov r14, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
cmp r14, r12
jae 0x1400252f8
lea rax, [r14 + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r12, 8
jb 0x1400252e8
mov rax, qword [rsi]
mov word [rax + r14*2], cx
mov word [rax + r14*2 + 2], r10w
jmp 0x1400253de
mov rax, r11
sub rax, r14
cmp rax, 1
jb 0x140025421
lea r15, [r14 + 1]
mov rdi, r15
or rdi, 7
cmp rdi, r11
jbe 0x14002531d
mov rdi, r11
jmp 0x140025339
mov rcx, r12
shr rcx, 1
mov rax, r11
sub rax, rcx
cmp r12, rax
ja 0x140025318
lea rax, [rcx + r12]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.140010564
mov r13, rax
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdi
lea rdi, [r14 + r14]
mov rcx, rax
mov r8, rdi
cmp r12, 8
jb 0x1400253b3
mov r15, qword [rsi]
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movzx eax, word [rsp + 0xa0]
mov word [rdi + r13], ax
xor eax, eax
mov word [rdi + r13 + 2], ax
lea rdx, [r12*2 + 2]
cmp rdx, 0x1000
jb 0x1400253a6
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140025414
mov r15, rcx
mov rcx, r15
call fcn.140028698
xor r10d, r10d
jmp 0x1400253d1
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movzx eax, word [rsp + 0xa0]
mov word [rdi + r13], ax
xor r10d, r10d
mov word [rdi + r13 + 2], r10w
movabs r11, 0x7ffffffffffffffe
mov qword [rsi], r13
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp rax, 4
jb 0x1400252b7
sub ebp, 3
test ebp, ebp
jg 0x140025209
mov rax, rsi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140024704
int3
call fcn.14000e1b8
int3