Function at 0x14012c1d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, r8
mov qword [rsp + 0x50], rbx
mov r9, rdx
mov qword [rsp + 0x40], rdx
mov r10, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x58], rcx
xor r8d, r8d
mov dword [rsp + 0x48], r8d
lea rcx, [rbx + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xorps xmm0, xmm0
movups xmmword [r10], xmm0
mov qword [r10 + 0x10], r8
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], r8b
mov dword [rsp + 0x48], 1
cmp rdx, 0xf
jbe 0x14012c25e
mov rcx, r10
call fcn.14012e400
mov r10, qword [rsp + 0x28]
xor r8d, r8d
mov qword [r10 + 0x10], r8
mov r9, qword [rsp + 0x40]
test rbx, rbx
je 0x14012c5c0
mov r11d, 2
mov dword [rsp + 0x30], r11d
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx r12d, byte [rsp + 0x20]
movzx r13d, byte [rsp + 0x20]
movzx ebp, byte [rsp + 0x20]
movzx r14d, byte [rsp + 0x20]
movzx ebx, byte [rsp + 0x20]
movzx r15d, byte [rsp + 0x20]
movzx edi, byte [rsp + 0x20]
movzx esi, byte [rsp + 0x20]
nop word [rax + rax]
add r8, r9
mov qword [rsp + 0x38], r8
movzx eax, byte [r8]
shr rax, 2
movzx r9d, byte [rax + rcx]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x14012c2f1
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c2e6
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c311
movzx r8d, r12b
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov r11d, dword [rsp + 0x30]
lea ecx, [r11 - 1]
mov rdx, qword [r10 + 0x18]
cmp rcx, qword [rsp + 0x50]
jae 0x14012c4bf
mov r11, qword [rsp + 0x40]
add r11, rcx
mov qword [rsp + 0x38], r11
movzx ecx, byte [r8]
and ecx, 3
shl ecx, 4
movzx eax, byte [r11]
shr eax, 4
add ecx, eax
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx r9d, byte [rcx + r8]
mov rcx, qword [r10 + 0x10]
cmp rcx, rdx
jae 0x14012c378
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c36d
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c39a
movzx r8d, r13b
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov r11, qword [rsp + 0x38]
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov eax, dword [rsp + 0x30]
mov rdx, qword [r10 + 0x18]
cmp rax, qword [rsp + 0x50]
jae 0x14012c45b
add rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
movzx ecx, byte [r11]
and ecx, 0xf
movzx eax, byte [rax]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r8]
mov rcx, qword [r10 + 0x10]
cmp rcx, rdx
jae 0x14012c3f4
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c3e9
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c413
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x14012c452
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c444
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c597
movzx r8d, bpl
jmp 0x14012c585
movzx eax, byte [r11]
and eax, 0xf
movzx r9d, byte [r8 + rax*4]
mov rcx, qword [r10 + 0x10]
cmp rcx, rdx
jae 0x14012c48f
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c484
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c4a5
movzx r8d, r14b
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jb 0x14012c562
movzx r8d, bl
jmp 0x14012c582
movzx eax, byte [r8]
and eax, 3
add rax, rax
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx r9d, byte [r9 + rax*8]
mov rcx, qword [r10 + 0x10]
cmp rcx, rdx
jae 0x14012c4fd
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c4f2
mov rax, qword [r10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c513
movzx r8d, r15b
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x14012c53c
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c534
mov rax, qword [r10]
mov word [rax + rcx], 0x3d
jmp 0x14012c555
mov r9b, 0x3d
movzx r8d, dil
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x14012c57e
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0xf
jbe 0x14012c576
mov rax, qword [r10]
mov word [rax + rcx], 0x3d
jmp 0x14012c597
movzx r8d, sil
mov r9b, 0x3d
mov edx, 1
mov rcx, r10
call fcn.14012e550
mov r10, qword [rsp + 0x28]
mov r11d, dword [rsp + 0x30]
add r11d, 3
mov dword [rsp + 0x30], r11d
lea r8d, [r11 - 2]
cmp r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jb 0x14012c2b0
mov rax, r10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret