Function at 0x14000e660
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3e8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r8
mov r8, qword [rdx]
test r8, r8
je 0x14000ed98
mov qword [rsp + 0x70], rcx
mov rax, r8
shr rax, 0x3d
jne 0x14000ed98
movzx ebx, word [rsp + 0x450]
mov qword [rsp + 0x68], rdx
movzx edx, word [rdx + 0x18]
mov qword [rsp + 0x80], r8
mov rcx, r8
mov word [rsp + 0x5e], dx
call fcn.14000dc02
mov rsi, rax
mov ebp, edx
mov edx, 0xffffffa0
sub edx, ebp
lea r12, [rsp + 0x1f0]
mov rcx, r12
call fcn.14000dbbb
movzx edi, word [r12]
mov r8, qword [r12 + 8]
movzx r9d, word [r12 + 0x10]
mov rcx, rsi
mov edx, ebp
call fcn.14000dca0
mov rbp, rax
neg edx
movzx r13d, dx
mov r12d, r13d
and r12d, 0x3f
mov rsi, rax
mov ecx, r12d
shr rsi, cl
mov edx, 1
shl rdx, cl
lea r14, [rdx - 1]
mov r15, r14
movsx rax, bx
mov qword [rsp + 0x78], rax
and r15, rbp
je 0x14000e91e
mov qword [rsp + 0x60], rdx
mov ecx, esi
call fcn.14000dcf3
mov r8d, edx
movzx ecx, al
mov r10d, ecx
sub r10d, edi
inc r10d
movzx r9d, word [rsp + 0x450]
cmp r10w, r9w
jle 0x14000e7d9
movsx rax, r10w
mov edx, r10d
sub edx, r9d
sub rax, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x48]
cmp rax, rbp
movsx r9, dx
cmovae r9, rbp
neg rcx
neg rbp
mov r11d, 1
mov edi, 0xa
test r8d, r8d
je 0x14000ed98
lea rbx, [r11 + rbp]
mov eax, esi
xor edx, edx
div r8d
cmp rbx, 1
je 0x14000ed98
mov esi, edx
add al, 0x30
mov rdx, qword [rsp + 0x50]
mov byte [rdx + r11 - 1], al
cmp r9, r11
je 0x14000e829
lea rax, [rcx + r11]
cmp rax, 1
je 0x14000e863
mov eax, r8d
xor edx, edx
div edi
inc r11
mov r8d, eax
jmp 0x14000e78b
mov ecx, 0xa
mov rax, rbp
xor edx, edx
div rcx
mov edx, r8d
mov ecx, r12d
shl rdx, cl
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov word [rsp + 0x28], r9w
mov word [rsp + 0x20], r10w
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
xor r9d, r9d
jmp 0x14000e8ed
mov eax, esi
mov ecx, r12d
shl rax, cl
add rax, r15
mov edx, r8d
shl rdx, cl
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
movzx ecx, word [rsp + 0x450]
mov word [rsp + 0x28], cx
mov word [rsp + 0x20], r10w
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
jmp 0x14000e8db
dec r13d
and r13d, 0x3f
mov eax, 1
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov ecx, r13d
shr rdx, cl
test rdx, rdx
jne 0x14000e91e
cmp r11, qword [rsp + 0x48]
jae 0x14000ed98
imul rdx, r15, 0xa
mov r15, rdx
and r15, r14
imul rax, rax, 0xa
mov ecx, r12d
shr rdx, cl
add dl, 0x30
mov rcx, qword [rsp + 0x50]
mov byte [rcx + r11], dl
inc r11
cmp r9, r11
jne 0x14000e874
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r15
movzx eax, word [rsp + 0x450]
mov word [rsp + 0x28], ax
mov word [rsp + 0x20], r10w
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
call fcn.14000e5a9
cmp qword [rsp + 0x88], 0
je 0x14000e91e
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rcx], xmm0
jmp 0x14000ed7c
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14000ed98
mov rcx, qword [rcx + 0x10]
test rcx, rcx
movzx edi, word [rsp + 0x5e]
mov rdx, qword [rsp + 0x80]
je 0x14000ed98
add rcx, rdx
jb 0x14000ed98
cmp rdx, rax
jb 0x14000ed98
movzx esi, di
movsx rax, si
mov rcx, rdx
dec rcx
je 0x14000e975
bsr rcx, rcx
xor rcx, 0x3f
jmp 0x14000e97a
mov ecx, 0x40
sub rax, rcx
imul rax, rax, 0x4d104d42
movabs r13, 0x1344135080
add r13, rax
shr r13, 0x20
lea r15, [rsp + 0xa0]
mov rcx, r15
call fcn.14000d85e
lea r14, [rsp + 0x14c]
mov r8d, 0x9c
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [r14 + 0x9c], 1
mov dword [r14 - 4], 1
test di, di
js 0x14000e9e2
lea rcx, [rsp + 0xa0]
mov rdx, rsi
jmp 0x14000e9f0
neg esi
movsx rdx, si
lea rcx, [rsp + 0x148]
call fcn.14000d8c3
mov eax, r13d
neg eax
test r13w, r13w
cmovns rax, r13
lea r14, [rsp + 0x148]
cmovns r15, r14
movzx edx, ax
mov rcx, r15
call fcn.14000d5e9
mov rax, qword [r14 + 0xa0]
lea rsi, [rsp + 0x1f0]
mov qword [rsi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0x48]
cmp rdi, 0xa
jb 0x14000ea5e
mov rcx, rsi
mov edx, 0x3b9aca00
call fcn.14000db78
add rdi, 0xfffffffffffffff7
jmp 0x14000ea45
lea rax, [0x140031464]
mov edx, dword [rax + rdi*4]
lea rsi, [rsp + 0x1f0]
mov rcx, rsi
call fcn.14000db78
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.14000d9d5
lea rdx, [rsp + 0x148]
mov rcx, rsi
call fcn.14000daa9
test al, al
je 0x14000eaa1
inc r13d
jmp 0x14000eab3
lea rcx, [rsp + 0xa0]
mov edx, 0xa
call fcn.14000d6b3
movzx edx, word [rsp + 0x450]
cmp r13w, dx
jl 0x14000ec9a
movsx rax, r13w
mov ecx, r13d
sub ecx, edx
sub rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x48]
cmp rax, rdx
movsx r14, cx
cmovae r14, rdx
test r14, r14
je 0x14000ec9a
lea r15, [rsp + 0x148]
mov rax, qword [r15 + 0xa0]
lea rdi, [rsp + 0x340]
mov qword [rdi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rdi
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov edx, 1
mov rcx, rdi
call fcn.14000d8c3
mov rax, qword [r15 + 0xa0]
lea rsi, [rsp + 0x298]
mov qword [rsi + 0xa0], rax
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov edx, 2
mov rcx, rsi
call fcn.14000d8c3
mov rax, qword [r15 + 0xa0]
lea rbp, [rsp + 0x1f0]
mov qword [rbp + 0xa0], rax
mov r8d, 0xa0
mov rcx, rbp
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov edx, 3
mov rcx, rbp
call fcn.14000d8c3
xor ebx, ebx
lea r12, [rsp + 0xa0]
cmp rbx, r14
je 0x14000ed90
mov rax, qword [rsp + 0x140]
cmp rax, 0x29
jae 0x14000ed98
lea rdx, [rbx + 1]
shl rax, 2
xor ecx, ecx
cmp rax, rcx
je 0x14000ed4c
cmp dword [rsp + rcx + 0xa0], 0
lea rcx, [rcx + 4]
je 0x14000ebbf
mov qword [rsp + 0x68], rdx
mov rsi, rdi
mov rcx, r12
mov rdx, rbp
call fcn.14000daa9
test al, al
je 0x14000ebfd
mov rcx, r12
mov rdx, rbp
call fcn.14000dabc
mov bpl, 8
jmp 0x14000ebff
xor ebp, ebp
lea rdi, [rsp + 0x298]
mov rcx, r12
mov rdx, rdi
call fcn.14000daa9
test al, al
je 0x14000ec25
mov rcx, r12
mov rdx, rdi
call fcn.14000dabc
or bpl, 4
mov rcx, r12
mov rdi, rsi
mov rdx, rsi
call fcn.14000daa9
test al, al
je 0x14000ec46
mov rcx, r12
mov rdx, rdi
call fcn.14000dabc
add bpl, 2
mov rcx, r12
mov rdx, r15
call fcn.14000daa9
test al, al
je 0x14000ec63
mov rcx, r12
mov rdx, r15
call fcn.14000dabc
inc bpl
cmp rbx, qword [rsp + 0x48]
je 0x14000ed98
add bpl, 0x30
mov rax, qword [rsp + 0x50]
mov byte [rax + rbx], bpl
mov rcx, r12
mov edx, 0xa
call fcn.14000d6b3
mov rbx, qword [rsp + 0x68]
lea rbp, [rsp + 0x1f0]
jmp 0x14000eb9a
xor edi, edi
xor r14d, r14d
lea rsi, [rsp + 0x148]
mov rcx, rsi
mov edx, 5
call fcn.14000d6b3
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14000da3b
cmp al, 1
jne 0x14000ed0b
cmp r14, qword [rsp + 0x48]
ja 0x14000ed98
mov rcx, qword [rsp + 0x50]
mov rdx, r14
call fcn.14000db15
test al, 1
movzx ecx, word [rsp + 0x450]
je 0x14000ed2b
lea eax, [r13 + 1]
cmp r13w, cx
jl 0x14000ed2e
cmp r14, qword [rsp + 0x48]
jae 0x14000ed2e
mov rcx, qword [rsp + 0x50]
mov byte [rcx + r14], dl
inc r14
jmp 0x14000ed2e
test al, al
sete al
test dil, al
je 0x14000ed2b
lea rax, [r14 - 1]
cmp rax, qword [rsp + 0x48]
jae 0x14000ed98
mov rcx, qword [rsp + 0x50]
test byte [rcx + rax], 1
jne 0x14000ecc8
mov eax, r13d
cmp r14, qword [rsp + 0x48]
ja 0x14000ed98
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov qword [rcx], rdx
mov qword [rcx + 8], r14
mov word [rcx + 0x10], ax
jmp 0x14000ed7c
cmp r14, qword [rsp + 0x48]
ja 0x14000ed98
mov rax, qword [rsp + 0x50]
cmp r14, rbx
je 0x14000ed66
mov byte [rax + rbx], 0x30
inc rbx
jmp 0x14000ed58
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov word [rax + 0x10], r13w
add rsp, 0x3e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dil, 1
jmp 0x14000ec9f
ud2