Function at 0x4f2fe0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4f3294
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xa0], rax
mov rdx, qword [rax + 0x30]
mov rax, rbx
call rdx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx + 0x10]
lea rbx, [rdx - 1]
test rbx, rbx
jl 0x4f309a
mov rsi, qword [rcx + 8]
mov rdx, qword [rsi + rdx*8 - 8]
mov rsi, rdx
shr rdx, 1
or rdx, rsi
mov rsi, rdx
shr rdx, 2
or rdx, rsi
mov rsi, rdx
shr rdx, 4
or rdx, rsi
mov rsi, rdx
shr rdx, 8
or rdx, rsi
mov rsi, rdx
shr rdx, 0x10
or rdx, rsi
mov rsi, rdx
shr rdx, 0x20
or rdx, rsi
shl rbx, 6
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
lea rdx, [rdx + rbx]
lea rdx, [rdx + 1]
jmp 0x4f309c
xor edx, edx
mov qword [rsp + 0x30], rdx
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x40], rcx
lea rax, [0x00517260]
mov rbx, rcx
call fcn.00468d20
mov qword [rsp + 0x68], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
jmp 0x4f30f1
mov rcx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
test rcx, rcx
jne 0x4f3254
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdx
nop
mov rbx, qword [rsp + 0xb8]
mov rcx, rax
mov rdi, qword [rsp + 0x40]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0xb0]
call fcn.00478fc0
test rbx, rbx
jne 0x4f322e
mov r8, qword [rsp + 0x40]
test r8, r8
jbe 0x4f3289
mov rdx, qword [0x006468c8]
mov rax, qword [rsp + 0x30]
mov r9, rax
sar r9, 0x3f
shr r9, 0x3d
add r9, rax
and r9, 0xfffffffffffffff8
mov r10, rax
sub r10, r9
cmp rdx, r10
jbe 0x4f327e
mov rdi, qword [rsp + 0x68]
movzx edx, byte [rdi]
mov r9, qword [0x006468c0]
movzx r9d, byte [r9 + r10]
and edx, r9d
mov byte [rdi], dl
cmp r8, 1
jbe 0x4f3271
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rbx
movzx edx, byte [rdi + 1]
xor edx, 0x42
mov byte [rdi + 1], dl
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
movups xmmword [rsp + 0x80], xmm15
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rsi, r8
call fcn.004c95a0
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
call fcn.004bd5c0
test rax, rax
jl 0x4f3206
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x4f30dc
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rdx + 0x38]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov rdi, rcx
call rsi
jmp 0x4f30dc
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov r8, rbx
mov r9, rcx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
add rsp, 0x90
pop rbp
ret
mov rdi, rcx
mov r8, rbx
mov r9, rsi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov rsi, rdx
add rsp, 0x90
pop rbp
ret
mov eax, 1
mov rcx, rax
call fcn.0046f920
mov rax, r10
mov rcx, rdx
call fcn.0046f920
xor eax, eax
mov rcx, rax
call fcn.0046f920
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046d640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004f2fe0