Function at 0x53a6e0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x53aba6
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x53a6ff
xor edx, edx
jmp 0x53a712
cmp byte [rcx], 0
je 0x53a70d
mov rdx, 0xffffffffffffffff
jmp 0x53a712
mov edx, 1
test rdx, rdx
jne 0x53a751
cmp qword [rdi + 0x10], 0
jne 0x53a722
xor edx, edx
jmp 0x53a735
cmp byte [rdi], 0
je 0x53a730
mov rdx, 0xffffffffffffffff
jmp 0x53a735
mov edx, 1
test rdx, rdx
je 0x53a73f
test rsi, rsi
jmp 0x53a754
mov rdx, qword [rax]
mov rax, qword [rdx]
call rax
xor ebx, ebx
xor ecx, ecx
add rsp, 0x60
pop rbp
ret
test rsi, rsi
jne 0x53a75a
xor edx, edx
jmp 0x53a76d
cmp byte [rcx], 0
je 0x53a768
mov rdx, 0xffffffffffffffff
jmp 0x53a76d
mov edx, 1
test rdx, rdx
jl 0x53a9bc
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x53a784
xor r8d, r8d
jmp 0x53a7a0
cmp byte [rdi], 0
je 0x53a792
mov r8, 0xffffffffffffffff
jmp 0x53a7a0
mov r8d, 1
nop dword [rax + rax]
test r8, r8
jl 0x53a9bc
lea r8, [rsi - 1]
test r8, r8
jl 0x53a813
mov r9, qword [rcx + 8]
mov rsi, qword [r9 + rsi*8 - 8]
mov r9, rsi
shr rsi, 1
or r9, rsi
mov rsi, r9
shr r9, 2
or r9, rsi
mov rsi, r9
shr r9, 4
or rsi, r9
mov r9, rsi
shr rsi, 8
or r9, rsi
mov rsi, r9
shr r9, 0x10
or rsi, r9
mov r9, rsi
shr rsi, 0x20
or r9, rsi
shl r8, 6
bsr rsi, r9
mov r9, 0xffffffffffffffff
cmove rsi, r9
lea rsi, [r8 + rsi]
lea rsi, [rsi + 1]
jmp 0x53a81c
mov r9, 0xffffffffffffffff
xor esi, esi
mov r8, qword [rax + 8]
mov r8, qword [r8 + 0x28]
cmp rsi, r8
jg 0x53a98b
lea rsi, [rdx - 1]
test rsi, rsi
jl 0x53a890
mov r10, qword [rdi + 8]
mov rdx, qword [r10 + rdx*8 - 8]
mov r10, rdx
shr rdx, 1
or r10, rdx
mov rdx, r10
shr r10, 2
or rdx, r10
mov r10, rdx
shr rdx, 4
or r10, rdx
mov rdx, r10
shr r10, 8
or rdx, r10
mov r10, rdx
shr rdx, 0x10
or r10, rdx
mov rdx, r10
shr r10, 0x20
or rdx, r10
shl rsi, 6
bsr rdx, rdx
cmove rdx, r9
lea rdx, [rsi + rdx]
lea rdx, [rdx + 1]
jmp 0x53a892
xor edx, edx
cmp rdx, r8
jg 0x53a98b
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
lea rdx, [r8 + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + r8]
lea rdx, [rdx + 7]
sar rdx, 3
mov qword [rsp + 0x28], rdx
lea rcx, [rdx + rdx]
lea rcx, [rcx + 1]
mov qword [rsp + 0x20], rcx
lea rax, [0x00610920]
mov rbx, rcx
call fcn.0045fec0
mov rdx, qword [rsp + 0x20]
test rdx, rdx
jbe 0x53ab99
mov byte [rax], 4
mov rcx, qword [rsp + 0x28]
lea rsi, [rcx + 1]
cmp rdx, rsi
jb 0x53ab91
cmp rsi, 1
jb 0x53ab85
mov qword [rsp + 0x58], rax
mov rbx, rcx
shl rbx, 1
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and edi, 1
add rdi, rax
test rcx, rcx
je 0x53a973
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rbx
mov rax, rdi
mov rbx, rcx
call fcn.00466980
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov r9, qword [r8 + 8]
mov r8, qword [r8 + 0x10]
mov r10, rcx
xor r11d, r11d
jmp 0x53a9f0
nop
lea rax, [0x00624dc0]
call fcn.0040c5a0
mov qword [rax + 8], 0x16
lea rcx, [0x0065ad86]
mov qword [rax], rcx
lea rbx, [0x006c0540]
mov rcx, rax
xor eax, eax
add rsp, 0x60
pop rbp
ret
nop
lea rax, [0x00624dc0]
call fcn.0040c5a0
mov qword [rax + 8], 0x13
lea rcx, [0x00659b43]
mov qword [rax], rcx
lea rbx, [0x006c0540]
mov rcx, rax
xor eax, eax
add rsp, 0x60
pop rbp
ret
inc r11
cmp r11, r8
jge 0x53aa05
mov r12, qword [r9 + r11*8]
xor r13d, r13d
nop dword [rax]
jmp 0x53ab42
test rcx, rcx
jge 0x53aa11
xor ecx, ecx
jmp 0x53aa11
inc rcx
cmp rcx, r10
jge 0x53aa26
jae 0x53ab2d
movzx r8d, byte [rcx + rdi]
test r8b, r8b
je 0x53aa0e
mov rdi, r10
sub r10, rbx
sar r10, 0x3f
and r10, rsi
sub rbx, rdi
lea rsi, [r10 + rax]
test rbx, rbx
je 0x53aa65
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rsi
mov rax, rsi
call fcn.00466980
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
mov rcx, rbx
xor r9d, r9d
jmp 0x53aa80
inc r9
cmp r9, rdi
jge 0x53aa8e
mov r10, qword [r8 + r9*8]
xor r11d, r11d
jmp 0x53aaef
test rbx, rbx
jge 0x53aa9a
xor ebx, ebx
jmp 0x53aa9a
inc rbx
cmp rbx, rcx
jge 0x53aaab
nop
jae 0x53aad8
movzx edi, byte [rbx + rsi]
test dil, dil
je 0x53aa97
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x20]
mov rsi, rcx
mov rcx, rdi
call rsi
add rsp, 0x60
pop rbp
ret
mov rax, rbx
nop dword [rax + rax]
call fcn.004662c0
inc r11
shr r10, 8
mov rbx, r12
cmp r11, 8
jge 0x53aa7d
lea r12, [rbx - 1]
test r12, r12
jl 0x53ab0c
nop
cmp rcx, r12
jbe 0x53ab25
mov byte [rbx + rsi - 1], r10b
jmp 0x53aae5
test r10b, r10b
je 0x53aae5
lea rax, [0x006108a0]
lea rbx, [0x006bf890]
nop
call fcn.0045e4e0
mov rax, r12
call fcn.004662c0
mov rax, rcx
mov rcx, r10
call fcn.004662c0
inc r13
shr r12, 8
mov rcx, r15
cmp r13, 8
jge 0x53a9ed
lea r15, [rcx - 1]
test r15, r15
jl 0x53ab62
cmp r10, r15
jbe 0x53ab7a
mov byte [rcx + rdi - 1], r12b
nop
jmp 0x53ab38
test r12b, r12b
je 0x53ab38
lea rax, [0x006108a0]
lea rbx, [0x006bf890]
call fcn.0045e4e0
mov rax, r15
mov rcx, r10
call fcn.004662c0
mov eax, 1
xor ecx, ecx
call fcn.00466380
mov rcx, rsi
call fcn.00466340
xor eax, eax
mov rcx, rax
nop
call fcn.004662c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0053a6e0