Function at 0x5b8720
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x5b8c10
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x98], rbx
cmp al, 0x13
ja 0x5b87f5
cmp al, 0xc
je 0x5b8774
cmp al, 0x12
jne 0x5b8765
xor eax, eax
jmp 0x5b8ba0
cmp al, 0x13
jne 0x5b88b5
xor eax, eax
jmp 0x5b8ae9
mov qword [rsp + 0xa0], rcx
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
call fcn.00472ac0
test al, al
je 0x5b87b9
xor eax, eax
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.0044eba0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rax, [0x006a5680]
call fcn.0040d960
mov qword [rax + 8], 0x14
lea rcx, [0x006e4fe2]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0075baa0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
cmp al, 0x14
je 0x5b8927
nop dword [rax]
cmp al, 0x16
je 0x5b8912
cmp al, 0x1e
jne 0x5b88b5
bt ecx, 0
jb 0x5b8878
mov qword [rsp + 0xa8], rdi
nop
cmp rcx, 2
jl 0x5b883c
movzx edx, byte [rcx + rbx - 1]
test dl, dl
jne 0x5b883c
movzx edx, byte [rcx + rbx - 2]
test dl, dl
jne 0x5b883c
add rcx, 0xfffffffffffffffe
mov qword [rsp + 0x58], rcx
shr rcx, 1
mov qword [rsp + 0x50], rcx
lea rax, [0x0068d1e0]
xor ebx, ebx
call fcn.0044a8e0
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
xor ebx, ebx
jmp 0x5b8a40
lea rax, [0x006a5680]
nop
call fcn.0040d960
mov qword [rax + 8], 0x11
lea rcx, [0x006e383e]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0075baa0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
movups xmmword [rsp + 0x70], xmm15
lea rdx, [0x0069c680]
mov qword [rsp + 0x70], rdx
movzx edx, al
lea r8, [0x008d3e40]
lea rdx, [r8 + rdx*8]
mov qword [rsp + 0x78], rdx
lea rax, [0x006e8a25]
mov ebx, 0x1b
lea rcx, [rsp + 0x70]
mov edi, 1
mov rsi, rdi
call fcn.004d7960
mov rcx, rax
mov rdi, rbx
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor eax, eax
call fcn.0044eba0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rbx
xor ecx, ecx
jmp 0x5b8945
xor eax, eax
call fcn.0044eba0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rcx, rsi
cmp rbx, rcx
jle 0x5b89c3
movzx edx, byte [rax + rcx]
cmp edx, 0x80
jge 0x5b895c
lea rsi, [rcx + 1]
jmp 0x5b8974
nop dword [rax]
call fcn.0045d120
mov edx, eax
mov rsi, rbx
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
cmp edx, 0x7f
jle 0x5b8942
movups xmmword [rsp + 0x70], xmm15
nop
call fcn.0040afc0
lea rcx, [0x0068d0e0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x006ef32b]
mov ebx, 0x2a
lea rcx, [rsp + 0x70]
mov edi, 1
mov rsi, rdi
call fcn.004d7960
mov rbx, qword [rsp + 0x48]
mov rcx, rax
mov rax, qword [rsp + 0x60]
jmp 0x5b89c5
xor ecx, ecx
test rcx, rcx
je 0x5b8a06
lea rax, [0x006a5680]
call fcn.0040d960
mov qword [rax + 8], 0x11
lea rcx, [0x006e384f]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0075baa0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov word [rax + rbx*2 - 2], r8w
add rsi, 0xfffffffffffffffe
mov r8, rsi
neg rsi
sar rsi, 0x3f
and esi, 2
add rdi, rsi
add rcx, 0xfffffffffffffffe
mov rsi, r8
nop dword [rax + rax]
test rcx, rcx
je 0x5b8aad
movzx r8d, byte [rdi]
cmp rcx, 1
jbe 0x5b8ad9
inc rbx
shl r8d, 8
movzx r9d, byte [rdi + 1]
add r8d, r9d
cmp rdx, rbx
jae 0x5b8a1a
mov word [rsp + 0x46], r8w
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x68], rdi
mov rcx, rdx
mov edi, 1
lea rsi, [0x0068d1e0]
call fcn.0044a9c0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
movzx r8d, word [rsp + 0x46]
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
jmp 0x5b8a1a
mov rcx, rdx
call fcn.0049efc0
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044f040
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov eax, 1
mov rcx, rax
call fcn.00465e40
inc rax
cmp rcx, rax
jle 0x5b8b81
movzx edx, byte [rbx + rax]
lea esi, [rdx - 0x61]
cmp sil, 0x19
jbe 0x5b8ae6
lea esi, [rdx - 0x41]
cmp sil, 0x19
jbe 0x5b8ae6
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x5b8ae6
lea esi, [rdx - 0x27]
cmp sil, 2
jbe 0x5b8ae6
lea esi, [rdx - 0x2b]
nop dword [rax]
cmp sil, 4
jbe 0x5b8ae6
cmp dl, 0x20
je 0x5b8ae6
cmp dl, 0x3a
je 0x5b8ae6
cmp dl, 0x3d
je 0x5b8ae6
cmp dl, 0x3f
je 0x5b8ae6
cmp dl, 0x2a
je 0x5b8ae6
nop
cmp dl, 0x26
je 0x5b8ae6
lea rax, [0x006a5680]
call fcn.0040d960
mov qword [rax + 8], 0x17
lea rcx, [0x006e6762]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0075baa0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor eax, eax
call fcn.0044eba0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
inc rax
nop
cmp rcx, rax
jle 0x5b8bf5
movzx edx, byte [rax + rbx]
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x5b8b9c
cmp dl, 0x20
je 0x5b8b9c
lea rax, [0x006a5680]
nop
call fcn.0040d960
mov qword [rax + 8], 0x15
lea rcx, [0x006e56f7]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0075baa0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor eax, eax
call fcn.0044eba0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov byte [rsp + 8], al
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004637e0
movzx eax, byte [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.005b8720