Function at 0x14002f560
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.14000c460
mov dword [rbp - 0x24], 1
mov esi, r15d
test r13d, r13d
je 0x14002f857
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 0x14002f6d8
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, [0x1400ae068]
call fcn.14000d7a0
mov r14, rax
mov rcx, r12
call fcn.14000d7a0
mov rbx, rax
nop dword [rax + rax]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14002f65d
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 0x14002f6af
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14002f68c
mov rax, qword [rbx]
lea rdi, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140001460
mov byte [rbp - 8], 0
lea rcx, [rdi + 1]
lea rdx, [rbp - 8]
call fcn.140001460
jmp 0x14002f6b7
mov rcx, r12
call fcn.140022160
inc rsi
cmp rsi, 4
jl 0x14002f650
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 0x14002f5c0
test esi, esi
je 0x14002f857
movsxd rax, esi
cmp rax, 3
jge 0x14002f714
jae 0x14002f878
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x14002f6f2
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 0x14002f7e5
lea rcx, [0x1400ae068]
call fcn.14000d7a0
mov r14, rax
mov rcx, r12
call fcn.14000d7a0
mov rdi, rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14002f782
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 0x14002f7d5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14002f7b2
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140001460
mov byte [rbp - 8], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 8]
call fcn.140001460
jmp 0x14002f7dd
mov rcx, r12
call fcn.140022160
inc r15
cmp r15, r13
jl 0x14002f775
cmp esi, 3
jge 0x14002f857
mov byte [rbp - 8], 0x3d
mov rcx, r12
call fcn.14000d7a0
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 0x14002f846
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14002f823
mov rax, qword [rdi]
lea rbx, [rax + rcx]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140001460
mov byte [rbp - 0x28], 0
lea rcx, [rbx + 1]
lea rdx, [rbp - 0x28]
call fcn.140001460
jmp 0x14002f851
mov r9b, 0x3d
mov rcx, r12
call fcn.140022160
sub rsi, 1
jne 0x14002f802
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.140032b3c
int3