Function at 0x1800015a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x180041028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov rdi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1800015ec
mov rdi, qword [rdx]
mov r13d, dword [rdx + 0x10]
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x18002f440]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x18002f450]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x18002f460]
movaps xmmword [rsp + 0x80], xmm1
movzx eax, byte [0x18002f470]
mov byte [rsp + 0x90], al
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x30], 1
mov eax, 0x55555556
imul r13d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [rsp + 0x34], ecx
test ecx, ecx
jle 0x1800017c5
mov r12d, ecx
nop dword [rax]
movzx esi, byte [rdi]
movzx ebp, byte [rdi + 1]
movzx r14d, byte [rdi + 2]
add rdi, 3
mov eax, esi
shr rax, 2
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800016b8
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800016ad
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800016c7
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rax, rbp
shr rax, 4
shl rsi, 4
or rax, rsi
and eax, 0x3f
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000170a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800016ff
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001719
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rcx, r14
shr rcx, 6
mov rax, rbp
shl rax, 2
or rcx, rax
and ecx, 0x3f
movzx r9d, byte [rsp + rcx + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000175f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180001754
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000176e
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rax, r14
and eax, 0x3f
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800017a6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000179b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800017b5
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
sub r12, 1
jne 0x180001670
mov ecx, dword [rsp + 0x34]
xor ebp, ebp
lea eax, [rcx + rcx*2]
sub r13d, eax
cmp r13d, 1
jne 0x1800018b8
movzx edi, byte [rdi]
mov eax, edi
shr rax, 2
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001810
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180001805
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000181f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
and edi, 3
add rdi, rdi
movzx r9d, byte [rsp + rdi*8 + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001857
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000184c
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001866
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x18000189e
lea rax, [rcx + 2]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000188e
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d3d
mov byte [rax + rcx + 2], 0
jmp 0x1800019fa
mov qword [rsp + 0x20], 2
lea r9, [0x18002f474]
mov edx, 2
jmp 0x1800019ee
cmp r13d, 2
jne 0x1800019fa
movzx esi, byte [rdi]
movzx edi, byte [rdi + 1]
mov eax, esi
shr rax, 2
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001901
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800018f6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001910
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rax, rdi
shr rax, 4
and esi, 3
shl rsi, 4
or rax, rsi
movzx r9d, byte [rsp + rax + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001953
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180001948
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001962
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rax, rdi
and eax, 0xf
movzx r9d, byte [rsp + rax*4 + 0x50]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000199a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000198f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800019a9
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1800010a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800019d9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800019d1
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1800019fa
mov qword [rsp + 0x20], 1
lea r9, [0x18002f478]
mov edx, 1
xor r8d, r8d
mov rcx, rbx
call fcn.180001210
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x180001a30
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x180001a2b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001a6e
mov rcx, r8
call fcn.18001178c
mov qword [r15 + 0x10], rbp
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180011830
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180018384
int3