Function at 0x140086f30
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13d, r8d
mov rbx, rdx
mov r12, rcx
mov qword [rbp - 0x10], rcx
xor r15d, r15d
mov dword [rbp - 0x24], r15d
call fcn.140008c80
mov dword [rbp - 0x24], 1
mov esi, r15d
test r13d, r13d
je 0x140087227
mov ecx, r15d
nop word [rax + rax]
dec r13d
movzx eax, byte [rbx]
mov byte [rbp + rcx - 0x30], al
inc esi
inc rcx
inc rbx
mov qword [rbp - 0x20], rbx
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
cmp rcx, 3
jne 0x1400870a8
movzx eax, r8b
shr al, 2
mov byte [rbp - 0x2c], al
movzx ecx, r8b
and cl, 3
shl cl, 4
movzx eax, dl
shr al, 4
add cl, al
mov byte [rbp - 0x2b], cl
movzx ecx, dl
and cl, 0xf
shl cl, 2
movzx eax, r9b
shr al, 6
add cl, al
mov byte [rbp - 0x2a], cl
movzx eax, r9b
and al, 0x3f
mov byte [rbp - 0x29], al
mov rsi, r15
lea rcx, [0x14013b580]
call fcn.140002370
mov r14, rax
mov rcx, r12
call fcn.140002370
mov rbx, rax
nop dword [rax + rax]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14008702d
mov rcx, qword [r14]
movzx eax, byte [rbp + rsi - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 8], r9b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14008707f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14008705c
mov rax, qword [rbx]
lea rdi, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140002f30
mov byte [rbp - 8], 0
lea rcx, [rdi + 1]
lea rdx, [rbp - 8]
call fcn.140002f30
jmp 0x140087087
mov rcx, r12
call fcn.14002a6a0
inc rsi
cmp rsi, 4
jl 0x140087020
mov esi, r15d
mov rcx, r15
mov rbx, qword [rbp - 0x20]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
movzx r9d, byte [rbp - 0x2e]
test r13d, r13d
jne 0x140086f90
test esi, esi
je 0x140087227
movsxd rax, esi
cmp rax, 3
jge 0x1400870e4
jae 0x140087248
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x1400870c2
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
movzx eax, r8b
shr al, 2
mov byte [rbp - 0x2c], al
and r8b, 3
shl r8b, 4
movzx eax, dl
shr al, 4
add r8b, al
mov byte [rbp - 0x2b], r8b
and dl, 0xf
shl dl, 2
movzx eax, r9b
shr al, 6
add dl, al
mov byte [rbp - 0x2a], dl
and r9b, 0x3f
mov byte [rbp - 0x29], r9b
lea eax, [rsi + 1]
movsxd r13, eax
test eax, eax
jle 0x1400871b5
lea rcx, [0x14013b580]
call fcn.140002370
mov r14, rax
mov rcx, r12
call fcn.140002370
mov rdi, rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140087152
mov rcx, qword [r14]
movzx eax, byte [rbp + r15 - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 8], r9b
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400871a5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140087182
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140002f30
mov byte [rbp - 8], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 8]
call fcn.140002f30
jmp 0x1400871ad
mov rcx, r12
call fcn.14002a6a0
inc r15
cmp r15, r13
jl 0x140087145
cmp esi, 3
jge 0x140087227
mov byte [rbp - 8], 0x3d
mov rcx, r12
call fcn.140002370
mov rdi, rax
mov eax, 3
sub eax, esi
mov esi, eax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140087216
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400871f3
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140002f30
mov byte [rbp - 0x28], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 0x28]
call fcn.140002f30
jmp 0x140087221
mov r9b, 0x3d
mov rcx, r12
call fcn.14002a6a0
sub rsi, 1
jne 0x1400871d2
mov rax, r12
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400a9448
int3