Function at 0x140006406
Capabilities:
Encode data using base64

Disassembly:
jmp 0x14001ab1c
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
and dword [rbp - 0x10], 0
mov r13d, dword [rdx + 0x10]
xor edi, edi
and qword [rcx], rdi
and qword [rcx + 8], rdi
and qword [rcx + 0x10], rdi
mov dword [rbp - 0x10], 1
test r13d, r13d
je 0x14001ad9b
xor r12d, r12d
dec r13d
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14001ab76
mov rax, qword [rsi]
cmp byte [r12 + rax], 0x3d
je 0x14001aca2
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14001ab8e
mov rcx, qword [rsi]
mov cl, byte [r12 + rcx]
call fcn.1400014ec
test al, al
je 0x14001aca2
mov rdx, r12
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14001abaf
mov rax, qword [rsi]
inc r12
movsxd rcx, edi
mov al, byte [rdx + rax]
mov byte [rbp + rcx + 0x50], al
inc edi
cmp edi, 4
jne 0x14001ac99
xor r14d, r14d
lea r15, [rbp + 0x50]
lea rdi, [0x14010f1e8]
cmp qword [0x14010f200], 0xf
cmova rdi, qword [0x14010f1e8]
cmp qword [0x14010f1f8], 0
jbe 0x14001ac0f
movsx edx, byte [r15]
mov r8, qword [0x14010f1f8]
mov rcx, rdi
call fcn.14000442b
mov rdx, rax
test rax, rax
je 0x14001ac0f
sub rdx, rdi
jmp 0x14001ac13
or rdx, 0xffffffffffffffff
mov al, r14b
shl al, 3
lea ecx, [rax + r14]
sub dl, cl
sub dl, 0xd
and dl, 0x3f
mov byte [r15], dl
inc r14d
inc r15
cmp r14d, 4
jl 0x14001abce
mov dl, byte [rbp + 0x51]
mov cl, dl
shr cl, 4
and cl, 3
mov al, byte [rbp + 0x50]
shl al, 2
add cl, al
mov byte [rbp + 0x48], cl
mov cl, byte [rbp + 0x52]
mov al, cl
shr al, 2
and al, 0xf
shl dl, 4
add al, dl
mov byte [rbp + 0x49], al
shl cl, 6
add cl, byte [rbp + 0x53]
mov byte [rbp + 0x4a], cl
lea rdi, [rbp + 0x48]
mov r14d, 3
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14001ac83
mov al, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x14001ac8e
mov r8, rdi
mov rcx, rbx
call fcn.140005592
inc rdi
sub r14, 1
jne 0x14001ac6f
xor edi, edi
test r13d, r13d
jne 0x14001ab66
test edi, edi
je 0x14001ad9b
cmp edi, 4
jge 0x14001acca
mov eax, 4
sub eax, edi
movsxd r8, eax
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
xor edx, edx
call fcn.140004aa2
xor r14d, r14d
lea r15, [rbp + 0x50]
mov r12, qword [0x14010f1f8]
lea rsi, [0x14010f1e8]
cmp qword [0x14010f200], 0xf
cmova rsi, qword [0x14010f1e8]
test r12, r12
je 0x14001ad10
movsx edx, byte [r15]
mov r8, r12
mov rcx, rsi
call fcn.14000442b
mov rdx, rax
test rax, rax
je 0x14001ad10
sub rdx, rsi
jmp 0x14001ad14
or rdx, 0xffffffffffffffff
mov al, r14b
shl al, 3
lea ecx, [rax + r14]
sub dl, cl
sub dl, 0xd
and dl, 0x3f
mov byte [r15], dl
inc r14d
inc r15
cmp r14d, 4
jl 0x14001acd8
mov dl, byte [rbp + 0x51]
mov cl, dl
shr cl, 4
and cl, 3
mov al, byte [rbp + 0x50]
shl al, 2
add cl, al
mov byte [rbp + 0x48], cl
mov cl, byte [rbp + 0x52]
mov al, cl
shr al, 2
and al, 0xf
shl dl, 4
add al, dl
mov byte [rbp + 0x49], al
shl cl, 6
add cl, byte [rbp + 0x53]
mov byte [rbp + 0x4a], cl
lea eax, [rdi - 1]
test eax, eax
jle 0x14001ad9b
lea rdi, [rbp + 0x48]
mov esi, eax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14001ad87
mov al, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x14001ad92
mov r8, rdi
mov rcx, rbx
call fcn.140005592
inc rdi
sub rsi, 1
jne 0x14001ad73
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret