Function at 0x140030570
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x24], eax
movdqa xmm0, xmmword [0x140119250]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140119260]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140119270]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [str.wxyz0123456789_]
movdqa xmmword [rsp + 0x70], xmm1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], select
mov byte [rcx], al
mov dword [rsp + 0x24], 1
mov r13d, eax
cmp rdx, r8
je 0x140030987
movzx esi, byte [rsp + 0x20]
movzx ebp, byte [rsp + 0x20]
movzx r15d, byte [rsp + 0x20]
movzx r14d, byte [rsp + 0x20]
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rsp + r13 + 0x30], al
inc r13
movzx ecx, byte [rsp + 0x30]
cmp r13, 3
jne 0x1400307b3
mov eax, ecx
shr rax, 2
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x140030686
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x14003067b
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030697
movzx r8d, sil
mov edx, 1
mov rcx, r12
call fcn.14000a610
movzx ecx, byte [rsp + 0x30]
and cl, 3
shl cl, 4
movzx r13d, byte [rsp + 0x31]
movzx eax, r13b
shr al, 4
add cl, al
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x1400306ea
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x1400306df
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400306fb
movzx r8d, bpl
mov edx, 1
mov rcx, r12
call fcn.14000a610
movzx ecx, r13b
and cl, 0xf
shl cl, 2
movzx r13d, byte [rsp + 0x32]
movzx eax, r13b
shr al, 6
add cl, al
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x14003074d
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x140030742
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003075e
movzx r8d, r15b
mov edx, 1
mov rcx, r12
call fcn.14000a610
mov rax, r13
and eax, 0x3f
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x14003079a
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x14003078f
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400307ab
movzx r8d, r14b
mov edx, 1
mov rcx, r12
call fcn.14000a610
xor r13d, r13d
movzx ecx, byte [rsp + 0x30]
inc rbx
cmp rbx, rdi
jne 0x140030630
test r13, r13
je 0x140030987
movzx eax, cl
shr rax, 2
movzx r9d, byte [rsp + rax + 0x40]
mov rdx, qword [r12 + 0x10]
mov r8, qword [r12 + 0x18]
cmp rdx, r8
jae 0x140030805
lea rax, [rdx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp r8, 0x10
jb 0x1400307fa
mov rax, qword [r12]
mov byte [rax + rdx], r9b
mov byte [rax + rdx + 1], 0
jmp 0x14003081d
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, r12
call fcn.14000a610
movzx ecx, byte [rsp + 0x30]
and cl, 3
mov rdx, qword [r12 + 0x18]
shl cl, 4
cmp r13, 1
jne 0x140030883
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
cmp rcx, rdx
jae 0x140030868
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x140030857
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
inc r13
jmp 0x140030932
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, r12
call fcn.14000a610
inc r13
jmp 0x140030932
movzx ebx, byte [rsp + 0x31]
movzx eax, bl
shr al, 4
add cl, al
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
cmp rcx, rdx
jae 0x1400308c4
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x1400308b9
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400308d7
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, r12
call fcn.14000a610
and bl, 0xf
shl bl, 2
movzx eax, bl
movzx r9d, byte [rsp + rax + 0x40]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x140030916
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x14003090b
mov rax, qword [r12]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030929
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, r12
call fcn.14000a610
inc r13
cmp r13, 4
jae 0x140030987
mov edi, 4
sub rdi, r13
movzx ebx, byte [rsp + 0x20]
nop
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x14003096d
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x140030965
mov rax, qword [r12]
mov word [rax + rcx], 0x3d
jmp 0x140030981
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, r12
call fcn.14000a610
sub rdi, 1
jne 0x140030940
mov rax, r12
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a56d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret