Function at 0x14001d2c0
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 - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r12d, r8d
mov r13, rdx
mov r15, rcx
mov qword [rbp - 0x18], rcx
xor r14d, r14d
mov dword [rbp - 0x24], r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
call fcn.140002040
mov rbx, rax
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rbp - 0x10], r14b
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140002820
mov dword [rbp - 0x24], 1
mov edi, r14d
test r8d, r8d
je 0x14001d5a0
mov ecx, r14d
nop dword [rax]
dec r12d
movzx eax, byte [r13]
mov byte [rbp + rcx - 0x30], al
inc edi
inc rcx
lea r13, [r13 + 1]
movzx r9d, byte [rbp - 0x2e]
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
cmp rcx, 3
jne 0x14001d43f
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 rdi, r14
lea rcx, [0x1400419b0]
call fcn.140002040
mov rsi, rax
nop dword [rax]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001d3cd
mov rcx, qword [rsi]
movzx eax, byte [rbp + rdi - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 0x10], r9b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001d41a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14001d3fc
mov rax, qword [rbx]
add rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140002820
mov byte [rbp - 0x10], 0
inc rcx
lea rdx, [rbp - 0x10]
call fcn.140002820
jmp 0x14001d422
mov rcx, r15
call fcn.140007880
inc rdi
cmp rdi, 4
jl 0x14001d3c0
mov edi, r14d
mov rcx, r14
movzx edx, byte [rbp - 0x2f]
movzx r8d, byte [rbp - 0x30]
movzx r9d, byte [rbp - 0x2e]
test r12d, r12d
jne 0x14001d340
test edi, edi
je 0x14001d5a0
movsxd rax, edi
cmp rax, 3
jge 0x14001d47b
jae 0x14001d5c1
mov byte [rbp + rax - 0x30], 0
inc rax
cmp rax, 3
jl 0x14001d459
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, [rdi + 1]
movsxd r12, eax
test eax, eax
jle 0x14001d53b
lea rcx, [0x1400419b0]
call fcn.140002040
mov rsi, rax
nop dword [rax]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001d4dd
mov rcx, qword [rsi]
movzx eax, byte [rbp + r14 - 0x2c]
movzx r9d, byte [rax + rcx]
mov byte [rbp - 0x10], r9b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001d52b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14001d50d
mov rax, qword [rbx]
add rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140002820
mov byte [rbp - 0x10], 0
inc rcx
lea rdx, [rbp - 0x10]
call fcn.140002820
jmp 0x14001d533
mov rcx, r15
call fcn.140007880
inc r14
cmp r14, r12
jl 0x14001d4d0
cmp edi, 3
jge 0x14001d5a0
mov byte [rbp - 0x10], 0x3d
mov eax, 3
sub eax, edi
mov edi, eax
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001d58f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14001d571
mov rax, qword [rbx]
add rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140002820
mov byte [rbp - 0x28], 0
inc rcx
lea rdx, [rbp - 0x28]
call fcn.140002820
jmp 0x14001d59a
mov r9b, 0x3d
mov rcx, r15
call fcn.140007880
sub rdi, 1
jne 0x14001d550
mov rax, r15
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.14001fc50
int3