Function at 0x140026fc0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
sub rsp, 0x48
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x140026fdb
xor eax, eax
add rsp, 0x48
pop rsi
pop rbx
ret
mov edx, 1
mov qword [rsp + 0x38], r12
mov rcx, rsi
call fcn.1400462ec
mov r12, rax
test rax, rax
jne 0x140026ffc
xor ebx, ebx
jmp 0x14002728b
mov qword [rsp + 0x68], rbp
mov r8, rsi
mov qword [rsp + 0x40], rdi
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.140044e90
xor ebx, ebx
xorps xmm0, xmm0
mov edi, ebx
test rsi, rsi
js 0x14002702c
cvtsi2sd xmm0, rsi
jmp 0x140027044
mov rax, rsi
mov rcx, rsi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm0, qword [0x14006e0b0]
call fcn.1400501c4
movsd xmm1, qword [0x14006e0b8]
xor eax, eax
comisd xmm0, xmm1
jb 0x140027078
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140027078
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rbp, xmm0
mov edx, 1
add rbp, rax
lea rcx, [rbp*4 + 1]
call fcn.1400462ec
mov r15, rax
test rax, rax
je 0x14002727c
mov qword [rsp + 0x30], r13
mov r13d, ebx
mov byte [rax + rbp*4], bl
mov r10d, ebx
test rsi, rsi
je 0x140027274
mov qword [rsp + 0x28], r14
mov rcx, rbx
mov qword [rsp + 0x78], rbx
mov rax, rbx
nop word [rax + rax]
movzx eax, byte [rax + r12]
inc edi
mov byte [rsp + rcx + 0x60], al
inc rcx
movzx r14d, byte [rsp + 0x62]
movzx r11d, byte [rsp + 0x61]
movzx ebp, byte [rsp + 0x60]
cmp rcx, 3
jne 0x14002718f
lea rdi, [0x1400822e0]
movzx ecx, bpl
and cl, 3
movzx eax, bpl
shr al, 2
add r13d, 4
movzx r9d, al
movzx eax, r11b
shr al, 4
shl cl, 4
add cl, al
mov byte [rsp + 0x70], r9b
movzx r8d, cl
movzx eax, r14b
shr al, 6
movzx ecx, r11b
and cl, 0xf
mov byte [rsp + 0x71], r8b
shl cl, 2
add cl, al
movzx eax, r14b
and al, 0x3f
movzx edx, cl
movzx ecx, al
movzx eax, byte [r9 + rdi]
mov r9, qword [rsp + 0x78]
mov byte [rsp + 0x73], cl
mov byte [rsp + 0x72], dl
mov byte [r9 + r15], al
movzx eax, byte [r8 + rdi]
mov byte [r9 + r15 + 1], al
movzx eax, byte [rdx + rdi]
mov byte [r9 + r15 + 2], al
movzx eax, byte [rcx + rdi]
mov edi, ebx
mov byte [r9 + r15 + 3], al
mov rcx, rbx
add r9, 4
mov qword [rsp + 0x78], r9
inc r10d
mov eax, r10d
cmp rax, rsi
jb 0x1400270d0
test edi, edi
je 0x14002726f
mov esi, 3
cmp edi, esi
jge 0x1400271d9
mov eax, esi
lea rcx, [rsp + 0x60]
sub eax, edi
xor edx, edx
movsxd r8, eax
movsxd rax, edi
add rcx, rax
call fcn.1400452a0
movzx r11d, byte [rsp + 0x61]
movzx r14d, byte [rsp + 0x62]
movzx ebp, byte [rsp + 0x60]
movzx eax, bpl
lea r8d, [rdi + 1]
shr al, 2
and bpl, sil
mov byte [rsp + 0x70], al
movzx eax, r11b
shr al, 4
and r11b, 0xf
shl bpl, 4
add bpl, al
shl r11b, 2
movzx eax, r14b
mov byte [rsp + 0x71], bpl
shr al, 6
and r14b, 0x3f
add r11b, al
mov byte [rsp + 0x73], r14b
mov byte [rsp + 0x72], r11b
movsxd rdx, r8d
test r8d, r8d
jle 0x140027259
movsxd rcx, r13d
add rcx, r15
add r13d, r8d
lea r8, [0x1400822e0]
nop word [rax + rax]
movzx eax, byte [rsp + rbx + 0x70]
lea rcx, [rcx + 1]
inc rbx
movzx eax, byte [rax + r8]
mov byte [rcx - 1], al
cmp rbx, rdx
jl 0x140027240
cmp edi, esi
jge 0x14002726f
sub esi, edi
movsxd rcx, r13d
add rcx, r15
movsxd r8, esi
mov dl, 0x3d
call fcn.1400452a0
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, r15
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov rcx, r12
call fcn.1400462d0
mov r12, qword [rsp + 0x38]
mov rax, rbx
add rsp, 0x48
pop rsi
pop rbx
ret