Function at 0x1400613bd
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 0x30], 0
mov dword [rbp - 8], 0
mov dword [rbp - 0xc], 0
cmp qword [rbp + 0x20], 0
sete al
movzx eax, al
mov dword [rbp - 0x14], eax
mov eax, dword [rbp + 0x18]
add eax, 2
mov edx, eax
mov eax, 0xaaaaaaab
imul rax, rdx
shr rax, 0x20
shr eax, 1
shl eax, 2
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
add eax, 0x3f
shr eax, 6
mov dword [rbp - 0x10], eax
cmp dword [rbp + 0x30], 1
jne 0x14006143b
mov edx, dword [rbp - 0x10]
mov eax, edx
add eax, eax
add eax, edx
mov dword [rbp - 0x10], eax
jmp 0x140061448
cmp dword [rbp + 0x30], 2
jne 0x140061448
mov dword [rbp - 0x10], 0
mov eax, dword [rbp - 0x10]
add dword [rbp - 0x18], eax
cmp qword [rbp + 0x28], 0
je 0x14006146e
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp eax, dword [rbp - 0x18]
jae 0x14006165b
cmp dword [rbp - 0x14], 0
jne 0x14006165b
mov eax, 0xffffff53
jmp 0x1400618c9
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x19], al
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x1a], al
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp - 0x19]
shr al, 2
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp - 0x19]
shl eax, 4
and eax, 0x30
mov edx, eax
movzx eax, byte [rbp - 0x1a]
shr al, 4
or eax, edx
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x1a]
shl eax, 2
and eax, 0x3c
mov edx, eax
movzx eax, byte [rbp - 0x1b]
shr al, 6
or eax, edx
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x1b]
and eax, 0x3f
mov byte [rbp - 0x1f], al
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x1c]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061667
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x1d]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x14006166a
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x1e]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x14006166d
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x1f]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061670
sub dword [rbp + 0x18], 3
cmp dword [rbp + 0x30], 2
je 0x14006165b
add dword [rbp - 0xc], 1
mov eax, dword [rbp - 0xc]
and eax, 0xf
test eax, eax
jne 0x14006165b
cmp dword [rbp + 0x18], 0
je 0x14006165b
mov rax, qword [rbp + 0x28]
mov edx, dword [rax]
lea r9, [rbp - 0x30]
mov r8, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp - 0x14]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edx
mov edx, 0xa
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061673
cmp dword [rbp + 0x18], 2
ja 0x140061478
jmp 0x140061674
nop
jmp 0x140061674
nop
jmp 0x140061674
nop
jmp 0x140061674
nop
jmp 0x140061674
nop
cmp dword [rbp + 0x18], 0
je 0x140061826
cmp dword [rbp - 4], 0
jne 0x140061826
cmp dword [rbp + 0x18], 2
sete al
movzx eax, al
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x25], al
cmp dword [rbp - 0x24], 0
je 0x1400616ca
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
jmp 0x1400616cf
mov eax, 0
mov byte [rbp - 0x26], al
movzx eax, byte [rbp - 0x25]
shr al, 2
mov byte [rbp - 0x27], al
movzx eax, byte [rbp - 0x25]
shl eax, 4
and eax, 0x30
mov edx, eax
movzx eax, byte [rbp - 0x26]
shr al, 4
or eax, edx
mov byte [rbp - 0x28], al
movzx eax, byte [rbp - 0x26]
shl eax, 2
and eax, 0x3c
mov byte [rbp - 0x29], al
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x27]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061775
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x28]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400617ed
cmp dword [rbp - 0x24], 0
je 0x1400617ba
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
movzx edx, byte [rbp - 0x29]
lea r9, [rbp - 0x30]
mov r10, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x14]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov r8, r10
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
jmp 0x1400617ed
mov rax, qword [rbp + 0x28]
mov edx, dword [rax]
lea r9, [rbp - 0x30]
mov r8, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp - 0x14]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edx
mov edx, 0x3d
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061826
mov rax, qword [rbp + 0x28]
mov edx, dword [rax]
lea r9, [rbp - 0x30]
mov r8, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp - 0x14]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edx
mov edx, 0x3d
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140061865
cmp dword [rbp + 0x30], 2
je 0x140061865
mov rax, qword [rbp + 0x28]
mov edx, dword [rax]
lea r9, [rbp - 0x30]
mov r8, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp - 0x14]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edx
mov edx, 0xa
mov ecx, eax
call fcn.1400611ef
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x30]
cmp dword [rbp - 0x18], eax
je 0x140061880
cmp dword [rbp + 0x30], 1
je 0x140061880
cmp dword [rbp - 4], 0
jne 0x140061880
mov eax, 0xffffff66
jmp 0x1400618c9
cmp qword [rbp + 0x20], 0
je 0x1400618a3
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov edx, dword [rbp - 0x30]
cmp edx, eax
jae 0x1400618a3
mov eax, dword [rbp - 0x30]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov byte [rax], 0
mov edx, dword [rbp - 0x30]
mov rax, qword [rbp + 0x28]
mov dword [rax], edx
cmp dword [rbp - 4], 0
jne 0x1400618c6
cmp dword [rbp - 0x14], 0
je 0x1400618bf
mov eax, 0xffffff36
jmp 0x1400618c9
mov eax, 0
jmp 0x1400618c9
mov eax, dword [rbp - 4]
add rsp, 0x70
pop rbp
ret