Function at 0x14005ba30
Capabilities:
Encode data using base64

Disassembly:
xchg rdi, rcx
mov qword [rsp + 8], rdi
xchg rdi, rcx
nop
push 0x6c28146c
mov qword [rsp], rbx
nop
sub rsp, 8
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
mov qword [rsp - 8], rdi
sub rsp, 8
nop
mov qword [rsp - 8], r12
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r13
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
sub esp, 8
sub rsp, 0x38
mov r15d, r8d
xchg r8, rdx
mov rdx, r8
xchg rdx, r8
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xchg rsi, r13
mov qword [rcx + 0x10], r13
xchg rsi, r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x24], 1
mov ebp, esi
test r15d, r15d
je 0x14005bf5e
mov edx, esi
movzx ebx, byte [rsp + 0x90]
nop word [rax + rax]
mov ecx, ebp
dec r15d
movzx eax, byte [r8]
inc r8
xchg r8, rcx
mov qword [rsp + 0x88], rcx
xchg r8, rcx
mov byte [rsp + rdx + 0x98], al
inc ebp
inc rdx
mov eax, 0xffffffff
sub eax, ecx
mov r14d, 0xffffffff
sub r14d, ecx
movzx r9d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
cmp rdx, 3
jne 0x14005bd90
movzx eax, r13b
shr al, 1
shr al, 1
movzx ecx, al
mov byte [rsp + 0x20], cl
movzx ebp, r13b
and bpl, dl
shl bpl, 4
movzx eax, r12b
shr al, 3
shr al, 1
add bpl, al
movzx r14d, r12b
and r14b, 0xf
shl r14b, 1
shl r14b, 1
movzx eax, r9b
shr al, 2
shr al, 3
shr al, 1
add r14b, al
movzx eax, r9b
and al, 0x3f
mov byte [rsp + 0x90], al
mov byte [rsp + 0x23], al
lea rax, [0x14016c020]
cmp qword [0x14016c038], 0x10
cmovae rax, qword [0x14016c020]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005bbf2
lea rax, [rcx + 1]
xchg r9, rax
mov qword [rdi + 0x10], r9
xchg r9, rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005bbe4
xchg r13, rax
mov r13, qword [rdi]
xchg r13, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bc09
movzx r8d, bl
mov edx, 1
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
call fcn.1400318f0
lea rcx, [0x14016c020]
cmp qword [0x14016c038], 0x10
cmovae rcx, qword [0x14016c020]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
xchg rcx, r11
mov r11, qword [rdi + 0x10]
xchg rcx, r11
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005bc6e
lea rax, [rcx + 1]
xchg rbp, rax
mov qword [rdi + 0x10], rbp
xchg rbp, rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005bc60
xchg r11, rax
mov r11, qword [rdi]
xchg r11, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bc85
movzx r8d, bl
mov edx, 1
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
call fcn.1400318f0
lea rcx, [0x14016c020]
cmp qword [0x14016c038], 0x10
cmovae rcx, qword [0x14016c020]
movzx eax, r14b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005bcdc
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005bcce
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bcf3
movzx r8d, bl
mov edx, 1
xchg r12, rdi
mov rcx, r12
xchg r12, rdi
call fcn.1400318f0
lea rcx, [0x14016c020]
cmp qword [0x14016c038], 0x10
cmovae rcx, qword [0x14016c020]
movzx eax, byte [rsp + 0x90]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
xchg r13, rdx
mov r13, qword [rdi + 0x18]
xchg r13, rdx
cmp rcx, rdx
jae 0x14005bd5e
lea rax, [rcx + 1]
xchg r9, rax
mov qword [rdi + 0x10], r9
xchg r9, rax
xchg rdi, r14
mov rax, r14
xchg rdi, r14
cmp rdx, 0x10
jb 0x14005bd50
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bd6f
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400318f0
mov ebp, esi
xchg rsi, r15
mov rdx, r15
xchg r15, rsi
mov eax, esi
mov r14d, esi
mov r8, qword [rsp + 0x88]
movzx r9d, byte [rsp + 0x9a]
test r15d, r15d
jne 0x14005bae4
test ebp, ebp
je 0x14005bf5e
cmp ebp, 3
jge 0x14005bde9
mov ebx, 3
sub ebx, ebp
movsxd r8, ebx
movsxd rax, ebp
lea rcx, [rsp + 0x98]
add rcx, rax
xor edx, edx
call fcn.140155126
movzx r9d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
jmp 0x14005bdec
lea ebx, [rax + 3]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x20], al
and r13b, 3
shl r13b, 1
shl r13b, 1
shl r13b, 2
movzx eax, r12b
shr al, 2
shr al, 1
shr al, 1
add r13b, al
mov byte [rsp + 0x21], r13b
and r12b, 0xf
shl r12b, 1
shl r12b, 1
shr r9b, 4
shr r9b, 1
shr r9b, 1
add r12b, r9b
mov byte [rsp + 0x22], r12b
lea eax, [rbp + 1]
movsxd r15, eax
test eax, eax
jle 0x14005bedc
movzx ebx, byte [rsp + 0x90]
lea r12, [0x14016c020]
mov rcx, r12
cmp qword [0x14016c038], 0x10
cmovae rcx, qword [0x14016c020]
movzx eax, byte [rsp + rsi + 0x20]
movzx r9d, byte [rax + rcx]
xchg rcx, rbx
mov rbx, qword [rdi + 0x10]
xchg rbx, rcx
xchg rdx, r9
mov r9, qword [rdi + 0x18]
xchg r9, rdx
cmp rcx, rdx
jae 0x14005beb5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005bea7
xchg r11, rax
mov r11, qword [rdi]
xchg r11, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005becc
movzx r8d, bl
mov edx, 1
xchg rdi, rcx
mov rdi, rcx
xchg rdi, rcx
call fcn.1400318f0
inc rsi
cmp rsi, r15
jl 0x14005be51
lea ebx, [r14 + 3]
cmp ebp, 3
jge 0x14005bf5e
movsxd rsi, ebx
movzx ebx, byte [rsp + 0x90]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
xchg r11, rdx
mov r11, qword [rdi + 0x18]
xchg r11, rdx
cmp rcx, rdx
jae 0x14005bf3a
lea rax, [rcx + 1]
xchg rsi, rax
mov qword [rdi + 0x10], rsi
xchg rsi, rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005bf2f
xchg rbx, rax
mov rbx, qword [rdi]
xchg rbx, rax
mov word [rax + rcx], 0x3d
jmp 0x14005bf54
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
xchg rcx, r12
mov r12, rdi
xchg r12, rcx
call fcn.1400318f0
sub rsi, 1
jne 0x14005bef8
xchg rdi, rdx
mov rax, rdx
xchg rdi, rdx
add rsp, 0x38
nop
mov r15, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r14, qword [rsp - 8]
push rbx
xchg qword [rsp + 8], r13
pop rbx
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
nop
xchg qword [rsp], rdi
add rsp, 8
nop
add rsp, 8
mov rsi, qword [rsp - 8]
push rbx
xchg qword [rsp + 8], rbp
add rsp, 0x10
nop
xchg qword [rsp], rbx
add rsp, 8
ret