Function at 0x140005330
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140283040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov rbp, qword [rdx + 0x18]
lea rcx, [rbp + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, r14
call fcn.14000b410
lea rdx, [r14 + 8]
cmp qword [r14 + 0x20], 0xf
jbe 0x140005394
mov rdx, qword [rdx]
xor r8d, r8d
lea rsi, [rbp - 2]
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test rsi, rsi
je 0x1400054cc
mov r9d, 2
cmp r8, qword [rbx + 0x18]
ja 0x1400055fb
lea rcx, [rbx + 8]
mov rax, rcx
cmp qword [rbx + 0x20], 0xf
jbe 0x1400053cc
mov rax, qword [rcx]
movzx eax, byte [rax + r8]
shr rax, 2
movzx eax, byte [rax + r15]
mov byte [rdx], al
mov rax, qword [rbx + 0x18]
cmp r8, rax
ja 0x1400055fb
mov r10, qword [rbx + 0x20]
cmp r10, 0xf
jbe 0x1400053f6
mov rcx, qword [rcx]
lea rdi, [rcx + r8]
lea r11, [r9 - 1]
cmp r11, rax
ja 0x1400055fb
lea rax, [rbx + 8]
cmp r10, 0xf
jbe 0x140005415
mov rax, qword [rbx + 8]
movzx ecx, byte [r11 + rax]
shr rcx, 4
movsx rax, byte [rdi]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rdx + 1], al
mov rdi, qword [rbx + 0x18]
cmp r11, rdi
ja 0x1400055fb
lea rax, [rbx + 8]
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xf
jbe 0x140005453
mov rax, qword [rbx + 8]
lea r10, [r9 + rax]
cmp r9, rdi
ja 0x1400055fb
lea rax, [rbx + 8]
cmp rcx, 0xf
jbe 0x14000546e
mov rax, qword [rbx + 8]
movzx ecx, byte [r9 + rax]
shr rcx, 6
movsx rax, byte [r10 - 1]
and eax, 0xf
shl rax, 2
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rdx + 2], al
cmp r9, qword [rbx + 0x18]
ja 0x1400055fb
lea rax, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x1400054a7
mov rax, qword [rbx + 8]
movsx rax, byte [r9 + rax]
and eax, 0x3f
movzx eax, byte [rax + r15]
mov byte [rdx + 3], al
add rdx, 4
add r8, 3
add r9, 3
cmp r8, rsi
jb 0x1400053b1
cmp r8, rbp
jae 0x1400055bb
cmp r8, qword [rbx + 0x18]
ja 0x1400055fb
lea rcx, [rbx + 8]
mov rax, rcx
cmp qword [rbx + 0x20], 0xf
jbe 0x1400054f0
mov rax, qword [rcx]
movzx eax, byte [rax + r8]
shr rax, 2
movzx eax, byte [rax + r15]
mov byte [rdx], al
lea rax, [rbp - 1]
cmp r8, rax
jne 0x140005538
cmp r8, qword [rbx + 0x18]
ja 0x1400055fb
cmp qword [rbx + 0x20], 0xf
jbe 0x14000551d
mov rcx, qword [rcx]
movsx rax, byte [rcx + r8]
and eax, 3
add rax, rax
movzx eax, byte [r15 + rax*8]
mov byte [rdx + 1], al
mov al, 0x3d
add rdx, 2
jmp 0x1400055b5
mov rax, qword [rbx + 0x18]
cmp r8, rax
ja 0x1400055fb
mov r9, qword [rbx + 0x20]
cmp r9, 0xf
jbe 0x140005552
mov rcx, qword [rcx]
lea r10, [rcx + r8]
inc r8
cmp r8, rax
ja 0x1400055fb
lea rax, [rbx + 8]
cmp r9, 0xf
jbe 0x140005570
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + r8]
shr rcx, 4
movsx rax, byte [r10]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rdx + 1], al
add rdx, 2
cmp r8, qword [rbx + 0x18]
ja 0x1400055fb
lea rax, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x1400055a8
mov rax, qword [rbx + 8]
movsx rax, byte [rax + r8]
and eax, 0xf
movzx eax, byte [r15 + rax*4]
mov byte [rdx], al
mov byte [rdx + 1], 0x3d
mov rcx, rbx
call fcn.1400028b0
mov rcx, qword [rbx]
mov qword [rbx], 0
mov edx, 0x10
call fcn.14007bac4
mov rax, r14
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007b820
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3