Function at 0x525bc0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x525e5f
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbx
xor edx, edx
jmp 0x525c00
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rax + 0x30]
mov rax, rbx
call rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx + 0x10]
lea rbx, [rdx - 1]
nop
test rbx, rbx
jl 0x525c86
mov rsi, qword [rcx + 8]
mov rdx, qword [rsi + rdx*8 - 8]
mov rsi, rdx
shr rdx, 1
or rsi, rdx
mov rdx, rsi
shr rsi, 2
or rsi, rdx
mov rdx, rsi
shr rsi, 4
or rdx, rsi
mov rsi, rdx
shr rdx, 8
or rsi, rdx
mov rdx, rsi
shr rsi, 0x10
or rsi, rdx
mov rdx, rsi
shr rsi, 0x20
or rdx, rsi
shl rbx, 6
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
lea rdx, [rbx + rdx]
lea rdx, [rdx + 1]
jmp 0x525c88
xor edx, edx
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x38], rcx
lea rax, [0x0060be60]
mov rbx, rcx
call fcn.00447780
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x90]
mov rcx, rax
mov rdi, qword [rsp + 0x38]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x88]
call fcn.004944a0
nop dword [rax]
test rbx, rbx
jne 0x525e49
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x10]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x525d5c
mov r8, qword [rdx + 8]
mov rsi, qword [r8 + rsi*8 - 8]
mov r8, rsi
shr rsi, 1
or r8, rsi
mov rsi, r8
shr r8, 2
or rsi, r8
mov r8, rsi
shr rsi, 4
or r8, rsi
mov rsi, r8
shr r8, 8
or rsi, r8
mov r8, rsi
shr rsi, 0x10
or r8, rsi
mov rsi, r8
shr r8, 0x20
or rsi, r8
shl rdi, 6
bsr rsi, rsi
mov r8, 0xffffffffffffffff
cmove rsi, r8
lea rsi, [rdi + rsi]
lea rsi, [rsi + 1]
jmp 0x525d5e
xor esi, esi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rbx
mov rdi, qword [rsp + 0x38]
mov r8, rdi
shl rdi, 3
sub rdi, rsi
test rdi, rdi
jle 0x525da4
nop dword [rax]
test r8, r8
jbe 0x525e54
mov rsi, qword [rsp + 0x58]
movzx r9d, byte [rsi]
mov rcx, rdi
shr r9b, cl
cmp rcx, 8
sbb edi, edi
and r9d, edi
mov byte [rsi], r9b
lea rax, [0x00628ee0]
call fcn.0040d520
mov qword [rsp + 0x48], rax
mov rbx, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov r8, rsi
mov rax, rdx
call fcn.005010e0
mov rdx, qword [rsp + 0x48]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x00865770], 0
je 0x525dfc
call fcn.0045f320
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
mov byte [rdx], 0
cmp qword [rdx + 0x10], 0
setne cl
movzx ecx, cl
test rcx, rcx
je 0x525bf3
mov rax, rdx
mov rbx, qword [rsp + 0x50]
nop
call fcn.004f6460
test rax, rax
jl 0x525e34
mov rdx, qword [rsp + 0x48]
jmp 0x525bf3
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
add rsp, 0x68
pop rbp
ret
mov rax, qword [rsp + 0x60]
add rsp, 0x68
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.0045f6c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00525bc0