Function at 0x5ccaa0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5ccdae
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
nop dword [rax]
test rbx, rbx
je 0x5ccb9d
cmp rbx, 0x14
jae 0x5ccd9a
mov rdx, qword [0x009bb6a8]
nop word [rax + rax]
cmp rbx, rdx
jae 0x5ccd8f
mov rdx, qword [0x009bb6a0]
movzx edx, byte [rdx + rbx]
cmp rdi, rdx
jne 0x5ccb68
mov qword [rsp + 0x48], rax
mov rdx, qword [0x009d28b0]
lea rax, [0x006e1de0]
mov rcx, rbx
mov rbx, rdx
call fcn.00467f20
test bl, bl
je 0x5ccb33
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
jmp 0x5ccba2
lea rax, [0x006ebb00]
call fcn.0040da40
mov qword [rax + 8], 0x25
lea rcx, [0x0074417c]
mov qword [rax], rcx
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x007beea0]
mov rsi, rax
xor eax, eax
add rsp, 0x38
pop rbp
ret
lea rax, [0x006ebb00]
call fcn.0040da40
mov qword [rax + 8], 0x28
lea rcx, [0x0074586e]
mov qword [rax], rcx
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x007beea0]
mov rsi, rax
xor eax, eax
add rsp, 0x38
pop rbp
ret
xor r8d, r8d
xor edx, edx
mov r9, qword [rax]
mov r10, qword [r9 + 0x10]
lea r11, [r10 - 1]
nop
test r11, r11
jl 0x5ccc14
mov r9, qword [r9 + 8]
mov r9, qword [r9 + r10*8 - 8]
mov r10, r9
shr r9, 1
or r9, r10
mov r10, r9
shr r9, 2
or r9, r10
mov r10, r9
shr r9, 4
or r9, r10
mov r10, r9
shr r9, 8
or r9, r10
mov r10, r9
shr r9, 0x10
or r9, r10
mov r10, r9
shr r9, 0x20
or r9, r10
shl r11, 6
bsr r9, r9
mov r10, 0xffffffffffffffff
cmove r9, r10
lea r9, [r9 + r11]
lea r9, [r9 + 1]
jmp 0x5ccc17
xor r9d, r9d
lea r10, [r8 + rdi]
lea r10, [r10 + 0xb]
lea r11, [r9 + 7]
sar r11, 0x3f
shr r11, 0x3d
lea rbx, [r11 + r9]
lea rbx, [rbx + 7]
sar rbx, 3
cmp r10, rbx
jg 0x5ccc7f
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
lea rax, [0x006ce9c0]
mov rcx, rbx
call fcn.0046c120
mov rcx, qword [rsp + 0x18]
nop
cmp rcx, 1
jbe 0x5ccd85
mov byte [rax + 1], 1
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x20]
mov ebx, 2
jmp 0x5ccca1
mov rdi, qword [0x009b9520]
mov rsi, qword [0x009b9528]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x38
pop rbp
ret
mov byte [rax + rbx], 0xff
inc rbx
mov r9, rcx
sub r9, r8
sub r9, rdx
lea r10, [r9 - 1]
cmp rbx, r10
jge 0x5cccc0
cmp rbx, rcx
jb 0x5ccc9a
jmp 0x5ccd78
cmp rcx, r9
jb 0x5ccd70
mov qword [rsp + 0x30], rax
mov rbx, rcx
sub rcx, r9
mov r10, r9
sub r9, rbx
sar r9, 0x3f
and r10, r9
lea r9, [r10 + rax]
cmp r8, rcx
cmovl rcx, r8
mov r8, qword [rsp + 0x28]
cmp r8, r9
je 0x5ccd14
mov rax, r9
mov rbx, r8
nop dword [rax]
call fcn.00473980
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x18]
mov rcx, rbx
sub rbx, rdx
cmp rcx, rbx
jb 0x5ccd68
mov r8, rcx
sub r8, rbx
mov r9, rbx
sub rbx, rcx
sar rbx, 0x3f
and r9, rbx
add r9, rax
cmp rdx, r8
cmovl r8, rdx
mov rbx, qword [rsp + 0x58]
cmp rbx, r9
je 0x5ccd5b
mov rax, r9
mov rcx, r8
call fcn.00473980
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov rbx, rcx
xor edi, edi
xor esi, esi
add rsp, 0x38
pop rbp
ret
mov rax, rbx
call fcn.00473060
mov rax, r9
call fcn.00473060
mov rax, rbx
nop dword [rax + rax]
call fcn.00472fa0
mov eax, 1
call fcn.00472fa0
mov rax, rbx
mov rcx, rdx
call fcn.00472fc0
lea rax, [0x006ce940]
lea rbx, [0x007be230]
call fcn.0046a480
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.00470cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.005ccaa0