Function at 0x5564e0
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x28]
cmp rax, qword [rcx + 0x10]
jbe 0x556a29
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov rax, qword [rsp + 0xc8]
nop
test rax, rax
jne 0x5568e9
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor edx, edx
xor ebx, ebx
xor esi, esi
nop dword [rax]
test rdx, rdx
jne 0x5568b2
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rdx]
lea rdi, [rcx + rax]
mov r8, qword [rsi + 0x10]
mov rsi, qword [rsi + 8]
lea r9, [r8 - 1]
test r9, r9
jl 0x5568ab
mov rsi, qword [rsi + r8*8 - 8]
bsr rsi, rsi
mov r8, 0xffffffffffffffff
cmove rsi, r8
shl r9, 6
lea rsi, [rsi + r9]
lea rsi, [rsi + 1]
lea r8, [rcx + rax]
lea r8, [r8 + 0xb]
lea r9, [rsi + 7]
sar r9, 0x3f
shr r9, 0x3d
lea rsi, [r9 + rsi]
lea rsi, [rsi + 7]
sar rsi, 3
cmp rsi, r8
jl 0x556866
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rbx
lea rax, [0x005efe20]
mov qword [rsp], rax
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rsi
call fcn.00444f80
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
cmp rcx, 1
jbe 0x5569fd
mov byte [rax + 1], 1
mov rbx, qword [rsp + 0x48]
mov edx, 2
jmp 0x556617
mov byte [rax + rdx], 0xff
inc rdx
mov rcx, rsi
mov rsi, rcx
sub rcx, rbx
lea rdi, [rcx - 1]
cmp rdx, rdi
jge 0x556630
cmp rsi, rdx
ja 0x55660d
jmp 0x5569f2
mov rbx, qword [rsp + 0x58]
mov rdx, rsi
sub rsi, rbx
nop dword [rax + rax]
cmp rdx, rsi
jb 0x5569ea
cmp rcx, rsi
ja 0x5569df
mov qword [rsp + 0x78], rax
mov rbx, rsi
sub rsi, rcx
mov rdi, qword [rsp + 0x50]
cmp rsi, rdi
cmovg rsi, rdi
mov rdi, rcx
sub rcx, rdx
sar rcx, 0x3f
and rcx, rdi
add rcx, rax
mov rdi, qword [rsp + 0x70]
nop
cmp rcx, rdi
jne 0x55683a
mov rcx, rdx
sub rdx, rbx
mov rsi, qword [rsp + 0xd8]
cmp rsi, rdx
cmovl rdx, rsi
mov rsi, rbx
sub rbx, rcx
sar rbx, 0x3f
and rbx, rsi
add rbx, rax
mov rsi, qword [rsp + 0xd0]
cmp rsi, rbx
jne 0x556818
mov byte [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp], xmm0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
call fcn.00521000
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdx
mov byte [rsp + 0x80], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x10], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x18], rax
call fcn.0055a6c0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
cmp qword [rsp + 0x28], 0
je 0x5567b4
mov qword [rsp + 0xe8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
mov qword [rsp], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rax
call fcn.00513280
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdx
call fcn.0045f8c0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jmp 0x5566bf
mov qword [rsp + 0x68], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
call fcn.0045f8c0
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
jmp 0x556689
mov rax, qword [0x0077c720]
mov rcx, qword [0x0077c728]
mov qword [rsp + 0xe8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
xor esi, esi
jmp 0x55658d
mov qword [rsp + 0xe8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x108], rsi
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
nop
cmp rax, 0x14
jae 0x556a0c
mov rcx, qword [0x00773bd8]
mov rdx, qword [0x00773bd0]
cmp rax, rcx
jae 0x556a07
movzx ecx, byte [rdx + rax]
mov rdx, qword [rsp + 0xd8]
cmp rdx, rcx
je 0x556956
nop
lea rax, [0x00600fc0]
mov qword [rsp], rax
call fcn.0040cb40
mov rsi, qword [rsp + 8]
mov qword [rsi + 8], 0x28
lea rax, [0x00635555]
mov qword [rsi], rax
xor eax, eax
xor ecx, ecx
lea rdx, [0x0066f020]
xor ebx, ebx
jmp 0x556540
mov qword [rsp + 0x68], rcx
mov rcx, qword [0x0077bc88]
lea rdx, [0x005f8d60]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.004111e0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
cmp byte [rsp + 0x20], 0
je 0x5569a5
xor edx, edx
mov rbx, rcx
xor esi, esi
mov rcx, qword [rsp + 0x68]
nop dword [rax + rax]
jmp 0x556540
nop
lea rax, [0x00600fc0]
mov qword [rsp], rax
call fcn.0040cb40
mov rsi, qword [rsp + 8]
mov qword [rsi + 8], 0x25
lea rax, [0x0063474a]
mov qword [rsi], rax
xor eax, eax
xor ecx, ecx
lea rdx, [0x0066f020]
xor ebx, ebx
jmp 0x556540
mov rax, rcx
mov rcx, rsi
call fcn.0045f080
mov rcx, rsi
call fcn.0045f040
mov rax, rdx
mov rcx, rsi
call fcn.0045efc0
mov eax, 1
call fcn.0045efc0
call fcn.0045efe0
lea rax, [0x005efca0]
mov qword [rsp], rax
lea rax, [0x0066be10]
mov qword [rsp + 8], rax
call fcn.00432ca0
nop
call fcn.0045cde0
jmp fcn.005564e0