Function at 0x140005d70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r15, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov r14d, 0xb6
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
xor edx, edx
lea r8d, [r14 + 0xe]
lea rcx, [rsp + 0x48]
call fcn.14011eb20
nop
lea rcx, [rsp + 0x48]
call fcn.140006330
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], sil
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005e00
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005be0
nop
lea rdi, [rsp + 0x48]
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
lea rdi, [rbp - 0x76]
mov ecx, 0x82
rep stosb byte [rdi], al
mov edi, esi
mov rcx, rsi
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x28]
dec r14d
movzx eax, byte [r15]
mov byte [rbp + rcx + 0x60], al
inc edi
inc rcx
lea r15, [r15 + 1]
movzx r9d, byte [rbp + 0x62]
movzx edx, byte [rbp + 0x61]
movzx r8d, byte [rbp + 0x60]
cmp rcx, 3
jne 0x140005f17
movzx eax, r8b
shr al, 2
mov byte [rbp + 0x68], al
movzx ecx, r8b
and cl, 3
shl cl, 4
movzx eax, dl
shr al, 4
add cl, al
mov byte [rbp + 0x69], cl
movzx ecx, dl
and cl, 0xf
shl cl, 2
movzx eax, r9b
shr al, 6
add cl, al
mov byte [rbp + 0x6a], cl
movzx eax, r9b
and al, 0x3f
mov byte [rbp + 0x6b], al
mov rdi, rsi
nop dword [rax]
lea rcx, [rsp + 0x28]
cmp r12, 0x10
cmovae rcx, r13
movzx eax, byte [rbp + rdi + 0x68]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140005ef3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140005ee8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005efb
mov rcx, rbx
call fcn.140006190
inc rdi
cmp rdi, 4
jl 0x140005eb0
mov edi, esi
mov rcx, rsi
movzx edx, byte [rbp + 0x61]
movzx r8d, byte [rbp + 0x60]
movzx r9d, byte [rbp + 0x62]
test r14d, r14d
jne 0x140005e40
test edi, edi
je 0x14000603a
mov r15d, 3
cmp edi, r15d
jge 0x140005f5a
mov eax, r15d
sub eax, edi
movsxd r8, eax
movsxd rax, edi
lea rcx, [rbp + 0x60]
add rcx, rax
xor edx, edx
call fcn.14011eb20
movzx r9d, byte [rbp + 0x62]
movzx edx, byte [rbp + 0x61]
movzx r8d, byte [rbp + 0x60]
movzx eax, r8b
shr al, 2
mov byte [rbp + 0x68], al
and r8b, r15b
shl r8b, 4
movzx eax, dl
shr al, 4
add r8b, al
mov byte [rbp + 0x69], r8b
and dl, 0xf
shl dl, 2
movzx eax, r9b
shr al, 6
add dl, al
mov byte [rbp + 0x6a], dl
and r9b, 0x3f
mov byte [rbp + 0x6b], r9b
lea eax, [rdi + 1]
movsxd r14, eax
test eax, eax
jle 0x140005ff3
nop dword [rax]
lea rcx, [rsp + 0x28]
cmp r12, 0x10
cmovae rcx, r13
movzx eax, byte [rbp + rsi + 0x68]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140005fe3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140005fd8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005feb
mov rcx, rbx
call fcn.140006190
inc rsi
cmp rsi, r14
jl 0x140005fa0
cmp edi, r15d
jge 0x14000603a
sub r15d, edi
movsxd rdi, r15d
nop
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140006029
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140006021
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140006034
mov r9b, 0x3d
mov rcx, rbx
call fcn.140006190
sub rdi, 1
jne 0x140006000
cmp r12, 0x10
jb 0x14000606e
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140006066
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000608c
mov rcx, r13
call fcn.14011b7c4
mov rax, rbx
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14012be60
int3