Function at 0x14001ecc2
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3f8
mov r15, r8
mov r8, qword [rdx]
test r8, r8
je 0x14001f447
mov qword [rsp + 0x70], rcx
mov rax, r8
shr rax, 0x3d
jne 0x14001f447
mov rbx, r9
movzx edi, word [rsp + 0x460]
mov qword [rsp + 0x58], rdx
movzx edx, word [rdx + 0x18]
mov qword [rsp + 0x90], r8
mov rcx, r8
mov word [rsp + 0x68], dx
call fcn.14001daec
mov rsi, rax
mov ebp, edx
mov edx, 0xffffffa0
sub edx, ebp
lea r12, [rsp + 0x200]
mov rcx, r12
call fcn.14001e2dc
movzx eax, word [r12]
mov dword [rsp + 0x54], eax
mov r8, qword [r12 + 8]
movzx r9d, word [r12 + 0x10]
mov rcx, rsi
mov edx, ebp
call fcn.14001da99
mov rsi, rax
mov r12d, edx
neg r12d
mov ebp, r12d
and ebp, 0x3f
mov r13, rax
mov ecx, ebp
shr r13, cl
mov edx, 1
shl rdx, cl
lea rcx, [rdx - 1]
mov r14, rcx
movsx rax, di
mov qword [rsp + 0x78], rax
and r14, rsi
je 0x14001efc2
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x60], rdx
mov rdi, r15
mov ecx, r13d
call fcn.14001e323
mov r10d, edx
movzx r15d, al
mov r9d, r15d
sub r9d, dword [rsp + 0x54]
inc r9d
movzx r8d, word [rsp + 0x460]
cmp r9w, r8w
jle 0x14001ee62
movzx eax, r12w
mov qword [rsp + 0x80], rax
movsx rax, r9w
mov dword [rsp + 0x54], r9d
mov ecx, r9d
sub ecx, r8d
sub rax, qword [rsp + 0x78]
cmp rax, rbx
movsx r9, cx
cmovae r9, rbx
neg r15
mov r12, rbx
neg r12
mov esi, 1
mov r8d, 0xa
test r10d, r10d
je 0x14001f447
lea r11, [r12 + rsi]
mov eax, r13d
xor edx, edx
div r10d
cmp r11, 1
je 0x14001f447
mov ecx, edx
mov eax, r13d
xor edx, edx
div r10d
add al, 0x30
mov byte [rdi + rsi - 1], al
cmp r9, rsi
je 0x14001eeb0
lea rax, [r15 + rsi]
cmp rax, 1
je 0x14001eefd
mov eax, r10d
xor edx, edx
div r8d
inc rsi
mov r13d, ecx
mov r10d, eax
jmp 0x14001ee0d
mov ecx, 0xa
mov rax, rsi
xor edx, edx
div rcx
mov edx, r10d
mov ecx, ebp
shl rdx, cl
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov word [rsp + 0x28], r8w
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x98]
mov r15, rdi
mov rdx, rdi
mov r8, rbx
xor r9d, r9d
jmp 0x14001ef91
mov eax, ecx
mov ecx, ebp
shl rax, cl
add rax, r14
mov edx, r10d
shl rdx, cl
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
movzx ecx, word [rsp + 0x460]
mov word [rsp + 0x28], cx
mov ecx, dword [rsp + 0x54]
mov word [rsp + 0x20], cx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x98]
mov r15, rdi
mov rdx, rdi
jmp 0x14001ef8e
mov r11, qword [rsp + 0x80]
dec r11d
and r11d, 0x3f
mov eax, 1
mov r15, rdi
mov r8, qword [rsp + 0x60]
mov r10, qword [rsp + 0x88]
mov rdx, rax
mov ecx, r11d
shr rdx, cl
test rdx, rdx
jne 0x14001efc2
cmp rsi, rbx
jae 0x14001f447
imul rdx, r14, 0xa
mov r14, rdx
and r14, r10
imul rax, rax, 0xa
mov ecx, ebp
shr rdx, cl
add dl, 0x30
mov byte [r15 + rsi], dl
inc rsi
cmp r9, rsi
jne 0x14001ef21
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r14
movzx eax, word [rsp + 0x460]
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x54]
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x98]
mov rdx, r15
mov r8, rbx
call fcn.14001ebff
cmp qword [rsp + 0x98], 0
je 0x14001efc2
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rcx], xmm0
jmp 0x14001f41e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14001f447
mov rcx, qword [rcx + 0x10]
test rcx, rcx
movzx ebp, word [rsp + 0x460]
movzx edi, word [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
je 0x14001f447
add rcx, rdx
jb 0x14001f447
mov qword [rsp + 0x58], r15
cmp rdx, rax
jb 0x14001f447
movzx r15d, di
movsx rax, r15w
mov rcx, rdx
dec rcx
je 0x14001f027
bsr rcx, rcx
xor rcx, 0x3f
jmp 0x14001f02c
mov ecx, 0x40
sub rax, rcx
imul rax, rax, 0x4d104d42
movabs r13, 0x1344135080
add r13, rax
shr r13, 0x20
lea rcx, [rsp + 0xb0]
call fcn.14001df7f
lea rsi, [rsp + 0x15c]
mov r8d, 0x9c
mov rcx, rsi
xor edx, edx
call fcn.1401e8980
mov qword [rsi + 0x9c], 1
mov dword [rsi - 4], 1
test di, di
js 0x14001f090
lea rcx, [rsp + 0xb0]
mov rdx, r15
jmp 0x14001f09f
neg r15d
movsx rdx, r15w
lea rcx, [rsp + 0x158]
call fcn.14001dfe4
test r13w, r13w
mov r15, qword [rsp + 0x58]
js 0x14001f0bd
movzx edx, r13w
lea rcx, [rsp + 0x158]
jmp 0x14001f0ce
mov eax, r13d
neg eax
movsx rdx, ax
lea rcx, [rsp + 0xb0]
call fcn.14001dcac
lea rdx, [rsp + 0x158]
mov rax, qword [rdx + 0xa0]
lea rsi, [rsp + 0x200]
mov qword [rsi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rsi
call fcn.1401e82d0
xor edi, edi
lea rax, [rbx + rdi]
cmp rax, 0xa
jb 0x14001f11e
mov rcx, rsi
mov edx, 0x3b9aca00
call fcn.14001e299
add rdi, 0xfffffffffffffff7
jmp 0x14001f101
lea rax, [0x1403c5700]
lea rax, [rax + rbx*4]
mov edx, dword [rax + rdi*4]
lea rsi, [rsp + 0x200]
mov rcx, rsi
call fcn.14001e299
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call fcn.14001e0f6
lea rdx, [rsp + 0x158]
mov rcx, rsi
call fcn.14001e1ca
test al, al
je 0x14001f165
inc r13d
jmp 0x14001f177
lea rcx, [rsp + 0xb0]
mov edx, 0xa
call fcn.14001dd76
cmp r13w, bp
jl 0x14001f36b
movsx rax, r13w
mov ecx, r13d
sub ecx, ebp
sub rax, qword [rsp + 0x78]
cmp rax, rbx
movsx r14, cx
cmovae r14, rbx
test r14, r14
je 0x14001f36b
lea r15, [rsp + 0x158]
mov rax, qword [r15 + 0xa0]
lea rsi, [rsp + 0x2a8]
mov qword [rsi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r15
call fcn.1401e82d0
mov edx, 1
mov rcx, rsi
call fcn.14001dfe4
mov rax, qword [r15 + 0xa0]
lea rdi, [rsp + 0x350]
mov qword [rdi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rdi
mov rdx, r15
call fcn.1401e82d0
mov edx, 2
mov rcx, rdi
call fcn.14001dfe4
mov rax, qword [r15 + 0xa0]
lea r12, [rsp + 0x200]
mov qword [r12 + 0xa0], rax
mov r8d, 0xa0
mov rcx, r12
mov rdx, r15
call fcn.1401e82d0
mov edx, 3
mov rcx, r12
call fcn.14001dfe4
xor esi, esi
lea r15, [rsp + 0xb0]
cmp rsi, r14
je 0x14001f432
mov rax, qword [rsp + 0x150]
cmp rax, 0x29
jae 0x14001f447
lea rdx, [rsi + 1]
shl rax, 2
xor ecx, ecx
cmp rax, rcx
je 0x14001f3f5
cmp dword [rsp + rcx + 0xb0], 0
lea rcx, [rcx + 4]
je 0x14001f277
mov qword [rsp + 0x68], rdx
mov rcx, r15
mov rdx, r12
call fcn.14001e1ca
test al, al
je 0x14001f2b5
mov rcx, r15
mov rdx, r12
call fcn.14001e1dd
mov r12, r15
mov bpl, 8
jmp 0x14001f2ba
mov r12, r15
xor ebp, ebp
mov rcx, r12
mov rdx, rdi
call fcn.14001e1ca
test al, al
je 0x14001f2dd
mov rcx, r12
mov r15, rdi
mov rdx, rdi
call fcn.14001e1dd
or bpl, 4
jmp 0x14001f2e0
mov r15, rdi
lea rdi, [rsp + 0x2a8]
mov rcx, r12
mov rdx, rdi
call fcn.14001e1ca
test al, al
je 0x14001f306
mov rcx, r12
mov rdx, rdi
call fcn.14001e1dd
add bpl, 2
mov rdi, r15
mov rcx, r12
lea r15, [rsp + 0x158]
mov rdx, r15
call fcn.14001e1ca
test al, al
je 0x14001f333
mov rdx, r15
mov r15, r12
mov rcx, r12
call fcn.14001e1dd
inc bpl
jmp 0x14001f336
mov r15, r12
cmp rsi, rbx
je 0x14001f447
add bpl, 0x30
mov rax, qword [rsp + 0x58]
mov byte [rax + rsi], bpl
mov rcx, r15
mov edx, 0xa
call fcn.14001dd76
mov rsi, qword [rsp + 0x68]
lea r12, [rsp + 0x200]
jmp 0x14001f252
xor edi, edi
xor r14d, r14d
lea rsi, [rsp + 0x158]
mov rcx, rsi
mov edx, 5
call fcn.14001dd76
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.14001e15c
cmp al, 1
jne 0x14001f3c8
cmp r14, rbx
ja 0x14001f447
mov rcx, r15
mov rdx, r14
call fcn.14001e236
test al, 1
je 0x14001f3e6
inc r13d
cmp r13w, bp
jle 0x14001f3e6
cmp r14, rbx
jae 0x14001f3e6
mov byte [r15 + r14], dl
inc r14
jmp 0x14001f3e6
test al, al
setne al
xor dil, 1
or dil, al
jne 0x14001f3e6
lea rax, [r14 - 1]
cmp rax, rbx
jae 0x14001f447
test byte [r15 + rax], 1
jne 0x14001f399
cmp r14, rbx
ja 0x14001f447
mov rax, qword [rsp + 0x70]
mov qword [rax], r15
jmp 0x14001f415
cmp r14, rbx
ja 0x14001f447
mov rcx, qword [rsp + 0x58]
cmp r14, rsi
je 0x14001f40d
mov byte [rcx + rsi], 0x30
inc rsi
jmp 0x14001f3ff
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov word [rax + 0x10], r13w
add rsp, 0x3f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dil, 1
mov r15, qword [rsp + 0x58]
movzx ebp, word [rsp + 0x460]
jmp 0x14001f370
ud2