Function at 0x14000f9ec
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
test r9b, r9b
mov qword [rsp + 0xf0], rcx
mov rbx, rdx
mov r12, r8
mov rcx, r8
mov edx, 4
lea r8, [rsp + 0x40]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
jne 0x14000fa49
call fcn.14000de60
test al, al
je 0x14001003b
jmp 0x140010462
call fcn.14000de60
test al, al
jne 0x140010462
mov rax, qword [rsp + 0x40]
mov esi, 3
lea r8, [rsp + 0x48]
cqo
idiv rsi
mov edx, 6
mov rcx, rax
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x48]
test rcx, rcx
js 0x14001006e
lea r13, [rsp + 0x90]
mov rdx, rcx
mov rcx, r13
call fcn.140004dc5
mov rax, r12
lea r8, [rsp + 0x50]
mov rcx, r12
cqo
idiv rsi
mov qword [rsp + 0x28], rdx
call fcn.14000dec8
test al, al
jne 0x140010462
lea rax, [rsp + 0x58]
mov r14, qword [rsp + 0x50]
xor r15d, r15d
xor ebp, ebp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea rdi, [0x14005b8a0]
mov qword [rsp + 0x38], rax
cmp r14, rbp
jne 0x14000fafd
cmp qword [rsp + 0x28], 1
jne 0x14000fd13
jmp 0x14000fd24
test rbp, rbp
js 0x14000fe4b
cmp r12, rbp
jle 0x14000fe4b
movzx r10d, byte [rbx + rbp]
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, rbp
shl r10d, 0x10
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x58]
test rcx, rcx
js 0x14001047b
cmp rcx, r12
jge 0x14001047b
movzx r11d, byte [rbx + rcx]
mov r8, qword [rsp + 0x38]
mov edx, 1
shl r11d, 8
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x14001047b
cmp rcx, r12
jge 0x14001047b
movzx esi, byte [rbx + rcx]
lea r8, [rsp + 0x68]
mov edx, 1
or esi, r11d
or esi, r10d
call fcn.14000deac
test al, al
jne 0x140010462
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp r15, rdx
jge 0x14000febb
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp r15, rdx
jge 0x14000febb
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x78]
mov rcx, r15
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp r15, rdx
jge 0x14000febb
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x80]
mov rcx, r15
shr eax, 6
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp r15, rdx
jge 0x14000febb
mov rcx, r13
and esi, 0x3f
call fcn.14000dfba
mov dl, byte [rdi + rsi]
mov rax, qword [rsp + 0x98]
mov rcx, r15
lea r8, [rsp + 0x88]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x88]
jmp 0x14000fae7
cmp qword [rsp + 0x28], 2
jne 0x14001001b
jmp 0x14000fe41
test r14, r14
js 0x14000fe4b
cmp r12, r14
jle 0x14000fe4b
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r14
movzx ebx, byte [rbx + r14]
call fcn.14000deac
test al, al
jne 0x140010462
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp r15, rdx
jge 0x14000febb
shl ebx, 0x10
mov rcx, r13
lea rsi, [0x14005b8a0]
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp r12, rdx
jge 0x1400105c6
shr ebx, 0xc
mov rcx, r13
call fcn.14000dfba
and ebx, 0x30
lea r8, [rsp + 0x78]
mov rcx, r12
mov dl, byte [rsi + rbx]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
mov rcx, r13
call fcn.14000dfba
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], 0x3d
jmp 0x14000ffa1
test r14, r14
js 0x14000fe4b
cmp r12, r14
jg 0x14000fe58
lea rdx, [r12 - 1]
mov rcx, rbp
jmp 0x1400105cc
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r14
movzx r10d, byte [rbx + r14]
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x14001047b
cmp r12, rcx
jle 0x14001047b
lea r8, [rsp + 0x68]
mov edx, 1
movzx ebx, byte [rbx + rcx]
call fcn.14000deac
test al, al
jne 0x140010462
mov rdx, qword [rsp + 0x90]
test r15, r15
js 0x14000febb
cmp rdx, r15
jg 0x14000fec3
dec rdx
jmp 0x14001043f
shl r10d, 0x10
shl ebx, 8
mov rcx, r13
lea rsi, [0x14005b8a0]
or ebx, r10d
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r15
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r15 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp r12, rdx
jge 0x1400105c6
mov rcx, r13
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x78]
mov rcx, r12
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp r12, rdx
jge 0x1400105c6
shr ebx, 6
mov rcx, r13
call fcn.14000dfba
and ebx, 0x3c
mov rax, qword [rsp + 0x98]
mov dl, byte [rsi + rbx]
mov byte [rax + r12 + 8], dl
lea r8, [rsp + 0x80]
mov edx, 1
mov rcx, r12
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
mov rcx, r13
call fcn.14000dfba
mov rax, qword [rsp + 0x98]
mov edx, 1
mov rcx, r12
lea r8, [rsp + 0x88]
mov byte [rax + r12 + 8], 0x3d
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x88]
mov rdx, r15
test r15, r15
jns 0x14001062c
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r15
jmp 0x140010625
mov rax, qword [rsp + 0x40]
mov esi, 3
lea r8, [rsp + 0x48]
cqo
idiv rsi
mov edx, 6
mov rcx, rax
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jns 0x14001007f
movabs r8, 0x7fffffffffffffff
xor edx, edx
jmp 0x140010625
lea r13, [rsp + 0x90]
mov rdx, rcx
mov rcx, r13
call fcn.140004dc5
mov rax, r12
lea r8, [rsp + 0x50]
mov rcx, r12
cqo
idiv rsi
mov qword [rsp + 0x28], rdx
call fcn.14000dec8
test al, al
jne 0x140010462
mov rax, qword [rsp + 0x50]
xor r14d, r14d
xor r15d, r15d
lea rbp, [rsp + 0x58]
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmp r15, qword [rsp + 0x30]
jne 0x1400100f2
cmp qword [rsp + 0x28], 1
jne 0x140010306
jmp 0x140010317
test r15, r15
js 0x14001043a
cmp r12, r15
jle 0x14001043a
movzx r10d, byte [rbx + r15]
mov r8, rbp
mov edx, 1
mov rcx, r15
shl r10d, 0x10
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x58]
test rcx, rcx
js 0x14001047b
cmp r12, rcx
jle 0x14001047b
movzx r11d, byte [rbx + rcx]
mov r8, qword [rsp + 0x38]
mov edx, 1
shl r11d, 8
call fcn.14000deac
test al, al
jne 0x140010462
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x14001047b
cmp r12, rcx
jle 0x14001047b
movzx esi, byte [rbx + rcx]
lea r8, [rsp + 0x68]
mov edx, 1
or esi, r11d
or esi, r10d
call fcn.14000deac
test al, al
jne 0x140010462
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp r14, rdx
jge 0x1400104ae
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r14, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp rdx, r14
jle 0x1400104ae
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x78]
mov rcx, r14
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp rdx, r14
jle 0x1400104ae
mov rcx, r13
call fcn.14000dfba
mov eax, esi
lea r8, [rsp + 0x80]
mov rcx, r14
shr eax, 6
and eax, 0x3f
mov dl, byte [rdi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r14, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp rdx, r14
jle 0x1400104ae
mov rcx, r13
and esi, 0x3f
call fcn.14000dfba
mov dl, byte [rdi + rsi]
mov rax, qword [rsp + 0x98]
mov rcx, r14
lea r8, [rsp + 0x88]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r14, qword [rsp + 0x88]
jmp 0x1400100da
cmp qword [rsp + 0x28], 2
jne 0x14001060e
jmp 0x140010430
test r15, r15
js 0x14001043a
cmp r12, r15
jle 0x14001043a
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r15
movzx ebx, byte [rbx + r15]
call fcn.14000deac
test al, al
jne 0x140010462
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp rdx, r14
jle 0x1400104ae
shl ebx, 0x10
mov rcx, r13
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
shr ebx, 0xc
mov rcx, r13
call fcn.14000dfba
and ebx, 0x30
lea r8, [rsp + 0x78]
mov rcx, r12
mov dl, byte [rsi + rbx]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
mov rcx, r13
call fcn.14000dfba
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], 0x3d
jmp 0x14001058f
test r15, r15
js 0x14001043a
cmp r12, r15
jg 0x140010447
lea rdx, [r12 - 1]
mov rcx, r15
jmp 0x1400105cc
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r15
movzx r10d, byte [rbx + r15]
call fcn.14000deac
test al, al
je 0x14001046c
call fcn.1400036fb
jmp 0x140010634
mov rcx, qword [rsp + 0x60]
test rcx, rcx
js 0x14001047b
cmp r12, rcx
jg 0x140010485
lea rdx, [r12 - 1]
jmp 0x1400105cc
lea r8, [rsp + 0x68]
mov edx, 1
movzx ebx, byte [rbx + rcx]
call fcn.14000deac
test al, al
jne 0x140010462
mov rdx, qword [rsp + 0x90]
test r14, r14
js 0x1400104ae
cmp rdx, r14
jg 0x1400104b9
dec rdx
mov rcx, r14
jmp 0x1400105cc
shl r10d, 0x10
shl ebx, 8
mov rcx, r13
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
or ebx, r10d
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x70]
mov rcx, r14
shr eax, 0x12
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r14 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
mov rcx, r13
call fcn.14000dfba
mov eax, ebx
lea r8, [rsp + 0x78]
mov rcx, r12
shr eax, 0xc
and eax, 0x3f
mov dl, byte [rsi + rax]
mov rax, qword [rsp + 0x98]
mov byte [rax + r12 + 8], dl
mov edx, 1
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jle 0x1400105c6
shr ebx, 6
mov rcx, r13
call fcn.14000dfba
and ebx, 0x3c
mov rax, qword [rsp + 0x98]
mov dl, byte [rsi + rbx]
mov byte [rax + r12 + 8], dl
lea r8, [rsp + 0x80]
mov edx, 1
mov rcx, r12
call fcn.14000deac
test al, al
jne 0x140010462
mov r12, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
test r12, r12
js 0x1400105c6
cmp rdx, r12
jg 0x1400105d3
dec rdx
mov rcx, r12
call fcn.14000559e
jmp 0x140010634
mov rcx, r13
call fcn.14000dfba
mov rax, qword [rsp + 0x98]
mov edx, 1
mov rcx, r12
lea r8, [rsp + 0x88]
mov byte [rax + r12 + 8], 0x3d
call fcn.14000deac
test al, al
jne 0x140010462
mov r14, qword [rsp + 0x88]
mov rdx, r14
test r14, r14
jns 0x14001062c
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call fcn.140003fd6
jmp 0x140010634
mov rcx, r13
call fcn.140004dc5
mov rax, qword [rsp + 0xf0]
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rax], xmm0
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret