Function at 0x6f5f5fa0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x328
lea r12, [rsp + 0x20]
lea rsi, [rsp + 0x320]
mov rdi, rcx
mov r13, rdx
mov rbp, r8
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov rbx, r12
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x28], 0
mov qword [rcx + 0x30], 0
mov qword [rcx + 0x38], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0x48], 0
nop dword [rax + rax]
mov rcx, rbx
mov edx, 6
add rbx, 0x30
call sym.dv_zero
cmp rbx, rsi
jne 0x6f5f6020
mov rax, qword [rbp]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rdx, [rax*4]
lea rcx, [rax*8]
lea r8, [rax + rax]
mov rbx, rax
mov rsi, rax
mov qword [rsp + 0x50], rax
mov r11, rdx
mov qword [rsp + 0x80], r8
mov r9, r8
xor r11, r8
xor r8, rcx
xor r9, rax
mov qword [rsp + 0x200], r8
mov r8, qword [rbp + 8]
mov r14, rdx
mov r10, r9
xor r14, rax
mov qword [rsp + 0xe0], rdx
xor r10, rdx
xor rdx, rcx
mov qword [rsp + 0xb0], r9
mov qword [rsp + 0x110], r14
xor r9, rcx
xor r14, rcx
mov qword [rsp + 0x140], r11
mov qword [rsp + 0x1a0], rcx
xor r11, rcx
mov r15, rcx
mov qword [rsp + 0x260], rdx
xor rcx, r10
lea rdx, [r8 + r8]
shr rbx, 0x3f
mov qword [rsp + 0x2f0], rcx
lea rcx, [r8*4]
shr rsi, 0x3e
mov qword [rsp + 0x230], r9
or rdx, rbx
lea r9, [r8*8]
xor r15, rax
or rcx, rsi
mov qword [rsp + 0x290], r14
shr rax, 0x3d
mov r14, rdx
or rax, r9
mov qword [rsp + 0x1d0], r15
xor r14, r8
mov qword [rsp + 0x2c0], r11
mov r15, rcx
mov r11, rcx
xor r15, r8
mov qword [rsp + 0x170], r10
xor r11, rdx
mov r10, r14
mov rbx, rax
xor r10, rcx
xor rbx, r8
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0xb8], r14
xor rdx, rax
xor r14, rax
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0x118], r15
xor rcx, rax
xor r15, rax
mov qword [rsp + 0x148], r11
xor r11, rax
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x178], r10
mov rsi, r8
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1d8], rbx
xor rax, r10
mov qword [rsp + 0x208], rdx
mov qword [rsp + 0x238], r14
shr rsi, 0x3e
mov qword [rsp + 0x268], rcx
mov qword [rsp + 0x298], r15
mov r15, r8
mov qword [rsp + 0x2c8], r11
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x2f8], rax
mov rax, r8
mov qword [rsp + 0x30], 0
shr rax, 0x3f
mov qword [rsp + 0x38], 0
lea rdx, [rcx + rcx]
lea r9, [rcx*4]
lea r14, [rcx*8]
mov r8, rcx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
or r9, rsi
or rax, rdx
shr r15, 0x3d
or r15, r14
xor r8, rax
mov r14, qword [rbp + 0x18]
mov r10, rax
mov r11, r9
xor rbx, r9
xor r11, r8
xor r10, r9
mov rdx, rcx
xor rdx, r15
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xc0], r8
xor rax, r15
xor r8, r15
mov qword [rsp + 0xf0], r9
mov qword [rsp + 0x120], rbx
xor r9, r15
xor rbx, r15
mov qword [rsp + 0x150], r10
mov qword [rsp + 0x1b0], r15
xor r10, r15
xor r15, r11
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x270], r9
mov qword [rsp + 0x300], r15
mov rax, rcx
lea r15, [r14 + r14]
lea r9, [r14*4]
mov rsi, rcx
shr rax, 0x3f
shr rsi, 0x3e
mov qword [rsp + 0x1e0], rdx
mov qword [rsp + 0x240], r8
mov rdx, rcx
lea r8, [r14*8]
or r9, rsi
or r15, rax
mov qword [rsp + 0x2a0], rbx
shr rdx, 0x3d
mov rcx, r14
mov rbx, r14
or rdx, r8
xor rcx, r15
xor rbx, r9
mov qword [rsp + 0x180], r11
mov qword [rsp + 0x2d0], r10
mov r11, r9
mov r10, r15
mov rax, r14
xor r11, rcx
xor r10, r9
xor rax, rdx
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xc8], rcx
xor r15, rdx
xor rcx, rdx
mov qword [rsp + 0xf8], r9
mov qword [rsp + 0x128], rbx
xor r9, rdx
xor rbx, rdx
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x158], r10
mov r8, r14
mov qword [rsp + 0x188], r11
mov qword [rsp + 0x1b8], rdx
xor r10, rdx
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x218], r15
xor rdx, r11
mov qword [rsp + 0x248], rcx
mov qword [rsp + 0x278], r9
mov r9, r14
mov qword [rsp + 0x2a8], rbx
mov rbp, qword [rbp + 0x20]
shr r9, 0x3f
mov qword [rsp + 0x308], rdx
mov qword [rsp + 0x2d8], r10
mov qword [rsp + 0x40], 0
lea r15, [rbp + rbp]
lea rsi, [rbp*4]
mov rcx, rbp
lea rdx, [rbp*8]
mov rbx, rbp
mov rax, rbp
or r15, r9
shr r8, 0x3e
shr r14, 0x3d
xor rcx, r15
or r8, rsi
mov r11, r15
mov r10, rcx
or r14, rdx
xor rbx, r8
xor r11, r8
xor r10, r8
xor rax, r14
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xd0], rcx
xor r15, r14
xor rcx, r14
mov qword [rsp + 0x100], r8
mov qword [rsp + 0x130], rbx
xor r8, r14
xor rbx, r14
mov qword [rsp + 0x160], r11
mov qword [rsp + 0x1c0], r14
xor r11, r14
xor r14, r10
test rbp, rbp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x190], r10
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x250], rcx
mov qword [rsp + 0x280], r8
mov qword [rsp + 0x2b0], rbx
mov qword [rsp + 0x2e0], r11
mov qword [rsp + 0x310], r14
je 0x6f5f6533
mov r14, rbp
mov r15, rbp
shr rbp, 0x3d
shr r14, 0x3f
shr r15, 0x3e
mov qword [rsp + 0x1f8], rbp
mov r9, r14
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xa8], r14
xor r9, r15
xor r14, rbp
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x108], r15
mov qword [rsp + 0x1c8], rbp
xor r15, rbp
xor rbp, r9
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x198], r9
mov qword [rsp + 0x168], r9
mov qword [rsp + 0x258], r14
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x2b8], r15
mov qword [rsp + 0x288], r15
mov qword [rsp + 0x318], rbp
mov qword [rsp + 0x2e8], rbp
lea rbp, [rdi + 0x28]
mov esi, 0x3c
nop dword [rax]
mov r15, r13
mov rbx, rdi
mov r8, qword [r15]
mov ecx, esi
mov rdx, rbx
add r15, 8
shr r8, cl
mov rcx, rbx
and r8d, 0xf
lea r14, [r8 + r8*2]
shl r14, 4
lea r8, [r12 + r14]
call sym.fb_addn_low
mov rdx, qword [rsp + r14 + 0x48]
xor qword [rbx + 0x28], rdx
add rbx, 8
cmp rbx, rbp
jne 0x6f5f6546
mov r8d, 4
mov rdx, rdi
mov rcx, rdi
call sym.fb_lshb_low
mov r8d, 4
mov rdx, rbp
mov rcx, rbp
mov r15, rax
call sym.fb_lshb_low
xor qword [rdi + 0x28], r15
sub esi, 4
jne 0x6f5f6540
nop dword [rax]
mov r11, qword [r13]
mov rdx, rdi
mov rcx, rdi
add r13, 8
and r11d, 0xf
lea rsi, [r11 + r11*2]
shl rsi, 4
lea r8, [r12 + rsi]
call sym.fb_addn_low
mov r10, qword [rsp + rsi + 0x48]
xor qword [rdi + 0x28], r10
add rdi, 8
cmp rdi, rbp
jne 0x6f5f65b0
add rsp, 0x328
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret