Function at 0x14005b6a0
Capabilities:
Encode data using base64

Disassembly:
xchg rdx, rcx
mov qword [rsp + 8], rdx
xchg rdx, rcx
nop
sub rsp, 8
mov qword [rsp], rbx
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rsi
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
push r15
sub rsp, 0x38
mov r15d, r8d
xchg r9, r8
mov r9, rdx
xchg r9, r8
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
xchg rcx, rdx
movups xmmword [rdx], xmm0
xchg rcx, rdx
xchg r11, rsi
mov qword [rcx + 0x10], r11
xchg r11, rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x24], 1
mov ebp, esi
test r15d, r15d
je 0x14005bbde
mov edx, esi
movzx ebx, byte [rsp + 0x90]
nop word [rax + rax]
mov ecx, ebp
dec r15d
movzx eax, byte [r8]
inc r8
mov qword [rsp + 0x88], r8
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 0x14005ba11
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, 1
shl bpl, 1
shl bpl, 1
shl bpl, 1
movzx eax, r12b
shr al, 2
shr al, 1
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, 2
shr al, 1
shr al, 1
add r14b, al
movzx eax, r9b
and al, 0x3f
mov byte [rsp + 0x90], al
mov byte [rsp + 0x23], al
lea rax, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rax, qword [0x140167020]
movzx r9d, byte [rcx + rax]
xchg rcx, r9
mov r9, qword [rdi + 0x10]
xchg r9, rcx
xchg r14, rdx
mov r14, qword [rdi + 0x18]
xchg r14, rdx
cmp rcx, rdx
jae 0x14005b869
lea rax, [rcx + 1]
xchg r12, rax
mov qword [rdi + 0x10], r12
xchg r12, rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005b85b
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b87a
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140031280
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b8d5
lea rax, [rcx + 1]
xchg rbp, rax
mov qword [rdi + 0x10], rbp
xchg rbp, rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005b8c7
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b8ec
movzx r8d, bl
mov edx, 1
xchg r14, rdi
mov rcx, r14
xchg r14, rdi
call fcn.140031280
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, r14b
movzx r9d, byte [rax + rcx]
xchg rbp, rcx
mov rbp, qword [rdi + 0x10]
xchg rbp, rcx
xchg rdx, rsi
mov rsi, qword [rdi + 0x18]
xchg rdx, rsi
cmp rcx, rdx
jae 0x14005b957
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005b949
xchg r9, rax
mov r9, qword [rdi]
xchg r9, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b968
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140031280
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, byte [rsp + 0x90]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
xchg r9, rdx
mov r9, qword [rdi + 0x18]
xchg r9, rdx
cmp rcx, rdx
jae 0x14005b9d3
lea rax, [rcx + 1]
xchg r9, rax
mov qword [rdi + 0x10], r9
xchg r9, rax
xchg rcx, rdi
mov rax, rcx
xchg rcx, rdi
cmp rdx, 0x10
jb 0x14005b9c5
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b9ea
movzx r8d, bl
mov edx, 1
xchg r12, rcx
mov r12, rdi
xchg rcx, r12
call fcn.140031280
mov ebp, esi
xchg r8, rsi
mov rdx, r8
xchg rsi, r8
mov eax, esi
mov r14d, esi
xchg r8, r11
mov r11, qword [rsp + 0x88]
xchg r11, r8
movzx r9d, byte [rsp + 0x9a]
test r15d, r15d
jne 0x14005b751
test ebp, ebp
je 0x14005bbde
cmp ebp, 3
jge 0x14005ba6a
mov ebx, 3
sub ebx, ebp
movsxd r8, ebx
movsxd rax, ebp
lea rcx, [rsp + 0x98]
add rcx, rax
xor edx, edx
call fcn.14014ff06
movzx r9d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
jmp 0x14005ba6d
lea ebx, [rax + 3]
movzx eax, r13b
shr al, 1
shr al, 1
mov byte [rsp + 0x20], al
and r13b, 3
shl r13b, 3
shl r13b, 1
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, 2
shr r9b, 1
shr r9b, 3
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 0x14005bb56
movzx ebx, byte [rsp + 0x90]
lea r12, [0x140167020]
xchg r10, rcx
mov r10, r12
xchg rcx, r10
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, byte [rsp + rsi + 0x20]
movzx r9d, byte [rax + rcx]
xchg r13, rcx
mov r13, qword [rdi + 0x10]
xchg rcx, r13
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005bb35
lea rax, [rcx + 1]
xchg rdx, rax
mov qword [rdi + 0x10], rdx
xchg rdx, rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005bb27
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bb46
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140031280
inc rsi
cmp rsi, r15
jl 0x14005bad1
lea ebx, [r14 + 3]
cmp ebp, 3
jge 0x14005bbde
movsxd rsi, ebx
movzx ebx, byte [rsp + 0x90]
nop dword [rax + rax]
xchg r11, rcx
mov r11, qword [rdi + 0x10]
xchg rcx, r11
xchg rdx, r12
mov r12, qword [rdi + 0x18]
xchg r12, rdx
cmp rcx, rdx
jae 0x14005bbba
lea rax, [rcx + 1]
xchg r13, rax
mov qword [rdi + 0x10], r13
xchg r13, rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005bbaf
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x14005bbd4
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
call fcn.140031280
sub rsi, 1
jne 0x14005bb72
xchg rdi, r15
mov rax, r15
xchg rdi, r15
add rsp, 0x38
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
add rsp, 8
xchg qword [rsp - 8], r14
nop
mov r13, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r12, qword [rsp - 8]
push rax
push rcx
push rdx
xchg qword [rsp + 0x18], rdi
add rsp, 0x20
nop
add rsp, 8
mov rsi, qword [rsp - 8]
nop
add rsp, 8
mov rbp, qword [rsp - 8]
push rdx
push rcx
push rdx
push rax
xchg qword [rsp + 0x20], rbx
pop rax
pop rdx
pop rcx
pop rdx
add rsp, 8
ret