Function at 0x14004b970
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rcx + 0x10]
mov rax, qword [rcx + 0xc8]
mov al, byte [rax + 0x3b]
mov byte [rsp + 0x27], al
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
je 0x14004bee3
sar rcx, 4
call fcn.14001c470
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov cl, byte [rsi + 0x18]
test cl, 1
jne 0x14004bd92
mov r14, qword [rsi]
shl rax, 4
add rax, r14
cmp rax, qword [rsi + 8]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x28], rax
je 0x14004bbca
xorps xmm6, xmm6
mov r14, rax
mov al, byte [r14 + 9]
test al, 1
jne 0x14004bbb4
mov al, byte [r14 + 8]
test al, 1
jne 0x14004bdd8
mov byte [r14 + 8], 1
mov qword [rsp + 0x30], r14
mov rsi, qword [r14]
mov r14, qword [rsi + 0x1000]
and rsi, 0xffffffffffe00000
lea rax, [rsi + 0x4000]
mov qword [rsp + 0x38], rax
xor r12d, r12d
jmp 0x14004ba60
inc r12
cmp r12, 0x1000
je 0x14004bba5
mov rax, qword [rsp + 0x38]
mov r15, qword [rax + r12*8]
test r15, r15
je 0x14004ba50
mov r13, r12
shl r13, 9
nop word cs:[rax + rax]
bsf rbx, r15
mov ecx, ebx
and cl, 0x3e
mov ebp, 3
shl rbp, cl
mov rax, r15
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
je 0x14004bac0
not rbp
and r15, rbp
jne 0x14004ba80
jmp 0x14004ba50
shl rbx, 3
or rbx, r13
movabs rax, 0x7ffffffffffffff0
and rbx, rax
add rbx, rsi
mov rax, rbx
and rax, 0xffffffffffe00000
mov rcx, rbx
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x14004bdc6
mov rax, qword [rax + 0x10]
mov edi, dword [rax + 0x18]
mov eax, dword [r14 + 8]
sub rdi, rax
cmp byte [rsp + 0x27], 0
jne 0x14004bb8f
mov ecx, dword [r14 + 0xc]
add rcx, rbx
cmp rdi, 0x10
jne 0x14004bb85
movups xmmword [rcx], xmm6
mov edi, 0x100f
shr rdi, 0xc
mov rax, rbx
shr rax, 0xc
and eax, 0x1fffff
add rdi, rax
movabs rcx, 0xfffffffe00000000
and rbx, rcx
add rbx, rax
lea rcx, [rax + 1]
cmp rdi, rcx
ja 0x14004bb70
mov rdi, rcx
sub rdi, rax
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.14006cd70
jmp 0x14004baab
xor edx, edx
mov r8, rdi
call fcn.14006cd70
add rdi, 0xfff
cmp rdi, 0x1000
jb 0x14004baab
jmp 0x14004bb41
mov r14, qword [rsp + 0x30]
mov byte [r14 + 9], 1
mov rsi, qword [rsp + 0x40]
add r14, 0x10
cmp r14, qword [rsi + 8]
jne 0x14004ba00
mov r14, qword [rsi]
mov rax, qword [rsp + 0x28]
cmp r14, rax
je 0x14004bd76
xorps xmm6, xmm6
mov al, byte [r14 + 9]
test al, 1
jne 0x14004bd67
mov al, byte [r14 + 8]
test al, 1
jne 0x14004bdf5
mov byte [r14 + 8], 1
mov qword [rsp + 0x30], r14
mov rax, qword [r14]
mov r15, qword [rax + 0x1000]
and rax, 0xffffffffffe00000
mov qword [rsp + 0x38], rax
lea r14, [rax + 0x4000]
xor ebp, ebp
jmp 0x14004bc30
inc rbp
cmp rbp, 0x1000
je 0x14004bd5d
mov rsi, qword [r14 + rbp*8]
test rsi, rsi
je 0x14004bc20
mov r13, rbp
shl r13, 9
bsf rbx, rsi
mov ecx, ebx
and cl, 0x3e
mov r12d, 3
shl r12, cl
mov rax, rsi
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
je 0x14004bc76
not r12
and rsi, r12
jne 0x14004bc40
jmp 0x14004bc20
shl rbx, 3
or rbx, r13
movabs rax, 0x7ffffffffffffff0
and rbx, rax
add rbx, qword [rsp + 0x38]
mov rax, rbx
and rax, 0xffffffffffe00000
mov rcx, rbx
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x14004bdcf
mov rax, qword [rax + 0x10]
mov edi, dword [rax + 0x18]
mov eax, dword [r15 + 8]
sub rdi, rax
cmp byte [rsp + 0x27], 0
jne 0x14004bd47
mov ecx, dword [r15 + 0xc]
add rcx, rbx
cmp rdi, 0x10
jne 0x14004bd3d
movups xmmword [rcx], xmm6
mov edi, 0x100f
shr rdi, 0xc
mov rax, rbx
shr rax, 0xc
and eax, 0x1fffff
add rdi, rax
movabs rcx, 0xfffffffe00000000
and rbx, rcx
add rbx, rax
lea rcx, [rax + 1]
cmp rdi, rcx
ja 0x14004bd28
mov rdi, rcx
sub rdi, rax
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.14006cd70
jmp 0x14004bc6c
xor edx, edx
mov r8, rdi
call fcn.14006cd70
add rdi, 0xfff
cmp rdi, 0x1000
jb 0x14004bc6c
jmp 0x14004bcf9
mov r14, qword [rsp + 0x30]
mov byte [r14 + 9], 1
add r14, 0x10
cmp r14, qword [rsp + 0x28]
jne 0x14004bbd6
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
jne 0x14004beea
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x18], 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x14004bf02
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006ac50
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rax + 0x20]
jmp 0x14004bb1e
mov rdi, qword [rax + 0x20]
jmp 0x14004bcd6
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x60]
je 0x14004be16
mov qword [rax], r14
add rax, 8
mov qword [rsp + 0x58], rax
jmp 0x14004bbaf
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x60]
je 0x14004bf20
mov qword [rax], r14
add rax, 8
mov qword [rsp + 0x58], rax
jmp 0x14004bd67
sub rax, qword [rsp + 0x50]
mov rsi, rax
sar rsi, 3
lea rcx, [rsi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x14004bfe8
movabs rdx, 0x1fffffffffffffff
movabs rbp, 0x7ffffffffffffff0
add rbp, 8
mov rdi, rax
sar rdi, 2
cmp rdi, rcx
cmovbe rdi, rcx
cmp rax, rbp
cmovae rdi, rdx
test rdi, rdi
jne 0x14004bff2
xor ebp, ebp
lea rbx, [rsi*8]
add rbx, rbp
mov qword [rbx], r14
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
sub r8, rdx
sub rbx, r8
test r8, r8
jle 0x14004be9b
mov rcx, rbx
call fcn.14006c6c0
mov rdx, qword [rsp + 0x50]
lea rax, [rdi*8]
add rax, rbp
lea rcx, [rbp + rsi*8 + 8]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
test rdx, rdx
mov rsi, qword [rsp + 0x40]
je 0x14004bbb4
sub r8, rdx
sar r8, 3
lea rcx, [rsp + 0x68]
call fcn.1400994a0
jmp 0x14004bbb4
xor eax, eax
jmp 0x14004b9bf
mov r13, qword [rbx]
mov al, byte [r13 + 9]
test al, 1
je 0x14004c01c
add rbx, 8
jmp 0x14004bd80
lea rcx, [rsp + 0x68]
mov qword [rcx - 0x10], rdx
mov r8, qword [rcx - 8]
sub r8, rdx
sar r8, 3
call fcn.1400994a0
jmp 0x14004bda0
sub rax, qword [rsp + 0x50]
mov rsi, rax
sar rsi, 3
lea rcx, [rsi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x14004bfe8
movabs rdx, 0x1fffffffffffffff
movabs rbp, 0x7ffffffffffffff0
add rbp, 8
mov rdi, rax
sar rdi, 2
cmp rdi, rcx
cmovbe rdi, rcx
cmp rax, rbp
cmovae rdi, rdx
test rdi, rdi
jne 0x14004c007
xor ebp, ebp
lea rbx, [rsi*8]
add rbx, rbp
mov qword [rbx], r14
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
sub r8, rdx
sub rbx, r8
test r8, r8
jle 0x14004bfa5
mov rcx, rbx
call fcn.14006c6c0
mov rdx, qword [rsp + 0x50]
lea rax, [rdi*8]
add rax, rbp
lea rcx, [rbp + rsi*8 + 8]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
test rdx, rdx
je 0x14004bd67
sub r8, rdx
sar r8, 3
lea rcx, [rsp + 0x68]
call fcn.1400994a0
jmp 0x14004bd67
lea rcx, [rsp + 0x50]
call fcn.140097480
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.140098e90
mov rbp, rax
jmp 0x14004be6b
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.140098e90
mov rbp, rax
jmp 0x14004bf75
mov byte [r13 + 8], 1
mov rax, qword [r13]
mov r12, qword [rax + 0x1000]
and rax, 0xffffffffffe00000
mov qword [rsp + 0x30], rax
add rax, 0x4000
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rbp, qword [rax + rcx*8]
test rbp, rbp
je 0x14004c17d
mov rax, qword [rsp + 0x28]
shl rax, 9
mov qword [rsp + 0x38], rax
bsf r14, rbp
mov ecx, r14d
and cl, 0x3e
mov r15d, 3
shl r15, cl
mov rax, rbp
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
jne 0x14004c171
shl r14, 3
or r14, qword [rsp + 0x38]
movabs rax, 0x7ffffffffffffff0
and r14, rax
add r14, qword [rsp + 0x30]
mov rax, r14
and rax, 0xffffffffffe00000
mov rcx, r14
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x14004c1a4
mov rax, qword [rax + 0x10]
mov esi, dword [rax + 0x18]
mov eax, dword [r12 + 8]
sub rsi, rax
cmp byte [rsp + 0x27], 0
jne 0x14004c122
mov ecx, dword [r12 + 0xc]
add rcx, r14
xor edx, edx
mov r8, rsi
call fcn.14006cd70
add rsi, 0xfff
cmp rsi, 0x1000
jb 0x14004c171
shr rsi, 0xc
mov rax, r14
shr rax, 0xc
and eax, 0x1fffff
add rsi, rax
movabs rcx, 0xfffffffe00000000
and r14, rcx
add r14, rax
lea rcx, [rax + 1]
cmp rsi, rcx
ja 0x14004c161
mov rsi, rcx
sub rsi, rax
mov rcx, r14
mov dl, 1
mov r8, rsi
call fcn.14006cd70
not r15
and rbp, r15
jne 0x14004c06e
mov rcx, qword [rsp + 0x28]
inc rcx
mov rax, rcx
mov qword [rsp + 0x28], rcx
cmp rcx, 0x1000
jne 0x14004c049
mov byte [r13 + 9], 1
jmp 0x14004bef9
mov rsi, qword [rax + 0x20]
jmp 0x14004c101