Function at 0x1400a3d20
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
cmp rax, 0x12
jb 0x1400a3dd5
add rax, 0xffffffffffffffee
mov qword [rsi + 0x20], rax
mov rdi, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rsi + 8], rdi
cmp rbp, qword [rsi + 0x18]
jne 0x1400a3fb0
mov r14, qword [rsi]
mov rax, rdi
sub rax, r14
jbe 0x1400a3ecd
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov rbx, rax
neg rbx
shl rax, 3
mov r14, rdi
sub r14, rax
sub rbp, rdi
je 0x1400a3dc1
mov rcx, r14
mov rdx, rdi
mov r8, rbp
call fcn.1401379e0
mov rdi, qword [rsi + 8]
add rbp, r14
mov qword [rsi + 0x10], rbp
lea rax, [rdi + rbx*8]
mov qword [rsi + 8], rax
jmp 0x1400a3fb0
mov r13, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
mov rbp, rdi
sub rbp, r13
sar rbp, 3
mov rcx, qword [rsi + 0x18]
mov rax, rcx
sub rax, qword [rsi]
mov rdx, rax
sar rdx, 3
cmp rbp, rdx
jae 0x1400a3e27
cmp rcx, rdi
je 0x1400a3f77
mov ecx, 0xf30
call fcn.140134998
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400a4190
jmp 0x1400a40d7
lea rcx, [rsi + 0x20]
mov rdx, rax
sar rdx, 2
test rax, rax
mov ebx, 1
cmovne rbx, rdx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov rax, rbx
shr rax, 0x3d
jne 0x1400a4187
lea rcx, [rbx*8]
call fcn.140134998
mov r12, rax
mov qword [rsp + 0x28], rax
lea r15, [rax + rbp*8]
mov qword [rsp + 0x30], r15
lea r14, [rax + rbx*8]
mov qword [rsp + 0x40], r14
mov ecx, 0xf30
call fcn.140134998
cmp rbp, rbx
jne 0x1400a4034
mov rdx, r15
sub rdx, r12
jbe 0x1400a3fbe
sar rdx, 3
lea rcx, [rdx + 1]
shr rcx, 0x3f
add rcx, rdx
add rcx, 1
shl rcx, 2
and rcx, 0xfffffffffffffff8
sub r15, rcx
mov qword [rsp + 0x30], r15
jmp 0x1400a4034
mov rax, rbp
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x1400a4187
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.140134998
lea r9, [rax + r12*8]
lea r8, [rax + rbx*8]
mov r10, r9
sub rbp, rdi
je 0x1400a3f52
mov rbx, rbp
sar rbx, 3
and rbp, 0xfffffffffffffff8
mov r10, rbp
add r10, r9
shl rbx, 3
lea rbp, [rax + r12*8]
xor ecx, ecx
nop word cs:[rax + rax]
nop dword [rax]
mov rdx, qword [rdi + rcx]
mov qword [rbp + rcx], rdx
add rcx, 8
cmp rbx, rcx
jne 0x1400a3f40
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r8
mov rbp, r10
test r14, r14
je 0x1400a3fb0
mov rcx, r14
call fcn.1401349d4
mov rbp, qword [rsi + 0x10]
jmp 0x1400a3fb0
mov ecx, 0xf30
call fcn.140134998
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400a42e0
mov rdi, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rsi + 8], rdi
cmp rbp, qword [rsi + 0x18]
je 0x1400a40f6
mov qword [rbp], r15
add qword [rsi + 0x10], 8
jmp 0x1400a40d7
mov qword [rsp + 0x20], rax
movabs rcx, 0x1fffffffffffffff
mov rax, rdx
sar rax, 2
test rdx, rdx
mov ebp, 1
cmovne rbp, rax
cmp rbp, rcx
ja 0x1400a4187
mov rbx, rbp
and rbx, 0xfffffffffffffffc
lea rcx, [rbp*8]
call fcn.140134998
lea r15, [rax + rbx*2]
mov rbx, rax
lea r14, [rax + rbp*8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r14
test r12, r12
je 0x1400a402c
mov rcx, r12
call fcn.1401349d4
mov r13, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
mov r12, rbx
mov rax, qword [rsp + 0x20]
mov qword [r15], rax
lea rax, [r15 + 8]
mov qword [rsp + 0x38], rax
mov rdx, r13
cmp rdi, r13
je 0x1400a4080
lea rbx, [rsp + 0x28]
nop dword [rax]
add rdi, 0xfffffffffffffff8
mov rcx, rbx
mov rdx, rdi
call fcn.1400a42e0
cmp rdi, qword [rsi + 8]
jne 0x1400a4050
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov r13, qword [rsi + 0x10]
mov rax, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [rsi]
mov qword [rsi], r12
mov qword [rsp + 0x28], rcx
mov qword [rsi + 8], r15
mov qword [rsp + 0x30], rdx
mov qword [rsi + 0x10], rax
mov qword [rsp + 0x38], r13
mov rax, qword [rsi + 0x18]
mov qword [rsi + 0x18], r14
mov qword [rsp + 0x40], rax
mov rax, r13
sub rax, rdx
je 0x1400a40cd
add rax, 0xfffffffffffffff8
shr rax, 3
not rax
lea rax, [rax*8]
add rax, r13
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x1400a40d7
call fcn.1401349d4
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140135280
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rax, rdi
sub rax, r14
ja 0x1400a3d84
mov rax, rbp
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x1400a4187
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.140134998
lea r9, [rax + r12*8]
lea r8, [rax + rbx*8]
mov r10, r9
sub rbp, rdi
je 0x1400a3f52
mov rbx, rbp
sar rbx, 3
and rbp, 0xfffffffffffffff8
mov r10, rbp
add r10, r9
shl rbx, 3
lea rbp, [rax + r12*8]
xor ecx, ecx
nop word [rax + rax]
mov rdx, qword [rdi + rcx]
mov qword [rbp + rcx], rdx
add rcx, 8
cmp rbx, rcx
jne 0x1400a4170
jmp 0x1400a3f52
call fcn.140149890
int3