Function at 0x140030c60
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, 0x50
mov rax, qword [0x1401910c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x28], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
mov dword [rsp + 0x28], 1
mov esi, edi
xor eax, eax
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3a], al
mov dword [rsp + 0x24], edi
test r8, r8
je 0x140030fea
mov ecx, edi
nop dword [rax + rax]
dec rbp
movzx eax, byte [r12]
lea r12, [r12 + 1]
mov byte [rsp + rcx + 0x38], al
inc esi
inc rcx
movzx edx, byte [rsp + 0x3a]
movzx r14d, byte [rsp + 0x39]
movzx r15d, byte [rsp + 0x38]
cmp rcx, 3
jne 0x140030eaa
movzx eax, r15b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x24], cl
movzx esi, r15b
and sil, 3
shl sil, 4
movzx eax, r14b
shr al, 4
add sil, al
movzx r13d, r14b
and r13b, 0xf
shl r13b, 2
movzx eax, dl
shr al, 6
add r13b, al
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x20], al
lea rax, [0x140196a20]
cmp qword [0x140196a38], 0xf
cmova rax, qword [0x140196a20]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030d9b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030d90
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030da3
mov rcx, rbx
call fcn.14001f7a0
lea rcx, [0x140196a20]
cmp qword [0x140196a38], 0xf
cmova rcx, qword [0x140196a20]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030def
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030de4
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030df7
mov rcx, rbx
call fcn.14001f7a0
lea rcx, [0x140196a20]
cmp qword [0x140196a38], 0xf
cmova rcx, qword [0x140196a20]
movzx eax, r13b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030e43
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030e38
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030e4b
mov rcx, rbx
call fcn.14001f7a0
lea rcx, [0x140196a20]
cmp qword [0x140196a38], 0xf
cmova rcx, qword [0x140196a20]
movzx eax, byte [rsp + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030e98
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030e8d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030ea0
mov rcx, rbx
call fcn.14001f7a0
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x3a]
test rbp, rbp
jne 0x140030ce0
test esi, esi
je 0x140030fea
movsxd rax, esi
cmp rax, 3
jge 0x140030ee9
jae 0x140031018
mov byte [rsp + rax + 0x38], 0
inc rax
cmp rax, 3
jl 0x140030ec4
movzx edx, byte [rsp + 0x3a]
movzx r14d, byte [rsp + 0x39]
movzx r15d, byte [rsp + 0x38]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x24], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rsp + 0x25], r15b
and r14b, 0xf
shl r14b, 2
movzx eax, dl
shr al, 6
add r14b, al
mov byte [rsp + 0x26], r14b
and dl, 0x3f
mov byte [rsp + 0x27], dl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x140030f9d
nop dword [rax]
nop word [rax + rax]
lea rcx, [0x140196a20]
cmp qword [0x140196a38], 0xf
cmova rcx, qword [0x140196a20]
movzx eax, byte [rsp + rdi + 0x24]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030f8d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030f82
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030f95
mov rcx, rbx
call fcn.14001f7a0
inc rdi
cmp rdi, rbp
jl 0x140030f40
cmp esi, 3
jge 0x140030fea
mov edi, 3
sub edi, esi
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030fd9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030fd1
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140030fe4
mov r9b, 0x3d
mov rcx, rbx
call fcn.14001f7a0
sub rdi, 1
jne 0x140030fb0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400fe220
lea r11, [rsp + 0x50]
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
call fcn.1400fea04
int3